Routines
| Prev: E39C | Up: Map | Next: E3B8 |
E3A9: DE = the sum of money in the command ($A02F)
|
Addresses named in the title: $A02F.
|
||||||||
| E3A9 | LD DE,($A02F) | Read $A02F in "Game variables" into DE | ||||||
| E3AD | RES 7,D | Clear bit 7 of D - Drop the number marker bit, then unpack as E39C | ||||||
| E3AF | RL E | Rotate E left through the carry | ||||||
| E3B1 | SRA D | Shift D right keeping its sign | ||||||
| E3B3 | RR E | Rotate E right through the carry | ||||||
| E3B5 | OR $01 | Make A non-zero, which clears the zero flag, and hand that back to the caller | ||||||
| E3B7 | RET | Return to the caller | ||||||
| Prev: E39C | Up: Map | Next: E3B8 |