Prev: 43215 Up: Map Next: 43236
43224: 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 43224 LD A,(41170) Fetch the inventory count from *Count_InventoryItems into A.
43227 CP (IX+1) Compare it with the operand.
43230 CALL RunScript_InvertConditionResult Call RunScript_InvertConditionResult so the condition succeeds when the counts differ.
43233 JP RunScript_SkipCondition_TwoBytes Jump to RunScript_SkipCondition_TwoBytes.
Prev: 43215 Up: Map Next: 43236