![]() |
Routines |
Prev: F2FF | Up: Map | Next: F338 |
Used by the routine at Process_EnterIntoWater.
|
||||
Process_EnterIntoLake | F31D | LD A,$37 | Call ValidateItemPresent with item 37: N/A. | |
F31F | CALL ValidateItemPresent | |||
F322 | JR NZ,Process_EnterIntoLake_0 | Jump to Process_EnterIntoLake_0 if A is not equal to 37. | ||
Bad luck!
|
||||
F324 | LD HL,$E9B2 | Switch GameOver onto the stack so the next return actions a "game over". | ||
F327 | EX (SP),HL | |||
Print "You plunge into the lake.
The dark waters close over your
head.You are too tired to swim.".
|
||||
F328 | LD HL,$D919 | HL=Messaging_PlungeIntoLake. | ||
F32B | JP PrintStringAndNewline_Duplicate | Jump to PrintStringAndNewline_Duplicate. | ||
Print "You take a refreshing dip then
climb out again.".
|
||||
Process_EnterIntoLake_0 | F32E | LD HL,$D973 | HL=Messaging_TakeARefreshingDip. | |
F331 | CALL PrintStringAndNewline | Call PrintStringAndNewline. | ||
F334 | CALL Process_LoseSalt | Call Process_LoseSalt. | ||
F337 | RET | Return. |
Prev: F2FF | Up: Map | Next: F338 |