![]() |
Routines |
| Prev: AA17 | Up: Map | Next: AA39 |
|
Moves the item operand to the room given by the second operand.
|
||||||||||
|
When the condition failed, skip this action.
|
||||||||||
| Action_PlaceItem | AA26 | JP NZ,RunScript_SkipAction_ThreeBytes | Jump to RunScript_SkipAction_ThreeBytes if the condition failed. | |||||||
|
Put the item operand in the room given by the second operand.
|
||||||||||
| AA29 | LD A,(IX+$01) | Fetch the item ID (the operand) from *IX+01 into A. | ||||||||
| AA2C | CALL RunScript_ResolveMatchedItem | Call RunScript_ResolveMatchedItem to substitute the matched item ID from ScriptMatchedItem when the operand is FF. | ||||||||
| AA2F | LD B,A | Copy the item ID into B. | ||||||||
| AA30 | LD C,(IX+$02) | Fetch the destination room from *IX+02 into C. | ||||||||
| AA33 | CALL Handler_UpdateItemLocation | Call Handler_UpdateItemLocation to update that item's location. | ||||||||
| AA36 | JP RunScript_SkipAction_ThreeBytes | Jump to RunScript_SkipAction_ThreeBytes. | ||||||||
| Prev: AA17 | Up: Map | Next: AA39 |