|
1
|
audio_play_sound(snd_hurt, 1, 0);
|
|
2
|
shake_count -= 1;
|
|
3
|
shake_intensity = 4 - shake_count;
|
|
4
|
if (shake_count <= 0)
|
|
5
|
{
|
|
6
|
audio_play_sound(snd_undertale_flash, 1, 0);
|
|
7
|
sprite_index = spr_heart_released;
|
|
8
|
alarm[1] = 60; gml_Object_obj_heart_death_screen_flowey_Alarm_1.gml
no_loop = true;
script_execute(scr_battle_load);
script_execute(scr_determine_death_count_yellow);
instance_destroy();
switch (global.battle_enemy_name)
{
case "flowey":
room_goto(rm_battle_flowey Flowey - Phase 1 Battle Room);
break;
case "flowey2":
room_goto(rm_battle_flowey_phase_2 Flowey - Phase 2 Battle Room);
break;
default:
room_goto(rm_battle Battle room);
break;
}
var glitch = instance_create(x, y, obj_flowey_battle_screen_glitch_fight);
glitch.persistent = true;
glitch.alarm[0] = 9;
audio_play_sound(snd_flowey_glitch_yellow, 1, 0);
obj_pl.state = scr_frozen_state;
|
|
9
|
}
|
|
10
|
else
|
|
11
|
{
|
|
12
|
alarm[0] = 30 + (shake_count * 0.5); gml_Object_obj_heart_death_screen_flowey_Alarm_0.gml
audio_play_sound(snd_hurt, 1, 0);
shake_count -= 1;
shake_intensity = 4 - shake_count;
if (shake_count <= 0)
{
audio_play_sound(snd_undertale_flash, 1, 0);
sprite_index = spr_heart_released;
alarm[1] = 60;
}
else
{
alarm[0] = 30 + (shake_count * 0.5);
}
|
|
13
|
}
|