Prev: A58C Up: Map Next: A5A3
A59C: Join item to escapeitem
This calls item_to_escapeitem then merges the result with a previous escapeitem.
Used by the routine at escaped.
Input
C Previous return value.
HL Pointer to (single) item slot.
Output
C Previous return value + escapeitem_ flag.
join_item_to_escapeitem A59C LD A,(HL) Fetch the item we've been pointed at
A59D CALL item_to_escapeitem Turn the item into a flag
A5A0 ADD A,C Merge the new flag with the previous
A5A1 LD C,A
A5A2 RET Return
Prev: A58C Up: Map Next: A5A3