Prev: 29879 Up: Map Next: 29910
29880: Room-specific routine: Kill Magic Knight if he is in the gas room without protection
Used by the routine at 29763.
Input
IY 23610
29880 LD A,(23468) Check Magic Knight spell flags...
29883 AND 2 ...
29885 RET NZ ...and return if bit 2 is set (i.e. Fumaticus Protectium has been successfully cast)
29886 RES 0,(IY+65) Reset update-game-time-and-locate-arrow-glow flag
29890 LD A,31 Draw window 31 ("death info" window, i.e. have entered the Gas Room without Fumaticus Protectium)...
29892 CALL 36987 ...
29895 LD HL,51583 Point to "CHOKE... CHOKE..." text
29898 CALL 36725 Print the text
29901 CALL 38749 Display "PRESS SPACE OR FIRE TO CONTINUE" window and wait for space / fire
29904 LD HL,43651 Point HL at "THE GAS GOT YOU" text
29907 JP 35101 Jump to "game over" window routine and exit
Prev: 29879 Up: Map Next: 29910