Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_trihecta_circle_stack_lead_Other_10

(view raw script w/o annotations or w/e)
1
var green = 0
2
var random_pos = irandom_range(0, 2)
3
if (random_pos == 0)
4
{
5
    if (green == 1)
6
    {
7
    }
8
    y = obj_dialogue_box_battle_transformation_any.bbox_top + 5 + sprite_height
9
    if instance_exists(obj_battle_enemy_attack_trihecta_circle_stack_white)
10
        obj_battle_enemy_attack_trihecta_circle_stack_white.y = obj_dialogue_box_battle_transformation_any.bbox_top + 5 + sprite_height * 2
11
}
12
else if (random_pos == 1)
13
{
14
    if (green == 1)
15
    {
16
    }
17
    y = obj_dialogue_box_battle_transformation_any.bbox_top + 5
18
    if instance_exists(obj_battle_enemy_attack_trihecta_circle_stack_white)
19
        obj_battle_enemy_attack_trihecta_circle_stack_white.y = obj_dialogue_box_battle_transformation_any.bbox_top + 5 + sprite_height * 2
20
}
21
else if (random_pos == 2)
22
{
23
    if (green == 1)
24
    {
25
    }
26
    y = obj_dialogue_box_battle_transformation_any.bbox_top + 5
27
    if instance_exists(obj_battle_enemy_attack_trihecta_circle_stack_white)
28
        obj_battle_enemy_attack_trihecta_circle_stack_white.y = obj_dialogue_box_battle_transformation_any.bbox_top + 5 + sprite_height
29
}
30
var random_pitch = irandom_range(-1, 1)
31
audio_play_sound(snd_decibatbouncewave2, 20, 0)
32
audio_sound_pitch(snd_decibatbouncewave2, (1 + random_pitch * 0.3))