Prev: 26282 Up: Map Next: 26317
26293: DROPALL action
ACTION_DROPALL 26293 LD (IX+1),0 Set flag 1 to zero
26297 LD HL,23333 Start at beginning of object locations table
ACTION_DROPALL_0 26300 LD A,(HL) A=object location
26301 CP 255 End of table?
26303 JP Z,NEXT_ACTION If so, then next action
26306 CP 253 Is object worn or carried?
26308 JR C,ACTION_DROPALL_1 If not, skip to next object
26310 LD A,(23331) A = current location
26313 LD (HL),A Set object to current location
ACTION_DROPALL_1 26314 INC HL Onto next object
26315 JR ACTION_DROPALL_0 Process next object
Prev: 26282 Up: Map Next: 26317