| 1 |
if (live_call()) |
| 2 |
return global.live_result; |
| 3 |
if (global.current_hp_enemy <= 0 && !battle_end_noloop) |
| 4 |
{ |
| 5 |
if (instance_exists(obj_heart_battle_fighting_parent)) |
| 6 |
obj_heart_battle_fighting_parent.moveable = false; |
| 7 |
scr_audio_fade_outscr_audio_fade_outfunction scr_audio_fade_out(arg0, arg1)
{
var snd = arg0;
var fade_len = arg1;
if (!audio_is_playing(snd))
return false;
audio_sound_gain(snd, 0, fade_len);
if (instance_exists(obj_audio_fade_helper))
{
with (obj_audio_fade_helper)
{
if (audio_to_fade == snd)
return false;
}
}
with (instance_create(0, 0, obj_audio_fade_helper))
audio_to_fade = snd;
} (global.battle_music, 500); |
| 8 |
global.enemy_attack = "Empty"; |
| 9 |
with (obj_martlet_final_2_base) |
| 10 |
{ |
| 11 |
} |
| 12 |
with (obj_dialogue_box_battle_transformation_any) |
| 13 |
event_user(0); |
| 14 |
instance_create(390, 74, obj_quote_bubble_battle_yellow_3); |
| 15 |
instance_create(0, 0, obj_quote_battle_martlet_genocide_final_2_outro); |
| 16 |
obj_quote_bubble_battle.visible = 0; |
| 17 |
obj_martlet_final_bg.fade_out = true; |
| 18 |
battle_end_noloop = true; |
| 19 |
} |