![]() |
Routines |
| Prev: A8B2 | Up: Map | Next: A8D8 |
|
Succeeds when Count_InventoryItems equals the operand.
|
||||||||||
|
Does the player hold the given number of items?
|
||||||||||
| Condition_InventoryCountEquals | A8CF | LD A,($A0D2) | Fetch the inventory count from *Count_InventoryItems into A. | |||||||
| A8D2 | CP (IX+$01) | Set the zero flag when it equals the operand. | ||||||||
| A8D5 | JP RunScript_SkipCondition_TwoBytes | Jump to RunScript_SkipCondition_TwoBytes. | ||||||||
| Prev: A8B2 | Up: Map | Next: A8D8 |