Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_flowergirls_dead_Create_0

(view raw script w/o annotations or w/e)
1
switch global.dunes_flag[31]
2
{
3
    case 1:
4
        sprite_index = spr_violetta_dead
5
        break
6
    case 2:
7
        sprite_index = spr_pedla_dead
8
        break
9
    case 3:
10
        sprite_index = spr_rosa_dead
11
        break
12
}
13
14
image_alpha = 0
15
image_speed = 0
16
image_index = 0
17
script_execute(gml_Script_scr_enemy_defragment)
18
if (!audio_is_playing(snd_monster_damage_death))
19
    audio_play_sound(snd_monster_damage_death, 20, 0)