Prev: 63524 Up: Map Next: 63659
63593: Action: Swearing
Swearing has no effect.
Action_Swearing 63593 CALL Parser_ValidateDirectObject Call Parser_ValidateDirectObject.
63596 RET C Return if the direct object is malformed.
Was the player swearing at ... the princess?
63597 LD HL,59619 Call Parser_AdvanceToSeparator with 59619.
63600 CALL Parser_AdvanceToSeparator
63603 JR NZ,Validate_Swearing_ClosedDoor Jump to Validate_Swearing_ClosedDoor if the token isn't for the princess.
63605 LD A,44 Jump to Response_DontBeDisgusting if ValidateItemPresent reports that "The Princess,Mara" isn't in the current room.
63607 CALL ValidateItemPresent
63610 JP NZ,Response_DontBeDisgusting
63613 LD HL,47679 HL=Flag_PrincessFollowing.
63616 RES 0,(HL) Reset bit 0 of *HL.
63618 LD A,44 Call Handler_DestroyItem with item 44: "The Princess,Mara".
63620 CALL Handler_DestroyItem
Print "She evades your grasp and flees,screaming.".
63623 LD HL,58143 HL=Messaging_SheEvadesYourGrasp.
63626 JP PrintResponse Jump to PrintResponse.
Was the player swearing at ... a closed door?
Validate_Swearing_ClosedDoor 63629 LD HL,59621 Call Parser_AdvanceToSeparator with 59621.
63632 CALL Parser_AdvanceToSeparator
63635 JR NZ,Swearing_YouCant Jump to Swearing_YouCant if the token isn't for a closed door.
63637 LD A,28 Jump to Response_DontBeDisgusting if ValidateItemPresent reports that "The body of a wood nymph" is in the current room.
63639 CALL ValidateItemPresent
63642 JP Z,Response_DontBeDisgusting
63645 LD A,138 Call Handler_DestroyItem with 138.
63647 CALL Handler_DestroyItem
Print "She evades your grasp and flees,screaming.".
63650 LD HL,58143 HL=Messaging_SheEvadesYourGrasp.
63653 JP PrintResponse Jump to PrintResponse.
Nothing else is valid.
Swearing_YouCant 63656 JP Response_DontBeDisgusting Jump to Response_DontBeDisgusting.
View the equivalent code in;
Prev: 63524 Up: Map Next: 63659