Description
The option to steal an STC Fragment is currently commented out because it crashes the game when the ensuing battle begins.
Current behaviour
Enabling this option and later picking it in the game
pop.option1 = "Attempt to steal the STC Fragment."; // TODO: Fix this option, as it crashes the game when the battle starts;
results in a crash during battle initialisation.
Error Details:
ERROR in action number 1
of Alarm Event for alarm 0 for object obj_ncombat:
Unable to find instance for object index -4
at gml_Object_obj_ncombat_Alarm_0 (line 23) - xxx = xxx.x + 80;
Stacktrace:
gml_Object_obj_ncombat_Alarm_0 (line 23)
Expected behaviour
Players should be able to choose “Attempt to steal the STC Fragment” without triggering a crash.
Location
File: objects/obj_ground_mission/Alarm_0.gml
References
Technical notes
Investigate battle-start logic for ground missions triggered by STC theft. Ensure all required objects/structs are initialised correctly and any missing resources are created before combat begins. Re-enable the option once stable.
Description
The option to steal an STC Fragment is currently commented out because it crashes the game when the ensuing battle begins.
Current behaviour
Enabling this option and later picking it in the game
pop.option1 = "Attempt to steal the STC Fragment."; // TODO: Fix this option, as it crashes the game when the battle starts;results in a crash during battle initialisation.
Expected behaviour
Players should be able to choose “Attempt to steal the STC Fragment” without triggering a crash.
Location
File:
objects/obj_ground_mission/Alarm_0.gmlReferences
Technical notes
Investigate battle-start logic for ground missions triggered by STC theft. Ensure all required objects/structs are initialised correctly and any missing resources are created before combat begins. Re-enable the option once stable.