![]() |
Routines |
| Prev: F2A7 | Up: Map | Next: F5F1 |
|
Kiss Princess Mara, if she is here and still alive.
|
||||
| Action_Kiss | F5B6 | CALL Parser_ValidateDirectObject | Call Parser_ValidateDirectObject. | |
| F5B9 | RET C | Return if the direct object is malformed. | ||
| F5BA | JR Validate_Kiss_Princess | Jump to Validate_Kiss_Princess. | ||
|
Print "It's too late for that,
she's dead.".
|
||||
| Kiss_TooLate | F5BC | LD HL,$E14E | HL=Messaging_ItsTooLateForThat. | |
| F5BF | JP PrintResponse | Jump to PrintResponse. | ||
|
Print "You kiss her.
She says:- "Thank you".".
|
||||
| Kiss_Success | F5C2 | LD HL,$E113 | HL=Messaging_YouKissHer. | |
| F5C5 | JP PrintResponse | Jump to PrintResponse. | ||
|
Was the player trying to kiss ... the princess?
|
||||
| Validate_Kiss_Princess | F5C8 | LD HL,$E8E3 | Call Parser_AdvanceToSeparator with E8E3. | |
| F5CB | CALL Parser_AdvanceToSeparator | |||
| F5CE | JR NZ,Validate_Kiss_ClosedDoor | Jump to Validate_Kiss_ClosedDoor if the token isn't for the princess. | ||
| F5D0 | LD A,$2C | Jump to Kiss_TooLate if ValidateItemPresent reports that "The Princess,Mara" isn't in the current room. | ||
| F5D2 | CALL ValidateItemPresent | |||
| F5D5 | JP NZ,Kiss_TooLate | |||
| F5D8 | JP Kiss_Success | Jump to Kiss_Success. | ||
|
Was the player trying to kiss ... a closed door?
|
||||
| Validate_Kiss_ClosedDoor | F5DB | LD HL,$E8E5 | Call Parser_AdvanceToSeparator with E8E5. | |
| F5DE | CALL Parser_AdvanceToSeparator | |||
| F5E1 | JR NZ,Kiss_YouCant | Jump to Kiss_YouCant if the token isn't for a closed door. | ||
| F5E3 | LD A,$1C | Jump to Kiss_TooLate if ValidateItemPresent reports that "The body of a wood nymph" is in the current room. | ||
| F5E5 | CALL ValidateItemPresent | |||
| F5E8 | JP Z,Kiss_TooLate | |||
| F5EB | JP Kiss_Success | Jump to Kiss_Success. | ||
|
Nothing else is valid.
|
||||
| Kiss_YouCant | F5EE | JP Response_DontBeRidiculous | Jump to Response_DontBeRidiculous. | |
|
View the equivalent code in;
|
||||
| Prev: F2A7 | Up: Map | Next: F5F1 |