Prev: F824 Up: Map Next: F8AB
F869: Action: Swearing
Swearing has no effect.
Action_Swearing F869 CALL Parser_ValidateDirectObject Call Parser_ValidateDirectObject.
F86C RET C Return if the direct object is malformed.
Was the player swearing at ... the princess?
F86D LD HL,$E8E3 Call Parser_AdvanceToSeparator with E8E3.
F870 CALL Parser_AdvanceToSeparator
F873 JR NZ,Validate_Swearing_ClosedDoor Jump to Validate_Swearing_ClosedDoor if the token isn't for the princess.
F875 LD A,$2C Jump to Response_DontBeDisgusting if ValidateItemPresent reports that "The Princess,Mara" isn't in the current room.
F877 CALL ValidateItemPresent
F87A JP NZ,Response_DontBeDisgusting
F87D LD HL,$BA3F HL=Flag_PrincessFollowing.
F880 RES 0,(HL) Reset bit 0 of *HL.
F882 LD A,$2C Call Handler_DestroyItem with item 2C: "The Princess,Mara".
F884 CALL Handler_DestroyItem
Print "She evades your grasp and flees,screaming.".
F887 LD HL,$E31F HL=Messaging_SheEvadesYourGrasp.
F88A JP PrintResponse Jump to PrintResponse.
Was the player swearing at ... a closed door?
Validate_Swearing_ClosedDoor F88D LD HL,$E8E5 Call Parser_AdvanceToSeparator with E8E5.
F890 CALL Parser_AdvanceToSeparator
F893 JR NZ,Swearing_YouCant Jump to Swearing_YouCant if the token isn't for a closed door.
F895 LD A,$1C Jump to Response_DontBeDisgusting if ValidateItemPresent reports that "The body of a wood nymph" is in the current room.
F897 CALL ValidateItemPresent
F89A JP Z,Response_DontBeDisgusting
F89D LD A,$8A Call Handler_DestroyItem with 8A.
F89F CALL Handler_DestroyItem
Print "She evades your grasp and flees,screaming.".
F8A2 LD HL,$E31F HL=Messaging_SheEvadesYourGrasp.
F8A5 JP PrintResponse Jump to PrintResponse.
Nothing else is valid.
Swearing_YouCant F8A8 JP Response_DontBeDisgusting Jump to Response_DontBeDisgusting.
View the equivalent code in;
Prev: F824 Up: Map Next: F8AB