FF7/Field/Script/Opcodes/37 WNUMB
From Final Fantasy Inside
< FF7 | Field | Script | Opcodes
Revision as of 05:09, 15 September 2006 by my_wiki>Synergy Blades
- Opcode: 0x37
- Short name: WNUMB
- Long name: Set Number
Memory layout
0x37 | B1 / B2 | W | N | C |
---|
Arguments
- const Bit[4] B1: Bank to retrieve lower two bytes of number, or zero if number is given as a literal value.
- const Bit[4] B2: Bank to retrieve higher two bytes of number, or zero if number is given as a literal value.
- const UByte W: Window ID whose numerical display will be set.
- const ULong N: A four-byte number to set the numerical display.
- const UByte C: The number of digits to display, from 1 to 8.