![]() |
Routines |
Prev: 62188 | Up: Map | Next: 62363 |
|
||||
62207 | LD A,(42947) | A=*CurrentRoom. | ||
62210 | CP 12 | Jump to 60939 if A is equal to room 12: In A Deep Pool Of Water. Inside The Sea Cavern. | ||
62212 | JP Z,60939 | |||
62215 | CP 21 | Jump to 60939 if A is equal to room 21: In A Deep Pool. Inside Lug's Cavern. | ||
62217 | JP Z,60939 | |||
62220 | CP 5 | Jump to 62228 if A is not equal to room 5: The Sea Cavern. | ||
62222 | JR NZ,62228 | |||
62224 | LD A,12 | Load item 12: "The body of the Roman" into A. | ||
62226 | JR 62230 | Jump to 62230. | ||
62228 | LD A,21 | Load item 21: "A deep pool of water" into A. | ||
62230 | CALL 60176 | Call 60176. | ||
62233 | CALL 63404 | Call 63404. | ||
62236 | RET | Return. | ||
62237 | LD A,55 | Load 55: N/A into A. | ||
62239 | CALL ValidateItemPresent | Call ValidateItemPresent. | ||
62242 | JR NZ,62254 | Jump to 62254 if A is not equal to 55. | ||
Bad luck!
|
||||
62244 | LD HL,59826 | Switch GameOver onto the stack so the next return actions a "game over". | ||
62247 | EX (SP),HL | |||
Print "You plunge into the lake.
The dark waters close over your
head.You are too tired to swim.".
|
||||
62248 | LD HL,55577 | HL=Messaging_PlungeIntoLake. | ||
62251 | JP 60781 | Jump to 60781. | ||
Print "You take a refreshing dip then
climb out again.".
|
||||
62254 | LD HL,55667 | HL=Messaging_TakeARefreshingDip. | ||
62257 | CALL PrintStringAndNewline | Call PrintStringAndNewline. | ||
62260 | CALL 63404 | Call 63404. | ||
62263 | RET | Return. | ||
62264 | LD HL,58343 | HL=Data_ItemGroup_DeepPoolOfWater_2. | ||
62267 | CALL 44791 | Call 44791. | ||
62270 | CP 108 | Jump to 62237 if A is equal to 108. | ||
62272 | JP Z,62237 | |||
62275 | CP 50 | Jump to 60939 if A is equal to 50. | ||
62277 | JP Z,60939 | |||
62280 | JP 62207 | Jump to 62207. | ||
62283 | LD A,(42947) | Jump to 60939 if *CurrentRoom is equal to room 99: The Inner Courtyard. | ||
62286 | CP 99 | |||
62288 | JP Z,60939 | |||
62291 | LD A,99 | A=99. | ||
62293 | CALL 60176 | Call 60176. | ||
62296 | RET | Return. | ||
62297 | LD A,(42947) | A=*CurrentRoom. | ||
62300 | LD B,5 | B=5. | ||
62302 | CP 12 | Jump to 62313 if A is equal to room 12: In A Deep Pool Of Water. Inside The Sea Cavern. | ||
62304 | JR Z,62313 | |||
62306 | CP 21 | Jump to 60975 if A is not equal to room 21: In A Deep Pool. Inside Lug's Cavern. | ||
62308 | JP NZ,60975 | |||
62311 | LD B,20 | B=20. | ||
62313 | LD A,B | A=B. | ||
62314 | CALL 60176 | Call 60176. | ||
62317 | RET | Return. | ||
62318 | LD A,(42947) | A=*CurrentRoom. | ||
62321 | CP 13 | Jump to 60909 if A is equal to room 13: A Narrow Underwater Passage. | ||
62323 | JP Z,60909 | |||
62326 | CP 12 | Jump to 62297 if A is equal to room 12: In A Deep Pool Of Water. Inside The Sea Cavern. | ||
62328 | JP Z,62297 | |||
62331 | CP 21 | Jump to 62297 if A is equal to room 21: In A Deep Pool. Inside Lug's Cavern. | ||
62333 | JP Z,62297 | |||
62336 | JP 60975 | Jump to 60975. | ||
62339 | LD A,(42947) | A=*CurrentRoom. | ||
62342 | CP 13 | Jump to 60909 if A is equal to room 13: A Narrow Underwater Passage. | ||
62344 | JP Z,60909 | |||
62347 | CP 12 | Jump to 62297 if A is equal to room 12: In A Deep Pool Of Water. Inside The Sea Cavern. | ||
62349 | JP Z,62297 | |||
62352 | CP 21 | Jump to 62297 if A is equal to room 21: In A Deep Pool. Inside Lug's Cavern. | ||
62354 | JP Z,62297 | |||
Print "You're in nothing you need to
climb out of.".
|
||||
62357 | LD HL,55715 | HL=Messaging_YoureInNothingYouNeedToClimbOutOf. | ||
62360 | JP 60781 | Jump to 60781. |
Prev: 62188 | Up: Map | Next: 62363 |