![]() |
Routines |
| Prev: AA48 | Up: Map | Next: AA6E |
|
Removes the item operand from the game.
|
||||||||||
|
When the condition failed, skip this action.
|
||||||||||
| Action_DestroyItem | AA5F | JP NZ,RunScript_SkipAction_TwoBytes | Jump to RunScript_SkipAction_TwoBytes if the condition failed. | |||||||
|
Remove the item operand from the game.
|
||||||||||
| AA62 | LD A,(IX+$01) | Fetch the item ID (the operand) from *IX+01 into A. | ||||||||
| AA65 | CALL RunScript_ResolveMatchedItem | Call RunScript_ResolveMatchedItem to substitute the matched item ID from ScriptMatchedItem when the operand is FF. | ||||||||
| AA68 | CALL Handler_DestroyItemEvent | Call Handler_DestroyItemEvent to destroy that item. | ||||||||
| AA6B | JP RunScript_SkipAction_TwoBytes | Jump to RunScript_SkipAction_TwoBytes. | ||||||||
| Prev: AA48 | Up: Map | Next: AA6E |