|
1
|
if (theystoppeddancing == 2 && !instance_exists(obj_writer))
|
|
2
|
{
|
|
3
|
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 == "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;
}
if (global.fighting == 1)
... ("none");
|
|
4
|
theystoppeddancing = 0;
|
|
5
|
alarm[0] = 2; gml_Object_obj_musical_controller_Alarm_0.gml
with (obj_writer)
instance_destroy();
if (theystoppeddancing == 1)
{
alarm[0] = -1;
global.typer = 6;
theystoppeddancing = 2;
scr_speaker("susie");
msgsetloc(0, * They stopped dancing!Wait for input"* They stopped dancing!/", "obj_musical_controller_slash_Alarm_0_gml_11_0" );
msgnextloc(* We need to do it again!Wait for inputClose Message"* We need to do it again!/%", "obj_musical_controller_slash_Alarm_0_gml_12_0" );
c_facenext("none", 0);
scr_battletext();
exit;
}
if ((global.hp[1] <= 0 && happyfeetscene == 0) || (obj_sweet_enemy.actCounter > 3 && happyfeetscene == 0))
{
with (obj_battlecontroller)
noreturn = 1;
obj_sweet_enemy.dancecon = 1;
obj_sweet_enemy.postattackscene = 1;
if (global.hp[2] < 1)
{
star = 1;
scr_healitemspell(abs(global.hp[2]) + 1);
}
if (global.hp[3] < 1)
{
star = 2;
scr_healitemspell(abs(global.hp[3]) + 1);
}
exit;
}
skiptext = 0;
with (obj_battlecontroller)
noreturn = 0;
with (obj_battlecontroller)
{
if (obj_musical_controller.ralseiportrait == 1)
scr_speaker("ralsei");
alarm[2] = 2;
}
|
|
6
|
}
|
|
7
|
if (skiptext == 1)
|
|
8
|
{
|
|
9
|
if (button1_p())
|
|
10
|
{
|
|
11
|
if (alarm[1] > 1 && alarm[1] <= 45) gml_Object_obj_musical_controller_Alarm_1.gml
with (obj_writer)
instance_destroy();
global.typer = 50;
if (obj_sweet_enemy.hurtstate2 == 1)
{
with (obj_sweet_enemy)
{
hurtstate2 = 0;
msgsetloc(0, W-wait, I can't dance with bad guys!!"W-wait, I can't dance&with bad guys!!", "obj_musical_controller_slash_Alarm_1_gml_12_0" );
scr_enemyblcon(x - 10, global.monstery[myself], 10);
}
}
if (obj_kk_enemy.hurtstate2 == 1)
{
with (obj_kk_enemy)
{
hurtstate2 = 0;
msgsetloc(0, I forgot my next dance move!"I forgot my next&dance move!", "obj_musical_controller_slash_Alarm_1_gml_21_0" );
scr_enemyblcon(x - 10, global.monstery[myself], 10);
}
}
if (obj_hatguy_enemy.hurtstate2 == 1)
{
with (obj_hatguy_enemy)
{
hurtstate2 = 0;
msgsetloc(0, H-hey, I'm not gonna dance with you!"H-hey, I'm not gonna&dance with you!", "obj_musical_controller_slash_Alarm_1_gml_30_0" );
scr_enemyblcon(x - 10, global.monstery[myself], 10);
}
}
|
|
12
|
{
|
|
13
|
alarm[1] = 1; gml_Object_obj_musical_controller_Alarm_1.gml
with (obj_writer)
instance_destroy();
global.typer = 50;
if (obj_sweet_enemy.hurtstate2 == 1)
{
with (obj_sweet_enemy)
{
hurtstate2 = 0;
msgsetloc(0, W-wait, I can't dance with bad guys!!"W-wait, I can't dance&with bad guys!!", "obj_musical_controller_slash_Alarm_1_gml_12_0" );
scr_enemyblcon(x - 10, global.monstery[myself], 10);
}
}
if (obj_kk_enemy.hurtstate2 == 1)
{
with (obj_kk_enemy)
{
hurtstate2 = 0;
msgsetloc(0, I forgot my next dance move!"I forgot my next&dance move!", "obj_musical_controller_slash_Alarm_1_gml_21_0" );
scr_enemyblcon(x - 10, global.monstery[myself], 10);
}
}
if (obj_hatguy_enemy.hurtstate2 == 1)
{
with (obj_hatguy_enemy)
{
hurtstate2 = 0;
msgsetloc(0, H-hey, I'm not gonna dance with you!"H-hey, I'm not gonna&dance with you!", "obj_musical_controller_slash_Alarm_1_gml_30_0" );
scr_enemyblcon(x - 10, global.monstery[myself], 10);
}
}
|
|
14
|
if (alarm[0] > 60)
|
|
15
|
alarm[0] = 60; gml_Object_obj_musical_controller_Alarm_0.gml
with (obj_writer)
instance_destroy();
if (theystoppeddancing == 1)
{
alarm[0] = -1;
global.typer = 6;
theystoppeddancing = 2;
scr_speaker("susie");
msgsetloc(0, * They stopped dancing!Wait for input"* They stopped dancing!/", "obj_musical_controller_slash_Alarm_0_gml_11_0" );
msgnextloc(* We need to do it again!Wait for inputClose Message"* We need to do it again!/%", "obj_musical_controller_slash_Alarm_0_gml_12_0" );
c_facenext("none", 0);
scr_battletext();
exit;
}
if ((global.hp[1] <= 0 && happyfeetscene == 0) || (obj_sweet_enemy.actCounter > 3 && happyfeetscene == 0))
{
with (obj_battlecontroller)
noreturn = 1;
obj_sweet_enemy.dancecon = 1;
obj_sweet_enemy.postattackscene = 1;
if (global.hp[2] < 1)
{
star = 1;
scr_healitemspell(abs(global.hp[2]) + 1);
}
if (global.hp[3] < 1)
{
star = 2;
scr_healitemspell(abs(global.hp[3]) + 1);
}
exit;
}
skiptext = 0;
with (obj_battlecontroller)
noreturn = 0;
with (obj_battlecontroller)
{
if (obj_musical_controller.ralseiportrait == 1)
scr_speaker("ralsei");
alarm[2] = 2;
}
|
|
16
|
}
|
|
17
|
if (alarm[0] > 1 && alarm[0] <= 60) gml_Object_obj_musical_controller_Alarm_0.gml
with (obj_writer)
instance_destroy();
if (theystoppeddancing == 1)
{
alarm[0] = -1;
global.typer = 6;
theystoppeddancing = 2;
scr_speaker("susie");
msgsetloc(0, * They stopped dancing!Wait for input"* They stopped dancing!/", "obj_musical_controller_slash_Alarm_0_gml_11_0" );
msgnextloc(* We need to do it again!Wait for inputClose Message"* We need to do it again!/%", "obj_musical_controller_slash_Alarm_0_gml_12_0" );
c_facenext("none", 0);
scr_battletext();
exit;
}
if ((global.hp[1] <= 0 && happyfeetscene == 0) || (obj_sweet_enemy.actCounter > 3 && happyfeetscene == 0))
{
with (obj_battlecontroller)
noreturn = 1;
obj_sweet_enemy.dancecon = 1;
obj_sweet_enemy.postattackscene = 1;
if (global.hp[2] < 1)
{
star = 1;
scr_healitemspell(abs(global.hp[2]) + 1);
}
if (global.hp[3] < 1)
{
star = 2;
scr_healitemspell(abs(global.hp[3]) + 1);
}
exit;
}
skiptext = 0;
with (obj_battlecontroller)
noreturn = 0;
with (obj_battlecontroller)
{
if (obj_musical_controller.ralseiportrait == 1)
scr_speaker("ralsei");
alarm[2] = 2;
}
|
|
18
|
alarm[0] = 1; gml_Object_obj_musical_controller_Alarm_0.gml
with (obj_writer)
instance_destroy();
if (theystoppeddancing == 1)
{
alarm[0] = -1;
global.typer = 6;
theystoppeddancing = 2;
scr_speaker("susie");
msgsetloc(0, * They stopped dancing!Wait for input"* They stopped dancing!/", "obj_musical_controller_slash_Alarm_0_gml_11_0" );
msgnextloc(* We need to do it again!Wait for inputClose Message"* We need to do it again!/%", "obj_musical_controller_slash_Alarm_0_gml_12_0" );
c_facenext("none", 0);
scr_battletext();
exit;
}
if ((global.hp[1] <= 0 && happyfeetscene == 0) || (obj_sweet_enemy.actCounter > 3 && happyfeetscene == 0))
{
with (obj_battlecontroller)
noreturn = 1;
obj_sweet_enemy.dancecon = 1;
obj_sweet_enemy.postattackscene = 1;
if (global.hp[2] < 1)
{
star = 1;
scr_healitemspell(abs(global.hp[2]) + 1);
}
if (global.hp[3] < 1)
{
star = 2;
scr_healitemspell(abs(global.hp[3]) + 1);
}
exit;
}
skiptext = 0;
with (obj_battlecontroller)
noreturn = 0;
with (obj_battlecontroller)
{
if (obj_musical_controller.ralseiportrait == 1)
scr_speaker("ralsei");
alarm[2] = 2;
}
|
|
19
|
}
|
|
20
|
}
|
|
21
|
if (d == 1)
|
|
22
|
global.turntimer = 999;
|
|
23
|
if (d == 1 && !instance_exists(obj_writer))
|
|
24
|
{
|
|
25
|
d = 0;
|
|
26
|
alarm[0] = 61; gml_Object_obj_musical_controller_Alarm_0.gml
with (obj_writer)
instance_destroy();
if (theystoppeddancing == 1)
{
alarm[0] = -1;
global.typer = 6;
theystoppeddancing = 2;
scr_speaker("susie");
msgsetloc(0, * They stopped dancing!Wait for input"* They stopped dancing!/", "obj_musical_controller_slash_Alarm_0_gml_11_0" );
msgnextloc(* We need to do it again!Wait for inputClose Message"* We need to do it again!/%", "obj_musical_controller_slash_Alarm_0_gml_12_0" );
c_facenext("none", 0);
scr_battletext();
exit;
}
if ((global.hp[1] <= 0 && happyfeetscene == 0) || (obj_sweet_enemy.actCounter > 3 && happyfeetscene == 0))
{
with (obj_battlecontroller)
noreturn = 1;
obj_sweet_enemy.dancecon = 1;
obj_sweet_enemy.postattackscene = 1;
if (global.hp[2] < 1)
{
star = 1;
scr_healitemspell(abs(global.hp[2]) + 1);
}
if (global.hp[3] < 1)
{
star = 2;
scr_healitemspell(abs(global.hp[3]) + 1);
}
exit;
}
skiptext = 0;
with (obj_battlecontroller)
noreturn = 0;
with (obj_battlecontroller)
{
if (obj_musical_controller.ralseiportrait == 1)
scr_speaker("ralsei");
alarm[2] = 2;
}
|
|
27
|
alarm[1] = 1; gml_Object_obj_musical_controller_Alarm_1.gml
with (obj_writer)
instance_destroy();
global.typer = 50;
if (obj_sweet_enemy.hurtstate2 == 1)
{
with (obj_sweet_enemy)
{
hurtstate2 = 0;
msgsetloc(0, W-wait, I can't dance with bad guys!!"W-wait, I can't dance&with bad guys!!", "obj_musical_controller_slash_Alarm_1_gml_12_0" );
scr_enemyblcon(x - 10, global.monstery[myself], 10);
}
}
if (obj_kk_enemy.hurtstate2 == 1)
{
with (obj_kk_enemy)
{
hurtstate2 = 0;
msgsetloc(0, I forgot my next dance move!"I forgot my next&dance move!", "obj_musical_controller_slash_Alarm_1_gml_21_0" );
scr_enemyblcon(x - 10, global.monstery[myself], 10);
}
}
if (obj_hatguy_enemy.hurtstate2 == 1)
{
with (obj_hatguy_enemy)
{
hurtstate2 = 0;
msgsetloc(0, H-hey, I'm not gonna dance with you!"H-hey, I'm not gonna&dance with you!", "obj_musical_controller_slash_Alarm_1_gml_30_0" );
scr_enemyblcon(x - 10, global.monstery[myself], 10);
}
}
|
|
28
|
}
|
|
29
|
if (scon == 1)
|
|
30
|
scon = 1.5;
|
|
31
|
if (scon == 1.5 && !instance_exists(obj_writer))
|
|
32
|
{
|
|
33
|
global.turntimer = 999;
|
|
34
|
with (obj_writer)
|
|
35
|
instance_destroy();
|
|
36
|
global.typer = 50;
|
|
37
|
whohealed = 0;
|
|
38
|
if (instance_exists(obj_sweet_enemy) && instance_exists(obj_kk_enemy) && instance_exists(obj_hatguy_enemy) && global.monsterhp[obj_sweet_enemy.myself] < 2 && global.monsterhp[obj_kk_enemy.myself] < 2 && global.monsterhp[obj_hatguy_enemy.myself] < 2)
|
|
39
|
whohealed = 7;
|
|
40
|
else if (instance_exists(obj_sweet_enemy) && instance_exists(obj_kk_enemy) && global.monsterhp[obj_sweet_enemy.myself] < 2 && global.monsterhp[obj_kk_enemy.myself] < 2)
|
|
41
|
whohealed = 4;
|
|
42
|
else if (instance_exists(obj_sweet_enemy) && instance_exists(obj_hatguy_enemy) && global.monsterhp[obj_sweet_enemy.myself] < 2 && global.monsterhp[obj_hatguy_enemy.myself] < 2)
|
|
43
|
whohealed = 5;
|
|
44
|
else if (instance_exists(obj_hatguy_enemy) && instance_exists(obj_kk_enemy) && global.monsterhp[obj_hatguy_enemy.myself] < 2 && global.monsterhp[obj_kk_enemy.myself] < 2)
|
|
45
|
whohealed = 6;
|
|
46
|
else if (instance_exists(obj_sweet_enemy) && global.monsterhp[obj_sweet_enemy.myself] < 2)
|
|
47
|
whohealed = 1;
|
|
48
|
else if (instance_exists(obj_kk_enemy) && global.monsterhp[obj_kk_enemy.myself] < 2)
|
|
49
|
whohealed = 2;
|
|
50
|
else if (instance_exists(obj_hatguy_enemy) && global.monsterhp[obj_hatguy_enemy.myself] < 2)
|
|
51
|
whohealed = 3;
|
|
52
|
if (whohealed == 1)
|
|
53
|
{
|
|
54
|
with (obj_sweet_enemy)
|
|
55
|
{
|
|
56
|
msgsetloc(0, I'm at my acoustic limit..."I'm at my acoustic limit...", "obj_musical_controller_slash_Step_0_gml_52_0" );
|
|
57
|
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_clubs;
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_clubs;
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;
}
} (x - 10, global.monstery[myself], 10);
|
|
58
|
}
|
|
59
|
with (obj_kk_enemy)
|
|
60
|
{
|
|
61
|
msgsetloc(0, Have a sip."Have a sip.", "obj_musical_controller_slash_Step_0_gml_57_0" );
|
|
62
|
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_clubs;
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_clubs;
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;
}
} (x - 10, global.monstery[myself], 10);
|
|
63
|
}
|
|
64
|
}
|
|
65
|
if (whohealed == 2)
|
|
66
|
{
|
|
67
|
with (obj_kk_enemy)
|
|
68
|
{
|
|
69
|
msgsetloc(0, Mmm... I'm thirsty."Mmm... I'm thirsty.", "obj_musical_controller_slash_Step_0_gml_66_0" );
|
|
70
|
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_clubs;
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_clubs;
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;
}
} (x - 10, global.monstery[myself], 10);
|
|
71
|
}
|
|
72
|
with (obj_hatguy_enemy)
|
|
73
|
{
|
|
74
|
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" );
|
|
75
|
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_clubs;
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_clubs;
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;
}
} (x - 10, global.monstery[myself], 10);
|
|
76
|
}
|
|
77
|
}
|
|
78
|
if (whohealed == 3)
|
|
79
|
{
|
|
80
|
with (obj_hatguy_enemy)
|
|
81
|
{
|
|
82
|
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" );
|
|
83
|
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_clubs;
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_clubs;
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;
}
} (x - 10, global.monstery[myself], 10);
|
|
84
|
}
|
|
85
|
with (obj_sweet_enemy)
|
|
86
|
{
|
|
87
|
msgsetloc(0, (Stop being dramatic and heal!!)"(Stop being dramatic&and heal!!)", "obj_musical_controller_slash_Step_0_gml_85_0" );
|
|
88
|
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_clubs;
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_clubs;
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;
}
} (x - 10, global.monstery[myself], 10);
|
|
89
|
}
|
|
90
|
}
|
|
91
|
if (whohealed == 4)
|
|
92
|
{
|
|
93
|
with (obj_sweet_enemy)
|
|
94
|
{
|
|
95
|
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" );
|
|
96
|
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_clubs;
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_clubs;
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;
}
} (x - 10, global.monstery[myself], 10);
|
|
97
|
}
|
|
98
|
with (obj_kk_enemy)
|
|
99
|
{
|
|
100
|
msgsetloc(0, Can all drink from one milk."Can all drink from one milk.", "obj_musical_controller_slash_Step_0_gml_99_0" );
|
|
101
|
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_clubs;
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_clubs;
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;
}
} (x - 10, global.monstery[myself], 10);
|
|
102
|
}
|
|
103
|
}
|
|
104
|
if (whohealed == 5)
|
|
105
|
{
|
|
106
|
with (obj_sweet_enemy)
|
|
107
|
{
|
|
108
|
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" );
|
|
109
|
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_clubs;
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_clubs;
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;
}
} (x - 10, global.monstery[myself], 10);
|
|
110
|
}
|
|
111
|
with (obj_hatguy_enemy)
|
|
112
|
{
|
|
113
|
msgsetloc(0, Can all drink from one milk."Can all drink from one milk.", "obj_musical_controller_slash_Step_0_gml_113_0" );
|
|
114
|
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_clubs;
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_clubs;
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;
}
} (x - 10, global.monstery[myself], 10);
|
|
115
|
}
|
|
116
|
}
|
|
117
|
if (whohealed == 6)
|
|
118
|
{
|
|
119
|
with (obj_kk_enemy)
|
|
120
|
{
|
|
121
|
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" );
|
|
122
|
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_clubs;
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_clubs;
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;
}
} (x - 10, global.monstery[myself], 10);
|
|
123
|
}
|
|
124
|
with (obj_hatguy_enemy)
|
|
125
|
{
|
|
126
|
msgsetloc(0, Can all drink from one milk."Can all drink from one milk.", "obj_musical_controller_slash_Step_0_gml_127_0" );
|
|
127
|
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_clubs;
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_clubs;
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;
}
} (x - 10, global.monstery[myself], 10);
|
|
128
|
}
|
|
129
|
}
|
|
130
|
if (whohealed == 7)
|
|
131
|
{
|
|
132
|
with (obj_sweet_enemy)
|
|
133
|
{
|
|
134
|
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" );
|
|
135
|
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_clubs;
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_clubs;
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;
}
} (x - 10, global.monstery[myself], 10);
|
|
136
|
}
|
|
137
|
with (obj_kk_enemy)
|
|
138
|
{
|
|
139
|
msgsetloc(0, Can all drink from one milk."Can all drink from one milk.", "obj_musical_controller_slash_Step_0_gml_127_0" );
|
|
140
|
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_clubs;
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_clubs;
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;
}
} (x - 10, global.monstery[myself], 10);
|
|
141
|
}
|
|
142
|
}
|
|
143
|
scon = 1.6;
|
|
144
|
milktimer = 0;
|
|
145
|
}
|
|
146
|
if (scon == 1.6)
|
|
147
|
{
|
|
148
|
milktimer++;
|
|
149
|
if (milktimer >= 60)
|
|
150
|
{
|
|
151
|
scon = 1.7;
|
|
152
|
milktimer = 0;
|
|
153
|
}
|
|
154
|
}
|
|
155
|
if (scon == 1.7)
|
|
156
|
{
|
|
157
|
with (obj_writer)
|
|
158
|
instance_destroy();
|
|
159
|
var yy = 180;
|
|
160
|
if (whohealed == 1)
|
|
161
|
yy = 90;
|
|
162
|
if (whohealed == 3)
|
|
163
|
yy = 240;
|
|
164
|
snd_play(snd_magicsprinkle);
|
|
165
|
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() + yy, spr_checkers_milk);
|
|
166
|
with (milk)
|
|
167
|
{
|
|
168
|
image_speed = 0;
|
|
169
|
image_xscale = 4;
|
|
170
|
image_yscale = 4;
|
|
171
|
image_alpha = 0;
|
|
172
|
}
|
|
173
|
milk.depth = depth - 1;
|
|
174
|
milktimer = 0;
|
|
175
|
scon = 2;
|
|
176
|
}
|
|
177
|
if (scon == 2)
|
|
178
|
{
|
|
179
|
with (milk)
|
|
180
|
{
|
|
181
|
image_xscale -= 0.2;
|
|
182
|
image_yscale -= 0.2;
|
|
183
|
image_alpha += 0.1;
|
|
184
|
}
|
|
185
|
milktimer += 1;
|
|
186
|
if (milktimer >= 10)
|
|
187
|
{
|
|
188
|
scon = 3;
|
|
189
|
milktimer = 0;
|
|
190
|
with (milk)
|
|
191
|
image_alpha = 1.4;
|
|
192
|
}
|
|
193
|
}
|
|
194
|
if (scon == 3)
|
|
195
|
{
|
|
196
|
milktimer += 1;
|
|
197
|
if (milktimer >= 25)
|
|
198
|
{
|
|
199
|
scon = 4;
|
|
200
|
milktimer = 0;
|
|
201
|
}
|
|
202
|
}
|
|
203
|
if (scon == 4)
|
|
204
|
{
|
|
205
|
with (milk)
|
|
206
|
{
|
|
207
|
hspeed += 2;
|
|
208
|
image_alpha -= 0.1;
|
|
209
|
}
|
|
210
|
milktimer += 1;
|
|
211
|
if (milktimer == 10)
|
|
212
|
{
|
|
213
|
if (whohealed == 1 || whohealed == 4 || whohealed == 5 || whohealed == 7)
|
|
214
|
{
|
|
215
|
with (obj_sweet_enemy)
|
|
216
|
{
|
|
217
|
global.monsterhp[myself] = global.monstermaxhp[myself];
|
|
218
|
healamt = instance_create(global.monsterx[myself], global.monstery[myself], obj_dmgwriter);
|
|
219
|
with (healamt)
|
|
220
|
{
|
|
221
|
delay = 8;
|
|
222
|
type = 3;
|
|
223
|
damage = global.monstermaxhp[obj_sweet_enemy.myself];
|
|
224
|
specialmessage = 3;
|
|
225
|
}
|
|
226
|
hanim = instance_create(x, y, obj_healanim);
|
|
227
|
hanim.target = id;
|
|
228
|
}
|
|
229
|
}
|
|
230
|
if (whohealed == 2 || whohealed == 4 || whohealed == 6 || whohealed == 7)
|
|
231
|
{
|
|
232
|
with (obj_kk_enemy)
|
|
233
|
{
|
|
234
|
global.monsterhp[myself] = global.monstermaxhp[myself];
|
|
235
|
healamt = instance_create(global.monsterx[myself], global.monstery[myself], obj_dmgwriter);
|
|
236
|
with (healamt)
|
|
237
|
{
|
|
238
|
delay = 8;
|
|
239
|
type = 3;
|
|
240
|
damage = global.monstermaxhp[obj_kk_enemy.myself];
|
|
241
|
specialmessage = 3;
|
|
242
|
}
|
|
243
|
hanim = instance_create(x, y, obj_healanim);
|
|
244
|
hanim.target = id;
|
|
245
|
}
|
|
246
|
}
|
|
247
|
if (whohealed == 3 || whohealed == 5 || whohealed == 6 || whohealed == 7)
|
|
248
|
{
|
|
249
|
with (obj_hatguy_enemy)
|
|
250
|
{
|
|
251
|
global.monsterhp[myself] = global.monstermaxhp[myself];
|
|
252
|
healamt = instance_create(global.monsterx[myself], global.monstery[myself], obj_dmgwriter);
|
|
253
|
with (healamt)
|
|
254
|
{
|
|
255
|
delay = 8;
|
|
256
|
type = 3;
|
|
257
|
damage = global.monstermaxhp[obj_hatguy_enemy.myself];
|
|
258
|
specialmessage = 3;
|
|
259
|
}
|
|
260
|
hanim = instance_create(x, y, obj_healanim);
|
|
261
|
hanim.target = id;
|
|
262
|
}
|
|
263
|
}
|
|
264
|
}
|
|
265
|
if (milktimer >= 15)
|
|
266
|
{
|
|
267
|
with (milk)
|
|
268
|
instance_destroy();
|
|
269
|
scon = 5;
|
|
270
|
milktimer = 0;
|
|
271
|
}
|
|
272
|
}
|
|
273
|
if (scon == 5)
|
|
274
|
{
|
|
275
|
milktimer += 1;
|
|
276
|
if (milktimer >= 30)
|
|
277
|
{
|
|
278
|
with (obj_writer)
|
|
279
|
instance_destroy();
|
|
280
|
scon = 6;
|
|
281
|
if (whohealed == 1)
|
|
282
|
msgsetloc(0, * SWEET's HP went up!Wait for inputClose Message"* SWEET's HP went up!/%", "obj_musical_controller_slash_Step_0_gml_260_0" );
|
|
283
|
if (whohealed == 2)
|
|
284
|
msgsetloc(0, * K_K's HP went up!Wait for inputClose Message"* K_K's HP went up!/%", "obj_musical_controller_slash_Step_0_gml_261_0" );
|
|
285
|
if (whohealed == 3)
|
|
286
|
msgsetloc(0, * CAPN's HP went up!Wait for inputClose Message"* CAPN's HP went up!/%", "obj_musical_controller_slash_Step_0_gml_262_0" );
|
|
287
|
if (whohealed == 4)
|
|
288
|
msgsetloc(0, * SWEET's and K_K's HP went up!Wait for inputClose Message"* SWEET's and K_K's HP went up!/%", "obj_musical_controller_slash_Step_0_gml_263_0" );
|
|
289
|
if (whohealed == 5)
|
|
290
|
msgsetloc(0, * SWEET's and CAPN's HP went up!Wait for inputClose Message"* SWEET's and CAPN's HP went up!/%", "obj_musical_controller_slash_Step_0_gml_264_0" );
|
|
291
|
if (whohealed == 6)
|
|
292
|
msgsetloc(0, * K_K's and CAPN's HP went up!Wait for inputClose Message"* K_K's and CAPN's HP went up!/%", "obj_musical_controller_slash_Step_0_gml_265_0" );
|
|
293
|
if (whohealed == 7)
|
|
294
|
{
|
|
295
|
msgsetloc(0, * SWEET's and K_K's HP went up!Wait for input"* SWEET's and K_K's HP went up!/", "obj_musical_controller_slash_Step_0_gml_284_0" );
|
|
296
|
msgnextloc(* CAPN's HP went up!Wait for inputClose Message"* CAPN's HP went up!/%", "obj_musical_controller_slash_Step_0_gml_262_0" );
|
|
297
|
}
|
|
298
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
299
|
}
|
|
300
|
}
|
|
301
|
if (scon == 6)
|
|
302
|
{
|
|
303
|
global.turntimer = 999;
|
|
304
|
if (!instance_exists(obj_writer))
|
|
305
|
{
|
|
306
|
global.fc = 0;
|
|
307
|
scon = 7;
|
|
308
|
milktimer = 0;
|
|
309
|
global.turntimer = 5;
|
|
310
|
}
|
|
311
|
}
|
|
312
|
if (scon == 7)
|
|
313
|
{
|
|
314
|
if (i_ex(obj_battlecontroller) && obj_battlecontroller.alarm[2] > 1)
|
|
315
|
{
|
|
316
|
scon = 0;
|
|
317
|
obj_battlecontroller.alarm[2] = 1;
|
|
318
|
}
|
|
319
|
}
|