Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_bowll_tail_shadow_a_Other_10

(view raw script w/o annotations or w/e)
1
if (obj_bowll_tail_a.sprite_index == spr_bowll_tail_critical)
2
{
3
    sprite_index = spr_bowll_tail_critical_shadow;
4
    image_speed = 0;
5
    image_index = 0;
6
}
7
else
8
{
9
    sprite_index = spr_bowll_tail_normal_shadow;
10
    image_speed = 0;
11
    image_index = obj_bowll_tail_a.image_index;
12
}
13
if (global.image_alpha_enemy_attacking < 1)
14
    image_alpha = 1;
15
else
16
    image_alpha = obj_bowll_tail_a.image_alpha;
17
x = obj_bowll_tail_a.x;
18
y = obj_bowll_tail_a.y;