jetpac | Routines |
Prev: 66b4 | Up: Map | Next: 66fc |
|
||||||||
66d0 | call $72ef | Update Actor position direction | ||||||
66d3 | call $6de9 | E=Alien collision result: $00 or $01 | ||||||
66d6 | dec e | Update rocket colour if not zero (and RET) | ||||||
66d7 | jr nz,$66fc | |||||||
66d9 | ld a,(ix+$05) | Update rocket colour if fuel pod counter < 6 (and RET) | ||||||
66dc | cp $06 | |||||||
66de | jr c,$66fc | |||||||
66e0 | inc (ix+$00) | Set Rocket "move" state to up | ||||||
66e3 | push ix | |||||||
66e5 | ld ix,$5d00 | IX=Jetman object | ||||||
66e9 | call $72ef | Update Jetman position direction | ||||||
66ec | call $726d | Jetman, find and destroy | ||||||
66ef | ld (ix+$00),$00 | Reset Jetman direction | ||||||
66f3 | pop ix | Restore IX to be the rocket object | ||||||
66f5 | ld hl,$5df1 | Increment current player lives | ||||||
66f8 | inc (hl) | |||||||
66f9 | jp $706d | Display player lives (and RET) |
Prev: 66b4 | Up: Map | Next: 66fc |