Prev: 63259 Up: Map Next: 63426
63389: Action: Wear
Wear the ring.
Action_Wear 63389 CALL Parser_ValidateDirectObject Call Parser_ValidateDirectObject.
63392 RET C Return if the direct object is malformed.
Was the player trying to wear ... the ring?
63393 LD HL,59425 Call Parser_AdvanceToSeparator with 59425.
63396 CALL Parser_AdvanceToSeparator
63399 JR NZ,Wear_YouCant Jump to Wear_YouCant if the token isn't for the ring.
63401 LD A,67 Jump to Wear_Ring if "A ring,which you are wearing" isn't held.
63403 CALL IsObjectCarried
63406 JR NZ,Wear_Ring
Print "You're wearing it already!".
63408 LD HL,57777 HL=Messaging_YoureWearingItAlready.
63411 JP PrintResponse Jump to PrintResponse.
Change the ring state!
Wear_Ring 63414 LD BC,1859 Call TransformItem to transform "A ring" into "A ring,which you are wearing".
63417 CALL TransformItem
63420 JP Response_OK_GameLoop Jump to Response_OK_GameLoop.
Nothing else is valid.
Wear_YouCant 63423 JP Response_YouCant_GameLoop Jump to Response_YouCant_GameLoop.
Prev: 63259 Up: Map Next: 63426