![]() |
Routines |
| Prev: 93A1 | Up: Map | Next: 941B |
|
Leave the current place by the matching exit.
|
||||
| ActionLeave | 93E4 | CALL Parser_MatchOrRephrase | Call Parser_MatchOrRephrase to match or rephrase. | |
| 93E7 | RET C | Return if the command was rejected. | ||
| 93E8 | JR Z,ActionLeave_Step1 | The command names a place the player can leave. | ||
| 93EA | LD HL,$894B | Jump to ActionLeave_Step1 when the command matches the phrase at 894B. | ||
| 93ED | CALL Parser_AdvanceToSeparator | |||
| 93F0 | JR Z,ActionLeave_Step1 | |||
| 93F2 | LD HL,$89B3 | Jump to ActionLeave_Step1 when the command matches the phrase at 89B3. | ||
| 93F5 | CALL Parser_AdvanceToSeparator | |||
| 93F8 | JR Z,ActionLeave_Step1 | |||
| ActionLeave_Loop1 | 93FA | CALL ResponseYouCanT | Call ResponseYouCanT to say that is not understood. | |
| 93FD | RET | Return. | ||
| ActionLeave_Loop2 | 93FE | CALL MovePlayerToRoom | Call MovePlayerToRoom to move the player. | |
| 9401 | RET | Return. | ||
| ActionLeave_Step1 | 9402 | LD A,$10 | Jump to ActionLeave_Step2 when The airlock is open. (10) is not here or being carried. | |
| 9404 | CALL IsObjectInCurrentRoom | |||
| 9407 | JR NZ,ActionLeave_Step2 | |||
| 9409 | LD A,$05 | Step back out onto The Landing Pad.. | ||
| 940B | JR ActionLeave_Loop2 | Continue at ActionLeave_Loop2 to step back onto the landing pad. | ||
| ActionLeave_Step2 | 940D | LD A,($6223) | Fetch the current room. | |
| 9410 | CP $3E | The player can leave only from Inside a Teleport.. | ||
| 9412 | JR NZ,ActionLeave_Loop1 | |||
| 9414 | LD A,$31 | Go to wherever A strange alien device in one corner. currently is. | ||
| 9416 | CALL GetObjectLocation | Call GetObjectLocation to read the object's location. | ||
| 9419 | JR ActionLeave_Loop2 | Continue at ActionLeave_Loop2 to go where the alien device is. | ||
| Prev: 93A1 | Up: Map | Next: 941B |