Prev: 6514 Up: Map Next: 6541
6523: Collect Rocket module or fuel pod.
Module is collected after player collides with it. Used by the routine at 64e8.
Input
IX Rocket module object.
6523 set 1,(ix+$04) Module "state"
6527 call $726d Find and destroy the sprite (returns DE)
652a ld bc,$0100 100 points to add to score (decimal value)
652d call $70c2 Add points to score
6530 call $67cc SFX for collecting fuel
6533 ld hl,($5d01) Update module position so it becomes attached to the player via the Jetman Y,X positions
6536 ld (ix+$01),l
6539 ld (ix+$02),h
653c call $72ef Update sprite X position
653f jr $650e Colourize the sprite
Prev: 6514 Up: Map Next: 6541