I copied the instructions from Episode 1 of the tutorial YT series and encountered the following errors whenever an encounter starts.
"___________________________________________
############################################################################################
ERROR in
action number 1
of Create Event
for object obj_Battle:
Variable <unknown_object>.image_create_depth(100052, -2147483648) not set before reading it.
at gml_Object_obj_Battle_Create_0
############################################################################################
gml_Object_obj_Battle_Create_0 (line -1)
gml_Script_NewEncounter (line -1)
gml_Object_obj_Slime_Collision_obj_Player"
Similarly, in the Feather Messages, I got these four. When rewatching the video, I noticed that the same parts of the code marked for these errors were also marked in the video.
"⚠️: Variable 'enemies' does not exist in object's Variable Definitions.
⚠️: Variable 'creator' does not exist in object's Variable Definitions.
⚠️: Variable 'battleBackground' does not exist in object's Variable Definitions.
❌: The type 'Undefined' appears where the type 'Array' is expected."