FF7/Field/Script/Opcodes/2F WSIZW

From Final Fantasy Inside
< FF7‎ | Field‎ | Script‎ | Opcodes
Revision as of 05:16, 23 May 2019 by BukTop (talk | contribs) (2 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • Opcode: 0x2F
  • Short name: WSIZW
  • Long name: Window Resize

Memory layout

0x2F I X Y W H

Arguments

  • const UByte I: WINDOW ID to resize.
  • const UShort X: X-coordinate of the window.
  • const UShort Y: Y-coordinate of the window.
  • const UShort W: Width of the window.
  • const UShort H: Height of the window.

Description

Resizes and/or repositions the window, after it has been created with the WINDOW opcode. On the next MESSAGE or ASK, the window will be positioned and sized with the new properties.