___________________________________________
############################################################################################
ERROR in
action number 1
of Step Event0
for object oBattle:
Push :: Execution Error - Variable Index [0] out of range [0] - -7._possibleTargets(100102,0)
at gml_Script_anon____struct___20____struct___19_gml_GlobalScript_GameData_5293____struct___20____struct___19_gml_GlobalScript_GameData (line 243) - var _target = _possibleTargets[irandom(array_length(_possibleTargets)-1)];
############################################################################################
gml_Script_anon____struct___20____struct___19_gml_GlobalScript_GameData_5293____struct___20____struct___19_gml_GlobalScript_GameData (line 243)
gml_Script_BattleStateSelectAction_gml_Object_oBattle_Create_0 (line 188) - var _enemyAction = _unit.AIscript();
gml_Object_oBattle_Step_0 (line 1) - battleState();