Difference between revisions of "FF8/Field/Script/Opcodes/04B WINSIZE"
Jump to navigation
Jump to search
my_wiki>Shard (Created page with "* Opcode: '''0x04B''' * Short name: '''WINSIZE''' * Long name: Set Window Size ==== Argument ==== none ==== Stack ==== :''Message Channel'' :''?'' :''?'' :''?'' :''?'' :'''...") |
my_wiki>Shard |
||
Line 9: | Line 9: | ||
==== Stack ==== | ==== Stack ==== | ||
:''Message Channel'' | :''Message Channel'' | ||
− | :''?'' | + | :''X?'' |
− | :''?'' | + | :''Y?'' |
− | :''?'' | + | :''Width?'' |
− | :''?'' | + | :''Height?'' |
:'''WINSIZE''' | :'''WINSIZE''' | ||
==== Description ==== | ==== Description ==== | ||
− | Sets the window location | + | 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 05:41, 31 January 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.
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.