Prev: A8CF Up: Map Next: A8E4
A8D8: Condition: Inventory Count Differs
Succeeds when Count_InventoryItems is not the operand.
Output
F The zero flag is set when the counts differ
IX Pointer to the script entry
Succeed when the inventory count is not the operand.
Condition_InventoryCountDiffers A8D8 LD A,($A0D2) Fetch the inventory count from *Count_InventoryItems into A.
A8DB CP (IX+$01) Compare it with the operand.
A8DE CALL RunScript_InvertConditionResult Call RunScript_InvertConditionResult so the condition succeeds when the counts differ.
A8E1 JP RunScript_SkipCondition_TwoBytes Jump to RunScript_SkipCondition_TwoBytes.
Prev: A8CF Up: Map Next: A8E4