Prev: 9AEE Up: Map Next: 9B0C
9B04: Get the next object
As 9AEE, but preserving B.
9B04 PUSH BC Save the caller's own B (and pass the incoming A through it)
9B05 LD B,A
9B06 CALL $9AEE Step to the next entry, exactly as 9AEE
9B09 LD A,B Restore A to what it was before the call (so the caller's own "target" or "actor" number survives)
9B0A POP BC Restore the caller's B
9B0B RET
Prev: 9AEE Up: Map Next: 9B0C