![]() |
Routines |
| Prev: AAD8 | Up: Map | Next: AAF3 |
|
Marks the scenic event operand as already triggered.
|
||||||||||
|
When the condition failed, skip this action.
|
||||||||||
| Action_MarkScenicEvent | AAE4 | JP NZ,RunScript_SkipAction_TwoBytes | Jump to RunScript_SkipAction_TwoBytes if the condition failed. | |||||||
|
Mark the scenic event operand as already triggered.
|
||||||||||
| AAE7 | LD A,(IX+$01) | Fetch the scenic event ID (the operand) from *IX+01 into A. | ||||||||
| AAEA | CALL RunScript_ResolveMatchedItem | Call RunScript_ResolveMatchedItem to substitute the matched item ID from ScriptMatchedItem when the operand is FF. | ||||||||
| AAED | CALL ScenicEventTriggered | Call ScenicEventTriggered to mark that scenic event as triggered. | ||||||||
| AAF0 | JP RunScript_SkipAction_TwoBytes | Jump to RunScript_SkipAction_TwoBytes. | ||||||||
| Prev: AAD8 | Up: Map | Next: AAF3 |