Prev: 43558 Up: Map Next: 43592
43577: Action: Bring Item Here
Moves the item operand into the current room.
Input
F The zero flag is set when the conditions hold
IX Pointer to the script entry
When the condition failed, skip this action.
Action_BringItemHere 43577 JP NZ,RunScript_SkipAction_TwoBytes Jump to RunScript_SkipAction_TwoBytes if the condition failed.
Bring the item operand into the current room.
43580 LD A,(IX+1) Fetch the item ID (the operand) from *IX+1 into A.
43583 CALL RunScript_ResolveMatchedItem Call RunScript_ResolveMatchedItem to substitute the matched item ID from ScriptMatchedItem when the operand is 255.
43586 CALL Handler_UpdateItemEventCurrentRoom Call Handler_UpdateItemEventCurrentRoom to move that item into the current room.
43589 JP RunScript_SkipAction_TwoBytes Jump to RunScript_SkipAction_TwoBytes.
Prev: 43558 Up: Map Next: 43592