![]() |
Routines |
| Prev: 98B9 | Up: Map | Next: 99DD |
|
Type the password named in the command.
|
||||
| ActionType | 997F | LD A,($6223) | Fetch the current room. | |
| 9982 | CP $36 | Jump to ActionType_Step1 when the player is in The Reactor Room. (36). | ||
| 9984 | JR Z,ActionType_Step1 | |||
| 9986 | LD HL,$6445 | Print "Please rephrase that." and start a new line. | ||
| 9989 | JR ActionType_Loop2 | |||
| ActionType_Loop1 | 998B | LD HL,$80C3 | Print "The message:- "INCORRECT PASSWORD" appears." and start a new line. | |
| ActionType_Loop2 | 998E | CALL PrintStringAndANewline | ||
| 9991 | RET | Return. | ||
| ActionType_Step1 | 9992 | LD A,$3B | Jump to ActionType_Step2 when A key in the control panel. The key is set to 'ON'. (3B) is here or being carried. | |
| 9994 | CALL IsObjectInCurrentRoom | |||
| 9997 | JR Z,ActionType_Step2 | |||
| 9999 | LD HL,$81BC | Print "The computer is not on line." and start a new line. | ||
| 999C | JP ActionType_Loop2 | |||
| ActionType_Step2 | 999F | LD A,$2B | Jump to ActionType_Step3 when A light is flashing and you can hear a warning siren. (2B) is not here or being carried. | |
| 99A1 | CALL IsObjectInCurrentRoom | |||
| 99A4 | JR NZ,ActionType_Step3 | |||
| 99A6 | LD HL,$81D9 | Print "The computer will not allow any further input." and start a new line. | ||
| 99A9 | JP ActionType_Loop2 | |||
| ActionType_Step3 | 99AC | LD HL,$8B32 | Jump to ActionType_Step4 unless the command matches the phrase at 8B32. | |
| 99AF | CALL Parser_AdvanceToSeparator | |||
| 99B2 | JR NZ,ActionType_Step4 | |||
| 99B4 | LD BC,$3E00 | Move A message on the computer screen reads:- "TYPE PASSWORD". (3E) to nowhere (00). | ||
| 99B7 | CALL UpdateObjectLocation | |||
| 99BA | LD BC,$3F35 | Move A wall of rock now blocks the northern exit. (3F) to The Alien Commander's Chamber. (35). | ||
| 99BD | CALL UpdateObjectLocation | |||
| 99C0 | LD BC,$2B36 | Move A light is flashing and you can hear a warning siren. (2B) to The Reactor Room. (36). | ||
| 99C3 | CALL UpdateObjectLocation | |||
| 99C6 | XOR A | Seal the north exit of The Alien Commander's Chamber.. | ||
| 99C7 | LD ($8C98),A | |||
| 99CA | LD HL,$6219 | Check the turn-based event flags. | ||
| 99CD | SET 3,(HL) | Arm the explosion countdown. | ||
| 99CF | LD A,$15 | The complex explodes in 15 turns. | ||
| 99D1 | LD ($621D),A | |||
| 99D4 | LD HL,$80EF | 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." and start a new line. | ||
| 99D7 | JP ActionType_Loop2 | |||
| ActionType_Step4 | 99DA | JP ActionType_Loop1 | Continue at ActionType_Loop1 to say the password is wrong. | |
| Prev: 98B9 | Up: Map | Next: 99DD |