Difference between revisions of "FF7/Field/Script/Opcodes/51 WMOVE"

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Synergy Blades
 
my_wiki>Myst6re
Line 14: Line 14:
  
 
* '''const UByte''' ''I'': [[FF7/Field/Script/Opcodes/50 WINDOW|WINDOW]] ID to resize.
 
* '''const UByte''' ''I'': [[FF7/Field/Script/Opcodes/50 WINDOW|WINDOW]] ID to resize.
* '''const UShort''' ''X'': X-coordinate of the window.
+
* '''const Short''' ''X'': X-translation of the window.
* '''const UShort''' ''Y'': Y-coordinate of the window.
+
* '''const Short''' ''Y'': Y-translation of the window.
  
 
==== Description ====
 
==== Description ====
  
Repositions the window, with the given ID, to the coordinates specified. The window will be repositioned the next time a [[FF7/Field/Script/Opcodes/40 MESSAGE|MESSAGE]] or [[FF7/Field/Script/Opcodes/48 ASK|ASK]], referencing this window, is issued.
+
Repositions the window, with the given ID, and a (x,y) translation. The window will be repositioned the next time a [[FF7/Field/Script/Opcodes/40 MESSAGE|MESSAGE]] or [[FF7/Field/Script/Opcodes/48 ASK|ASK]], referencing this window, is issued.

Revision as of 20:12, 31 August 2012

  • Opcode: 0x51
  • Short name: WMOVE
  • Long name: Window Move

Memory layout

0x51 I X Y

Arguments

  • const UByte I: WINDOW ID to resize.
  • const Short X: X-translation of the window.
  • const Short Y: Y-translation of the window.

Description

Repositions the window, with the given ID, and a (x,y) translation. The window will be repositioned the next time a MESSAGE or ASK, referencing this window, is issued.