![]() |
Data |
| Prev: C33D | Up: Map | Next: C340 |
|
Stores the two most significant digits of the current money as ASCII bytes. Loaded with LD HL,($C33E): H = digit 1 (address $C33F), L = digit 2 (address $C33E). Digits 3–4 are in var_money_digits34.
Initial value is 030000$ (30000 escudos): $C33F=$30 ('0'), $C33E=$33 ('3'). The two trailing '00' and the '$' sign are hardcoded in draw_hud — not stored. Displayed by draw_hud as digit 1 then digit 2, followed by digits 3–4 and '$'. Reset to "0000" by reset_money on underflow.
|
||||
| var_money_digits12 | C33E | DEFB $30,$30 | ||
| Prev: C33D | Up: Map | Next: C340 |