![]() |
Routines |
Prev: 62720 | Up: Map | Next: 62766 |
|
||||||||
Process_EatFood | 62744 | LD A,34 | Call IsPlayerCarryingItem with item 34: "Some food". | |||||
62746 | CALL IsPlayerCarryingItem | |||||||
The player has the food in their inventory, so eat it!
|
||||||||
62749 | LD A,E | Call Handler_DestroyItemEvent with the item ID of the originally requsted item. | ||||||
62750 | CALL Handler_DestroyItemEvent | |||||||
62753 | LD HL,42896 | Decrease *Count_InventoryItems by one. | ||||||
62756 | DEC (HL) | |||||||
Print "O.K.".
|
||||||||
62757 | CALL Response_OK_Duplicate | Call Response_OK_Duplicate. | ||||||
Print "You are filled with renewed
energy.".
|
||||||||
62760 | LD HL,56349 | HL=Messaging_FilledWithRenewedEnergy. | ||||||
62763 | JP 60781 | Jump to 60781. |
Prev: 62720 | Up: Map | Next: 62766 |