Difference between revisions of "FF7/Field/Script/Opcodes/50 WINDOW"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Halkun
(Description)
my_wiki>Synergy Blades
m
Line 7: Line 7:
 
! width="40" | 0x50
 
! width="40" | 0x50
 
! width="40" | ''N''
 
! width="40" | ''N''
! width="40" | ''X''
+
! width="80" | ''X''
! width="40" | ''Y''
+
! width="80" | ''Y''
! width="40" | ''W''
+
! width="80" | ''W''
! width="40" | ''H''
+
! width="80" | ''H''
 
|}
 
|}
  

Revision as of 17:44, 6 October 2006

  • Opcode: 0x50
  • Short name: WINDOW
  • Long name: Window creation

Memory layout

0x50 N X Y W 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 dialog, present choices and so on, each of which reference the window's ID to insert text. This command only initializes a window ID, but does not present itself until a dialog command is issued on it.