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
 
m (3 revisions imported)
 
(2 intermediate revisions by 2 users not shown)
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.

Latest revision as of 05:17, 23 May 2019

  • 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.