Changes
Jump to navigation
Jump to search
m
no edit summary
* Opcode: '''0x50'''
* Short name: '''WINDOW'''
* Long name: Window creation
==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x50
! width="40" | ''N''
! width="40" | ''X''
! width="40" | ''Y''
! width="40" | ''W''
! width="40" | ''H''
|}
==== Arguments ====
* '''const UByte''' ''N'': The numerical ID that the newly-created window will be associated with.
* '''const UShort''' ''X'': X-coordinate of the window.
* '''const UShort''' ''Y'': Y-coordinate of the window.
* '''const UShort''' ''W'': Window width.
* '''const UShort''' ''H'': Window height.
==== Description ====
Creates a window with a given ID and placement/size parameters. Windows are used to show [[FF7/Field/Script/Opcodes/40 MESSAGE|dialog]], present [[FF7/Field/Script/Opcodes/48 ASK|choices]] and so on, each of which reference the window's ID to insert text.
* Short name: '''WINDOW'''
* Long name: Window creation
==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x50
! width="40" | ''N''
! width="40" | ''X''
! width="40" | ''Y''
! width="40" | ''W''
! width="40" | ''H''
|}
==== Arguments ====
* '''const UByte''' ''N'': The numerical ID that the newly-created window will be associated with.
* '''const UShort''' ''X'': X-coordinate of the window.
* '''const UShort''' ''Y'': Y-coordinate of the window.
* '''const UShort''' ''W'': Window width.
* '''const UShort''' ''H'': Window height.
==== Description ====
Creates a window with a given ID and placement/size parameters. Windows are used to show [[FF7/Field/Script/Opcodes/40 MESSAGE|dialog]], present [[FF7/Field/Script/Opcodes/48 ASK|choices]] and so on, each of which reference the window's ID to insert text.