Difference between revisions of "FF7/Field/Script/Opcodes/36 WSPCL"
Jump to navigation
Jump to search
my_wiki>Synergy Blades |
m (5 revisions imported) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 23: | Line 23: | ||
Creates a numerical display inside the given window. The display can be either in the form of a clock, or a scoreboard with six digits. This only creates the numerical display; to actually show it, a [[FF7/Field/Script/Opcodes/40 MESSAGE|MESSAGE]] or [[FF7/Field/Script/Opcodes/48 ASK|ASK]] command needs to be issued. Using a blank line of dialog will allow you to create a numerical display in the top-left of the window without field dialog hidden behind it. Alternatively, dialog can be shown along with the display by placing the display in an appropriate area of the window. | Creates a numerical display inside the given window. The display can be either in the form of a clock, or a scoreboard with six digits. This only creates the numerical display; to actually show it, a [[FF7/Field/Script/Opcodes/40 MESSAGE|MESSAGE]] or [[FF7/Field/Script/Opcodes/48 ASK|ASK]] command needs to be issued. Using a blank line of dialog will allow you to create a numerical display in the top-left of the window without field dialog hidden behind it. Alternatively, dialog can be shown along with the display by placing the display in an appropriate area of the window. | ||
− | To set the time for the clock variant, | + | To set the time for the clock variant, [[FF7/Field/Script/Opcodes/38 STTIM|STTIM]] is used. To set the number for the numerical display, [[FF7/Field/Script/Opcodes/37 WNUMB|WNUMB]] is used. |
==== Display types ==== | ==== Display types ==== | ||
Line 38: | Line 38: | ||
|- | |- | ||
| align="center" | 2 | | align="center" | 2 | ||
− | | | + | | Numeric (000000) |
|- | |- | ||
|} | |} |
Latest revision as of 05:16, 23 May 2019
- Opcode: 0x36
- Short name: WSPCL
- Long name: Window Special (Numerical Display)
Memory layout
0x36 | W | T | X | Y |
---|
Arguments
- const UByte W: WINDOW ID to apply the change to.
- const UByte T: Type of display.
- const UByte X: X-coordinate of the numerical display, relative to the top-left of the window.
- const UByte Y: Y-coordinate of the numerical display, relative to the top-left of the window.
Description
Creates a numerical display inside the given window. The display can be either in the form of a clock, or a scoreboard with six digits. This only creates the numerical display; to actually show it, a MESSAGE or ASK command needs to be issued. Using a blank line of dialog will allow you to create a numerical display in the top-left of the window without field dialog hidden behind it. Alternatively, dialog can be shown along with the display by placing the display in an appropriate area of the window.
To set the time for the clock variant, STTIM is used. To set the number for the numerical display, WNUMB is used.
Display types
ID | Display Type |
---|---|
0 | None |
1 | Clock (00:00) |
2 | Numeric (000000) |