Prev: 61441 Up: Map Next: 61528
61479: Throw: Honey To Bear
Throw the honey to the bear.
Throw_HoneyToBear 61479 LD A,112 Call IsPlayerCarryingItem with item 112: "Some honey.".
61481 CALL IsPlayerCarryingItem
61484 LD A,7 Call ValidateItemPresent with item 7: "A bear.".
61486 CALL ValidateItemPresent
61489 JR Z,Throw_HoneyToBear_0 Jump to Throw_HoneyToBear_0 if the Z flag is set.
Print "You can't. It's sleeping.".
61491 LD HL,54385 HL=Messaging_YouCantIts.
61494 JP PrintResponse Jump to PrintResponse.
Throw_HoneyToBear_0 61497 LD A,112 Call HandlerDestroyItemEvent with item 112: "Some honey.".
61499 CALL HandlerDestroyItemEvent
61502 LD HL,44698 Decrease *Count_InventoryItems by one.
61505 DEC (HL)
61506 LD BC,1800 Call TransformItem to transform "A bear." into "A sleeping bear.".
61509 CALL TransformItem
61512 LD A,2 Call AddToScore with 2.
61514 CALL AddToScore
61517 LD A,8 Write 8 to open eastbound access to The Valley from The Narrow Path.
61519 LD (59410),A
Print "The bear eats the honey,yawns and promptly goes to sleep.".
61522 LD HL,54646 HL=Messaging_TheBearEatsTheHoneyYawnsAndPromptlyGoes.
61525 JP PrintResponse Jump to PrintResponse.
Prev: 61441 Up: Map Next: 61528