Crash - Code Error during combat when casting a spell. 0.0.42

ver 0.0.42

Occurred when casting a spell in combat.


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

Variable obj_artifact.(100059, -2147483648) not set before reading it.
at gml_Script_bc_GetAlliesOf
############################################################################################

stack frame is
gml_Script_bc_GetAlliesOf (line -1)
gml_Script_scr_CritHasPassive
gml_Script_scr_CritHasCondition
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_EventDamage
gml_Script_bc_CreatureCast
gml_Script_bc_Turn
gml_Object_obj_battlecontroller_Step_0