![]() |
Routines |
| Prev: 61644 | Up: Map | Next: 61777 |
|
Kiss the chest.
|
||||
| Kiss_Chest | 61716 | LD A,78 | Call ValidateItemPresent with item 78: "A venomous spider.". | |
| 61718 | CALL ValidateItemPresent | |||
| 61721 | JP Z,Take_Diamond_0 | Jump to Take_Diamond_0 if the Z flag is set. | ||
| 61724 | LD HL,58771 | HL=Data_ItemGroup_Chest. | ||
| 61727 | CALL CheckActiveScenicEvents | Call CheckActiveScenicEvents. | ||
| 61730 | CP 82 | Jump to Kiss_Box_0 if A is 82. | ||
| 61732 | JR Z,Kiss_Box_0 | |||
| 61734 | CP 81 | Jump to Kiss_Chest_0 if A is 81. | ||
| 61736 | JR Z,Kiss_Chest_0 | |||
|
Print "The hinges are too rusty.".
|
||||
| 61738 | LD HL,55202 | HL=Messaging_TheHingesAreTooRusty. | ||
| 61741 | JP PrintResponse | Jump to PrintResponse. | ||
| Kiss_Chest_0 | 61744 | LD BC,20818 | Call TransformItem to transform "A chest with oiled hinges." into "An open chest.". | |
| 61747 | CALL TransformItem | |||
| 61750 | LD A,3 | Call HandlerUpdateItemEventForTheCurrentRoom with item 3: "Khadim,the dwarf.". | ||
| 61752 | CALL HandlerUpdateItemEventForTheCurrentRoom | |||
| 61755 | LD HL,44689 | Set bit 3 of *Flag_FollowingHeroes. | ||
| 61758 | SET 3,(HL) | |||
| 61760 | LD A,4 | Call AddToScore with 4. | ||
| 61762 | CALL AddToScore | |||
|
Print "With hinges protesting noisily,
you open the chest.
Khadim climbs out!".
|
||||
| 61765 | LD HL,55228 | HL=Messaging_WithHingesProtestingNoisilyYouOpenTheChest. | ||
| 61768 | JP PrintResponse | Jump to PrintResponse. | ||
|
This entry point is used by the routine at Kiss_JewelledGate.
Print "They're not here!".
|
||||
| Kiss_Chest_1 | 61771 | LD HL,55299 | HL=Messaging_TheyreNotHere. | |
| 61774 | JP PrintResponse | Jump to PrintResponse. | ||
| Prev: 61644 | Up: Map | Next: 61777 |