Prev: 49720 Up: Map Next: 49789
49780: Find Next Object Required
Used by the routines at HandleCauldronBubbles and HandleObjectAtCentreOfRoom.
Finds the number of the object that the player has to put into the cauldron next.
Output
HL Address of the number of the object in the list at RequiredObjects
FindNextObjectRequired 49780 LD A,(23483) Fetch the number of charms in the cauldron from Charms.
49783 LD HL,49789 Point HL at RequiredObjects.
49786 JP AddAToHL Find the address of the object that is needed.
Prev: 49720 Up: Map Next: 49789