Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_ceroba_phase_2_attack_spawner_2_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
battle_box = 3154
4
created_spawner = 0
5
old_spawner = 0
6
attack_duration = 0
7
alarm[1]
8
attack_list = ds_list_create()
9
ds_list_add(attack_list, 0, 1, 2, 3, 4, 5, 7, 8, 9)
10
modifier_attack = choose(1, 2)
11
modifier_enabled = irandom_range(1, 4)
12
modifier_noloop = false
13
overlap_timer = 0
14
event_user(1)
15
scr_enable_battle_box_surface
scr_enable_battle_box_surface

function 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) }
()