Prev: 25708 Up: Map Next: 25749
25737: Advance IX to point to next alien bullet slot
IX enters pointing to an alien bullet structure. It's advanced one such structure. The value at _ALIEN_BULLET_COUNTER is decremented.
Used by the routines at move_alien_bullets and clear_alien_bullets.
Input
IX Pointer to alien bullet structure
Output
IX Pointer to next alien bullet structure
Z80 Z flag set when last bullet is cleared
next_alien_bullet 25737 INC IX Alien bullet structure is just 2 bytes long
25739 INC IX
25741 LD A,(_ALIEN_BULLET_COUNTER) _ALIEN_BULLET_COUNTER is used as a bullet loop index in several bits of code
25744 DEC A
25745 LD (_ALIEN_BULLET_COUNTER),A
25748 RET Z flag will be set when loop is done
Prev: 25708 Up: Map Next: 25749