Changes
Jump to navigation
Jump to search
no edit summary
* Opcode: '''0x53'''
* Short name: '''WREST'''
* Long name: Window Reset
==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x53
! width="40" | ''N''
|}
==== Arguments ====
* '''const UByte''' ''N'': The ID of the window to reset.
==== Description ====
Resets the given window, including the following parameters:
* Position and size, set by [[FF7/Field/Script/Opcodes/51 WMOVE|WMOVE]], [[FF7/Field/Script/Opcodes/2F WSIZW|WSIZW]], [[FF7/Field/Script/Opcodes/55 WROW|WROW]] or even the initial values set by [[FF7/Field/Script/Opcodes/50 WINDOW|WINDOW]];
* Background type, set by [[FF7/Field/Script/Opcodes/52 WMODE|WMODE]];
* Numerical displays, set by [[FF7/Field/Script/Opcodes/36 WSPCL|WSPCL]];
* Message parameters, set by [[FF7/Field/Script/Opcodes/41 MPARA|MPARA]] and [[FF7/Field/Script/Opcodes/42 MPRA2|MPRA2]].
The reset window has a position of approximately (5,5), with a width and height of approximately (0x130, 0x45).
* Short name: '''WREST'''
* Long name: Window Reset
==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x53
! width="40" | ''N''
|}
==== Arguments ====
* '''const UByte''' ''N'': The ID of the window to reset.
==== Description ====
Resets the given window, including the following parameters:
* Position and size, set by [[FF7/Field/Script/Opcodes/51 WMOVE|WMOVE]], [[FF7/Field/Script/Opcodes/2F WSIZW|WSIZW]], [[FF7/Field/Script/Opcodes/55 WROW|WROW]] or even the initial values set by [[FF7/Field/Script/Opcodes/50 WINDOW|WINDOW]];
* Background type, set by [[FF7/Field/Script/Opcodes/52 WMODE|WMODE]];
* Numerical displays, set by [[FF7/Field/Script/Opcodes/36 WSPCL|WSPCL]];
* Message parameters, set by [[FF7/Field/Script/Opcodes/41 MPARA|MPARA]] and [[FF7/Field/Script/Opcodes/42 MPRA2|MPRA2]].
The reset window has a position of approximately (5,5), with a width and height of approximately (0x130, 0x45).