Prev: B0A6 Up: Map Next: B0F9
B0D6: Main stats and variables.
Input
Output
Flag_dayNight B0D6 DEFB $00 0 = night, 1 = day.
BankAccountLow B0D7 DEFB $00 Units and Tens of bank account (BCD)
BankAccountMid B0D8 DEFB $00 Hundreds and Thousands of bank account (BCD)
BankAccountHigh B0D9 DEFB $00 Upper values of bank account (BCD)
B0DA DEFB $00,$00
Offer_Count B0DC DEFB $00
Offer_ObjIndex B0DD DEFB $00 Index of object offered during offer action.
Shop_ObjIndex B0DE DEFB $00,$00,$00,$00 Index of object's noun (in shop).
Offer_PersonPtr B0E2 DEFW $0000 Pointer to person hero is currently offering to.
Obj_Price B0E4 DEFB $00,$00 Cost of an object (in shop) in BCD.
B0E6 DEFW $0000
Hero_ArrestCount B0E8 DEFB $00
Skar_ShowCount B0E9 DEFB $00 Runs through the revealing Skar routine when set. Starts from $c3 and counts down.
Event_NumDoors B0EA DEFB $00 Gets increased whenever a door event occurs.
Gamble_Counter B0EB DEFB $00 Counter for the gambling room. Runs as follows:
Value State
0 Place your bets.
$01 ~ $50 Wait to start
$51 Place your bets, roll both dice
$52 Right hand dice stopped
$53 ~ $FF Display result and wait
Account_Cost B0EC DEFB $00,$00 Holds the amount dropped when adding to an account or the cost of a bet.
Gamble_leftValue B0EE DEFB $00,$00,$00,$00 Holds the amount of money on plinth A for the gambling.
Gamble_rightValue B0F2 DEFB $00,$00,$00,$00 Holds the amount of money on plinth B for the gambling.
B0F6 DEFB $00,$00,$00
Prev: B0A6 Up: Map Next: B0F9