![]() |
Routines |
Prev: 50148 | Up: Map | Next: 50161 |
Used by the routines at Event_Match, Event_Seagull, Event_Rat, Event_Deer, Event_WaterSnake, Event_Spider, Action_Take, Action_DropThrow, Action_???, Action_Kill, Action_Eat and Action_Shout.
Updates a given item/ event ID so it's then "inactive" (has a location ID of 0).
|
||||||||
Handler_DestroyItemEvent | 50154 | LD B,A | Load the item/ event ID into B. | |||||
50155 | LD C,0 | Set the room ID to 0 which will deactivate the item/ event. | ||||||
50157 | CALL Handler_UpdateObjectLocation | Call Handler_UpdateObjectLocation. | ||||||
50160 | RET | Return. |
Prev: 50148 | Up: Map | Next: 50161 |