Prev: 37793 Up: Map Next: 37915
37860: Action: Leave
Leave the current place by the matching exit.
ActionLeave 37860 CALL Parser_MatchOrRephrase Call Parser_MatchOrRephrase to match or rephrase.
37863 RET C Return if the command was rejected.
37864 JR Z,ActionLeave_Step1 The command names a place the player can leave.
37866 LD HL,35147 Jump to ActionLeave_Step1 when the command matches the phrase at 35147.
37869 CALL Parser_AdvanceToSeparator
37872 JR Z,ActionLeave_Step1
37874 LD HL,35251 Jump to ActionLeave_Step1 when the command matches the phrase at 35251.
37877 CALL Parser_AdvanceToSeparator
37880 JR Z,ActionLeave_Step1
ActionLeave_Loop1 37882 CALL ResponseYouCanT Call ResponseYouCanT to say that is not understood.
37885 RET Return.
ActionLeave_Loop2 37886 CALL MovePlayerToRoom Call MovePlayerToRoom to move the player.
37889 RET Return.
ActionLeave_Step1 37890 LD A,16 Jump to ActionLeave_Step2 when The airlock is open. (16) is not here or being carried.
37892 CALL IsObjectInCurrentRoom
37895 JR NZ,ActionLeave_Step2
37897 LD A,5 Step back out onto The Landing Pad..
37899 JR ActionLeave_Loop2 Continue at ActionLeave_Loop2 to step back onto the landing pad.
ActionLeave_Step2 37901 LD A,(25123) Fetch the current room.
37904 CP 62 The player can leave only from Inside a Teleport..
37906 JR NZ,ActionLeave_Loop1
37908 LD A,49 Go to wherever A strange alien device in one corner. currently is.
37910 CALL GetObjectLocation Call GetObjectLocation to read the object's location.
37913 JR ActionLeave_Loop2 Continue at ActionLeave_Loop2 to go where the alien device is.
Prev: 37793 Up: Map Next: 37915