![]() |
Routines |
| Prev: B985 | Up: Map | Next: B998 |
|
Used by the routines at upd_160_to_163 and chaser_chase.
Increments the low two bits of the type and leaves the rest alone, so 160 goes to 161, 162, 163 and back to 160.
|
||||
| next_graphic_no_mod_4 | B98C | LD A,(IX+$00) | type with its low two bits plus 1, modulo 4 | |
| B98F | LD C,A | |||
| B990 | AND $FC | |||
| B992 | LD B,A | |||
| B993 | LD A,C | |||
| B994 | INC A | |||
| B995 | AND $03 | |||
| B997 | OR B | |||
| Prev: B985 | Up: Map | Next: B998 |