ChronosMM | Routines |
Prev: 54122 | Up: Map | Next: 54173 |
Used by the routine PLAY_GAME.
|
||||
CHECK_ALL_ENEMY_COLLISIONS | 54149 | LD B,3 | Prepare to loop 3 times | |
54151 | LD IX,60045 | Point IX at ENEMY_DATA | ||
CHECK_ALL_ENEMY_COLLISIONS_0 | 54155 | PUSH BC | ||
54156 | LD A,(IX+2) | |||
54159 | CP 255 | |||
54161 | CALL NZ,CHECK_ENEMY_COLLISIONS | If enemy is enabled, call CHECK_ENEMY_COLLISIONS | ||
54164 | LD BC,4 | |||
54167 | ADD IX,BC | Point IX at next enemy | ||
54169 | POP BC | |||
54170 | DJNZ CHECK_ALL_ENEMY_COLLISIONS_0 | Loop 3 times | ||
54172 | RET |
Prev: 54122 | Up: Map | Next: 54173 |