![]() |
Routines |
Prev: F2EC | Up: Map | Next: F39B |
|
||||
F2FF | LD A,($A7C3) | A=*CurrentRoom. | ||
F302 | CP $0C | Jump to EE0B if A is equal to room 0C: In A Deep Pool Of Water. Inside The Sea Cavern. | ||
F304 | JP Z,$EE0B | |||
F307 | CP $15 | Jump to EE0B if A is equal to room 15: In A Deep Pool. Inside Lug's Cavern. | ||
F309 | JP Z,$EE0B | |||
F30C | CP $05 | Jump to F314 if A is not equal to room 05: The Sea Cavern. | ||
F30E | JR NZ,$F314 | |||
F310 | LD A,$0C | Load item 0C: "The body of the Roman" into A. | ||
F312 | JR $F316 | Jump to F316. | ||
F314 | LD A,$15 | Load item 15: "A deep pool of water" into A. | ||
F316 | CALL $EB10 | Call EB10. | ||
F319 | CALL $F7AC | Call F7AC. | ||
F31C | RET | Return. | ||
F31D | LD A,$37 | Load 37: N/A into A. | ||
F31F | CALL ValidateItemPresent | Call ValidateItemPresent. | ||
F322 | JR NZ,$F32E | Jump to F32E 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 $ED6D | Jump to ED6D. | ||
Print "You take a refreshing dip then
climb out again.".
|
||||
F32E | LD HL,$D973 | HL=Messaging_TakeARefreshingDip. | ||
F331 | CALL PrintStringAndNewline | Call PrintStringAndNewline. | ||
F334 | CALL $F7AC | Call F7AC. | ||
F337 | RET | Return. | ||
F338 | LD HL,$E3E7 | HL=Data_ItemGroup_DeepPoolOfWater_2. | ||
F33B | CALL $AEF7 | Call AEF7. | ||
F33E | CP $6C | Jump to F31D if A is equal to 6C. | ||
F340 | JP Z,$F31D | |||
F343 | CP $32 | Jump to EE0B if A is equal to 32. | ||
F345 | JP Z,$EE0B | |||
F348 | JP $F2FF | Jump to F2FF. | ||
F34B | LD A,($A7C3) | Jump to EE0B if *CurrentRoom is equal to room 63: The Inner Courtyard. | ||
F34E | CP $63 | |||
F350 | JP Z,$EE0B | |||
F353 | LD A,$63 | A=63. | ||
F355 | CALL $EB10 | Call EB10. | ||
F358 | RET | Return. | ||
F359 | LD A,($A7C3) | A=*CurrentRoom. | ||
F35C | LD B,$05 | B=05. | ||
F35E | CP $0C | Jump to F369 if A is equal to room 0C: In A Deep Pool Of Water. Inside The Sea Cavern. | ||
F360 | JR Z,$F369 | |||
F362 | CP $15 | Jump to EE2F if A is not equal to room 15: In A Deep Pool. Inside Lug's Cavern. | ||
F364 | JP NZ,$EE2F | |||
F367 | LD B,$14 | B=14. | ||
F369 | LD A,B | A=B. | ||
F36A | CALL $EB10 | Call EB10. | ||
F36D | RET | Return. | ||
F36E | LD A,($A7C3) | A=*CurrentRoom. | ||
F371 | CP $0D | Jump to EDED if A is equal to room 0D: A Narrow Underwater Passage. | ||
F373 | JP Z,$EDED | |||
F376 | CP $0C | Jump to F359 if A is equal to room 0C: In A Deep Pool Of Water. Inside The Sea Cavern. | ||
F378 | JP Z,$F359 | |||
F37B | CP $15 | Jump to F359 if A is equal to room 15: In A Deep Pool. Inside Lug's Cavern. | ||
F37D | JP Z,$F359 | |||
F380 | JP $EE2F | Jump to EE2F. | ||
F383 | LD A,($A7C3) | A=*CurrentRoom. | ||
F386 | CP $0D | Jump to EDED if A is equal to room 0D: A Narrow Underwater Passage. | ||
F388 | JP Z,$EDED | |||
F38B | CP $0C | Jump to F359 if A is equal to room 0C: In A Deep Pool Of Water. Inside The Sea Cavern. | ||
F38D | JP Z,$F359 | |||
F390 | CP $15 | Jump to F359 if A is equal to room 15: In A Deep Pool. Inside Lug's Cavern. | ||
F392 | JP Z,$F359 | |||
Print "You're in nothing you need to
climb out of.".
|
||||
F395 | LD HL,$D9A3 | HL=Messaging_YoureInNothingYouNeedToClimbOutOf. | ||
F398 | JP $ED6D | Jump to ED6D. |
Prev: F2EC | Up: Map | Next: F39B |