![]() |
Routines |
| Prev: 61288 | Up: Map | Next: 61357 |
|
Used by the routine at Validate_Take_Furnace.
Was the player trying to take ... the log?
|
||||
| Validate_Take_Log | 61310 | LD HL,59429 | Call Parser_AdvanceToSeparator with 59429. | |
| 61313 | CALL Parser_AdvanceToSeparator | |||
| 61316 | JR NZ,Validate_Take_Horn | Jump to Validate_Take_Horn if the token isn't for the log. | ||
| 61318 | LD A,68 | Call Take_IsPlayerHoldingItem with item 68: "A log". | ||
| 61320 | CALL Take_IsPlayerHoldingItem | |||
| 61323 | LD A,69 | Call Handler_DestroyItem with item 69: "A log,bridging the chasm". | ||
| 61325 | CALL Handler_DestroyItem | |||
| 61328 | LD A,70 | Call Handler_DestroyItem with item 70: "A log,bridging the chasm". | ||
| 61330 | CALL Handler_DestroyItem | |||
| 61333 | LD BC,4373 | Call UpdateObjectLocation to place "It seems too wide to jump across" in room 21: " The Western Edge of a Chasm". | ||
| 61336 | CALL UpdateObjectLocation | |||
| 61339 | LD BC,4630 | Call UpdateObjectLocation to place "It seems too wide to jump across" in room 22: " The Eastern Edge of a Chasm". | ||
| 61342 | CALL UpdateObjectLocation | |||
|
This action changes the map:
|
||||
| 61345 | XOR A | Write 0 to *Exit_WesternChasmEast to remove access to The Eastern Edge of a Chasm from The Western Edge of a Chasm. | ||
| 61346 | LD (59828),A | |||
| 61349 | LD (59835),A | Write 0 to *Exit_EasternChasmWest to remove access to The Western Edge of a Chasm from The Eastern Edge of a Chasm. | ||
| 61352 | LD B,68 | Load B with "A log". | ||
| 61354 | JP TakeItem | Jump to TakeItem. | ||
| Prev: 61288 | Up: Map | Next: 61357 |