Prev: AC71 Up: Map Next: AD80
AD57: Create a 'bullet' if required.
Used by the routine at Wally_Jump.
Input
Output
Wally_ShootCreate AD57 LD A,($F518) See if a 'bullet' already exists.
AD5A CP $FF
AD5C JP NZ,Wally_Handler_5
AD5F LD HL,(Wally_X) If not, create one by placing it just above Wally.
AD62 LD A,H
AD63 SUB $08
AD65 LD H,A
AD66 LD ($F518),HL
AD69 LD (BitmapX),HL Draw 'bullet'.
AD6C LD A,$BF Knife and Fork
AD6E CALL Bitmap16Draw
AD71 LD BC,$1E0F Make a noise.
AD74 LD DE,$010F
AD77 LD HL,$08F8
AD7A CALL Beep_Effect
AD7D JP Wally_Handler_5
Prev: AC71 Up: Map Next: AD80