1 |
function scr_determine_boss_hurt_flagsscr_determine_boss_hurt_flagsfunction scr_determine_boss_hurt_flags() //gml_Script_scr_determine_boss_hurt_flags
{
if (global.battling_boss == true)
var battle_enemy_name = global.battle_enemy_name
else
{
var act_number = global.act_number
switch act_number
{
case 1:
battle_enemy_name = global.battle_enemy_name_1
break
case 2:
battle_enemy_name = global.battle_enemy_name_2
break
case 3:
battle_enemy_name = global.battle_enemy_name_3
break
default:
battle_enemy_name = global.battle_enemy_name_1
}
}
if (battle_enemy_name == "froggit intro")
{
}
else if (battle_enemy_name == "flowey intro")
{
}
else if (battle_enemy_name == "flier a")
{
}
else if (battle_enemy_name == "penilla a")
{
}
else if (battle_enemy_name == "sweet corn a")
{
}
else if (battle_enemy_name == "crispy scroll a")
{
}
else if (battle_enemy_name == "rorrim a")
{
}
else if (battle_enemy_name == "decibat")
{
if (global.current_hp_enemy < global.max_hp_enemy)
global.dark_ruins_boss_hurt[1] = 1
}
else if (battle_enemy_name == "dalv")
{
if (global.current_hp_enemy < global.max_hp_enemy)
global.dark_ruins_boss_hurt[2] = 1
}
else if (battle_enemy_name == "micro froggit")
{
if (global.current_hp_enemy < global.max_hp_enemy)
global.dark_ruins_boss_hurt[3] = 1
}
else if (battle_enemy_name == "frostermit a")
{
}
else if (battle_enemy_name == "insomnitot a")
{
}
else if (battle_enemy_name == "know cone a")
{
}
else if (battle_enemy_name == "trihecta" || battle_enemy_name == "tri")
{
}
else if (battle_enemy_name == "martlet pacifist")
{
}
else if (battle_enemy_name == "martlet genocide")
{
}
else if (battle_enemy_name == "shufflers")
{
}
} () //gml_Script_scr_determine_boss_hurt_flags |
2 |
{ |
3 |
if (global.battling_boss == true) |
4 |
var battle_enemy_name = global.battle_enemy_name |
5 |
else |
6 |
{ |
7 |
var act_number = global.act_number |
8 |
switch act_number |
9 |
{ |
10 |
case 1: |
11 |
battle_enemy_name = global.battle_enemy_name_1 |
12 |
break |
13 |
case 2: |
14 |
battle_enemy_name = global.battle_enemy_name_2 |
15 |
break |
16 |
case 3: |
17 |
battle_enemy_name = global.battle_enemy_name_3 |
18 |
break |
19 |
default: |
20 |
battle_enemy_name = global.battle_enemy_name_1 |
21 |
} |
22 |
|
23 |
} |
24 |
if (battle_enemy_name == "froggit intro") |
25 |
{ |
26 |
} |
27 |
else if (battle_enemy_name == "flowey intro") |
28 |
{ |
29 |
} |
30 |
else if (battle_enemy_name == "flier a") |
31 |
{ |
32 |
} |
33 |
else if (battle_enemy_name == "penilla a") |
34 |
{ |
35 |
} |
36 |
else if (battle_enemy_name == "sweet corn a") |
37 |
{ |
38 |
} |
39 |
else if (battle_enemy_name == "crispy scroll a") |
40 |
{ |
41 |
} |
42 |
else if (battle_enemy_name == "rorrim a") |
43 |
{ |
44 |
} |
45 |
else if (battle_enemy_name == "decibat") |
46 |
{ |
47 |
if (global.current_hp_enemy < global.max_hp_enemy) |
48 |
global.dark_ruins_boss_hurt[1] = 1 |
49 |
} |
50 |
else if (battle_enemy_name == "dalv") |
51 |
{ |
52 |
if (global.current_hp_enemy < global.max_hp_enemy) |
53 |
global.dark_ruins_boss_hurt[2] = 1 |
54 |
} |
55 |
else if (battle_enemy_name == "micro froggit") |
56 |
{ |
57 |
if (global.current_hp_enemy < global.max_hp_enemy) |
58 |
global.dark_ruins_boss_hurt[3] = 1 |
59 |
} |
60 |
else if (battle_enemy_name == "frostermit a") |
61 |
{ |
62 |
} |
63 |
else if (battle_enemy_name == "insomnitot a") |
64 |
{ |
65 |
} |
66 |
else if (battle_enemy_name == "know cone a") |
67 |
{ |
68 |
} |
69 |
else if (battle_enemy_name == "trihecta" || battle_enemy_name == "tri") |
70 |
{ |
71 |
} |
72 |
else if (battle_enemy_name == "martlet pacifist") |
73 |
{ |
74 |
} |
75 |
else if (battle_enemy_name == "martlet genocide") |
76 |
{ |
77 |
} |
78 |
else if (battle_enemy_name == "shufflers") |
79 |
{ |
80 |
} |
81 |
} |