Crash in a fight, and an odd behavior (0.10.0)


############################################################################################
ERROR in
action number 1
of Step Event0
for object obj_battlecontroller:

trying to index variable that is not an array############################################################################################
gml_Script_bc_CountRace (line 12)
gml_Script_bc_StartupGems (line 944)
gml_Object_obj_battlecontroller_Step_0 (line 396)

Also was not getting any random small resource pickups from things like pots in Kingdom of Heretics, nor were the candle bookshelves giving me buffs or enemies debuffs.