if live_call()
return global.live_result;
attack_tick = 0
spawn_interval = 10
alarm[0] = spawn_intervalalarm[0]if live_call() return global.live_result; var battle_box = obj_dialogue_box_battle_transformation_any var radius = irandom_range(0, 359) var xx = battle_box.x + (lengthdir_x(80, radius)) var yy = battle_box.y + (lengthdir_y(80, radius)) instance_create_depth(xx, yy, -100, obj_battle_enemy_attack_macro_fly) alarm[0] = spawn_interval
scr_enable_battle_box_surfacescr_enable_battle_box_surfacefunction scr_enable_battle_box_surface() //gml_Script_scr_enable_battle_box_surface { if (!instance_exists(obj_surface_drawer)) instance_create_depth(0, 0, -999, obj_surface_drawer) }()
alarm[1] = 210alarm[1]instance_destroy()