Difference between revisions of "FF8/Field/Script/Opcodes/06D KEYSCAN"
Jump to navigation
Jump to search
my_wiki>Shard (→Key Flags: Derp, that's not a power of 2) |
my_wiki>Shard (→Key Flags) |
||
Line 12: | Line 12: | ||
====Key Flags==== | ====Key Flags==== | ||
+ | :16: Cancel | ||
+ | :32: Menu | ||
+ | :64: OK/Accept | ||
+ | :128: Card game button (I think it's called "switch") | ||
==== Description ==== | ==== Description ==== | ||
Writes 1 to temporary variable 0 (access with PSHI_L 0) if the user is pressing any of the indicated keys. 0 otherwise. | Writes 1 to temporary variable 0 (access with PSHI_L 0) if the user is pressing any of the indicated keys. 0 otherwise. |
Revision as of 11:52, 7 March 2014
- Opcode: 0x06D
- Short name: KEYSCAN
- Long name: Scan for pressed key
Contents
Argument
none
Stack
- Key flags
- KEYSCAN
Key Flags
- 16: Cancel
- 32: Menu
- 64: OK/Accept
- 128: Card game button (I think it's called "switch")
Description
Writes 1 to temporary variable 0 (access with PSHI_L 0) if the user is pressing any of the indicated keys. 0 otherwise.