|
1
|
if (global.monster[myself] == 1)
|
|
2
|
{
|
|
3
|
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 && !i_ex(obj_writer))
|
|
4
|
{
|
|
5
|
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;
}
} ();
|
|
6
|
myattackchoice = choose(0, 1);
|
|
7
|
if (taunt == 1)
|
|
8
|
myattackchoice = 2;
|
|
9
|
taunt = 0;
|
|
10
|
susienotactingalone = 0;
|
|
11
|
if (!instance_exists(obj_darkener))
|
|
12
|
instance_create(0, 0, obj_darkener);
|
|
13
|
var _text = "";
|
|
14
|
global.typer = 50;
|
|
15
|
if (myattackchoice == 0)
|
|
16
|
_text = "HOMING&DIAMONDS!";
|
|
17
|
if (myattackchoice == 1)
|
|
18
|
_text = "RISING&DIAMONDS!";
|
|
19
|
if (myattackchoice == 2)
|
|
20
|
_text = "SWORD&THROW!";
|
|
21
|
msgset(0, _text);
|
|
22
|
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 - 160, y, 3);
|
|
23
|
msgset(0, _text);
|
|
24
|
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;
}
} (obj_multiboss_enemy2.x - 160, obj_multiboss_enemy2.y, 3);
|
|
25
|
msgset(0, _text);
|
|
26
|
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;
}
} (obj_multiboss_enemy3.x - 160, obj_multiboss_enemy3.y, 3);
|
|
27
|
talked = 1;
|
|
28
|
talktimer = 0;
|
|
29
|
rtimer = 0;
|
|
30
|
if ((instance_exists(obj_multiboss_enemy1) && global.monsterhp[obj_multiboss_enemy1.myself] <= (global.monstermaxhp[obj_multiboss_enemy1.myself] * 0.5)) || (instance_exists(obj_multiboss_enemy2) && global.monsterhp[obj_multiboss_enemy2.myself] <= (global.monstermaxhp[obj_multiboss_enemy2.myself] * 0.5)) || (instance_exists(obj_multiboss_enemy3) && global.monsterhp[obj_multiboss_enemy3.myself] <= (global.monstermaxhp[obj_multiboss_enemy3.myself] * 0.5)))
|
|
31
|
healcon = 0.5;
|
|
32
|
}
|
|
33
|
if (talked == 1 && 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"))
|
|
34
|
scr_blconskipscr_blconskip
function scr_blconskip(arg0)
{
if (arg0 >= 0)
{
if (button1_p() && talktimer > arg0)
talktimer = talkmax;
talktimer += 1;
if (talktimer >= talkmax)
{
with (obj_writer)
instance_destroy();
with (obj_guei_balloon)
instance_destroy();
global.mnfight = 1.5;
}
}
else if (arg0 == -1)
{
if (instance_exists(obj_writer) == false)
global.mnfight = 1.5;
}
else if (arg0 == -2)
{
talktimer += 1;
if (talktimer > 15)
talktimer = talkmax;
if (talktimer >= talkmax)
{
with (obj_writer)
instance_destroy();
with (obj_guei_balloon)
instance_destroy();
global.mnfight = 1.5;
}
}
} (15);
|
|
35
|
if (global.mnfight == 1.5)
|
|
36
|
{
|
|
37
|
if (healcon == 0)
|
|
38
|
{
|
|
39
|
if (!instance_exists(obj_growtangle))
|
|
40
|
instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
|
|
41
|
if (myattackchoice == 2)
|
|
42
|
{
|
|
43
|
with (obj_growtangle)
|
|
44
|
{
|
|
45
|
x = camerax() + 240;
|
|
46
|
maxxscale = 1.5;
|
|
47
|
}
|
|
48
|
}
|
|
49
|
if (!instance_exists(obj_moveheart))
|
|
50
|
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);
} ();
|
|
51
|
}
|
|
52
|
global.mnfight = 2;
|
|
53
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (90);
|
|
54
|
}
|
|
55
|
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)
|
|
56
|
{
|
|
57
|
rtimer += 1;
|
|
58
|
if (rtimer == 12)
|
|
59
|
{
|
|
60
|
if (healcon == 0.5)
|
|
61
|
{
|
|
62
|
healcon = 1;
|
|
63
|
}
|
|
64
|
else
|
|
65
|
{
|
|
66
|
if (myattackchoice == 0)
|
|
67
|
{
|
|
68
|
global.monsterattackname[myself] = "HomingDiamonds";
|
|
69
|
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);
|
|
70
|
dc.type = 0;
|
|
71
|
}
|
|
72
|
else if (myattackchoice == 1)
|
|
73
|
{
|
|
74
|
global.monsterattackname[myself] = "RisingDiamonds";
|
|
75
|
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);
|
|
76
|
dc.type = 1;
|
|
77
|
}
|
|
78
|
else if (myattackchoice == 2)
|
|
79
|
{
|
|
80
|
global.monsterattackname[myself] = "SwordThrow";
|
|
81
|
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);
|
|
82
|
dc.type = 3;
|
|
83
|
with (obj_multiboss_enemy2)
|
|
84
|
{
|
|
85
|
global.monsterattackname[myself] = "SwordThrow";
|
|
86
|
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);
|
|
87
|
dc.type = 3;
|
|
88
|
}
|
|
89
|
with (obj_multiboss_enemy3)
|
|
90
|
{
|
|
91
|
global.monsterattackname[myself] = "SwordThrow";
|
|
92
|
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);
|
|
93
|
dc.type = 3;
|
|
94
|
}
|
|
95
|
}
|
|
96
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (140);
|
|
97
|
turns += 1;
|
|
98
|
global.typer = 6;
|
|
99
|
global.fc = 0;
|
|
100
|
rr = choose(0, 1, 2, 3);
|
|
101
|
var substring = string(myself);
|
|
102
|
if (rr == 0)
|
|
103
|
global.battlemsg[0] = stringsetsubloc("* Team Message A~1.", substring, "obj_multiboss_enemy1_slash_Step_0_gml_137_0");
|
|
104
|
if (rr == 1)
|
|
105
|
global.battlemsg[0] = stringsetsubloc("* Team Message B~1.", substring, "obj_multiboss_enemy1_slash_Step_0_gml_138_0");
|
|
106
|
if (rr == 2)
|
|
107
|
global.battlemsg[0] = stringsetsubloc("* Team Message C~1.", substring, "obj_multiboss_enemy1_slash_Step_0_gml_139_0");
|
|
108
|
if (rr == 3)
|
|
109
|
global.battlemsg[0] = stringsetsubloc("* Team Message D~1.", substring, "obj_multiboss_enemy1_slash_Step_0_gml_140_0");
|
|
110
|
attacked = 1;
|
|
111
|
}
|
|
112
|
}
|
|
113
|
}
|
|
114
|
}
|
|
115
|
if (global.myfight == 3)
|
|
116
|
{
|
|
117
|
xx = __view_get(e__VW.XView, 0);
|
|
118
|
yy = __view_get(e__VW.YView, 0);
|
|
119
|
if (acting == 1 && actcon == 0)
|
|
120
|
{
|
|
121
|
actcon = 1;
|
|
122
|
taunt = 1;
|
|
123
|
msgsetloc(0, * You taunted the enemy. It will now throw swords this turn!Wait for inputClose Message"* You taunted the enemy. It will now throw swords this turn!/%", "obj_baseenemy_slash_Step_0_gml_127_0" );
|
|
124
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
125
|
}
|
|
126
|
if (acting == 2 && actcon == 0)
|
|
127
|
{
|
|
128
|
msgsetloc(0, * Kris's simul act!"* Kris's simul act!", "obj_baseenemy_slash_Step_0_gml_146_0" );
|
|
129
|
if (simultotal == 1)
|
|
130
|
msgsetloc(0, * Kris decided to have a really long message when acting alone."* Kris decided to have a really long message when acting alone.", "obj_baseenemy_slash_Step_0_gml_147_0" );
|
|
131
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 35);
|
|
132
|
scr_simultextscr_simultext
function scr_simultext(arg0)
{
__simulorder = 0;
if (arg0 == "kris")
__simulorder = simulorderkri;
if (arg0 == "susie")
__simulorder = simulordersus;
if (arg0 == "ralsei")
__simulorder = simulorderral;
if (arg0 == "noelle")
__simulorder = simulordernoe;
__yoffset = __simulorder * 30;
global.typer = 4;
battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer);
} ("kris");
|
|
133
|
if (simulorderkri == 0)
|
|
134
|
actcon = 20;
|
|
135
|
else
|
|
136
|
actcon = -1;
|
|
137
|
}
|
|
138
|
if (acting == 3 && actcon == 0)
|
|
139
|
{
|
|
140
|
if (obj_multiboss_enemy1.krisflattercount == 0)
|
|
141
|
{
|
|
142
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "gerson" || _speaker == "ger" || _speaker == "gers")
global.typer = 85;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
... ("no_name");
|
|
143
|
msgsetloc(0, * You flattered (multiple lines)!Wait for input"* You flattered (multiple lines)!/", "obj_multiboss_enemy1_slash_Step_0_gml_182_0" );
|
|
144
|
msgnextloc(* And the first time you flatterWait for input"* And the first time you flatter/", "obj_multiboss_enemy1_slash_Step_0_gml_183_0" );
|
|
145
|
msgnextloc(* The text is way longerWait for inputClose Message"* The text is way longer/%", "obj_multiboss_enemy1_slash_Step_0_gml_184_0" );
|
|
146
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
147
|
with (obj_multiboss_enemy1)
|
|
148
|
global.actsimul[myself][2] = 1;
|
|
149
|
with (obj_multiboss_enemy2)
|
|
150
|
global.actsimul[myself][2] = 1;
|
|
151
|
with (obj_multiboss_enemy3)
|
|
152
|
global.actsimul[myself][2] = 1;
|
|
153
|
actcon = 1;
|
|
154
|
}
|
|
155
|
else
|
|
156
|
{
|
|
157
|
if (simultotal == 1)
|
|
158
|
{
|
|
159
|
msgsetloc(0, * You made a memorable and charming flatter!Wait for inputClose Message"* You made a memorable and charming flatter!/%", "obj_multiboss_enemy1_slash_Step_0_gml_196_0" );
|
|
160
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
161
|
}
|
|
162
|
else
|
|
163
|
{
|
|
164
|
msgsetloc(0, * You flatter!"* You flatter!", "obj_multiboss_enemy1_slash_Step_0_gml_201_0" );
|
|
165
|
scr_simultextscr_simultext
function scr_simultext(arg0)
{
__simulorder = 0;
if (arg0 == "kris")
__simulorder = simulorderkri;
if (arg0 == "susie")
__simulorder = simulordersus;
if (arg0 == "ralsei")
__simulorder = simulorderral;
if (arg0 == "noelle")
__simulorder = simulordernoe;
__yoffset = __simulorder * 30;
global.typer = 4;
battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer);
} ("kris");
|
|
166
|
}
|
|
167
|
if (simulorderkri == 0)
|
|
168
|
actcon = 20;
|
|
169
|
else
|
|
170
|
actcon = -1;
|
|
171
|
}
|
|
172
|
obj_multiboss_enemy1.krisflattercount++;
|
|
173
|
}
|
|
174
|
if (actingsus == 1 && actconsus == 1)
|
|
175
|
{
|
|
176
|
msgsetloc(0, * Susie's unique act A!.Wait for inputClose Message"* Susie's unique act A!./%", "obj_baseenemy_slash_Step_0_gml_172_0" );
|
|
177
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 35);
|
|
178
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
179
|
actcon = 1;
|
|
180
|
actconsus = 0;
|
|
181
|
}
|
|
182
|
if (actingsus == 2 && actconsus == 1)
|
|
183
|
{
|
|
184
|
msgsetloc(0, * Susie's simul act!"* Susie's simul act!", "obj_baseenemy_slash_Step_0_gml_181_0" );
|
|
185
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 35);
|
|
186
|
scr_simultextscr_simultext
function scr_simultext(arg0)
{
__simulorder = 0;
if (arg0 == "kris")
__simulorder = simulorderkri;
if (arg0 == "susie")
__simulorder = simulordersus;
if (arg0 == "ralsei")
__simulorder = simulorderral;
if (arg0 == "noelle")
__simulorder = simulordernoe;
__yoffset = __simulorder * 30;
global.typer = 4;
battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer);
} ("susie");
|
|
187
|
if (simulordersus == 0)
|
|
188
|
actconsus = 20;
|
|
189
|
else
|
|
190
|
actconsus = 0;
|
|
191
|
}
|
|
192
|
if (actingsus == 3 && actconsus == 1)
|
|
193
|
{
|
|
194
|
if (obj_multiboss_enemy1.susieflattercount == 0)
|
|
195
|
{
|
|
196
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "gerson" || _speaker == "ger" || _speaker == "gers")
global.typer = 85;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
... ("no_name");
|
|
197
|
msgsetloc(0, * Susie flatter (multiple lines)!Wait for input"* Susie flatter (multiple lines)!/", "obj_multiboss_enemy1_slash_Step_0_gml_232_0" );
|
|
198
|
msgnextloc(* And the first time susie flattersWait for input"* And the first time susie flatters/", "obj_multiboss_enemy1_slash_Step_0_gml_233_0" );
|
|
199
|
msgnextloc(* The text is way longerWait for inputClose Message"* The text is way longer/%", "obj_multiboss_enemy1_slash_Step_0_gml_234_0" );
|
|
200
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
201
|
with (obj_multiboss_enemy1)
|
|
202
|
global.actsimulsus[myself][2] = 1;
|
|
203
|
with (obj_multiboss_enemy2)
|
|
204
|
global.actsimulsus[myself][2] = 1;
|
|
205
|
with (obj_multiboss_enemy3)
|
|
206
|
global.actsimulsus[myself][2] = 1;
|
|
207
|
actcon = 1;
|
|
208
|
actconsus = 0;
|
|
209
|
}
|
|
210
|
else
|
|
211
|
{
|
|
212
|
if (simultotal == 1)
|
|
213
|
{
|
|
214
|
msgsetloc(0, * Susie made an offensive flatter!Wait for inputClose Message"* Susie made an offensive flatter!/%", "obj_multiboss_enemy1_slash_Step_0_gml_246_0" );
|
|
215
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
216
|
}
|
|
217
|
else
|
|
218
|
{
|
|
219
|
msgsetloc(0, * Susie flatter!"* Susie flatter!", "obj_multiboss_enemy1_slash_Step_0_gml_251_0" );
|
|
220
|
scr_simultextscr_simultext
function scr_simultext(arg0)
{
__simulorder = 0;
if (arg0 == "kris")
__simulorder = simulorderkri;
if (arg0 == "susie")
__simulorder = simulordersus;
if (arg0 == "ralsei")
__simulorder = simulorderral;
if (arg0 == "noelle")
__simulorder = simulordernoe;
__yoffset = __simulorder * 30;
global.typer = 4;
battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer);
} ("susie");
|
|
221
|
}
|
|
222
|
if (simulordersus == 0)
|
|
223
|
actconsus = 20;
|
|
224
|
else
|
|
225
|
actconsus = 0;
|
|
226
|
}
|
|
227
|
obj_multiboss_enemy1.susieflattercount++;
|
|
228
|
}
|
|
229
|
if (susienotactingalone == 0)
|
|
230
|
{
|
|
231
|
if (global.actingsingle[0] == 1 || global.actingsingle[2] == 1)
|
|
232
|
susienotactingalone = 1;
|
|
233
|
}
|
|
234
|
if (actingsus == 4 && actconsus == 1)
|
|
235
|
{
|
|
236
|
if (simultotal == 1 && susienotactingalone == 0)
|
|
237
|
{
|
|
238
|
msgsetloc(0, * Susie acted alone!Wait for inputClose Message"* Susie acted alone!/%", "obj_multiboss_enemy1_slash_Step_0_gml_268_0" );
|
|
239
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
240
|
actingsus = 10;
|
|
241
|
}
|
|
242
|
else if (simultotal != 1)
|
|
243
|
{
|
|
244
|
msgsetloc(0, * Susie couldn't act alone!"* Susie couldn't act alone!", "obj_multiboss_enemy1_slash_Step_0_gml_274_0" );
|
|
245
|
scr_simultextscr_simultext
function scr_simultext(arg0)
{
__simulorder = 0;
if (arg0 == "kris")
__simulorder = simulorderkri;
if (arg0 == "susie")
__simulorder = simulordersus;
if (arg0 == "ralsei")
__simulorder = simulorderral;
if (arg0 == "noelle")
__simulorder = simulordernoe;
__yoffset = __simulorder * 30;
global.typer = 4;
battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer);
} ("susie");
|
|
246
|
if (simulordersus == 0)
|
|
247
|
actconsus = 20;
|
|
248
|
else
|
|
249
|
actconsus = 0;
|
|
250
|
}
|
|
251
|
else
|
|
252
|
{
|
|
253
|
msgsetloc(0, * Susie couldn't act alone!Wait for inputClose Message"* Susie couldn't act alone!/%", "obj_multiboss_enemy1_slash_Step_0_gml_280_0" );
|
|
254
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
255
|
actcon = 1;
|
|
256
|
actconsus = 0;
|
|
257
|
}
|
|
258
|
}
|
|
259
|
if (actingsus == 10 && actconsus == 1 && !i_ex(obj_writer))
|
|
260
|
{
|
|
261
|
scr_battle_sprite_setscr_battle_sprite_set
function scr_battle_sprite_set(arg0, arg1, arg2, arg3)
{
_charactor = arg0;
_charinstance = obj_herokris;
if (_charactor == "noelle")
{
_charinstance = obj_heronoelle;
_charnum = 4;
}
if (_charactor == "ralsei")
{
_charinstance = obj_heroralsei;
_charnum = 3;
}
if (_charactor == "susie")
{
_charinstance = obj_herosusie;
_charnum = 2;
}
if (_charactor == "kris")
{
_charinstance = obj_herokris;
_charnum = 1;
}
if (instance_exists(_charinstance))
{
with (_charinstance)
{
state = 8;
hurt = 0;
attacktimer = 0;
sprite_index = arg1;
image_speed = arg2;
image_index = 0;
if (arg3 == 0)
maxframes = image_number;
global.faceaction[myself] = 0;
}
}
} ("susie", spr_susie_chomp, 0.25, 1);
|
|
262
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 35);
|
|
263
|
msgsetloc(0, * Susie was able to execute arbitrary code alone!Wait for inputClose Message"* Susie was able to execute arbitrary code alone!/%", "obj_multiboss_enemy1_slash_Step_0_gml_291_0" );
|
|
264
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
265
|
actingsus = 11;
|
|
266
|
}
|
|
267
|
if (actingsus == 11 && actconsus == 1 && !i_ex(obj_writer))
|
|
268
|
{
|
|
269
|
global.typer = 50;
|
|
270
|
msgsetloc(0, What the!?Wait for inputClose Message"What the!?/%", "obj_multiboss_enemy1_slash_Step_0_gml_299_0" );
|
|
271
|
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;
}
} (obj_herosusie.x + 105, obj_herosusie.y, 7);
|
|
272
|
actingsus = 12;
|
|
273
|
talktimer = 0;
|
|
274
|
}
|
|
275
|
if (actingsus == 12 && actconsus == 1)
|
|
276
|
{
|
|
277
|
talktimer++;
|
|
278
|
if ((button3_p() && talktimer > 15) || !i_ex(obj_writer))
|
|
279
|
{
|
|
280
|
scr_battle_sprite_resetscr_battle_sprite_reset
function scr_battle_sprite_reset(arg0)
{
_charactor = arg0;
_charinstance = obj_herokris;
if (_charactor == "noelle")
{
_charinstance = obj_heronoelle;
_charnum = 4;
}
if (_charactor == "ralsei")
{
_charinstance = obj_heroralsei;
_charnum = 3;
}
if (_charactor == "susie")
{
_charinstance = obj_herosusie;
_charnum = 2;
}
if (_charactor == "kris")
{
_charinstance = obj_herokris;
_charnum = 1;
}
if (instance_exists(_charinstance))
{
with (_charinstance)
{
state = 0;
hurt = 0;
attacktimer = 0;
attacked = 0;
global.faceaction[myself] = 0;
}
}
} ("susie");
|
|
281
|
with (obj_writer)
|
|
282
|
instance_destroy();
|
|
283
|
actcon = 1;
|
|
284
|
actconsus = 0;
|
|
285
|
}
|
|
286
|
}
|
|
287
|
if (actingral == 1 && actconral == 1)
|
|
288
|
{
|
|
289
|
msgsetloc(0, * Ralsei's unique act A!.Wait for inputClose Message"* Ralsei's unique act A!./%", "obj_baseenemy_slash_Step_0_gml_190_0" );
|
|
290
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 35);
|
|
291
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
292
|
actcon = 1;
|
|
293
|
actconral = 0;
|
|
294
|
}
|
|
295
|
if (actingral == 2 && actconral == 1)
|
|
296
|
{
|
|
297
|
msgsetloc(0, * Ralsei's simul act!"* Ralsei's simul act!", "obj_baseenemy_slash_Step_0_gml_199_0" );
|
|
298
|
scr_mercyaddscr_mercyadd
function scr_mercyadd(arg0, arg1)
{
global.mercymod[arg0] += arg1;
if (global.mercymod[arg0] < 0)
global.mercymod[arg0] = 0;
if (global.mercymod[arg0] >= 100)
global.mercymod[arg0] = 100;
var _playsound = 1;
if (arg1 <= 0)
_playsound = 0;
with (obj_dmgwriter)
{
if (type == 5 && mercytimer < 8)
_playsound = 0;
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 35);
|
|
299
|
scr_simultextscr_simultext
function scr_simultext(arg0)
{
__simulorder = 0;
if (arg0 == "kris")
__simulorder = simulorderkri;
if (arg0 == "susie")
__simulorder = simulordersus;
if (arg0 == "ralsei")
__simulorder = simulorderral;
if (arg0 == "noelle")
__simulorder = simulordernoe;
__yoffset = __simulorder * 30;
global.typer = 4;
battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer);
} ("ralsei");
|
|
300
|
if (simulorderral == 0)
|
|
301
|
actconral = 20;
|
|
302
|
else
|
|
303
|
actconral = 0;
|
|
304
|
}
|
|
305
|
if (actingral == 3 && actconral == 1)
|
|
306
|
{
|
|
307
|
if (obj_multiboss_enemy1.ralseiflattercount == 0)
|
|
308
|
{
|
|
309
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "gerson" || _speaker == "ger" || _speaker == "gers")
global.typer = 85;
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
... ("no_name");
|
|
310
|
msgsetloc(0, * Ralsei flatter (multiple lines)!Wait for input"* Ralsei flatter (multiple lines)!/", "obj_multiboss_enemy1_slash_Step_0_gml_340_0" );
|
|
311
|
msgnextloc(* And the first time Ralsei flattersWait for input"* And the first time Ralsei flatters/", "obj_multiboss_enemy1_slash_Step_0_gml_341_0" );
|
|
312
|
msgnextloc(* The text is way longerWait for inputClose Message"* The text is way longer/%", "obj_multiboss_enemy1_slash_Step_0_gml_342_0" );
|
|
313
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
314
|
with (obj_multiboss_enemy1)
|
|
315
|
global.actsimulral[myself][2] = 1;
|
|
316
|
with (obj_multiboss_enemy2)
|
|
317
|
global.actsimulral[myself][2] = 1;
|
|
318
|
with (obj_multiboss_enemy3)
|
|
319
|
global.actsimulral[myself][2] = 1;
|
|
320
|
actcon = 1;
|
|
321
|
actconral = 0;
|
|
322
|
}
|
|
323
|
else
|
|
324
|
{
|
|
325
|
if (simultotal == 1)
|
|
326
|
{
|
|
327
|
msgsetloc(0, * Ralsei made a slightly cringeworthy flatter!Wait for inputClose Message"* Ralsei made a slightly cringeworthy flatter!/%", "obj_multiboss_enemy1_slash_Step_0_gml_354_0" );
|
|
328
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
329
|
}
|
|
330
|
else
|
|
331
|
{
|
|
332
|
msgsetloc(0, * Ralsei flatter!"* Ralsei flatter!", "obj_multiboss_enemy1_slash_Step_0_gml_359_0" );
|
|
333
|
scr_simultextscr_simultext
function scr_simultext(arg0)
{
__simulorder = 0;
if (arg0 == "kris")
__simulorder = simulorderkri;
if (arg0 == "susie")
__simulorder = simulordersus;
if (arg0 == "ralsei")
__simulorder = simulorderral;
if (arg0 == "noelle")
__simulorder = simulordernoe;
__yoffset = __simulorder * 30;
global.typer = 4;
battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer);
} ("ralsei");
|
|
334
|
}
|
|
335
|
if (simulorderral == 0)
|
|
336
|
actconral = 20;
|
|
337
|
else
|
|
338
|
actconral = 0;
|
|
339
|
}
|
|
340
|
obj_multiboss_enemy1.ralseiflattercount++;
|
|
341
|
}
|
|
342
|
if (actcon == 20 || actconsus == 20 || actconral == 20)
|
|
343
|
{
|
|
344
|
if (scr_terminate_writerscr_terminate_writer
function scr_terminate_writer()
{
__writerkilled = 0;
__writerkillable = 0;
__writerended = 0;
if (instance_exists(obj_writer))
{
obj_writer.__endcheckid = id;
with (obj_writer)
{
if (reachedend == 1)
{
with (__endcheckid)
__writerended++;
}
}
if (__writerended == instance_number(obj_writer))
__writerkillable = 1;
}
else
{
__writerkilled = 1;
}
if (button1_p() && __writerkillable == 1)
{
with (obj_writer)
instance_destroy();
__writerkilled = 1;
}
return __writerkilled;
} ())
|
|
345
|
{
|
|
346
|
actconsus = -1;
|
|
347
|
actconral = -1;
|
|
348
|
actcon = 1;
|
|
349
|
}
|
|
350
|
}
|
|
351
|
if (actcon == 1 && !instance_exists(obj_writer))
|
|
352
|
scr_nextactscr_nextact
function scr_nextact()
{
global.acting[0] = 0;
global.acting[1] = 0;
global.acting[2] = 0;
global.actingsingle[global.currentactingchar] = 0;
__minstance = global.monsterinstance[global.actingtarget[global.currentactingchar]];
with (__minstance)
{
acting = 0;
actcon = 0;
actconsus = 0;
actconral = 0;
actconnoe = 0;
}
var singleactcomplete = 0;
while (global.currentactingchar < 3)
{
global.currentactingchar++;
if (global.currentactingchar < 3)
{
if (global.actingsingle[global.currentactingchar] == 1)
{
__minstance = global.monsterinstance[global.actingtarget[global.currentactingchar]];
if (global.char[global.currentactingchar] == 2)
{
with (__minstance)
actconsus = 1;
if (global.actingsimul[global.currentactingchar] == 0)
singleactcomplete = 1;
break;
}
if (global.char[global.currentactingchar] == 3)
{
with (__minstance)
actconral = 1;
if (global.actingsimul[global.currentactingchar] == 0)
singleactcomplete = 1;
break;
}
if (global.char[global.currentactingchar] == 4)
{
with (__minstance)
actconnoe = 1;
if (global.actingsimul[global.currentactingchar] == 0)
singleactcomplete = 1;
break;
}
}
}
}
if (i_ex(obj_sound_of_justice_enemy) && obj_sound_of_justice_enemy.phase == 1)
{
global.charturn = 3;
global.myfight = 3;
global.currentactingchar = 0;
if (global.acting[0] == 0)
scr_nextact();
if (global.acting[0] == 1 && global.actingsimul[0] == 1)
scr_act_simul();
exit;
}
if (global.currentactingchar >= 3)
{
with (obj_monsterparent)
{
acting = 0;
actingsus = 0;
actingral = 0;
actingnoe = 0;
}
global.currentactingchar = 0;
scr_attackphase();
}
else if (!singleactcomplete)
{
scr_act_simul();
}
} ();
|
|
353
|
}
|
|
354
|
if (state == 3)
|
|
355
|
{
|
|
356
|
scr_enemyhurt_tired_after_damagescr_enemyhurt_tired_after_damage
function scr_enemyhurt_tired_after_damage(arg0)
{
if (global.monsterhp[myself] <= (global.monstermaxhp[myself] * arg0))
scr_monster_make_tired(myself);
} (0.5);
|
|
357
|
scr_enemy_hurtscr_enemy_hurt
function scr_enemy_hurt()
{
hurttimer -= 1;
if (hurttimer < 0)
{
state = 0;
}
else
{
if (global.monster[myself] == 0)
scr_defeatrun();
hurtshake += 1;
if (hurtshake > 1)
{
if (shakex > 0)
shakex -= 1;
if (shakex < 0)
shakex += 1;
shakex = -shakex;
hurtshake = 0;
}
}
} ();
|
|
358
|
}
|
|
359
|
if (healcon == 1)
|
|
360
|
healcon = 1.5;
|
|
361
|
if (healcon == 1.5 && !instance_exists(obj_writer))
|
|
362
|
{
|
|
363
|
global.turntimer = 999;
|
|
364
|
with (obj_writer)
|
|
365
|
instance_destroy();
|
|
366
|
global.typer = 50;
|
|
367
|
whohealed = 0;
|
|
368
|
if (instance_exists(obj_multiboss_enemy1) && global.monsterhp[obj_multiboss_enemy1.myself] <= (global.monstermaxhp[obj_multiboss_enemy1.myself] * 0.5))
|
|
369
|
whohealed = 1;
|
|
370
|
else if (instance_exists(obj_multiboss_enemy2) && global.monsterhp[obj_multiboss_enemy2.myself] <= (global.monstermaxhp[obj_multiboss_enemy2.myself] * 0.5))
|
|
371
|
whohealed = 2;
|
|
372
|
else if (instance_exists(obj_multiboss_enemy3) && global.monsterhp[obj_multiboss_enemy3.myself] <= (global.monstermaxhp[obj_multiboss_enemy3.myself] * 0.5))
|
|
373
|
whohealed = 3;
|
|
374
|
else if (instance_exists(obj_multiboss_enemy1) && instance_exists(obj_multiboss_enemy2) && global.monsterhp[obj_multiboss_enemy1.myself] <= (global.monstermaxhp[obj_multiboss_enemy1.myself] * 0.5) && global.monsterhp[obj_multiboss_enemy2.myself] <= (global.monstermaxhp[obj_multiboss_enemy2.myself] * 0.5))
|
|
375
|
whohealed = 4;
|
|
376
|
else if (instance_exists(obj_multiboss_enemy1) && instance_exists(obj_multiboss_enemy3) && global.monsterhp[obj_multiboss_enemy1.myself] <= (global.monstermaxhp[obj_multiboss_enemy1.myself] * 0.5) && global.monsterhp[obj_multiboss_enemy3.myself] <= (global.monstermaxhp[obj_multiboss_enemy3.myself] * 0.5))
|
|
377
|
whohealed = 5;
|
|
378
|
else if (instance_exists(obj_multiboss_enemy3) && instance_exists(obj_multiboss_enemy2) && global.monsterhp[obj_multiboss_enemy3.myself] <= (global.monstermaxhp[obj_multiboss_enemy3.myself] * 0.5) && global.monsterhp[obj_multiboss_enemy2.myself] <= (global.monstermaxhp[obj_multiboss_enemy2.myself] * 0.5))
|
|
379
|
whohealed = 6;
|
|
380
|
if (whohealed == 1)
|
|
381
|
{
|
|
382
|
with (obj_multiboss_enemy1)
|
|
383
|
{
|
|
384
|
msgsetloc(0, I'm at my acoustic limit..."I'm at my acoustic limit...", "obj_musical_controller_slash_Step_0_gml_52_0" );
|
|
385
|
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);
|
|
386
|
}
|
|
387
|
with (obj_multiboss_enemy2)
|
|
388
|
{
|
|
389
|
msgsetloc(0, Have a sip."Have a sip.", "obj_musical_controller_slash_Step_0_gml_57_0" );
|
|
390
|
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);
|
|
391
|
}
|
|
392
|
}
|
|
393
|
if (whohealed == 2)
|
|
394
|
{
|
|
395
|
with (obj_multiboss_enemy2)
|
|
396
|
{
|
|
397
|
msgsetloc(0, Mmm... I'm thirsty."Mmm... I'm thirsty.", "obj_musical_controller_slash_Step_0_gml_66_0" );
|
|
398
|
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);
|
|
399
|
}
|
|
400
|
with (obj_multiboss_enemy3)
|
|
401
|
{
|
|
402
|
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" );
|
|
403
|
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);
|
|
404
|
}
|
|
405
|
}
|
|
406
|
if (whohealed == 3)
|
|
407
|
{
|
|
408
|
with (obj_multiboss_enemy3)
|
|
409
|
{
|
|
410
|
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" );
|
|
411
|
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);
|
|
412
|
}
|
|
413
|
with (obj_multiboss_enemy1)
|
|
414
|
{
|
|
415
|
msgsetloc(0, (Stop being dramatic and heal!!)"(Stop being dramatic&and heal!!)", "obj_musical_controller_slash_Step_0_gml_85_0" );
|
|
416
|
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);
|
|
417
|
}
|
|
418
|
}
|
|
419
|
if (whohealed == 4)
|
|
420
|
{
|
|
421
|
with (obj_multiboss_enemy1)
|
|
422
|
{
|
|
423
|
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" );
|
|
424
|
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);
|
|
425
|
}
|
|
426
|
with (obj_multiboss_enemy2)
|
|
427
|
{
|
|
428
|
msgsetloc(0, Can all drink from one milk.)"Can all drink from one milk.)", "obj_musical_controller_slash_Step_0_gml_99_0" );
|
|
429
|
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);
|
|
430
|
}
|
|
431
|
}
|
|
432
|
if (whohealed == 5)
|
|
433
|
{
|
|
434
|
with (obj_multiboss_enemy1)
|
|
435
|
{
|
|
436
|
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" );
|
|
437
|
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);
|
|
438
|
}
|
|
439
|
with (obj_multiboss_enemy3)
|
|
440
|
{
|
|
441
|
msgsetloc(0, Can all drink from one milk.)"Can all drink from one milk.)", "obj_musical_controller_slash_Step_0_gml_113_0" );
|
|
442
|
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);
|
|
443
|
}
|
|
444
|
}
|
|
445
|
if (whohealed == 6)
|
|
446
|
{
|
|
447
|
with (obj_multiboss_enemy2)
|
|
448
|
{
|
|
449
|
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" );
|
|
450
|
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);
|
|
451
|
}
|
|
452
|
with (obj_multiboss_enemy3)
|
|
453
|
{
|
|
454
|
msgsetloc(0, Can all drink from one milk.)"Can all drink from one milk.)", "obj_musical_controller_slash_Step_0_gml_127_0" );
|
|
455
|
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);
|
|
456
|
}
|
|
457
|
}
|
|
458
|
healcon = 1.6;
|
|
459
|
healtimer = 0;
|
|
460
|
}
|
|
461
|
if (healcon == 1.6)
|
|
462
|
{
|
|
463
|
global.turntimer = 999;
|
|
464
|
healtimer++;
|
|
465
|
if (healtimer >= 60)
|
|
466
|
{
|
|
467
|
healcon = 1.7;
|
|
468
|
healtimer = 0;
|
|
469
|
}
|
|
470
|
}
|
|
471
|
if (healcon == 1.7)
|
|
472
|
{
|
|
473
|
with (obj_writer)
|
|
474
|
instance_destroy();
|
|
475
|
var yyy = 180;
|
|
476
|
if (whohealed == 1)
|
|
477
|
yyy = 90;
|
|
478
|
if (whohealed == 3)
|
|
479
|
yyy = 240;
|
|
480
|
snd_play(snd_magicsprinkle);
|
|
481
|
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);
|
|
482
|
with (milk)
|
|
483
|
{
|
|
484
|
image_speed = 0;
|
|
485
|
image_xscale = 4;
|
|
486
|
image_yscale = 4;
|
|
487
|
image_alpha = 0;
|
|
488
|
}
|
|
489
|
milk.depth = depth - 1;
|
|
490
|
healtimer = 0;
|
|
491
|
healcon = 2;
|
|
492
|
}
|
|
493
|
if (healcon == 2)
|
|
494
|
{
|
|
495
|
with (milk)
|
|
496
|
{
|
|
497
|
image_xscale -= 0.2;
|
|
498
|
image_yscale -= 0.2;
|
|
499
|
image_alpha += 0.1;
|
|
500
|
}
|
|
501
|
healtimer += 1;
|
|
502
|
if (healtimer >= 10)
|
|
503
|
{
|
|
504
|
healcon = 3;
|
|
505
|
healtimer = 0;
|
|
506
|
with (milk)
|
|
507
|
image_alpha = 1.4;
|
|
508
|
}
|
|
509
|
}
|
|
510
|
if (healcon == 3)
|
|
511
|
{
|
|
512
|
healtimer += 1;
|
|
513
|
if (healtimer >= 25)
|
|
514
|
{
|
|
515
|
healcon = 4;
|
|
516
|
healtimer = 0;
|
|
517
|
}
|
|
518
|
}
|
|
519
|
if (healcon == 4)
|
|
520
|
{
|
|
521
|
with (milk)
|
|
522
|
{
|
|
523
|
hspeed += 2;
|
|
524
|
image_alpha -= 0.1;
|
|
525
|
}
|
|
526
|
healtimer += 1;
|
|
527
|
if (healtimer == 10)
|
|
528
|
{
|
|
529
|
if (whohealed == 1 || whohealed == 4 || whohealed == 5)
|
|
530
|
{
|
|
531
|
with (obj_multiboss_enemy1)
|
|
532
|
{
|
|
533
|
global.monsterhp[myself] = global.monstermaxhp[myself];
|
|
534
|
healamt = instance_create(global.monsterx[myself], global.monstery[myself], obj_dmgwriter);
|
|
535
|
with (healamt)
|
|
536
|
{
|
|
537
|
delay = 8;
|
|
538
|
type = 3;
|
|
539
|
damage = global.monstermaxhp[obj_multiboss_enemy1.myself];
|
|
540
|
specialmessage = 3;
|
|
541
|
}
|
|
542
|
hanim = instance_create(x, y, obj_healanim);
|
|
543
|
hanim.target = id;
|
|
544
|
}
|
|
545
|
}
|
|
546
|
if (whohealed == 2 || whohealed == 4 || whohealed == 6)
|
|
547
|
{
|
|
548
|
with (obj_multiboss_enemy2)
|
|
549
|
{
|
|
550
|
global.monsterhp[myself] = global.monstermaxhp[myself];
|
|
551
|
healamt = instance_create(global.monsterx[myself], global.monstery[myself], obj_dmgwriter);
|
|
552
|
with (healamt)
|
|
553
|
{
|
|
554
|
delay = 8;
|
|
555
|
type = 3;
|
|
556
|
damage = global.monstermaxhp[obj_multiboss_enemy2.myself];
|
|
557
|
specialmessage = 3;
|
|
558
|
}
|
|
559
|
hanim = instance_create(x, y, obj_healanim);
|
|
560
|
hanim.target = id;
|
|
561
|
}
|
|
562
|
}
|
|
563
|
if (whohealed == 3 || whohealed == 5 || whohealed == 6)
|
|
564
|
{
|
|
565
|
with (obj_multiboss_enemy3)
|
|
566
|
{
|
|
567
|
global.monsterhp[myself] = global.monstermaxhp[myself];
|
|
568
|
healamt = instance_create(global.monsterx[myself], global.monstery[myself], obj_dmgwriter);
|
|
569
|
with (healamt)
|
|
570
|
{
|
|
571
|
delay = 8;
|
|
572
|
type = 3;
|
|
573
|
damage = global.monstermaxhp[obj_multiboss_enemy3.myself];
|
|
574
|
specialmessage = 3;
|
|
575
|
}
|
|
576
|
hanim = instance_create(x, y, obj_healanim);
|
|
577
|
hanim.target = id;
|
|
578
|
}
|
|
579
|
}
|
|
580
|
}
|
|
581
|
if (healtimer >= 15)
|
|
582
|
{
|
|
583
|
with (milk)
|
|
584
|
instance_destroy();
|
|
585
|
healcon = 5;
|
|
586
|
healtimer = 0;
|
|
587
|
}
|
|
588
|
}
|
|
589
|
if (healcon == 5)
|
|
590
|
{
|
|
591
|
healtimer += 1;
|
|
592
|
if (healtimer >= 30)
|
|
593
|
{
|
|
594
|
with (obj_writer)
|
|
595
|
instance_destroy();
|
|
596
|
healcon = 6;
|
|
597
|
if (whohealed == 1)
|
|
598
|
msgsetloc(0, * obj_multiboss_enemy1's HP went up!Wait for inputClose Message"* obj_multiboss_enemy1's HP went up!/%", "obj_musical_controller_slash_Step_0_gml_260_0" );
|
|
599
|
if (whohealed == 2)
|
|
600
|
msgsetloc(0, * obj_multiboss_enemy2's HP went up!Wait for inputClose Message"* obj_multiboss_enemy2's HP went up!/%", "obj_musical_controller_slash_Step_0_gml_261_0" );
|
|
601
|
if (whohealed == 3)
|
|
602
|
msgsetloc(0, * obj_multiboss_enemy3's HP went up!Wait for inputClose Message"* obj_multiboss_enemy3's HP went up!/%", "obj_musical_controller_slash_Step_0_gml_262_0" );
|
|
603
|
if (whohealed == 4)
|
|
604
|
msgsetloc(0, * obj_multiboss_enemy1's and obj_multiboss_enemy2's HP went up!Wait for inputClose Message"* obj_multiboss_enemy1's and obj_multiboss_enemy2's HP went up!/%", "obj_musical_controller_slash_Step_0_gml_263_0" );
|
|
605
|
if (whohealed == 5)
|
|
606
|
msgsetloc(0, * obj_multiboss_enemy1's and obj_multiboss_enemy3's HP went up!Wait for inputClose Message"* obj_multiboss_enemy1's and obj_multiboss_enemy3's HP went up!/%", "obj_musical_controller_slash_Step_0_gml_264_0" );
|
|
607
|
if (whohealed == 6)
|
|
608
|
msgsetloc(0, * obj_multiboss_enemy2's and obj_multiboss_enemy3's HP went up!Wait for inputClose Message"* obj_multiboss_enemy2's and obj_multiboss_enemy3's HP went up!/%", "obj_musical_controller_slash_Step_0_gml_265_0" );
|
|
609
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
610
|
}
|
|
611
|
}
|
|
612
|
if (healcon == 6)
|
|
613
|
{
|
|
614
|
global.turntimer = 999;
|
|
615
|
if (!instance_exists(obj_writer))
|
|
616
|
{
|
|
617
|
global.fc = 0;
|
|
618
|
healcon = 0;
|
|
619
|
healtimer = 0;
|
|
620
|
global.turntimer = 1;
|
|
621
|
}
|
|
622
|
}
|
|
623
|
|
|
624
|
enum e__VW
|
|
625
|
{
|
|
626
|
XView,
|
|
627
|
YView,
|
|
628
|
WView,
|
|
629
|
HView,
|
|
630
|
Angle,
|
|
631
|
HBorder,
|
|
632
|
VBorder,
|
|
633
|
HSpeed,
|
|
634
|
VSpeed,
|
|
635
|
Object,
|
|
636
|
Visible,
|
|
637
|
XPort,
|
|
638
|
YPort,
|
|
639
|
WPort,
|
|
640
|
HPort,
|
|
641
|
Camera,
|
|
642
|
SurfaceID
|
|
643
|
}
|