|
1
|
function scr_battle_core_directory_important_cutscenescr_battle_core_directory_important_cutscene
function scr_battle_core_directory_important_cutscene()
{
var battle_enemy_name = global.battle_enemy_name;
var game_mode = global.game_mode;
if (game_mode == "customs")
{
if (battle_enemy_name == "ms mettaton")
{
if (global.ms_mettaton_transformed == false)
{
with (obj_ms_mettaton_arms_mic)
image_speed = 0;
instance_create(16, 70, obj_quote_bubble_battle_reverse);
instance_create(0, 0, obj_quote_battle_ms_mettaton_important_cutscene_1);
audio_stop_sound(mus_mettatonbattle);
no_loop_important_cutscene = true;
}
else if (global.ms_mettaton_transformed == true)
{
instance_create(16, 70, obj_quote_bubble_battle_reverse);
instance_create(0, 0, obj_quote_battle_ms_mettaton_important_cutscene_4);
audio_stop_sound(mus_mettaton_ex);
no_loop_important_cutscene = true;
}
}
}
else if (game_mode == "yellow")
{
if (battle_enemy_name == "froggit intro")
{
script_execute(scr_start_enemy_fleeing_froggit_intro_yellow);
no_loop_important_cutscene = true;
}
else if (battle_enemy_name == "decibat")
{
script_execute(scr_start_enemy_fleeing_decibat);
no_loop_important_cutscene = true;
}
else if (battle_enemy_name == "micro froggit")
{
script_execute(scr_start_enemy_stomping_micro_froggit);
no_loop_important_cutscene = true;
}
else if (battle_enemy_name == "martlet pacifist")
{
script_execute(scr_start_enemy_fleeing_martlet_pacifist);
no_loop_important_cutscene = true;
}
else if (battle_enemy_name == "martlet genocide")
{
script_execute(scr_start_enemy_fleeing_martlet_genocide);
no_loop_important_cutscene = true;
}
else if (battle_enemy_name == "feisty five")
{
script_execute(scr_start_enemy_fleeing_feisty_four);
no_loop_important_cutscene = true;
}
}
} ()
|
|
2
|
{
|
|
3
|
var battle_enemy_name = global.battle_enemy_name;
|
|
4
|
var game_mode = global.game_mode;
|
|
5
|
if (game_mode == "customs")
|
|
6
|
{
|
|
7
|
if (battle_enemy_name == "ms mettaton")
|
|
8
|
{
|
|
9
|
if (global.ms_mettaton_transformed == false)
|
|
10
|
{
|
|
11
|
with (obj_ms_mettaton_arms_mic)
|
|
12
|
image_speed = 0;
|
|
13
|
instance_create(16, 70, obj_quote_bubble_battle_reverse);
|
|
14
|
instance_create(0, 0, obj_quote_battle_ms_mettaton_important_cutscene_1);
|
|
15
|
audio_stop_sound(mus_mettatonbattle);
|
|
16
|
no_loop_important_cutscene = true;
|
|
17
|
}
|
|
18
|
else if (global.ms_mettaton_transformed == true)
|
|
19
|
{
|
|
20
|
instance_create(16, 70, obj_quote_bubble_battle_reverse);
|
|
21
|
instance_create(0, 0, obj_quote_battle_ms_mettaton_important_cutscene_4);
|
|
22
|
audio_stop_sound(mus_mettaton_ex);
|
|
23
|
no_loop_important_cutscene = true;
|
|
24
|
}
|
|
25
|
}
|
|
26
|
}
|
|
27
|
else if (game_mode == "yellow")
|
|
28
|
{
|
|
29
|
if (battle_enemy_name == "froggit intro")
|
|
30
|
{
|
|
31
|
script_execute(scr_start_enemy_fleeing_froggit_intro_yellow);
|
|
32
|
no_loop_important_cutscene = true;
|
|
33
|
}
|
|
34
|
else if (battle_enemy_name == "decibat")
|
|
35
|
{
|
|
36
|
script_execute(scr_start_enemy_fleeing_decibat);
|
|
37
|
no_loop_important_cutscene = true;
|
|
38
|
}
|
|
39
|
else if (battle_enemy_name == "micro froggit")
|
|
40
|
{
|
|
41
|
script_execute(scr_start_enemy_stomping_micro_froggit);
|
|
42
|
no_loop_important_cutscene = true;
|
|
43
|
}
|
|
44
|
else if (battle_enemy_name == "martlet pacifist")
|
|
45
|
{
|
|
46
|
script_execute(scr_start_enemy_fleeing_martlet_pacifist);
|
|
47
|
no_loop_important_cutscene = true;
|
|
48
|
}
|
|
49
|
else if (battle_enemy_name == "martlet genocide")
|
|
50
|
{
|
|
51
|
script_execute(scr_start_enemy_fleeing_martlet_genocide);
|
|
52
|
no_loop_important_cutscene = true;
|
|
53
|
}
|
|
54
|
else if (battle_enemy_name == "feisty five")
|
|
55
|
{
|
|
56
|
script_execute(scr_start_enemy_fleeing_feisty_four);
|
|
57
|
no_loop_important_cutscene = true;
|
|
58
|
}
|
|
59
|
}
|
|
60
|
}
|