Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_insomnitot_body_shadow_a_Other_10

(view raw script w/o annotations or w/e)
1
if (global.image_alpha_enemy_attacking < 1)
2
    image_alpha = 1
3
else
4
    image_alpha = obj_insomnitot_body_a.image_alpha
5
x = obj_insomnitot_body_a.x
6
y = obj_insomnitot_body_a.y
7
image_xscale = obj_insomnitot_body_a.image_xscale
8
image_yscale = obj_insomnitot_body_a.image_yscale
9
if (obj_insomnitot_body_a.damage_disjoint_count > 0 || global.current_hp_enemy <= 0)
10
    image_alpha = 0