Game status buffer |
Address | Length | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
5BC0 | 17 |
Populated initially by Duel_Data.
|
||||||||||||
5BD1 | 17 |
Populated initially by Duel_Data.
|
||||||||||||
5BE2 | 17 |
Populated initially by Duel_Data.
|
||||||||||||
5CB0 | 1 |
Whether to utilise keyboard or joystick for input.
|
||||||||||||
5CB1 | 1 |
|
||||||||||||
C6E0 | 2 |
|
||||||||||||
C6E2 | 1 |
See Duel_Complete for the clearest example of usage.
|
||||||||||||
C6E3 | 1 |
See Duel_Complete for the clearest example of usage.
|
||||||||||||
C6E4 | 1 |
See Duel_Complete for the clearest example of usage.
|
||||||||||||
CC38 | 2 |
Buffer for holding Copy_Routine address
|
||||||||||||
CC59 | 1 |
|
||||||||||||
CC8D | 12 |
Stores whether a deposit has been made for each door.
|
||||||||||||
CC99 | 2 |
|
||||||||||||
CD86 | 6 |
|
||||||||||||
CD8C | 1 |
|
||||||||||||
CD8D | 3 |
|
||||||||||||
CE12 | 2 |
Points to either Controls_Joystick or Controls_Keyboard depending on the chosen control method.
|
||||||||||||
CE14 | 6 |
These buffers point to the routines for character/ door actions for each door that are currently "in-play". Some example routines would be;
|
||||||||||||
CE1A | 1 |
Only one door is "active" at a time, this status buffer points to the "currently in-focus door".
|
||||||||||||
CE1B | 1 |
|
||||||||||||
CE1C | 2 |
|
||||||||||||
CE1E | 3 |
Current door speed multiplier (larger = slower). Cycles between the value in CE1B and 1, allowing doors to open at different times.
|
||||||||||||
D165 | 14 |
|
||||||||||||
D173 | 14 |
|
||||||||||||
D181 | 14 |
|
||||||||||||
D18F | 1 |
|
||||||||||||
D190 | 1 |
|
||||||||||||
D191 | 1 |
|
||||||||||||
D300 | 1 |
|
||||||||||||
D301 | 2 |
|
||||||||||||
D303 | 4 |
|
||||||||||||
D45C | 2 |
|
||||||||||||
D8AC | 4 |
|