Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_martlet_feather_circle_final_feather_Other_11

(view raw script w/o annotations or w/e)
1
if live_call()
2
    return global.live_result;
3
state = 1
4
spin_default_x = x
5
spin_default_y = y
6
spin_direction = angle_position_current
7
switch sprite_index
8
{
9
    case spr_battle_enemy_attack_martlet_feather_1:
10
    case 2274:
11
    case 2275:
12
        var sound = audio_play_sound(snd_mart_spiral_attack_2, 20, 0)
13
        break
14
    case 2276:
15
    case 2278:
16
        sound = audio_play_sound(snd_mart_spiral_attack_1, 20, 0)
17
        break
18
    default:
19
        sound = audio_play_sound(snd_mart_spiral_attack_1, 20, 0)
20
}
21
22
audio_sound_gain(sound, 0.2, 0)