Prev: 69CD Up: Map Next: 6A28
69E3: We hit a bike - destroy it
Used by the routine at 663D.
69E3 LD A,($5DE0) Reduce the number of frames
69E6 DEC A left to display a blown up
69E7 LD ($5DE0),A bike before it shatters
69EA JR NZ,$6A33 Move forward if there is more
69EC CALL $6AC2 Display the enemy pieces shattering
69EF CALL $66DB Reprint the handlebars
69F2 XOR A
69F3 LD ($5DDE),A
69F6 CALL $6918 Draw the bike
69F9 LD A,($5DD2) Get number of bikes left
69FC DEC A Remove one
69FD LD ($5DD2),A Store it
6A00 RET NZ Return if there are more bikes left
Both bikes have been destroyed - this level is complete
6A01 LD B,$02
6A03 LD A,$01
6A05 LD ($5DEC),A
6A08 INC A
6A09 PUSH BC
6A0A PUSH AF
6A0B CALL $5EFE Check for movement
6A0E CALL $5E00 Move the trees
6A11 CALL $5F89 Update other moving objects
6A14 POP AF
6A15 POP BC
6A16 DJNZ $6A05
6A18 CALL $66D6
6A1B CALL $62CB Move on a sector
6A1E LD A,($5DD3) Is this night patrol?
6A21 BIT 0,A
6A23 RET NZ Return if not
6A24 CALL $64B7 Otherwise, move on a level
6A27 RET
Prev: 69CD Up: Map Next: 6A28