Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_martlet_g_body_shadow_Other_10

(view raw script w/o annotations or w/e)
1
if (obj_martlet_g_body.fight_mode == true)
2
    sprite_index = spr_martlet_g_body_shadow
3
else
4
    sprite_index = spr_martlet_body_shadow
5
if (global.image_alpha_enemy_attacking < 1)
6
    image_alpha = 1
7
else
8
    image_alpha = obj_martlet_g_body.image_alpha
9
x = obj_martlet_g_body.x
10
y = obj_martlet_g_body.y
11
image_xscale = obj_martlet_g_body.image_xscale
12
image_yscale = obj_martlet_g_body.image_yscale
13
if (obj_martlet_g_body.damage_disjoint_count > 0)
14
    image_alpha = 0