jetpac | Routines |
Prev: 6456 | Up: Map | Next: 648b |
|
||||||||
6461 | call $72ef | Update Actor position direction | ||||||
6464 | call $75e8 | Platform collision - returns E | ||||||
6467 | bit 2,e | Increment item Y position if bit-2 is set | ||||||
6469 | jr nz,$6471 | |||||||
646b | inc (ix+$02) | |||||||
646e | inc (ix+$02) | |||||||
6471 | call $6de9 | Alien collision - returns E | ||||||
6474 | dec e | |||||||
6475 | jr nz,$648b | Drop new collectible item if E > 0 | ||||||
6477 | xor a | Reset A | ||||||
6478 | call $64ae | HL=sprite address | ||||||
647b | call $7268 | Destroy the collected item | ||||||
647e | ld (ix+$00),$00 | Set type as unused | ||||||
6482 | ld bc,$0250 | 250 points to add to score (decimal value) | ||||||
6485 | call $70c2 | Add points to score | ||||||
6488 | jp $67d2 | SFX for item collect (and return) |
Prev: 6456 | Up: Map | Next: 648b |