Prev: A8B2 Up: Map Next: A8D8
A8CF: Condition: Inventory Count Equals
Succeeds when Count_InventoryItems equals the operand.
Output
F The zero flag is set when the counts match
IX Pointer to the script entry
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