![]() |
Routines |
Prev: F7AC | Up: Map | Next: F7DB |
|
||||
Process_Guard | F7C0 | LD A,$46 | Call ValidateItemPresent with item 46: "A guard at the entrance". | |
F7C2 | CALL ValidateItemPresent | |||
F7C5 | JR NZ,Guard_AlreadyDealtWith | Jump to Guard_AlreadyDealtWith if "A guard at the entrance" is not in the current room. | ||
Print "The guard prevents you.".
|
||||
F7C7 | LD HL,$E079 | HL=Messaging_GuardPreventsYou. | ||
F7CA | JP PrintStringAndNewline_Duplicate | Jump to PrintStringAndNewline_Duplicate. | ||
Jump to print "You've done that already." if this room is not
The Cadwell Hillfort.
|
||||
Guard_AlreadyDealtWith | F7CD | LD A,($A7C3) | Jump to Response_YouveDoneThatAlready if *CurrentRoom is not room 3A: The Cadwell Hillfort. | |
F7D0 | CP $3A | |||
F7D2 | JP NZ,Response_YouveDoneThatAlready | |||
F7D5 | LD A,$49 | Call ChangeRoom with room 49: The Main Courtyard. | ||
F7D7 | CALL ChangeRoom | |||
F7DA | RET | Return. |
Prev: F7AC | Up: Map | Next: F7DB |