Did you get my email?
Viewing post in [A mystery] Variable Index Out of Range
I did, but so far I was not able to reproduce your crash after stubbing out the missing variables by adding
function GAME_CONTROLS() {}
enum mods {laser_beam}
instance_create_depth(x, y, depth, obj_player_suit);
key_secondary_press = 0;
to Create and creating an obj_player_suit
which does
enum player_state { suit }
has_control = 1;
state = player_state.suit;
on Create.
A more specific example might be necessary - it is most likely a specific line of the code, so making a backup of the draw event and removing the code from it until you find the offending bit should help to isolate the problem.