Address Length Description
23488 17
Dueller Number 1
Populated initially by Duel_Data. Used by the routines at Duel_Actions, 50571, Duel_Draw_Bandit_Prep and Update_Duel_Timer.
23505 17
Dueller Number 2
Populated initially by Duel_Data. Used by the routines at Duel_Actions, 50571, Duel_Draw_Bandit_Prep and Update_Duel_Timer.
23522 17
Dueller Number 3
Populated initially by Duel_Data. Used by the routines at Duel_Actions, 50571, Duel_Draw_Bandit_Prep and Update_Duel_Timer.
23728 1
Control method
Whether to utilise keyboard or joystick for input.
23729 1
Current Level
50209 1
The speed to run the duel, from 1 (slowest) to 32 (fastest). It is always set to 1 and never changes.
50912 2
Duel Countdown Timer
50914 1
Duel Shot Flag
See Duel_Complete for the clearest example of usage.
50915 1
Duel Lost Life Flag
See Duel_Complete for the clearest example of usage.
50916 1
Duel Extra Life Flag
See Duel_Complete for the clearest example of usage.
51840 1
Set to 1 if this phase is complete
52176 2
Current text attributes
52280 2
Buffer for holding Copy_Routine address
52313 1
Number of lives remaining
52365 12
Deposit Flags
Stores whether a deposit has been made for each door.
52377 2
Probably represents each block of six deposit flags
52614 6
Score ($06 bytes)
52620 1
Game status buffer entry at CD8C
52621 3
Game status buffer entry at CD8D
52754 2
Control Method Routine Alias
Points to either Controls_Joystick or Controls_Keyboard depending on the chosen control method.
52756 6
Door Routine Buffer
These buffers point to the routines for character/ door actions for each door that are currently "in-play". Some example routines would be;
Routine Door
Prep_Bandit_Open "Normal" Bandit
Prep_Bowie Bowie
Prep_Customer Customer
Prep_Julius_Open Julius
Prep_Bandit_Draw_Open "Drawing" Bandit
And will also hold the door closing routines as well.
52762 1
Door Frame Reference
Only one door is "active" at a time, this status buffer points to the "currently in-focus door".
52763 1
Basic door speed multiplier for opening doors - always 3.
52764 2
Game speed. Starts at 1280 for phase one, then gradually gets faster.
52766 1
Current door speed multiplier (larger = slower). Cycles between the value in 52763 and 1, allowing doors to open at different times.
52767 2
Defines the entry point for the choosing routines. Note, this isn't for one choice - they chain into each other this simply points to where the chain starts.
53551 54
Door data values
The values contain custom flags for each character, plus the working current state and state machine times. The number of bytes used depends on the character. These are copied from the following defaults:
53605 14
Door 1 Flags
53619 14
Door 2 Flags
53633 14
Door 3 Flags
53647 1
Set to 1 if state times should not be copied back after being run
53648 1
Set to 1 if money should be collected from this door
53649 1
Set to 1 if the reward screen should appear at the end of a run of 9 days (for day 2 and above).
This is set on starting a new game at 51281 and checked / cleared after completing day 2 / phase 18 at 51475.
54014 1
Player mistakes
If any of these bits are set, the player loses a life:
Bit Reason
0 Shot by a bandit
1 Shot a customer, a bandit who hasn't drawn, or "good" Julius
2 Shot a bomb
54015 1
Most recent user input for gun
54016 1
Player Shot
54017 2
Player Left/ Right
54019 4
Player Shooting
54364 2
Cash Deposit Box Reference
55468 4
Hash values for random number generator