ChronosMM | Routines |
Prev: 54149 | Up: Map | Next: 54203 |
Used by the routine at CHECK_ALL_ENEMY_COLLISIONS. IX points at address of 4 byte enemy data block
|
||||
CHECK_ENEMY_COLLISIONS | 54173 | CALL CHECK_ENEMY_BULLET_COLLISION | ||
54176 | CALL L53526 | |||
54179 | LD A,(59668) | |||
54182 | AND A | |||
54183 | JP Z,CHECK_ENEMY_COLLISIONS_0 | |||
54186 | DEC (IX+1) | |||
54189 | LD A,(IX+1) | |||
54192 | CP 4 | |||
54194 | JP NC,CHECK_ENEMY_COLLISIONS_0 | |||
54197 | LD (IX+2),255 | Disable this enemy | ||
54201 | RET | |||
CHECK_ENEMY_COLLISIONS_0 | 54202 | RET |
Prev: 54149 | Up: Map | Next: 54203 |