ChronosMM | Routines |
Prev: 56443 | Up: Map | Next: 56606 |
Used by the routine PLAY_GAME.
|
||||
CHECK_ALL_BULLETS_LANDSCAPE_COLLISION | 56582 | LD IX,60093 | Point IX at PLAYER_SHOTS | |
56586 | LD B,16 | Prepare to loop through each bullet | ||
CHECK_ALL_BULLETS_LANDSCAPE_COLLISION_0 | 56588 | PUSH BC | ||
56589 | LD A,(IX+2) | Check status of bullet | ||
56592 | CP 255 | |||
56594 | CALL NZ,CHECK_BULLET_LANDSCAPE_COLLISION | If bullet is active, skip ahead | ||
56597 | LD BC,3 | |||
56600 | ADD IX,BC | Point at next bullet | ||
56602 | POP BC | |||
56603 | DJNZ CHECK_ALL_BULLETS_LANDSCAPE_COLLISION_0 | Loop to next bullet | ||
56605 | RET |
Prev: 56443 | Up: Map | Next: 56606 |