|
1
|
if (scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("enemytalk") && talked == 0)
|
|
2
|
{
|
|
3
|
scr_randomtargetscr_randomtarget
function scr_randomtarget()
{
abletotarget = 1;
if (global.charcantarget[0] == 0 && global.charcantarget[1] == 0 && global.charcantarget[2] == 0)
abletotarget = 0;
mytarget = choose(0, 1, 2);
if (abletotarget == 1)
{
while (global.charcantarget[mytarget] == 0)
mytarget = choose(0, 1, 2);
}
else
{
mytarget = 3;
}
global.targeted[mytarget] = 1;
if (global.chapter >= 2 && mytarget != 3)
{
if (global.charcantarget[0])
global.targeted[0] = 1;
if (global.charcantarget[1])
global.targeted[1] = 1;
if (global.charcantarget[2])
global.targeted[2] = 1;
mytarget = 4;
}
} ();
|
|
4
|
myattackchoice = choose(0, 1);
|
|
5
|
if (obj_multiboss_controller.taunt == 1)
|
|
6
|
myattackchoice = 2;
|
|
7
|
obj_multiboss_controller.taunt = 0;
|
|
8
|
if (!instance_exists(obj_darkener))
|
|
9
|
instance_create(0, 0, obj_darkener);
|
|
10
|
talked = 1;
|
|
11
|
attacked = 0;
|
|
12
|
rtimer = 0;
|
|
13
|
if ((instance_exists(obj_multiboss_controller_enemy1) && global.monsterhp[obj_multiboss_controller_enemy1.myself] <= (global.monstermaxhp[obj_multiboss_controller_enemy1.myself] * 0.5)) || (instance_exists(obj_multiboss_controller_enemy2) && global.monsterhp[obj_multiboss_controller_enemy2.myself] <= (global.monstermaxhp[obj_multiboss_controller_enemy2.myself] * 0.5)) || (instance_exists(obj_multiboss_controller_enemy3) && global.monsterhp[obj_multiboss_controller_enemy3.myself] <= (global.monstermaxhp[obj_multiboss_controller_enemy3.myself] * 0.5)))
|
|
14
|
healcon = 0.5;
|
|
15
|
susienotactingalone = 0;
|
|
16
|
}
|
|
17
|
if (global.mnfight == 1.5)
|
|
18
|
{
|
|
19
|
if (healcon == 0)
|
|
20
|
{
|
|
21
|
if (!instance_exists(obj_growtangle))
|
|
22
|
instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
|
|
23
|
if (myattackchoice == 2)
|
|
24
|
{
|
|
25
|
with (obj_growtangle)
|
|
26
|
{
|
|
27
|
x = camerax() + 240;
|
|
28
|
maxxscale = 1.5;
|
|
29
|
}
|
|
30
|
}
|
|
31
|
if (!instance_exists(obj_moveheart))
|
|
32
|
scr_moveheartscr_moveheart
function scr_moveheart()
{
global.inv = 0;
if (global.chapter == 4 && (i_ex(obj_hammer_of_justice_enemy) || i_ex(obj_sound_of_justice_enemy)))
return instance_create(obj_herosusie.x - 250, obj_herosusie.y + 40, obj_moveheart);
else
return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart);
} ();
|
|
33
|
}
|
|
34
|
global.mnfight = 2;
|
|
35
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (90);
|
|
36
|
}
|
|
37
|
if (scr_isphasescr_isphase
function scr_isphase(arg0)
{
__isphase = 0;
if (arg0 == "menu" && global.myfight == 0)
__isphase = 1;
if (arg0 == "acting" && global.myfight == 3)
__isphase = 1;
if (arg0 == "victory" && global.myfight == 7)
__isphase = 1;
if (arg0 == "attack" || arg0 == "fight")
{
if (global.myfight == 1)
__isphase = 1;
}
if (arg0 == "spell" || arg0 == "item")
{
if (global.myfight == 4)
__isphase = 1;
}
if (arg0 == "enemytalk" || arg0 == "balloon")
{
if (global.mnfight == 1)
__isphase = 1;
}
if (arg0 == "enemyattack" || arg0 == "bullets")
{
if (global.mnfight == 2)
__isphase = 1;
}
return __isphase;
} ("bullets") && attacked == 0)
|
|
38
|
{
|
|
39
|
rtimer += 1;
|
|
40
|
if (rtimer == 12)
|
|
41
|
{
|
|
42
|
if (healcon == 0.5)
|
|
43
|
{
|
|
44
|
healcon = 1;
|
|
45
|
talked = 0;
|
|
46
|
}
|
|
47
|
else
|
|
48
|
{
|
|
49
|
var attackingenemy = 0;
|
|
50
|
if (global.monster[0] == 1)
|
|
51
|
attackingenemy = 851;
|
|
52
|
else if (global.monster[1] == 1)
|
|
53
|
attackingenemy = 871;
|
|
54
|
else if (global.monster[2] == 1)
|
|
55
|
attackingenemy = 872;
|
|
56
|
if (myattackchoice == 0)
|
|
57
|
{
|
|
58
|
with (attackingenemy)
|
|
59
|
{
|
|
60
|
global.monsterattackname[myself] = "HomingDiamonds";
|
|
61
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.creatorid = id;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
62
|
dc.type = 0;
|
|
63
|
}
|
|
64
|
}
|
|
65
|
else if (myattackchoice == 1)
|
|
66
|
{
|
|
67
|
with (attackingenemy)
|
|
68
|
{
|
|
69
|
global.monsterattackname[myself] = "RisingDiamonds";
|
|
70
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.creatorid = id;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
71
|
dc.type = 1;
|
|
72
|
}
|
|
73
|
}
|
|
74
|
else if (myattackchoice == 2)
|
|
75
|
{
|
|
76
|
with (obj_multiboss_controller_enemy1)
|
|
77
|
{
|
|
78
|
global.monsterattackname[myself] = "SwordThrow";
|
|
79
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.creatorid = id;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
80
|
dc.type = 3;
|
|
81
|
}
|
|
82
|
with (obj_multiboss_controller_enemy2)
|
|
83
|
{
|
|
84
|
global.monsterattackname[myself] = "SwordThrow";
|
|
85
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.creatorid = id;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
86
|
dc.type = 3;
|
|
87
|
}
|
|
88
|
with (obj_multiboss_controller_enemy3)
|
|
89
|
{
|
|
90
|
global.monsterattackname[myself] = "SwordThrow";
|
|
91
|
dc = scr_bulletspawnerscr_bulletspawner
function scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.creatorid = id;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller);
|
|
92
|
dc.type = 3;
|
|
93
|
}
|
|
94
|
}
|
|
95
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (140);
|
|
96
|
turns += 1;
|
|
97
|
global.typer = 6;
|
|
98
|
global.fc = 0;
|
|
99
|
rr = choose(0, 1, 2, 3);
|
|
100
|
if (rr == 0)
|
|
101
|
global.battlemsg[0] = stringsetsub("* Team Message A1.");
|
|
102
|
if (rr == 1)
|
|
103
|
global.battlemsg[0] = stringsetsub("* Team Message B1.");
|
|
104
|
if (rr == 2)
|
|
105
|
global.battlemsg[0] = stringsetsub("* Team Message C1.");
|
|
106
|
if (rr == 3)
|
|
107
|
global.battlemsg[0] = stringsetsub("* Team Message D1.");
|
|
108
|
attacked = 1;
|
|
109
|
talked = 0;
|
|
110
|
}
|
|
111
|
}
|
|
112
|
}
|
|
113
|
if (healcon == 1)
|
|
114
|
healcon = 1.5;
|
|
115
|
if (healcon == 1.5 && !instance_exists(obj_writer))
|
|
116
|
{
|
|
117
|
global.turntimer = 999;
|
|
118
|
with (obj_writer)
|
|
119
|
instance_destroy();
|
|
120
|
global.typer = 50;
|
|
121
|
whohealed = 0;
|
|
122
|
if (instance_exists(obj_multiboss_controller_enemy1) && global.monsterhp[obj_multiboss_controller_enemy1.myself] <= (global.monstermaxhp[obj_multiboss_controller_enemy1.myself] * 0.5))
|
|
123
|
whohealed = 1;
|
|
124
|
else if (instance_exists(obj_multiboss_controller_enemy2) && global.monsterhp[obj_multiboss_controller_enemy2.myself] <= (global.monstermaxhp[obj_multiboss_controller_enemy2.myself] * 0.5))
|
|
125
|
whohealed = 2;
|
|
126
|
else if (instance_exists(obj_multiboss_controller_enemy3) && global.monsterhp[obj_multiboss_controller_enemy3.myself] <= (global.monstermaxhp[obj_multiboss_controller_enemy3.myself] * 0.5))
|
|
127
|
whohealed = 3;
|
|
128
|
else if (instance_exists(obj_multiboss_controller_enemy1) && instance_exists(obj_multiboss_controller_enemy2) && global.monsterhp[obj_multiboss_controller_enemy1.myself] <= (global.monstermaxhp[obj_multiboss_controller_enemy1.myself] * 0.5) && global.monsterhp[obj_multiboss_controller_enemy2.myself] <= (global.monstermaxhp[obj_multiboss_controller_enemy2.myself] * 0.5))
|
|
129
|
whohealed = 4;
|
|
130
|
else if (instance_exists(obj_multiboss_controller_enemy1) && instance_exists(obj_multiboss_controller_enemy3) && global.monsterhp[obj_multiboss_controller_enemy1.myself] <= (global.monstermaxhp[obj_multiboss_controller_enemy1.myself] * 0.5) && global.monsterhp[obj_multiboss_controller_enemy3.myself] <= (global.monstermaxhp[obj_multiboss_controller_enemy3.myself] * 0.5))
|
|
131
|
whohealed = 5;
|
|
132
|
else if (instance_exists(obj_multiboss_controller_enemy3) && instance_exists(obj_multiboss_controller_enemy2) && global.monsterhp[obj_multiboss_controller_enemy3.myself] <= (global.monstermaxhp[obj_multiboss_controller_enemy3.myself] * 0.5) && global.monsterhp[obj_multiboss_controller_enemy2.myself] <= (global.monstermaxhp[obj_multiboss_controller_enemy2.myself] * 0.5))
|
|
133
|
whohealed = 6;
|
|
134
|
if (whohealed == 1)
|
|
135
|
{
|
|
136
|
with (obj_multiboss_controller_enemy1)
|
|
137
|
{
|
|
138
|
msgsetloc(0, I'm at my acoustic limit..."I'm at my acoustic limit...", "obj_musical_controller_slash_Step_0_gml_52_0" );
|
|
139
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x - 10, global.monstery[myself], 10);
|
|
140
|
}
|
|
141
|
with (obj_multiboss_controller_enemy2)
|
|
142
|
{
|
|
143
|
msgsetloc(0, Have a sip."Have a sip.", "obj_musical_controller_slash_Step_0_gml_57_0" );
|
|
144
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x - 10, global.monstery[myself], 10);
|
|
145
|
}
|
|
146
|
}
|
|
147
|
if (whohealed == 2)
|
|
148
|
{
|
|
149
|
with (obj_multiboss_controller_enemy2)
|
|
150
|
{
|
|
151
|
msgsetloc(0, Mmm... I'm thirsty."Mmm... I'm thirsty.", "obj_musical_controller_slash_Step_0_gml_66_0" );
|
|
152
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x - 10, global.monstery[myself], 10);
|
|
153
|
}
|
|
154
|
with (obj_multiboss_controller_enemy3)
|
|
155
|
{
|
|
156
|
msgsetloc(0, (Don't ya mean you're WOUNDED!?)"(Don't ya mean&you're WOUNDED!?)", "obj_musical_controller_slash_Step_0_gml_71_0" );
|
|
157
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x - 10, global.monstery[myself], 10);
|
|
158
|
}
|
|
159
|
}
|
|
160
|
if (whohealed == 3)
|
|
161
|
{
|
|
162
|
with (obj_multiboss_controller_enemy3)
|
|
163
|
{
|
|
164
|
msgsetloc(0, Owww, my hat!! They scuffed my hat!!"Owww, my hat!! They&scuffed my hat!!", "obj_musical_controller_slash_Step_0_gml_80_0" );
|
|
165
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x - 10, global.monstery[myself], 10);
|
|
166
|
}
|
|
167
|
with (obj_multiboss_controller_enemy1)
|
|
168
|
{
|
|
169
|
msgsetloc(0, (Stop being dramatic and heal!!)"(Stop being dramatic&and heal!!)", "obj_musical_controller_slash_Step_0_gml_85_0" );
|
|
170
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x - 10, global.monstery[myself], 10);
|
|
171
|
}
|
|
172
|
}
|
|
173
|
if (whohealed == 4)
|
|
174
|
{
|
|
175
|
with (obj_multiboss_controller_enemy1)
|
|
176
|
{
|
|
177
|
msgsetloc(0, Even if we're all beat, we..."Even if we're all beat, we...", "obj_musical_controller_slash_Step_0_gml_94_0" );
|
|
178
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x - 10, global.monstery[myself], 10);
|
|
179
|
}
|
|
180
|
with (obj_multiboss_controller_enemy2)
|
|
181
|
{
|
|
182
|
msgsetloc(0, Can all drink from one milk.)"Can all drink from one milk.)", "obj_musical_controller_slash_Step_0_gml_99_0" );
|
|
183
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x - 10, global.monstery[myself], 10);
|
|
184
|
}
|
|
185
|
}
|
|
186
|
if (whohealed == 5)
|
|
187
|
{
|
|
188
|
with (obj_multiboss_controller_enemy1)
|
|
189
|
{
|
|
190
|
msgsetloc(0, Even if we're all beat, we..."Even if we're all beat, we...", "obj_musical_controller_slash_Step_0_gml_108_0" );
|
|
191
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x - 10, global.monstery[myself], 10);
|
|
192
|
}
|
|
193
|
with (obj_multiboss_controller_enemy3)
|
|
194
|
{
|
|
195
|
msgsetloc(0, Can all drink from one milk.)"Can all drink from one milk.)", "obj_musical_controller_slash_Step_0_gml_113_0" );
|
|
196
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x - 10, global.monstery[myself], 10);
|
|
197
|
}
|
|
198
|
}
|
|
199
|
if (whohealed == 6)
|
|
200
|
{
|
|
201
|
with (obj_multiboss_controller_enemy2)
|
|
202
|
{
|
|
203
|
msgsetloc(0, Even if we're all beat, we..."Even if we're all beat, we...", "obj_musical_controller_slash_Step_0_gml_122_0" );
|
|
204
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x - 10, global.monstery[myself], 10);
|
|
205
|
}
|
|
206
|
with (obj_multiboss_controller_enemy3)
|
|
207
|
{
|
|
208
|
msgsetloc(0, Can all drink from one milk.)"Can all drink from one milk.)", "obj_musical_controller_slash_Step_0_gml_127_0" );
|
|
209
|
scr_enemyblconscr_enemyblcon
function scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
if (arg2 == 11)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_z;
return myblcon;
}
} (x - 10, global.monstery[myself], 10);
|
|
210
|
}
|
|
211
|
}
|
|
212
|
healcon = 1.6;
|
|
213
|
healtimer = 0;
|
|
214
|
}
|
|
215
|
if (healcon == 1.6)
|
|
216
|
{
|
|
217
|
global.turntimer = 999;
|
|
218
|
healtimer++;
|
|
219
|
if (healtimer >= 60)
|
|
220
|
{
|
|
221
|
healcon = 1.7;
|
|
222
|
healtimer = 0;
|
|
223
|
}
|
|
224
|
}
|
|
225
|
if (healcon == 1.7)
|
|
226
|
{
|
|
227
|
with (obj_writer)
|
|
228
|
instance_destroy();
|
|
229
|
var yyy = 180;
|
|
230
|
if (whohealed == 1)
|
|
231
|
yyy = 90;
|
|
232
|
if (whohealed == 3)
|
|
233
|
yyy = 240;
|
|
234
|
snd_play(snd_magicsprinkle);
|
|
235
|
milk = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (x - 100, cameray() + yyy, spr_checkers_milk);
|
|
236
|
with (milk)
|
|
237
|
{
|
|
238
|
image_speed = 0;
|
|
239
|
image_xscale = 4;
|
|
240
|
image_yscale = 4;
|
|
241
|
image_alpha = 0;
|
|
242
|
}
|
|
243
|
milk.depth = depth - 1;
|
|
244
|
healtimer = 0;
|
|
245
|
healcon = 2;
|
|
246
|
}
|
|
247
|
if (healcon == 2)
|
|
248
|
{
|
|
249
|
with (milk)
|
|
250
|
{
|
|
251
|
image_xscale -= 0.2;
|
|
252
|
image_yscale -= 0.2;
|
|
253
|
image_alpha += 0.1;
|
|
254
|
}
|
|
255
|
healtimer += 1;
|
|
256
|
if (healtimer >= 10)
|
|
257
|
{
|
|
258
|
healcon = 3;
|
|
259
|
healtimer = 0;
|
|
260
|
with (milk)
|
|
261
|
image_alpha = 1.4;
|
|
262
|
}
|
|
263
|
}
|
|
264
|
if (healcon == 3)
|
|
265
|
{
|
|
266
|
healtimer += 1;
|
|
267
|
if (healtimer >= 25)
|
|
268
|
{
|
|
269
|
healcon = 4;
|
|
270
|
healtimer = 0;
|
|
271
|
}
|
|
272
|
}
|
|
273
|
if (healcon == 4)
|
|
274
|
{
|
|
275
|
with (milk)
|
|
276
|
{
|
|
277
|
hspeed += 2;
|
|
278
|
image_alpha -= 0.1;
|
|
279
|
}
|
|
280
|
healtimer += 1;
|
|
281
|
if (healtimer == 10)
|
|
282
|
{
|
|
283
|
if (whohealed == 1 || whohealed == 4 || whohealed == 5)
|
|
284
|
{
|
|
285
|
with (obj_multiboss_controller_enemy1)
|
|
286
|
{
|
|
287
|
global.monsterhp[myself] = global.monstermaxhp[myself];
|
|
288
|
healamt = instance_create(global.monsterx[myself], global.monstery[myself], obj_dmgwriter);
|
|
289
|
with (healamt)
|
|
290
|
{
|
|
291
|
delay = 8;
|
|
292
|
type = 3;
|
|
293
|
damage = global.monstermaxhp[obj_multiboss_controller_enemy1.myself];
|
|
294
|
specialmessage = 3;
|
|
295
|
}
|
|
296
|
hanim = instance_create(x, y, obj_healanim);
|
|
297
|
hanim.target = id;
|
|
298
|
}
|
|
299
|
}
|
|
300
|
if (whohealed == 2 || whohealed == 4 || whohealed == 6)
|
|
301
|
{
|
|
302
|
with (obj_multiboss_controller_enemy2)
|
|
303
|
{
|
|
304
|
global.monsterhp[myself] = global.monstermaxhp[myself];
|
|
305
|
healamt = instance_create(global.monsterx[myself], global.monstery[myself], obj_dmgwriter);
|
|
306
|
with (healamt)
|
|
307
|
{
|
|
308
|
delay = 8;
|
|
309
|
type = 3;
|
|
310
|
damage = global.monstermaxhp[obj_multiboss_controller_enemy2.myself];
|
|
311
|
specialmessage = 3;
|
|
312
|
}
|
|
313
|
hanim = instance_create(x, y, obj_healanim);
|
|
314
|
hanim.target = id;
|
|
315
|
}
|
|
316
|
}
|
|
317
|
if (whohealed == 3 || whohealed == 5 || whohealed == 6)
|
|
318
|
{
|
|
319
|
with (obj_multiboss_controller_enemy3)
|
|
320
|
{
|
|
321
|
global.monsterhp[myself] = global.monstermaxhp[myself];
|
|
322
|
healamt = instance_create(global.monsterx[myself], global.monstery[myself], obj_dmgwriter);
|
|
323
|
with (healamt)
|
|
324
|
{
|
|
325
|
delay = 8;
|
|
326
|
type = 3;
|
|
327
|
damage = global.monstermaxhp[obj_multiboss_controller_enemy3.myself];
|
|
328
|
specialmessage = 3;
|
|
329
|
}
|
|
330
|
hanim = instance_create(x, y, obj_healanim);
|
|
331
|
hanim.target = id;
|
|
332
|
}
|
|
333
|
}
|
|
334
|
}
|
|
335
|
if (healtimer >= 15)
|
|
336
|
{
|
|
337
|
with (milk)
|
|
338
|
instance_destroy();
|
|
339
|
healcon = 5;
|
|
340
|
healtimer = 0;
|
|
341
|
}
|
|
342
|
}
|
|
343
|
if (healcon == 5)
|
|
344
|
{
|
|
345
|
healtimer += 1;
|
|
346
|
if (healtimer >= 30)
|
|
347
|
{
|
|
348
|
with (obj_writer)
|
|
349
|
instance_destroy();
|
|
350
|
healcon = 6;
|
|
351
|
if (whohealed == 1)
|
|
352
|
msgsetloc(0, * obj_multiboss_controller_enemy1's HP went up!Wait for inputClose Message"* obj_multiboss_controller_enemy1's HP went up!/%", "obj_musical_controller_slash_Step_0_gml_260_0" );
|
|
353
|
if (whohealed == 2)
|
|
354
|
msgsetloc(0, * obj_multiboss_controller_enemy2's HP went up!Wait for inputClose Message"* obj_multiboss_controller_enemy2's HP went up!/%", "obj_musical_controller_slash_Step_0_gml_261_0" );
|
|
355
|
if (whohealed == 3)
|
|
356
|
msgsetloc(0, * obj_multiboss_controller_enemy3's HP went up!Wait for inputClose Message"* obj_multiboss_controller_enemy3's HP went up!/%", "obj_musical_controller_slash_Step_0_gml_262_0" );
|
|
357
|
if (whohealed == 4)
|
|
358
|
msgsetloc(0, * obj_multiboss_controller_enemy1's and obj_multiboss_controller_enemy2's HP went up!Wait for inputClose Message"* obj_multiboss_controller_enemy1's and obj_multiboss_controller_enemy2's HP went up!/%", "obj_musical_controller_slash_Step_0_gml_263_0" );
|
|
359
|
if (whohealed == 5)
|
|
360
|
msgsetloc(0, * obj_multiboss_controller_enemy1's and obj_multiboss_controller_enemy3's HP went up!Wait for inputClose Message"* obj_multiboss_controller_enemy1's and obj_multiboss_controller_enemy3's HP went up!/%", "obj_musical_controller_slash_Step_0_gml_264_0" );
|
|
361
|
if (whohealed == 6)
|
|
362
|
msgsetloc(0, * obj_multiboss_controller_enemy2's and obj_multiboss_controller_enemy3's HP went up!Wait for inputClose Message"* obj_multiboss_controller_enemy2's and obj_multiboss_controller_enemy3's HP went up!/%", "obj_musical_controller_slash_Step_0_gml_265_0" );
|
|
363
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
364
|
}
|
|
365
|
}
|
|
366
|
if (healcon == 6)
|
|
367
|
{
|
|
368
|
global.turntimer = 999;
|
|
369
|
if (!instance_exists(obj_writer))
|
|
370
|
{
|
|
371
|
global.fc = 0;
|
|
372
|
healcon = 0;
|
|
373
|
healtimer = 0;
|
|
374
|
global.turntimer = 1;
|
|
375
|
}
|
|
376
|
}
|
|
377
|
|
|
378
|
enum e__VW
|
|
379
|
{
|
|
380
|
XView,
|
|
381
|
YView,
|
|
382
|
WView,
|
|
383
|
HView,
|
|
384
|
Angle,
|
|
385
|
HBorder,
|
|
386
|
VBorder,
|
|
387
|
HSpeed,
|
|
388
|
VSpeed,
|
|
389
|
Object,
|
|
390
|
Visible,
|
|
391
|
XPort,
|
|
392
|
YPort,
|
|
393
|
WPort,
|
|
394
|
HPort,
|
|
395
|
Camera,
|
|
396
|
SurfaceID
|
|
397
|
}
|