I am getting a error message when I run the windows version of the game after I finish a level
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Step Event0
for object o_hero:
Array index must be positive
at gml_Script_scr_keycheck
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_scr_keycheck (line -1)
gml_Object_o_hero_Step_0
This error happens every single time after I finish a level.
Also when I play on the browser version of the game randomly after I finish a level, usually when I get a PB, the game freezes during the ending animation. (im using basic character and it happens on every single level)