Undertale Yellow script viewer

← back to main script listing

gml_GlobalScript_scr_shop_animation_override_wildeast_blackjack_gun_shoot

(view raw script w/o annotations or w/e)
1
function scr_shop_animation_override_wildeast_blackjack_gun_shoot
scr_shop_animation_override_wildeast_blackjack_gun_shoot

function scr_shop_animation_override_wildeast_blackjack_gun_shoot() //gml_Script_scr_shop_animation_override_wildeast_blackjack_gun_shoot { if (sprite_index != spr_wildeast_blackjack_gun_shoot_shop) { sprite_index = spr_wildeast_blackjack_gun_shoot_shop image_speed = (1/3) image_index = 0 } else if (floor(image_index) == 19) { if (!audio_is_playing(snd_revolver_shoot)) audio_play_sound(snd_revolver_shoot, 1, 0) } }
() //gml_Script_scr_shop_animation_override_wildeast_blackjack_gun_shoot
2
{
3
    if (sprite_index != spr_wildeast_blackjack_gun_shoot_shop)
4
    {
5
        sprite_index = spr_wildeast_blackjack_gun_shoot_shop
6
        image_speed = (1/3)
7
        image_index = 0
8
    }
9
    else if (floor(image_index) == 19)
10
    {
11
        if (!audio_is_playing(snd_revolver_shoot))
12
            audio_play_sound(snd_revolver_shoot, 1, 0)
13
    }
14
}