![]() |
Routines |
| Prev: 43160 | Up: Map | Next: 43215 |
|
Succeeds when the active item in the group operand is not the second operand.
Stores the active item ID at ScriptMatchedItem.
|
||||||||
|
Remember the group's active item at ScriptMatchedItem, and succeed when it is not the second operand.
|
||||||||
| Condition_GroupItemDiffers | 43186 | PUSH IX | The operand selects a group from Table_ItemGrouping. | |||||
| 43188 | LD E,(IX+1) | |||||||
| 43191 | LD IX,46606 | |||||||
| 43195 | CALL GetTableEntry | That group's list. | ||||||
| 43198 | POP IX | Restore the script pointer from the stack. | ||||||
| 43200 | CALL CheckActiveScenicEvents | Call CheckActiveScenicEvents. | ||||||
| 43203 | LD (43013),A | Remember the active item at ScriptMatchedItem. | ||||||
| 43206 | CP (IX+2) | It is not the second operand. | ||||||
| 43209 | CALL Handler_RunScript_13 | The condition succeeds when the items differ. | ||||||
| 43212 | JP Handler_RunScript_2 | Resume the script. | ||||||
| Prev: 43160 | Up: Map | Next: 43215 |