Prev: AAC0 Up: Map Next: AAD8
AACC: Action: Add To Score
Adds the operand to the score at Score.
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_AddToScore AACC JP NZ,RunScript_SkipAction_TwoBytes Jump to RunScript_SkipAction_TwoBytes if the condition failed.
Add the operand to the score at Score.
AACF LD A,(IX+$01) Fetch the points to add (the operand) from *IX+01 into A.
AAD2 CALL AddToScore Call AddToScore to add those points to the score.
AAD5 JP RunScript_SkipAction_TwoBytes Jump to RunScript_SkipAction_TwoBytes.
Prev: AAC0 Up: Map Next: AAD8