Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_axis_geno_7_Create_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
scene = 0;
4
cutscene_timer = 0;
5
timer = 0;
6
bullet_number_max = 3;
7
bullet_speed = 12;
8
bullet_distance = 100;
9
bullet_distance_min = 40;
10
bullet_number_current = 0;
11
bullet_attack_dir = irandom_range(1, 360);
12
bullet_spin_dir = choose(-1, 1);
13
attack_count = 3;
14
scr_enable_battle_box_surface
scr_enable_battle_box_surface

function scr_enable_battle_box_surface() { if (!instance_exists(obj_surface_drawer)) instance_create_depth(0, 0, -999, obj_surface_drawer); }
();