![]() |
Routines |
| Prev: 63259 | Up: Map | Next: 63426 |
|
Wear the ring.
|
||||
| Action_Wear | 63389 | CALL Parser_ValidateDirectObject | Return if the words after the verb are not valid for this command. | |
| 63392 | RET C | |||
| 63393 | LD HL,59425 | Jump to Action_Wear_YouCant unless the player named the furnace. | ||
| 63396 | CALL Parser_AdvanceToSeparator | |||
| 63399 | JR NZ,Action_Wear_YouCant | |||
| 63401 | LD A,67 | Jump to Action_Wear_Next if the player is not carrying object 67 (the ring being worn). | ||
| 63403 | CALL IsObjectCarried | |||
| 63406 | JR NZ,Action_Wear_Next | |||
|
Reply with "You're wearing it already!".
|
||||
| 63408 | LD HL,57777 | Print "You're wearing it already!" and return to the game loop. | ||
| 63411 | JP PrintResponse | |||
| Action_Wear_Next | 63414 | LD BC,1859 | Replace object 7 (the ring) with object 67 (the ring being worn). | |
| 63417 | CALL TransformItem | |||
| 63420 | JP Response_OK | Jump back to Response_OK to confirm. | ||
| Action_Wear_YouCant | 63423 | JP Response_YouCant_GameLoop | Tell the player the command is impossible. | |
| Prev: 63259 | Up: Map | Next: 63426 |