Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_heart_flowey_world_split_fast_Create_0

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

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

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