Prev: 6630 Up: Map Next: 6682
6642: Move player plane left by 2 pixels
Mirrors handle_right but moves the plane 2 pixels left instead of right.
handle_left 6642 LD A,($5F72) Back up missile coordinates and move plane 2 pixels left.
6645 LD HL,($5EF3)
6648 LD ($5F8F),HL
664B DEC A
664C DEC A
664D LD ($5F72),A
6650 LD C,A
6651 LD B,$80 Set position and collision mode (FUEL_DEPOT) for rendering.
6653 LD A,$01
6655 LD ($5EF5),A
6658 LD ($8B0C),BC
665C INC C Calculate previous position for sprite erasure (2 pixels back).
665D INC C
665E LD ($8B0A),BC
6662 LD BC,$0010 Configure sprite, render plane, and restore state; use ship attributes for Player 2.
6665 LD HL,($5EF7)
6668 LD ($8B0E),HL
666B LD E,$0E
666D LD A,($923D)
6670 CP $02
6672 CALL Z,ld_attributes_ship
6675 LD D,$08
6677 LD A,$02
6679 LD HL,$83F1
667C CALL render_object
667F JP restore_plane_state_after_render
Prev: 6630 Up: Map Next: 6682