Changes
From Final Fantasy Inside
no edit summary
* Opcode: '''0x52'''
* Short name: '''WMODE'''
* Long name: Window Mode
==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x52
! width="40" | ''N''
! width="40" | ''M''
! width="40" | ''C''
|}
==== Arguments ====
* '''const UByte''' ''N'': The ID of the window whose mode will be set.
* '''const UByte''' ''M'': Mode of the window.
* '''const UByte''' ''C'': Window permanency.
==== Description ====
Changes properties associated with the [[FF7/Field/Script/Opcodes/50 WINDOW|WINDOW]] whose ID is specified. The mode byte sets the style of the window, as detailed below. If the final byte is set to 1, the window cannot be closed by the player pushing [OK].
The mode of the window should be changed before it is displayed with [[FF7/Field/Script/Opcodes/40 MESSAGE|MESSAGE]] or [[FF7/Field/Script/Opcodes/48 ASK|ASK]], or the changes will not be visible unless the window is closed and reopened.
==== Mode Table ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! style="background:rgb(204,204,204)" width="40" | ID
! style="background:rgb(204,204,204)" width="200" | Minigame
|-
| align="center" | 0
| Normal
|-
| align="center" | 1
| No Background/Border
|-
| align="center" | 2
| Transparent Background
|-
|}
* Short name: '''WMODE'''
* Long name: Window Mode
==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x52
! width="40" | ''N''
! width="40" | ''M''
! width="40" | ''C''
|}
==== Arguments ====
* '''const UByte''' ''N'': The ID of the window whose mode will be set.
* '''const UByte''' ''M'': Mode of the window.
* '''const UByte''' ''C'': Window permanency.
==== Description ====
Changes properties associated with the [[FF7/Field/Script/Opcodes/50 WINDOW|WINDOW]] whose ID is specified. The mode byte sets the style of the window, as detailed below. If the final byte is set to 1, the window cannot be closed by the player pushing [OK].
The mode of the window should be changed before it is displayed with [[FF7/Field/Script/Opcodes/40 MESSAGE|MESSAGE]] or [[FF7/Field/Script/Opcodes/48 ASK|ASK]], or the changes will not be visible unless the window is closed and reopened.
==== Mode Table ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! style="background:rgb(204,204,204)" width="40" | ID
! style="background:rgb(204,204,204)" width="200" | Minigame
|-
| align="center" | 0
| Normal
|-
| align="center" | 1
| No Background/Border
|-
| align="center" | 2
| Transparent Background
|-
|}