| 1 |
if (live_call()) |
| 2 |
return global.live_result; |
| 3 |
if (soul_switch_treshold > 0) |
| 4 |
{ |
| 5 |
soul_switch_treshold -= 1; |
| 6 |
} |
| 7 |
else |
| 8 |
{ |
| 9 |
instance_create_depth(0, 0, -9999, obj_flowey_battle_screen_glitch); |
| 10 |
x = obj_heart_battle_fighting_parent.x; |
| 11 |
y = obj_heart_battle_fighting_parent.y; |
| 12 |
with (obj_heart_battle_fighting_parent) |
| 13 |
{ |
| 14 |
x = other.xprevious; |
| 15 |
y = other.yprevious; |
| 16 |
vulnerable = false; |
| 17 |
alarm[0] = 10;gml_Object_obj_flowey_1_attack_8_soul_Alarm_0.gmlif (live_call())
return global.live_result;
if (soul_switch_treshold > 0)
{
soul_switch_treshold -= 1;
}
else
{
instance_create_depth(0, 0, -9999, obj_flowey_battle_screen_glitch);
x = obj_heart_battle_fighting_parent.x;
y = obj_heart_battle_fighting_parent.y;
with (obj_heart_battle_fighting_parent)
{
x = other.xprevious;
y = other.yprevious;
vulnerable = false;
alarm[0] = 10;
}
exit;
}
sprite_index = spr_heart_yellow_down;
audio_play_sound(snd_bullet_warning, 1, 0);
alarm[0] = 7;
alarm[1] = 3; |
| 18 |
} |
| 19 |
exit; |
| 20 |
} |
| 21 |
sprite_index = spr_heart_yellow_down; |
| 22 |
audio_play_sound(snd_bullet_warning, 1, 0); |
| 23 |
alarm[0] = 7;gml_Object_obj_flowey_1_attack_8_soul_Alarm_0.gmlif (live_call())
return global.live_result;
if (soul_switch_treshold > 0)
{
soul_switch_treshold -= 1;
}
else
{
instance_create_depth(0, 0, -9999, obj_flowey_battle_screen_glitch);
x = obj_heart_battle_fighting_parent.x;
y = obj_heart_battle_fighting_parent.y;
with (obj_heart_battle_fighting_parent)
{
x = other.xprevious;
y = other.yprevious;
vulnerable = false;
alarm[0] = 10;
}
exit;
}
sprite_index = spr_heart_yellow_down;
audio_play_sound(snd_bullet_warning, 1, 0);
alarm[0] = 7;
alarm[1] = 3; |
| 24 |
alarm[1] = 3; |