Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_martlet_attack_wing_feather_Alarm_0

(view raw script w/o annotations or w/e)
1
if (live_call())
2
    return global.live_result;
3
state = 1;
4
image_angle = direction - 180;
5
image_alpha = 1;
6
if (!audio_is_playing(snd_mart_feather_atk3))
7
{
8
    var shoot_sound = audio_play_sound(snd_mart_feather_atk3, 20, 0);
9
    audio_sound_set_track_position(shoot_sound, 0.7);
10
}