Difference between revisions of "FF8/Field/Script/Opcodes/04B WINSIZE"

From Final Fantasy Inside
< FF8‎ | Field‎ | Script‎ | Opcodes
Jump to navigation Jump to search
my_wiki>Shard
my_wiki>Shard
m
Line 9: Line 9:
 
==== Stack ====
 
==== Stack ====
 
:''Message Channel''
 
:''Message Channel''
:''X?''
+
:''X''
:''Y?''
+
:''Y''
:''Width?''
+
:''Width''
:''Height?''
+
:''Height''
 
:'''WINSIZE'''
 
:'''WINSIZE'''
  
Line 18: Line 18:
  
 
Sets the window location and size for the given message channel. Only useful before calling MES, which has no built-in size parameters. WINSIZE is only used in the first hallway of the game, where Quistis is imitating Squall (and also in some debug areas). Probably, Square's eventers used this a few times, hated how tedious it was, and asked for the AMES family of opcodes to be added, but didn't change the ones they already did.
 
Sets the window location and size for the given message channel. Only useful before calling MES, which has no built-in size parameters. WINSIZE is only used in the first hallway of the game, where Quistis is imitating Squall (and also in some debug areas). Probably, Square's eventers used this a few times, hated how tedious it was, and asked for the AMES family of opcodes to be added, but didn't change the ones they already did.
 
I put question marks next to the parameters because, while I haven't actually tested them at all, I don't see how they could represent any other value.
 

Revision as of 19:29, 26 May 2014

  • Opcode: 0x04B
  • Short name: WINSIZE
  • Long name: Set Window Size

Argument

none

Stack

Message Channel
X
Y
Width
Height
WINSIZE

Description

Sets the window location and size for the given message channel. Only useful before calling MES, which has no built-in size parameters. WINSIZE is only used in the first hallway of the game, where Quistis is imitating Squall (and also in some debug areas). Probably, Square's eventers used this a few times, hated how tedious it was, and asked for the AMES family of opcodes to be added, but didn't change the ones they already did.