Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_heart_death_screen_split_Create_0

(view raw script w/o annotations or w/e)
1
image_speed = 0
2
image_index = 0
3
alarm[0] = 45
alarm[0]

image_index = 1 audio_play_sound(snd_soul_gameover_hit, 20, false)
4
alarm[1] = 90
alarm[1]

for (i = 0; i < 5; i++) instance_create(x, y, obj_heart_death_screen_broken_shard) audio_play_sound(snd_soul_gameover_hit_break, 20, false) instance_destroy()
5
audio_play_sound(snd_hurt, 20, false)
6
var player_character = global.player_character
7
switch player_character
8
{
9
    case "CLOVER":
10
        sprite_index = spr_heart_yellow_split
11
        break
12
}