I have too a problem, but my problem is: if I fight against very much KI-enemys the game crashe, or if i go into the GG wave sibelonit the game crashes too

why??
I think, the problem is there are too much npc`s/player(enemy) and the it crashes.
hope you could help me
ERROR in
action number 2
of End Step Event
for object droid_obj:
Error in code at line 31:
{next_x=owner.x+lengthdir_x(97.74,owner.image_angl e+103.61);
^
at position 20: Unknown variable x