Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_martlet_g_hand_right_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_hand_right_shadow
3
else if (obj_martlet_g_hand_right.sprite_index == spr_martlet_hand_right_up)
4
    sprite_index = spr_martlet_hand_right_up_shadow
5
else
6
    sprite_index = spr_martlet_hand_right_down_shadow
7
if (global.image_alpha_enemy_attacking < 1)
8
    image_alpha = 1
9
else
10
    image_alpha = obj_martlet_g_hand_right.image_alpha
11
x = obj_martlet_g_hand_right.x
12
y = obj_martlet_g_hand_right.y
13
image_xscale = obj_martlet_g_hand_right.image_xscale
14
image_yscale = obj_martlet_g_hand_right.image_yscale
15
image_angle = obj_martlet_g_hand_right.image_angle