<target action>
eval: $gameVariables.setValue[10] = Math.randomInt(8)+1;
perform action
if ($gameVariables.value[10] == 1)
animation 3: target
eval this.elementID = 4
action effect
add state 12: target
else if ($gameVariables.value[10] == 2)
animation 4: target
eval this.elementID = 5
action effect
add state 13: target
else if ($gameVariables.value[10] == 3)
animation 5: target
eval this.elementID = 6
action effect
add state 14: target
else if ($gameVariables.value[10] == 4)
animation 2: target
action effect
add state 5: target
else if ($gameVariables.value[10] == 5)
animation 2: target
action effect
add state 6: target
else if ($gameVariables.value[10] == 6)
animation 2: target
action effect
add state 15: target
else if ($gameVariables.value[10] == 7)
animation 2: target
action effect
add state 16: target
else if ($gameVariables.value[10] == 8)
animation 2: target
action effect
add state 17: target
else
break action
</target action>