Prev: 64369 Up: Map Next: 64424
64387: Action: Swearing
Action_Swearing 64387 CALL Parser_ValidateDirectObject Call Parser_ValidateDirectObject.
64390 RET C Return if the direct object is malformed.
Provide an initial full response for when the player swears.
64391 LD HL,48212 Jump to Swearing_AtLeastOnce if bit 2 of *GameFlags_Help is set, which relates to whether the player has sworn in the game already.
64394 BIT 2,(HL)
64396 JR NZ,Swearing_AtLeastOnce
This is the first time the player has sworn, so flag that they've been sweary.
64398 SET 2,(HL) Set bit 2 of *GameFlags_Help which relates to the player swearing.
Print "Don't be disgusting!".
64400 LD HL,58275 HL=58275.
64403 JP PrintStringAndNewline_Alias Jump to PrintStringAndNewline_Alias.
The is the second time the player has sworn, so flag that they have issues.
Swearing_AtLeastOnce 64406 BIT 3,(HL) Jump to Swearing_AtLeastTwice if bit 3 of *GameFlags_Help is set, which relates to whether the player has sworn in the game already.
64408 JR NZ,Swearing_AtLeastTwice
The player has sworn twice now, mark that they're a potty-mouth.
64410 SET 3,(HL) Set bit 3 of *GameFlags_Help which relates to the player swearing at least twice.
Print "I've warned you before! This deviant practice has got to stop.".
64412 LD HL,58296 HL=58296.
64415 JP PrintStringAndNewline_Alias Jump to PrintStringAndNewline_Alias.
Print "I didn't hear that!".
Swearing_AtLeastTwice 64418 LD HL,58359 HL=58359.
64421 JP PrintStringAndNewline_Alias Jump to PrintStringAndNewline_Alias.
Prev: 64369 Up: Map Next: 64424