*this is the error you have now:
- curentAction = _action needs to be changed to currentAction= _action (You didnt spell then the same)
some changes from the code I have are (not needed to change):
- In the statement if (!is_array(_targets)) _targets = [_targets] _targets should be currentTargets ex: if (!is_array(currentTargets)) currentTargets = [currentTargets];
- At the line instance_create_depth(currentTargets[i].x,currentTargets[i].y,currentTargets[i].depth-1,obj_BattleEffect,{sprite_index : currentAction.effectSprite}) obj_BattleEffect is renamed from oBattleEffect just make sure its consistent with your naming.