![]() |
Routines |
| Prev: 43151 | Up: Map | Next: 43186 |
|
Succeeds when the active item in the group operand equals the second operand.
|
||||||||
|
Does the active item in this group equal the second operand? CheckActiveScenicEvents returns with the zero flag set, so the early exit is never taken.
|
||||||||
| Condition_GroupItemEquals | 43160 | PUSH IX | The operand selects a group from Table_ItemGrouping. | |||||
| 43162 | LD E,(IX+1) | |||||||
| 43165 | LD IX,46606 | |||||||
| 43169 | CALL GetTableEntry | That group's list. | ||||||
| 43172 | POP IX | Restore the script pointer from the stack. | ||||||
| 43174 | CALL CheckActiveScenicEvents | Call CheckActiveScenicEvents. | ||||||
| 43177 | JP NZ,Handler_RunScript_2 | The active-item check always continues. | ||||||
| 43180 | CP (IX+2) | The active item is the second operand. | ||||||
| 43183 | JP Handler_RunScript_2 | Resume the script. | ||||||
| Prev: 43151 | Up: Map | Next: 43186 |