Prev: 39097 Up: Map Next: 39389
39295: Action: Type
Type the password named in the command.
ActionType 39295 LD A,(25123) Fetch the current room.
39298 CP 54 Jump to ActionType_Step1 when the player is in room 54: " The Reactor Room".
39300 JR Z,ActionType_Step1
Print "Please rephrase that.".
39302 LD HL,25669 HL=Messaging_PleaseRephraseThat.
39305 JR ActionType_Loop2 Jump to ActionType_Loop2.
Print "The message:- "INCORRECT PASSWORD" appears.".
ActionType_Loop1 39307 LD HL,32963 HL=Messaging_TheMessageINCORRECTPASSWORDAppears.
ActionType_Loop2 39310 CALL PrintStringAndANewline Call PrintStringAndANewline.
39313 RET Return.
ActionType_Step1 39314 LD A,59 Jump to ActionType_Step2 when A key in the control panel. The key is set to 'ON'. (59) is here or being carried.
39316 CALL IsObjectInCurrentRoom
39319 JR Z,ActionType_Step2
Print "The computer is not on line.".
39321 LD HL,33212 HL=Messaging_TheComputerIsNotOnLine.
39324 JP ActionType_Loop2 Jump to ActionType_Loop2.
ActionType_Step2 39327 LD A,43 Jump to ActionType_Step3 when A light is flashing and you can hear a warning siren. (43) is not here or being carried.
39329 CALL IsObjectInCurrentRoom
39332 JR NZ,ActionType_Step3
Print "The computer will not allow any further input.".
39334 LD HL,33241 HL=Messaging_TheComputerWillNotAllowAnyFurtherInput.
39337 JP ActionType_Loop2 Jump to ActionType_Loop2.
ActionType_Step3 39340 LD HL,35634 Jump to ActionType_Step4 unless the command matches the phrase at 35634.
39343 CALL Parser_AdvanceToSeparator
39346 JR NZ,ActionType_Step4
39348 LD BC,15872 Move A message on the computer screen reads:- "TYPE PASSWORD". (62) to nowhere (0).
39351 CALL UpdateObjectLocation
39354 LD BC,16181 Move A wall of rock now blocks the northern exit. (63) to room 53: " The Alien Commander's Chamber".
39357 CALL UpdateObjectLocation
39360 LD BC,11062 Move A light is flashing and you can hear a warning siren. (43) to room 54: " The Reactor Room".
39363 CALL UpdateObjectLocation
This action changes the map:
39366 XOR A Seal the north exit of The Alien Commander's Chamber.
39367 LD (35992),A
39370 LD HL,25113 Check the turn-based event flags.
39373 SET 3,(HL) Arm the explosion countdown.
39375 LD A,21 The complex explodes in 21 turns.
39377 LD (25117),A
Print "The password is accepted. A red light starts flashing. You can hear a warning siren. You must leave the cave system, immediately! The reactor will soon explode. There is a muffled thud from the next room.".
39380 LD HL,33007 HL=Messaging_ThePasswordIsAcceptedARedLightStartsFla.
39383 JP ActionType_Loop2 Jump to ActionType_Loop2.
ActionType_Step4 39386 JP ActionType_Loop1 Continue at ActionType_Loop1 to say the password is wrong.
Prev: 39097 Up: Map Next: 39389