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
m (5 revisions imported)
 
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
* Long name: Set Window Size
 
* Long name: Set Window Size
  
==== Argument ====
+
==== Argument ====
  
 
none
 
none
  
==== Stack ====
+
==== Stack ====
:''Message Channel''
 
:''X?''
 
:''Y?''
 
:''Width?''
 
:''Height?''
 
:'''WINSIZE'''
 
  
==== Description ====
+
: ''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.
 
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.
 

Latest revision as of 05:24, 23 May 2019

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