Prev: 24496 Up: Map Next: 24542
24536: Clear Cubby Hole
Used by the routine at DrawCubbyHoleItem.
Empties a cubby hole that has a bonus item in it, and cancels the bonus item object at State_BonusItem.
Input
DE Address of the cubby hole
ClearCubbyHole 24536 XOR A Write 0 to *DE.
24537 LD (DE),A
24538 LD (24124),A Write 0 to State_BonusItem.
24541 RET Return.
Prev: 24496 Up: Map Next: 24542