Prev: 26037 Up: Map Next: 26109
26067: END action
ACTION_END 26067 POP HL
26068 LD HL,13 "Would you like another go?"
26071 CALL PRINT_SYSMSG_NEWLINE Print system message
26074 CALL KEYBOARD_HANDLER Keyboard processing loop
26077 LD A,(HL) A=first character of word entered
26078 LD HL,(27553) HL = Address of system messages table
26081 LD DE,62 Offset of 'No' response
26084 ADD HL,DE
26085 LD E,(HL) E=LSB of 'No' response
26086 INC HL
26087 LD D,(HL) D=MSB of 'No' response
26088 EX DE,HL HL=No response
26089 CPL
26090 CP (HL) Does first character entered match 'No' response?
26091 JP NZ,RESET_GAME Reset game to start
26094 LD HL,14 "Goodbye"
26097 CALL PRINT_SYSMSG_NEWLINE "Print system message"
26100 RES 7,(IY+8)
26104 LD L,255
26106 JP 85 Jump into ROM error routine (and presumably exit)
Prev: 26037 Up: Map Next: 26109