![]()  | 
Routines | 
| Prev: 63465 | Up: Map | Next: 63524 | 
| 
 | 
||||
| Action_Sleep | 63485 | CALL Parser_ValidateNoDirectObject | Call Parser_ValidateNoDirectObject. | |
| 
 
The "SLEEP" command can only be called on its own.
 
 | 
||||
| 63488 | RET C | Return if there's any token set in UserInput_Token_2. | ||
| 63489 | LD A,55 | Call ValidateItemPresent with item 55: N/A. | ||
| 63491 | CALL ValidateItemPresent | |||
| 
 
Print "You're not tired." if 
N/A is present in the current room.
 
 | 
||||
| 63494 | JP NZ,Response_YoureNotTired | Jump to Response_YoureNotTired if N/A is present in the current room. | ||
| 63497 | LD A,55 | Call Handler_DestroyItemEvent with item 55: N/A. | ||
| 63499 | CALL Handler_DestroyItemEvent | |||
| 63502 | LD A,4 | Call AddToScore to add 4 points to the score. | ||
| 63504 | CALL AddToScore | |||
| 63507 | LD A,56 | Call Handler_UpdateItemEventCurrentRoom with item 56: "A sword". | ||
| 63509 | CALL Handler_UpdateItemEventCurrentRoom | |||
| 
 
Print "You fall into a deep sleep.".
 
 | 
||||
| 63512 | LD HL,52816 | HL=Messaging_YouFallIntoADeepSleep. | ||
| 63515 | 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.".
 
 | 
||||
| 63518 | LD HL,52844 | HL=Messaging_AsYouSlumber. | ||
| 63521 | JP PausePrintStringAndScroll_Duplicate | Jump to PausePrintStringAndScroll_Duplicate. | ||
| Prev: 63465 | Up: Map | Next: 63524 |