Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_jandroid_garbage_can_Create_0

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
image_alpha = 0
4
image_xscale = 2
5
image_yscale = 2
6
scene = 0
7
cutscene_timer = 0
8
start_delay = 0
9
garbage_count = 5
10
garbage_current = 1
11
spawn_timer = 9
12
spawn_timer_max = 9
13
spawn_offset_x = 0
14
spawn_offset_x_max = 70
15
spawn_number = 3
16
spawn_number_current = 0
17
spawn_number_current_dir = 1
18
spawn_offset_x_inc = spawn_offset_x_max / spawn_number
19
pseudo_random = obj_battle_enemy_attack_jandroid_garbage_cans_generator.attack_timer * 0.7
20
green_spawn_noloop = false
21
disc_count = -1
22
if (x > 320)
23
    image_angle = 360