I'm also a GMS2 user, and I love the game, but the game broke down when I press Z and have no cards.
___________________________________________ ############################################################################################ FATAL ERROR in action number 1 of Step Event0 for object obj_player:
Push :: Execution Error - Variable Index [0,-1] out of range [1,5] - -1.instances(100004,-1) at gml_Object_obj_player_Step_0 ############################################################################################ --------------------------------------------------------------------------------------------
stack frame is gml_Object_obj_player_Step_0 (line -1)
Maybe you didn't imagine that someone can use all cards, lol