Prev: EAEB Up: Map Next: EB0F
EB01: Action 0 : SWAP. An item can be collected. Swap it for the oldest item.
EB01 LD A,$01 Set that the item should be swapped. (EB54)
EB03 LD ($EB54),A
EB06 LD B,(IY-$2D) Get the ID of the least recently picked up object the player has.
EB09 CALL $AA30 Swap the objects.
EB0C JP $EAEB Process more actions.
Prev: EAEB Up: Map Next: EB0F