Prev: DCF6 Up: Map Next: DDE0
DD8D: Wait for the user to press ENTER, then fire a laser ray
Used by the routines at DB63, DCF6 and E62F.
DD8D LD HL,$F4E5 Print "Enter / Fire to continue".
DD90 CALL $EEF1
DD93 LD HL,$F4FE Print the laser around this.
DD96 CALL $ED06
DD99 LD BC,$1601 Fill the area with flashing black on yellow.
DD9C LD DE,$0517
DD9F LD A,$B0
DDA1 CALL $E8BA
DDA4 LD HL,$E6D9 Point HL at the tick counter for lasers. (E6D9)
DDA7 LD (HL),$7F Set it so it will fire immediately.
DDA9 INC HL Set the laser frame to 0.
DDAA LD (HL),$00
DDAC LD IY,$F59C Point IY at the lasers for the instructions. (F59C)
DDB0 LD A,($DCF5)
DDB3 AND A
DDB4 JR Z,$DDBF
DDB6 CALL $EF7C
DDB9 CALL $DAFA
DDBC CALL $E93F
DDBF CALL $CB9C
DDC2 JR NZ,$DDB0
DDC4 CALL $E6F6
DDC7 CALL $DA8D
DDCA CALL $DAFA
DDCD LD A,($DCF5)
DDD0 AND A
DDD1 JR Z,$DDD9
DDD3 CALL $E93F
DDD6 CALL $EF7C
DDD9 LD A,($E6DA)
DDDC AND A
DDDD JR NZ,$DDC4
DDDF RET
Prev: DCF6 Up: Map Next: DDE0