Prev: 62712 Up: Map Next: 62760
62733: Drink: White Potion
Drink the white potion.
Drink_WhitePotion 62733 LD A,107 Call IsPlayerCarryingItem with item 107: "A white potion.".
62735 CALL IsPlayerCarryingItem
62738 LD A,107 Call HandlerDestroyItemEvent with item 107: "A white potion.".
62740 CALL HandlerDestroyItemEvent
62743 LD HL,44662 Set bit 0 of *Flags_RoomChange.
62746 SET 0,(HL)
62748 LD A,2 Call AddToScore with 2.
62750 CALL AddToScore
62753 LD HL,44698 Decrease *Count_InventoryItems by one.
62756 DEC (HL)
62757 JP Response_OK_GameLoop Jump to Response_OK_GameLoop.
Prev: 62712 Up: Map Next: 62760