![]()  | 
Routines | 
| Prev: FB71 | Up: Map | Next: FBA8 | 
| 
 | 
||||
| Action_Swearing | FB83 | CALL Parser_ValidateDirectObject | Call Parser_ValidateDirectObject. | |
| FB86 | RET C | Return if the direct object is malformed. | ||
| 
 
Provide an initial full response for when the player swears.
 
 | 
||||
| FB87 | LD HL,$BC54 | Jump to Swearing_AtLeastOnce if bit 2 of *GameFlags_Help is set, which relates to whether the player has sworn in the game already. | ||
| FB8A | BIT 2,(HL) | |||
| FB8C | JR NZ,Swearing_AtLeastOnce | |||
| 
 
This is the first time the player has sworn, so flag that they've been sweary.
 
 | 
||||
| FB8E | SET 2,(HL) | Set bit 2 of *GameFlags_Help which relates to the player swearing. | ||
| 
 
Print "Don't be disgusting!".
 
 | 
||||
| FB90 | LD HL,$E3A3 | HL=E3A3. | ||
| FB93 | JP PrintStringAndNewline_Alias | Jump to PrintStringAndNewline_Alias. | ||
| 
 
The is the second time the player has sworn, so flag that they have issues.
 
 | 
||||
| Swearing_AtLeastOnce | FB96 | 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. | |
| FB98 | JR NZ,Swearing_AtLeastTwice | |||
| 
 
The player has sworn twice now, mark that they're a potty-mouth.
 
 | 
||||
| FB9A | 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.".
 
 | 
||||
| FB9C | LD HL,$E3B8 | HL=E3B8. | ||
| FB9F | JP PrintStringAndNewline_Alias | Jump to PrintStringAndNewline_Alias. | ||
| 
 
Print "I didn't hear that!".
 
 | 
||||
| Swearing_AtLeastTwice | FBA2 | LD HL,$E3F7 | HL=E3F7. | |
| FBA5 | JP PrintStringAndNewline_Alias | Jump to PrintStringAndNewline_Alias. | ||
| Prev: FB71 | Up: Map | Next: FBA8 |