![]() |
Routines |
Prev: 62768 | Up: Map |
|
|||||||
62770 | LD HL,32640 | 32640 holds various game status flags | |||||
62773 | BIT 1,(HL) | Is MR WACKER already looking for ERIC (to expel him)? | |||||
62775 | RET NZ | Return if so | |||||
62776 | SET 1,(HL) | Signal: MR WACKER is looking for ERIC (to expel him) | |||||
62778 | LD L,228 | Set the MSB of the lesson clock at 32739 to 255, so that the lesson will not end until ERIC's expelled | |||||
62780 | LD (HL),255 | ||||||
62782 | LD HL,51227 | Point HL at byte 27 of MR WACKER's buffer | |||||
62785 | LD (HL),48 | Place the address of the command list at 62768 (which contains the single routine address 62815) into bytes 27 and 28 of MR WACKER's buffer | |||||
62787 | INC L | ||||||
62788 | LD (HL),245 | ||||||
62790 | INC L | Set bit 0 of byte 29 of MR WACKER's buffer, triggering a command list restart (at 62768) | |||||
62791 | SET 0,(HL) | ||||||
62793 | RET |
Prev: 62768 | Up: Map |