Prev: 42549 Up: Map Next: 42562
42555: Handler: Destroy Item/ Event
Used by the routine at 43615.
Updates a given item/ event ID so it's then "inactive" (has a location ID of 0).
Input
A Item/ event ID
Set the item ID and location (which will be 0 to deactivate it).
Handler_DestroyItemEvent 42555 LD B,A Load the item/ event ID into B.
42556 LD C,0 Set the room ID to 0 which will deactivate the item/ event.
42558 CALL Handler_UpdateItemLocation Call Handler_UpdateItemLocation.
42561 RET Return.
View the equivalent code in;
Prev: 42549 Up: Map Next: 42562