Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_battle_enemy_attack_martlet_feather_circle_feather_Other_11

(view raw script w/o annotations or w/e)
1
state = 1;
2
spin_default_x = x;
3
spin_default_y = y;
4
spin_direction = angle_position_current;
5
switch (sprite_index)
6
{
7
    case spr_battle_enemy_attack_martlet_feather_1:
8
    case spr_battle_enemy_attack_martlet_feather_2:
9
    case spr_battle_enemy_attack_martlet_feather_3:
10
        audio_play_sound(snd_mart_spiral_attack_2, 20, 0);
11
        break;
12
    case spr_battle_enemy_attack_martlet_feather_4:
13
    case spr_battle_enemy_attack_martlet_feather_5:
14
        audio_play_sound(snd_mart_spiral_attack_1, 20, 0);
15
        break;
16
    default:
17
        audio_play_sound(snd_mart_spiral_attack_1, 20, 0);
18
}