Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_el_bailador_neutral_Other_10

(view raw script w/o annotations or w/e)
1
var enemy_dead = global.enemy_dead
2
var enemy_spared = global.enemy_spared
3
if (enemy_dead == false && enemy_spared == false)
4
{
5
    if (id_el_bailador_dance != -4)
6
    {
7
        image_alpha = 0
8
        time_elapsed = 0
9
        sign_modifier = 1
10
        image_alpha_immunity = true
11
    }
12
    else
13
    {
14
        if (global.image_alpha_enemy_attacking == 1)
15
            image_alpha_immunity = false
16
        if (image_alpha_immunity == true)
17
            image_alpha = 1
18
        else
19
            image_alpha = global.image_alpha_enemy_attacking
20
    }
21
}