Prev: F7DA Up: Map Next: F7FE
F7E0: Make MR WACKER give ERIC 2000 lines
Used by command lists 0xD6 (after EINSTEIN has told MR WACKER what ERIC's up to) and 0xDA (after MR WACKER has found the pea-shooter on the fire escape).
Input
H 0xA3 (MR WACKER)
F7E0 LD BC,$DE00 DE00: 'TAKE 2000 LINES YOU NASTY BOY'
F7E3 CALL $7D26 Make MR WACKER say this
F7E6 LD HL,($7FC6) Add 2000 lines to ERIC's total (stored at 7FC6)
F7E9 LD DE,$00C8
F7EC ADD HL,DE
F7ED LD ($7FC6),HL
F7F0 LD DE,$51DC Print the new lines total
F7F3 CALL $76C8
F7F6 LD A,$01 Set the MSB of the lesson clock to 1 so that the lesson will end soon
F7F8 LD ($7FF8),A
F7FB JP $62A8 Move to the next command in MR WACKER's command list
Prev: F7DA Up: Map Next: F7FE