![]() |
Routines |
| Prev: A990 | Up: Map | Next: A9B0 |
|
Succeeds when Handler_CanTakeItem allows the item operand to be taken.
|
||||||||||
|
Can the player take the item operand?
|
||||||||||
| Condition_CanTakeItem | A9A4 | LD A,(IX+$01) | Fetch the item ID (the operand) from *IX+01 into A. | |||||||
| A9A7 | CALL RunScript_ResolveMatchedItem | Call RunScript_ResolveMatchedItem to substitute the matched item ID from ScriptMatchedItem when the operand is FF. | ||||||||
| A9AA | CALL Handler_CanTakeItem | Call Handler_CanTakeItem to test whether that item can be taken. | ||||||||
| A9AD | JP RunScript_SkipCondition_TwoBytes | Jump to RunScript_SkipCondition_TwoBytes. | ||||||||
| Prev: A990 | Up: Map | Next: A9B0 |