Prev: 43736 Up: Map Next: 43763
43748: Action: Mark Scenic Event
Marks the scenic event operand as already triggered.
Input
F The zero flag is set when the conditions hold
IX Pointer to the script entry
When the condition failed, skip this action.
Action_MarkScenicEvent 43748 JP NZ,RunScript_SkipAction_TwoBytes Jump to RunScript_SkipAction_TwoBytes if the condition failed.
Mark the scenic event operand as already triggered.
43751 LD A,(IX+1) Fetch the scenic event ID (the operand) from *IX+1 into A.
43754 CALL RunScript_ResolveMatchedItem Call RunScript_ResolveMatchedItem to substitute the matched item ID from ScriptMatchedItem when the operand is 255.
43757 CALL ScenicEventTriggered Call ScenicEventTriggered to mark that scenic event as triggered.
43760 JP RunScript_SkipAction_TwoBytes Jump to RunScript_SkipAction_TwoBytes.
Prev: 43736 Up: Map Next: 43763