Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_background_boss_battle_1_yellow_Other_11

(view raw script w/o annotations or w/e)
1
if ((!instance_exists(obj_battle_enemy_attack_dalv_lightning_vertical)) && (!instance_exists(obj_battle_enemy_attack_dalv_lightning_horizontal)))
2
    no_loop_animation = false
3
if (no_loop_animation == false)
4
{
5
    if instance_exists(obj_battle_enemy_attack_dalv_lightning_vertical)
6
    {
7
        if (obj_battle_enemy_attack_dalv_lightning_vertical.image_speed_counter < 1 || (obj_battle_enemy_attack_dalv_lightning_vertical.image_speed_counter >= 2 && obj_battle_enemy_attack_dalv_lightning_vertical.image_speed_counter < 4))
8
        {
9
            image_speed = 0.36666666666666664
10
            image_index = 0
11
            no_loop_animation = true
12
        }
13
    }
14
    else if instance_exists(obj_battle_enemy_attack_dalv_lightning_horizontal)
15
    {
16
        if (obj_battle_enemy_attack_dalv_lightning_horizontal.image_speed_counter < 1 || (obj_battle_enemy_attack_dalv_lightning_horizontal.image_speed_counter >= 2 && obj_battle_enemy_attack_dalv_lightning_horizontal.image_speed_counter < 4))
17
        {
18
            image_speed = 0.36666666666666664
19
            image_index = 0
20
            no_loop_animation = true
21
        }
22
    }
23
}