jetpac | Routines |
Prev: 6839 | Up: Map | Next: 685d |
Used by the routine at 6456.
|
||||
683e | push ix | |||
6840 | ld ix,$5d80 | Jetman explosion animation object | ||
6844 | ld hl,$5d00 | Jetman object | ||
6847 | ld c,(hl) | Assign direction to temp variable | ||
6848 | inc hl | Animation X position | ||
6849 | ld a,(hl) | Set explosion X position to match Jetman X position | ||
684a | ld (ix+$01),a | |||
684d | inc hl | Set explosion Y position to match Jetman | ||
684e | ld a,(hl) | |||
684f | ld (ix+$02),a | |||
6852 | ld a,c | A=Jetman direction | ||
6853 | call $6874 | Reset actor, which also sets anim object "state" to $01 | ||
6856 | pop ix | |||
6858 | xor a | |||
6859 | ld ($5d00),a | Reset Jetman direction to not moving | ||
685c | ret |
Prev: 6839 | Up: Map | Next: 685d |