Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_background_boss_battle_2_snowflake_4_yellow_Other_10

(view raw script w/o annotations or w/e)
1
fall_speed = irandom_range(1, 1)
2
x_point = x
3
y_point = y
4
angle_pos = 270
5
angle_pos_default = angle_pos
6
angle_pos_max = 15 * fall_speed
7
angle_radius = 5
8
angle_increase = 6 * fall_speed
9
starting_position_x = x
10
starting_position_y = y
11
animation_disjoint_x = 0
12
animation_disjoint_y = 0
13
can_move = false
14
var random_number = irandom_range(1, 4)
15
switch random_number
16
{
17
    case 1:
18
        sprite_index = spr_background_boss_battle_2_snowflake_4_1_yellow
19
        break
20
    case 2:
21
        sprite_index = spr_background_boss_battle_2_snowflake_4_2_yellow
22
        break
23
    case 3:
24
        sprite_index = spr_background_boss_battle_2_snowflake_4_3_yellow
25
        break
26
    case 4:
27
        sprite_index = spr_background_boss_battle_2_snowflake_4_4_yellow
28
        break
29
    default:
30
        sprite_index = spr_background_boss_battle_2_snowflake_4_1_yellow
31
}
32
33
image_speed = 0
34
image_index = 0
35
image_alpha = 0
36
random_number = irandom_range(0, 1)
37
if (random_number == 0)
38
    random_number = -1
39
sign_modifier = random_number
40
time_elapsed = 0
41
time_max = 30 + 15 * (fall_speed - 1)
42
time_increase = 1
43
max_rise = 5 * fall_speed * (irandom_range(1, 2))