Prev: 43810 Up: Map Next: 43850
43831: Action: Set Turn Counter
Writes the second operand into the turn counter selected by the first operand.
When the condition succeeded, store the second operand in the turn counter selected by the first.
Action_SetTurnCounter 43831 JP NZ,Handler_RunScript_9 Leave the turn counters alone.
43834 LD HL,41161 The counter selected by the first operand.
43837 LD E,(IX+1)
43840 LD D,0
43842 ADD HL,DE
43843 LD A,(IX+2) That counter now holds the second operand.
43846 LD (HL),A
43847 JP Handler_RunScript_9 Resume the script.
Prev: 43810 Up: Map Next: 43850