Prev: 37876 Up: Map Next: 37944
37924: DestroyFrontItem
The current actor's front-hand item is used up (Net) or broken (Tracker): point HL at its ItemLocations entry, aim the draw pointer at the front-hand menu row, and fall to DestroyHeldItem, which wipes the item and promotes the back-hand item to the front hand.
Used by the routines at 37584 and 40941.
37924 LD HL,18486 draw pointer -> the front-hand row
37927 LD (31257),HL (screen row 9, col 22)
37930 LD BC,(31248) C = front item, B = back item
37934 LD E,C
37935 LD D,0
37937 LD HL,29940 HL -> ItemLocations[front item]
37940 ADD HL,DE
37941 JP 44938 wipe it (DestroyHeldItem)
Prev: 37876 Up: Map Next: 37944