![]()  | 
Routines | 
| Prev: F7E9 | Up: Map | Next: F824 | 
| 
 | 
||||
| Action_Sleep | F7FD | CALL Parser_ValidateNoDirectObject | Call Parser_ValidateNoDirectObject. | |
| 
 
The "SLEEP" command can only be called on its own.
 
 | 
||||
| F800 | RET C | Return if there's any token set in UserInput_Token_2. | ||
| F801 | LD A,$37 | Call ValidateItemPresent with item 37: N/A. | ||
| F803 | CALL ValidateItemPresent | |||
| 
 
Print "You're not tired." if 
N/A is present in the current room.
 
 | 
||||
| F806 | JP NZ,Response_YoureNotTired | Jump to Response_YoureNotTired if N/A is present in the current room. | ||
| F809 | LD A,$37 | Call Handler_DestroyItemEvent with item 37: N/A. | ||
| F80B | CALL Handler_DestroyItemEvent | |||
| F80E | LD A,$04 | Call AddToScore to add 04 points to the score. | ||
| F810 | CALL AddToScore | |||
| F813 | LD A,$38 | Call Handler_UpdateItemEventCurrentRoom with item 38: "A sword". | ||
| F815 | CALL Handler_UpdateItemEventCurrentRoom | |||
| 
 
Print "You fall into a deep sleep.".
 
 | 
||||
| F818 | LD HL,$CE50 | HL=Messaging_YouFallIntoADeepSleep. | ||
| F81B | CALL PrintStringAndNewline | Call PrintStringAndNewline. | ||
| 
 
Print "As you slumber,a shimmering,
white,female figure rises from
the lake.She drifts over to you
and leaves a sword beside you.
The figure disappears beneath
the still water. You awaken.".
 
 | 
||||
| F81E | LD HL,$CE6C | HL=Messaging_AsYouSlumber. | ||
| F821 | JP PausePrintStringAndScroll_Duplicate | Jump to PausePrintStringAndScroll_Duplicate. | ||
| Prev: F7E9 | Up: Map | Next: F824 |