Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_macro_flies_bullet_hell_creator_Alarm_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
var battle_box = 3154;
4
var radius = irandom_range(0, 359);
5
var xx = battle_box.x + lengthdir_x(80, radius);
6
var yy = battle_box.y + lengthdir_y(80, radius);
7
instance_create_depth(xx, yy, -100, obj_battle_enemy_attack_macro_fly);
8
alarm[0] = spawn_interval;
gml_Object_obj_battle_enemy_attack_macro_flies_bullet_hell_creator_Alarm_0.gml

if (live_call()) return global.live_result; var battle_box = 3154; 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;