![]() |
Routines |
| Prev: F7C2 | Up: Map | Next: F804 |
|
Swimming is fatal.
|
||||
| Action_Swim | F7EB | CALL Parser_ValidateDirectObject | Call Parser_ValidateDirectObject. | |
| F7EE | RET C | Return if the direct object is malformed. | ||
|
Was the player trying to swim ... the river?
|
||||
| F7EF | LD HL,$E8FE | Call Parser_AdvanceToSeparator with E8FE. | ||
| F7F2 | CALL Parser_AdvanceToSeparator | |||
| F7F5 | JR NZ,Swim_YouCant | Jump to Swim_YouCant if the token isn't for the river. | ||
| F7F7 | LD HL,$EB23 | Switch GameOver onto the stack so the next return actions a "game over". | ||
| F7FA | EX (SP),HL | |||
|
Print "You plunge into the water.
The current is too strong
and you are drawn down,
into the depths.".
|
||||
| F7FB | LD HL,$E21C | HL=Messaging_YouPlungeIntoTheWater. | ||
| F7FE | JP PrintResponse | Jump to PrintResponse. | ||
|
Nothing else is valid.
|
||||
| Swim_YouCant | F801 | JP Response_DontBeRidiculous | Jump to Response_DontBeRidiculous. | |
|
View the equivalent code in;
|
||||
| Prev: F7C2 | Up: Map | Next: F804 |