![]() |
Routines |
Prev: 26020 | Up: Map | Next: 26049 |
Check if there's a bullet in flight. If not return immediately. If there is, call the collision detection routine.
Used by the routine at start.
|
||||
is_alien_hit | 26038 | LD A,(_PLAYER_BULLET_IN_FLIGHT) | Return if no bullet in flight | |
26041 | OR A | |||
26042 | RET Z | |||
26043 | CALL bullet_alien_coll_yaxis | A bullet is in flight so check if it's hit an alien. This goes right down into the code which destroys the alien, draws the explosion, increases score, etc. | ||
26046 | JP bullet_intercept_detect | Jump to code which sorts out the alien data. Eventually that code RETs which take us back to where this routine was called from (the main loop) |
Prev: 26020 | Up: Map | Next: 26049 |