|
1
|
if (global.monster[myself] == 1)
|
|
2
|
{
|
|
3
|
if (global.mnfight == 2 && global.turntimer <= -15 && fight_type == "solo" && myattackchoice == 3)
|
|
4
|
{
|
|
5
|
fight_type = "none its over lmao";
|
|
6
|
idlesprite = spr_enemy_aqua_laugh;
|
|
7
|
sparedsprite = spr_enemy_aqua_laugh;
|
|
8
|
var outro1 = stringsetloc(Uee hee hee!! Now, your turn, your turn!!Wait for inputClose Message"Uee hee hee!!&Now, your turn,&your turn!!/%", "obj_aqua_enemy_slash_Step_0_gml_15_0" );
|
|
9
|
var outro2 = stringsetloc(Magic, magic, Omega, magic!Wait for inputClose Message"Magic, magic,&Omega, magic!/%", "obj_aqua_enemy_slash_Step_0_gml_16_0" );
|
|
10
|
var outro3 = stringsetloc(... what?Wait for inputClose Message"... what?/%", "obj_aqua_enemy_slash_Step_0_gml_18_0" );
|
|
11
|
var outro4 = stringsetloc(You can't do it!?Wait for inputClose Message"You can't do it!?/%", "obj_aqua_enemy_slash_Step_0_gml_19_0" );
|
|
12
|
var outro5 = stringsetloc(Uuu, how boring...Wait for inputClose Message"Uuu, how boring.../%", "obj_aqua_enemy_slash_Step_0_gml_20_0" );
|
|
13
|
var outro6 = stringsetloc(No more battle!Wait for inputClose Message"No more battle!/%", "obj_aqua_enemy_slash_Step_0_gml_21_0" );
|
|
14
|
global.typer = 50;
|
|
15
|
msgset(0, outro1);
|
|
16
|
msgset_add(outro2, x - 20, y + 25, 10);
|
|
17
|
msgset_add_func(function()
|
|
18
|
{
|
|
19
|
talked = -1;
|
|
20
|
talktimer = 999;
|
|
21
|
scr_var_delayed("talked", 1, 90);
|
|
22
|
});
|
|
23
|
msgset_add(outro3, x - 20, y + 25, 10, 50, function()
|
|
24
|
{
|
|
25
|
idlesprite = spr_enemy_aqua_unamused;
|
|
26
|
sparedsprite = spr_enemy_aqua_unamused;
|
|
27
|
mus_volume(global.batmusic[1], 0, 5);
|
|
28
|
});
|
|
29
|
msgset_add(outro4, x - 20, y + 25, 10);
|
|
30
|
msgset_add(outro5, x - 20, y + 25, 10);
|
|
31
|
msgset_add(outro6, x - 20, y + 25, 10);
|
|
32
|
msgset_add_func(function()
|
|
33
|
{
|
|
34
|
evaluate();
|
|
35
|
scr_wincombatscr_wincombat
function scr_wincombat()
{
if (global.flag[60 dojo_next_encounter] == 0 || global.flag[36 dojo_failure] == 1)
{
global.myfight = 7;
global.mnfight = -1;
with (obj_battlecontroller)
victory = 1;
for (i = 0; i < 3; i += 1)
{
if (global.monster[i] == 1 && i_ex(global.monsterinstance[i]))
{
with (global.monsterinstance[i])
scr_monsterdefeat();
}
}
}
else
{
for (i = 0; i < 3; i += 1)
{
if (global.monster[i] == 1 && i_ex(global.monsterinstance[i]))
{
with (global.monsterinstance[i])
scr_monsterdefeat();
}
}
global.encounterno = global.flag[60 dojo_next_encounter];
scr_encountersetup(global.encounterno);
global.flag[60 dojo_next_encounter] = 0;
for (__j = 0; __j < 3; __j++)
{
if (global.monstertype[__j] != 0(None))
{
_newmonster = scr_monster_add(global.monstertype[__j], global.monsterinstancetype[__j]);
global.monsterinstance[_newmonster].x = camerax() + 800;
global.monsterinstance[_newmonster].y = global.monstermakey[__j];
with (global.monsterinstance[_newmonster])
scr_move_to_point_over_time(global.monstermakex[myself], global.monstermakey[myself], 10);
}
}
global.myfight = 5;
myfightreturntimer = 15;
global.mnfight = -1;
}
} ();
|
|
36
|
});
|
|
37
|
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_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 13)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
myblcon.side = 2;
return myblcon;
}
if (arg2 == 14)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
myblcon.side = -1;
return myblcon;
}
if (arg2 == 15)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
... (x - 20, y + 25, 10);
|
|
38
|
talked = 1;
|
|
39
|
talktimer = 0;
|
|
40
|
rtimer = 0;
|
|
41
|
}
|
|
42
|
if (fight_type == "none its over lmao")
|
|
43
|
{
|
|
44
|
if (talked == 1)
|
|
45
|
scr_blconskip_bossscr_blconskip_boss
function scr_blconskip_boss(arg0)
{
if (arg0 >= 0)
{
talktimer++;
if ((button3_p() && talktimer > arg0) || !instance_exists(obj_writer))
{
with (obj_writer)
instance_destroy();
if (i_ex(obj_balloon_queue))
msgset_fromqueue();
else
global.mnfight = 1.5;
}
}
else if (arg0 == -1)
{
if (!instance_exists(obj_writer))
{
if (i_ex(obj_balloon_queue))
msgset_fromqueue();
else
global.mnfight = 1.5;
}
}
else if (arg0 == -2)
{
talktimer++;
if (talktimer > 15)
talktimer = talkmax;
if (talktimer >= talkmax)
{
with (obj_writer)
instance_destroy();
if (i_ex(obj_balloon_queue))
msgset_fromqueue();
else
global.mnfight = 1.5;
}
}
} (15);
|
|
46
|
exit;
|
|
47
|
}
|
|
48
|
var _netskiestop = 0;
|
|
49
|
if ((i_ex(obj_netskie_enemy) && _netskiestop == obj_netskie_enemy.aquacon) || !i_ex(obj_netskie_enemy))
|
|
50
|
{
|
|
51
|
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 && _netskiestop == 0)
|
|
52
|
{
|
|
53
|
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;
}
} ();
|
|
54
|
if (fight_type == "solo")
|
|
55
|
event_user(1);
|
|
56
|
else
|
|
57
|
talked = 2;
|
|
58
|
myattackpriority = 1;
|
|
59
|
scr_attackpriorityscr_attackpriority
function scr_attackpriority(arg0)
{
if (i_ex(obj_battlecontroller))
{
if (obj_battlecontroller.attackpriority < arg0)
{
obj_battlecontroller.attackpriority = arg0;
return true;
}
else
{
return false;
}
}
else
{
return false;
}
} (myattackpriority - 1);
|
|
60
|
if (fight_type == "solo")
|
|
61
|
{
|
|
62
|
if (!instance_exists(obj_darkener))
|
|
63
|
instance_create(0, 0, obj_darkener);
|
|
64
|
}
|
|
65
|
var talk1 = stringsetloc(Are we playing a game?Wait for inputClose Message"Are we playing&a game?/%", "obj_aqua_enemy_slash_Step_0_gml_78_0" );
|
|
66
|
var talk2 = stringsetloc(Is the world revolving, like they say?Wait for inputClose Message"Is the world&revolving,&like they say?/%", "obj_aqua_enemy_slash_Step_0_gml_79_0" );
|
|
67
|
var talk3 = stringsetloc(Uee hee hee! It's so much fun!Wait for inputClose Message"Uee hee hee!&It's so much&fun!/%", "obj_aqua_enemy_slash_Step_0_gml_80_0" );
|
|
68
|
var talk4 = stringsetloc(Let's play knife throwing game!Wait for inputClose Message"Let's play&knife throwing&game!/%", "obj_aqua_enemy_slash_Step_0_gml_81_0" );
|
|
69
|
var talk_damage1 = stringsetloc(Uuu, what is this!? "Pain?" How funny!!Wait for inputClose Message"Uuu, what is this!?&\"Pain?\" How funny!!/%", "obj_aqua_enemy_slash_Step_0_gml_83_0" );
|
|
70
|
var talk_damage2 = stringsetloc(Did you know?&Delay 11amp;You should try some too!Wait for inputClose Message"Did you know?^1&You should try&some too!/%", "obj_aqua_enemy_slash_Step_0_gml_84_0" );
|
|
71
|
var talk_check1 = stringsetloc(Uuu, looking, thinking! Just like my friend!Wait for inputClose Message"Uuu, looking,&thinking! Just&like my friend!/%", "obj_aqua_enemy_slash_Step_0_gml_86_0" );
|
|
72
|
var talk_check2 = stringsetloc(I'll CHECK too!&Delay 11amp;Let's see...Wait for inputClose Message"I'll CHECK too!^1&Let's see.../%", "obj_aqua_enemy_slash_Step_0_gml_87_0" );
|
|
73
|
var talk_check3 = stringsetsubloc("Kris, a human!^3&Attack is ~1!^3&Defense is ~2!^3&Magic is... none!^3&Has a knife!/%", string(global.battleat[0]), string(global.battledf[0]), "obj_aqua_enemy_slash_Step_0_gml_88_0");
|
|
74
|
var talk_check_normal = stringsetloc(Huh!? You have a knife too!?&Delay 11amp;Why don't you use it...?Wait for inputClose Message"Huh!? You have&a knife too!?^1&Why don't you&use it...?/%", "obj_aqua_enemy_slash_Step_0_gml_89_0" );
|
|
75
|
var talk_check_ribbon1 = stringsetloc(Uuu, you're wearing a ribbon, holding a knife... and blue...?Wait for inputClose Message"Uuu, you're&wearing a ribbon,&holding a knife...&and blue...?/%", "obj_aqua_enemy_slash_Step_0_gml_90_0" );
|
|
76
|
var talk_check_ribbon2 = stringsetloc(Uuu, who's who? I'm confused now! Uee hee hee hee!Wait for inputClose Message"Uuu, who's who?&I'm confused now!&Uee hee hee hee!/%", "obj_aqua_enemy_slash_Step_0_gml_91_0" );
|
|
77
|
var talk_check_bored1 = stringsetloc(Uuu, CHECKing, LOOKing, again, and again!Wait for inputClose Message"Uuu, CHECKing,&LOOKing, again,&and again!/%", "obj_aqua_enemy_slash_Step_0_gml_92_0" );
|
|
78
|
var talk_check_bored2 = stringsetloc(Just like my friend! ... boring!Wait for inputClose Message"Just like my friend!&... boring!/%", "obj_aqua_enemy_slash_Step_0_gml_93_0" );
|
|
79
|
var talk_spin = stringsetloc(Hee hee! What's going on!? Delay 11Is the whole world revolving!?Wait for inputClose Message"Hee hee! What's going&on!?^1 Is the whole&world revolving!?/%", "obj_aqua_enemy_slash_Step_0_gml_94_0" );
|
|
80
|
var talk_dance = stringsetloc(Haha! Your feet are making such strange music!Wait for inputClose Message"Haha! Your feet are&making such strange&music!/%", "obj_aqua_enemy_slash_Step_0_gml_95_0" );
|
|
81
|
var talk_cool1 = stringsetloc(Oh, I get it! Posey, posey!Wait for inputClose Message"Oh, I get it!&Posey, posey!/%", "obj_aqua_enemy_slash_Step_0_gml_96_0" );
|
|
82
|
var talk_cool2 = stringsetloc(Are we part of a team now, too!?Wait for inputClose Message"Are we part of&a team now, too!?/%", "obj_aqua_enemy_slash_Step_0_gml_97_0" );
|
|
83
|
var talk_flatter1 = stringsetloc(Hee hee, is that how you fight? Delay 11So, if I praise enough, I'll win too?Wait for inputClose Message"Hee hee, is that&how you fight?^1 So,&if I praise enough,&I'll win too?/%", "obj_aqua_enemy_slash_Step_0_gml_98_0" );
|
|
84
|
var talk_flatter2 = stringsetloc(I'm the best! I'm the best! Hee hee, I'm winning!Wait for inputClose Message"I'm the best!&I'm the best!&Hee hee,&I'm winning!/%", "obj_aqua_enemy_slash_Step_0_gml_99_0" );
|
|
85
|
var bored1 = stringsetloc(Didn't we play that old game already?Wait for inputClose Message"Didn't we play&that old game&already?/%", "obj_aqua_enemy_slash_Step_0_gml_101_0" );
|
|
86
|
var bored1_2 = stringsetloc(Let's do something else!Wait for inputClose Message"Let's&do something else!/%", "obj_aqua_enemy_slash_Step_0_gml_102_0" );
|
|
87
|
var bored2 = stringsetloc(What a dull game.Wait for inputClose Message"What a dull&game./%", "obj_aqua_enemy_slash_Step_0_gml_103_0" );
|
|
88
|
var bored2_2 = stringsetloc(Wouldn't you rather play with something sharp!?Wait for inputClose Message"Wouldn't you rather&play with something&sharp!?/%", "obj_aqua_enemy_slash_Step_0_gml_104_0" );
|
|
89
|
var bored3 = stringsetloc(Hum, is that all you can do?Wait for inputClose Message"Hum, is that all you&can do?/%", "obj_aqua_enemy_slash_Step_0_gml_105_0" );
|
|
90
|
var bored3_2 = stringsetloc(After all, humans are actually a little boring!Wait for inputClose Message"After all,&humans are actually&a little boring!/%", "obj_aqua_enemy_slash_Step_0_gml_106_0" );
|
|
91
|
var omega1 = stringsetloc(Uee hee hee, this is all so much fun!Wait for inputClose Message"Uee hee hee,&this is all&so much fun!/%", "obj_aqua_enemy_slash_Step_0_gml_108_0" );
|
|
92
|
var omega2 = stringsetloc(Here, I'll do something, and you copy!Wait for inputClose Message"Here, I'll do&something,&and you copy!/%", "obj_aqua_enemy_slash_Step_0_gml_109_0" );
|
|
93
|
var omega3 = stringsetloc(My magic, my Omega, can you follow!?Wait for inputClose Message"My magic, my&Omega, can you&follow!?/%", "obj_aqua_enemy_slash_Step_0_gml_110_0" );
|
|
94
|
var violence1 = stringsetloc(Uuu, this is fun, fun!!!Wait for inputClose Message"Uuu, this is&fun, fun!!!/%", "obj_aqua_enemy_slash_Step_0_gml_112_0" );
|
|
95
|
var violence2 = stringsetloc(Wh-wDelay 11hat are you doing!?Wait for inputClose Message"Wh-^1what are you&doing!?/%", "obj_aqua_enemy_slash_Step_0_gml_113_0" );
|
|
96
|
var violence3 = stringsetloc(Playing a game!&Delay 11amp;Do you want to play, too!?Wait for inputClose Message"Playing a game!^1&Do you want to&play, too!?/%", "obj_aqua_enemy_slash_Step_0_gml_114_0" );
|
|
97
|
var violence4 = stringsetloc(What!? Delay 11NO!! If you keep fighting, you'll end up...Wait for inputClose Message"What!?^1 NO!!&If you keep&fighting, you'll&end up.../%", "obj_aqua_enemy_slash_Step_0_gml_115_0" );
|
|
98
|
var violence5 = stringsetloc(Uuu? What, what? End up what?&Delay 11amp;Is it another type of game...?Wait for inputClose Message"Uuu? What, what?&End up what?^1&Is it another&type of game...?/%", "obj_aqua_enemy_slash_Step_0_gml_116_0" );
|
|
99
|
var violence6 = stringsetloc(N-No, I'm just worried that...Wait for inputClose Message"N-No, I'm just&worried that.../%", "obj_aqua_enemy_slash_Step_0_gml_117_0" );
|
|
100
|
var violence7 = stringsetloc(Don't worry, you can play too!!Wait for inputClose Message"Don't worry, you&can play too!!/%", "obj_aqua_enemy_slash_Step_0_gml_118_0" );
|
|
101
|
var violence8 = stringsetloc(That's not what I'm saying!!! Just give up!!&Delay 22amp;I'm going to retreat, too!Wait for inputClose Message"That's not what&I'm saying!!!&Just give up!!^2&I'm going to&retreat, too!/%", "obj_aqua_enemy_slash_Step_0_gml_119_0" );
|
|
102
|
var violence9 = stringsetloc(Uuu, okay...Wait for inputClose Message"Uuu, okay.../%", "obj_aqua_enemy_slash_Step_0_gml_120_0" );
|
|
103
|
if (fight_type == "solo")
|
|
104
|
{
|
|
105
|
global.typer = 50;
|
|
106
|
rrr = choose(0, 1, 2, 3);
|
|
107
|
if (global.monsterhp[myself] < (global.monstermaxhp[myself] * 0.2))
|
|
108
|
{
|
|
109
|
with (obj_darkener)
|
|
110
|
instance_destroy();
|
|
111
|
idlesprite = spr_enemy_aqua_idle;
|
|
112
|
sparedsprite = spr_enemy_aqua_idle;
|
|
113
|
msgset(0, violence1);
|
|
114
|
msgset_add(violence2, (camerax() + camerawidth()) - 20, y - 50, 10, 50);
|
|
115
|
msgset_add(violence3, x - 20, y + 25, 10, 50);
|
|
116
|
msgset_add(violence4, (camerax() + camerawidth()) - 20, y - 50, 10, 50, function()
|
|
117
|
{
|
|
118
|
talkmax = 120;
|
|
119
|
});
|
|
120
|
msgset_add(violence5, x - 20, y + 25, 10, 50, function()
|
|
121
|
{
|
|
122
|
talkmax = 150;
|
|
123
|
});
|
|
124
|
msgset_add(violence6, (camerax() + camerawidth()) - 20, y - 50, 10, 50, function()
|
|
125
|
{
|
|
126
|
talkmax = 90;
|
|
127
|
});
|
|
128
|
msgset_add(violence7, x - 20, y + 25, 10, 50, function()
|
|
129
|
{
|
|
130
|
idlesprite = spr_enemy_aqua_laugh;
|
|
131
|
sparedsprite = spr_enemy_aqua_laugh;
|
|
132
|
});
|
|
133
|
msgset_add(violence8, (camerax() + camerawidth()) - 20, y - 55, 10, 50, function()
|
|
134
|
{
|
|
135
|
talkmax = 150;
|
|
136
|
});
|
|
137
|
msgset_add(violence9, x - 20, y + 25, 10, 50, function()
|
|
138
|
{
|
|
139
|
idlesprite = spr_enemy_aqua_pose;
|
|
140
|
sparedsprite = spr_enemy_aqua_pose;
|
|
141
|
talkmax = 90;
|
|
142
|
});
|
|
143
|
msgset_add_func(function()
|
|
144
|
{
|
|
145
|
evaluate();
|
|
146
|
scr_wincombatscr_wincombat
function scr_wincombat()
{
if (global.flag[60 dojo_next_encounter] == 0 || global.flag[36 dojo_failure] == 1)
{
global.myfight = 7;
global.mnfight = -1;
with (obj_battlecontroller)
victory = 1;
for (i = 0; i < 3; i += 1)
{
if (global.monster[i] == 1 && i_ex(global.monsterinstance[i]))
{
with (global.monsterinstance[i])
scr_monsterdefeat();
}
}
}
else
{
for (i = 0; i < 3; i += 1)
{
if (global.monster[i] == 1 && i_ex(global.monsterinstance[i]))
{
with (global.monsterinstance[i])
scr_monsterdefeat();
}
}
global.encounterno = global.flag[60 dojo_next_encounter];
scr_encountersetup(global.encounterno);
global.flag[60 dojo_next_encounter] = 0;
for (__j = 0; __j < 3; __j++)
{
if (global.monstertype[__j] != 0(None))
{
_newmonster = scr_monster_add(global.monstertype[__j], global.monsterinstancetype[__j]);
global.monsterinstance[_newmonster].x = camerax() + 800;
global.monsterinstance[_newmonster].y = global.monstermakey[__j];
with (global.monsterinstance[_newmonster])
scr_move_to_point_over_time(global.monstermakex[myself], global.monstermakey[myself], 10);
}
}
global.myfight = 5;
myfightreturntimer = 15;
global.mnfight = -1;
}
} ();
|
|
147
|
});
|
|
148
|
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_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 13)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
myblcon.side = 2;
return myblcon;
}
if (arg2 == 14)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
myblcon.side = -1;
return myblcon;
}
if (arg2 == 15)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
... (x - 20, y + 25, 10);
|
|
149
|
talked = 1;
|
|
150
|
talktimer = 0;
|
|
151
|
rtimer = 0;
|
|
152
|
exit;
|
|
153
|
}
|
|
154
|
if (rrr == 0)
|
|
155
|
msgset(0, talk1);
|
|
156
|
if (rrr == 1)
|
|
157
|
msgset(0, talk2);
|
|
158
|
if (rrr == 2)
|
|
159
|
msgset(0, talk3);
|
|
160
|
if (rrr == 3)
|
|
161
|
msgset(0, talk4);
|
|
162
|
if (damaged == 1)
|
|
163
|
{
|
|
164
|
msgset(0, talk_damage1);
|
|
165
|
msgset_add(talk_damage2, x - 20, y + 25, 10, 50, function()
|
|
166
|
{
|
|
167
|
idlesprite = spr_enemy_aqua_pose;
|
|
168
|
sparedsprite = spr_enemy_aqua_pose;
|
|
169
|
});
|
|
170
|
msgset_add_func(function()
|
|
171
|
{
|
|
172
|
idlesprite = spr_enemy_aqua_idle;
|
|
173
|
sparedsprite = spr_enemy_aqua_idle;
|
|
174
|
talktimer = talkmax;
|
|
175
|
talked = 1;
|
|
176
|
});
|
|
177
|
damaged = 2;
|
|
178
|
}
|
|
179
|
var _special = false;
|
|
180
|
if (bored_switch && last_act == 1 && (boredom == 1 || boredom == 2) && !friend_mentioned)
|
|
181
|
{
|
|
182
|
friend_mentioned = true;
|
|
183
|
_special = true;
|
|
184
|
}
|
|
185
|
if (!bored_switch || _special)
|
|
186
|
{
|
|
187
|
switch (last_act)
|
|
188
|
{
|
|
189
|
case 1:
|
|
190
|
if (!already_checked)
|
|
191
|
{
|
|
192
|
msgset(0, talk_check1);
|
|
193
|
msgset_add(talk_check2, x - 20, y + 25, 10);
|
|
194
|
msgset_add(talk_check3, x - 20, y + 25, 10, 50, function()
|
|
195
|
{
|
|
196
|
talkmax = 210;
|
|
197
|
});
|
|
198
|
if (scr_armorcheck_equippedscr_armorcheck_equipped
function scr_armorcheck_equipped(arg0, arg1)
{
var __wearing = 0;
if (global.chararmor1[arg0] == arg1)
__wearing++;
if (global.chararmor2[arg0] == arg1)
__wearing++;
return __wearing;
} (1, 3) || scr_armorcheck_equippedscr_armorcheck_equipped
function scr_armorcheck_equipped(arg0, arg1)
{
var __wearing = 0;
if (global.chararmor1[arg0] == arg1)
__wearing++;
if (global.chararmor2[arg0] == arg1)
__wearing++;
return __wearing;
} (1, 4) || scr_armorcheck_equippedscr_armorcheck_equipped
function scr_armorcheck_equipped(arg0, arg1)
{
var __wearing = 0;
if (global.chararmor1[arg0] == arg1)
__wearing++;
if (global.chararmor2[arg0] == arg1)
__wearing++;
return __wearing;
} (1, 9) || scr_armorcheck_equippedscr_armorcheck_equipped
function scr_armorcheck_equipped(arg0, arg1)
{
var __wearing = 0;
if (global.chararmor1[arg0] == arg1)
__wearing++;
if (global.chararmor2[arg0] == arg1)
__wearing++;
return __wearing;
} (1, 26) || scr_armorcheck_equippedscr_armorcheck_equipped
function scr_armorcheck_equipped(arg0, arg1)
{
var __wearing = 0;
if (global.chararmor1[arg0] == arg1)
__wearing++;
if (global.chararmor2[arg0] == arg1)
__wearing++;
return __wearing;
} (1, 30) || scr_armorcheck_equippedscr_armorcheck_equipped
function scr_armorcheck_equipped(arg0, arg1)
{
var __wearing = 0;
if (global.chararmor1[arg0] == arg1)
__wearing++;
if (global.chararmor2[arg0] == arg1)
__wearing++;
return __wearing;
} (1, 33) || scr_armorcheck_equippedscr_armorcheck_equipped
function scr_armorcheck_equipped(arg0, arg1)
{
var __wearing = 0;
if (global.chararmor1[arg0] == arg1)
__wearing++;
if (global.chararmor2[arg0] == arg1)
__wearing++;
return __wearing;
} (1, 53))
|
|
199
|
{
|
|
200
|
msgset_add(talk_check_ribbon1, x - 20, y + 25, 10, 50, function()
|
|
201
|
{
|
|
202
|
talkmax = 90;
|
|
203
|
});
|
|
204
|
msgset_add(talk_check_ribbon2, x - 20, y + 25, 10);
|
|
205
|
}
|
|
206
|
else
|
|
207
|
{
|
|
208
|
msgset_add(talk_check_normal, x - 20, y + 25, 10, 50, function()
|
|
209
|
{
|
|
210
|
talkmax = 90;
|
|
211
|
});
|
|
212
|
}
|
|
213
|
already_checked++;
|
|
214
|
}
|
|
215
|
else if (already_checked == 1)
|
|
216
|
{
|
|
217
|
msgset(0, talk_check_bored1);
|
|
218
|
msgset_add(talk_check_bored2, x - 20, y + 25, 10);
|
|
219
|
already_checked++;
|
|
220
|
last_act = 0;
|
|
221
|
}
|
|
222
|
break;
|
|
223
|
case 2:
|
|
224
|
msgset(0, talk_spin);
|
|
225
|
break;
|
|
226
|
case 3:
|
|
227
|
msgset(0, talk_dance);
|
|
228
|
break;
|
|
229
|
case 4:
|
|
230
|
var talk_care1 = stringsetloc(HAHA! What is that!? Can humans change their shape so!?Wait for inputClose Message"HAHA! What is that!?&Can humans change&their shape so!?/%", "obj_aqua_enemy_slash_Step_0_gml_214_0" );
|
|
231
|
var talk_care2 = stringsetloc(...Wait for inputClose Message".../%", "obj_aqua_enemy_slash_Step_0_gml_215_0" );
|
|
232
|
var talk_care3 = stringsetloc(I knew that!!Wait for inputClose Message"I knew that!!/%", "obj_aqua_enemy_slash_Step_0_gml_216_0" );
|
|
233
|
msgset(0, talk_care1);
|
|
234
|
msgset_add(talk_care2, x - 20, y + 25, 10, 50, function()
|
|
235
|
{
|
|
236
|
idlesprite = spr_enemy_aqua_unamused;
|
|
237
|
sparedsprite = spr_enemy_aqua_unamused;
|
|
238
|
talkmax = 30;
|
|
239
|
});
|
|
240
|
msgset_add(talk_care3, x - 20, y + 25, 10, 50, function()
|
|
241
|
{
|
|
242
|
idlesprite = spr_enemy_aqua_pose;
|
|
243
|
sparedsprite = spr_enemy_aqua_pose;
|
|
244
|
talkmax = 90;
|
|
245
|
});
|
|
246
|
break;
|
|
247
|
case 5:
|
|
248
|
msgset(0, talk_cool1);
|
|
249
|
msgset_add(talk_cool2, x - 20, y + 25, 10);
|
|
250
|
break;
|
|
251
|
case 6:
|
|
252
|
talkmax = 120;
|
|
253
|
msgset(0, talk_flatter1);
|
|
254
|
msgset_add(talk_flatter2, x - 20, y + 25, 10, 50, function()
|
|
255
|
{
|
|
256
|
custom_draw_example = 0;
|
|
257
|
talkmax = 90;
|
|
258
|
idlesprite = spr_enemy_aqua_hype;
|
|
259
|
sparedsprite = spr_enemy_aqua_hype;
|
|
260
|
image_index = 0;
|
|
261
|
image_speed = 1/3;
|
|
262
|
});
|
|
263
|
msgset_add_func(function()
|
|
264
|
{
|
|
265
|
idlesprite = spr_enemy_aqua_idle;
|
|
266
|
sparedsprite = spr_enemy_aqua_idle;
|
|
267
|
talktimer = talkmax;
|
|
268
|
talked = 1;
|
|
269
|
image_speed = 0.16666666666666666;
|
|
270
|
});
|
|
271
|
break;
|
|
272
|
}
|
|
273
|
if (global.mercymod[myself] == 100)
|
|
274
|
{
|
|
275
|
msgset_add_func(function()
|
|
276
|
{
|
|
277
|
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;
}
}
} ("kris");
|
|
278
|
idlesprite = spr_enemy_aqua_idle;
|
|
279
|
sparedsprite = spr_enemy_aqua_idle;
|
|
280
|
custom_draw_example = 0;
|
|
281
|
talktimer = talkmax;
|
|
282
|
talked = 1;
|
|
283
|
});
|
|
284
|
msgset_add(omega1, x - 20, y + 25, 10);
|
|
285
|
msgset_add(omega2, x - 20, y + 25, 10);
|
|
286
|
msgset_add(omega3, x - 20, y + 25, 10);
|
|
287
|
}
|
|
288
|
}
|
|
289
|
if (bored_switch && !_special)
|
|
290
|
{
|
|
291
|
bored_switch = false;
|
|
292
|
switch (boredom)
|
|
293
|
{
|
|
294
|
case 1:
|
|
295
|
msgset(0, bored1);
|
|
296
|
msgset_add(bored1_2, x - 20, y + 25, 10);
|
|
297
|
break;
|
|
298
|
case 2:
|
|
299
|
msgset(0, bored2);
|
|
300
|
msgset_add(bored2_2, x - 20, y + 25, 10);
|
|
301
|
break;
|
|
302
|
case 3:
|
|
303
|
msgset(0, bored3);
|
|
304
|
msgset_add(bored3_2, x - 20, y + 25, 10);
|
|
305
|
msgset_add(omega2, x - 20, y + 25, 10);
|
|
306
|
msgset_add(omega3, x - 20, y + 25, 10);
|
|
307
|
break;
|
|
308
|
}
|
|
309
|
}
|
|
310
|
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_v2_left;
return myblcon;
}
if (arg2 == 12)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v2_right;
return myblcon;
}
if (arg2 == 13)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
myblcon.side = 2;
return myblcon;
}
if (arg2 == 14)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
myblcon.side = -1;
return myblcon;
}
if (arg2 == 15)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
... (x - 20, y + 25, 10);
|
|
311
|
talked = 1;
|
|
312
|
talktimer = 0;
|
|
313
|
rtimer = 0;
|
|
314
|
}
|
|
315
|
}
|
|
316
|
}
|
|
317
|
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"))
|
|
318
|
scr_blconskip_bossscr_blconskip_boss
function scr_blconskip_boss(arg0)
{
if (arg0 >= 0)
{
talktimer++;
if ((button3_p() && talktimer > arg0) || !instance_exists(obj_writer))
{
with (obj_writer)
instance_destroy();
if (i_ex(obj_balloon_queue))
msgset_fromqueue();
else
global.mnfight = 1.5;
}
}
else if (arg0 == -1)
{
if (!instance_exists(obj_writer))
{
if (i_ex(obj_balloon_queue))
msgset_fromqueue();
else
global.mnfight = 1.5;
}
}
else if (arg0 == -2)
{
talktimer++;
if (talktimer > 15)
talktimer = talkmax;
if (talktimer >= talkmax)
{
with (obj_writer)
instance_destroy();
if (i_ex(obj_balloon_queue))
msgset_fromqueue();
else
global.mnfight = 1.5;
}
}
} (15);
|
|
319
|
if (global.mnfight == 1.5)
|
|
320
|
{
|
|
321
|
rtimer = 0;
|
|
322
|
with (obj_herokris)
|
|
323
|
{
|
|
324
|
if (global.faceaction[myself] != 4)
|
|
325
|
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;
}
}
} ("kris");
|
|
326
|
}
|
|
327
|
idlesprite = spr_enemy_aqua_idle;
|
|
328
|
sparedsprite = spr_enemy_aqua_idle;
|
|
329
|
custom_draw_example = 0;
|
|
330
|
if (!instance_exists(obj_growtangle))
|
|
331
|
instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
|
|
332
|
if (myattackchoice == 3)
|
|
333
|
{
|
|
334
|
with (obj_growtangle)
|
|
335
|
{
|
|
336
|
maxxscale = 3;
|
|
337
|
maxyscale = 3;
|
|
338
|
}
|
|
339
|
}
|
|
340
|
if (!instance_exists(obj_moveheart))
|
|
341
|
scr_moveheartscr_moveheart
function scr_moveheart()
{
global.inv = 0;
return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart);
} ();
|
|
342
|
global.mnfight = 2;
|
|
343
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (90);
|
|
344
|
}
|
|
345
|
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)
|
|
346
|
{
|
|
347
|
rtimer++;
|
|
348
|
if (fight_type == "solo")
|
|
349
|
{
|
|
350
|
if (rtimer == 12)
|
|
351
|
{
|
|
352
|
if (myattackchoice == 0)
|
|
353
|
{
|
|
354
|
global.monsterattackname[myself] = "KnifeChain";
|
|
355
|
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);
|
|
356
|
dc.type = 308;
|
|
357
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (240);
|
|
358
|
}
|
|
359
|
if (myattackchoice == 1)
|
|
360
|
{
|
|
361
|
global.monsterattackname[myself] = "FanOfKnives";
|
|
362
|
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);
|
|
363
|
dc.type = 309;
|
|
364
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (240);
|
|
365
|
}
|
|
366
|
if (myattackchoice == 2)
|
|
367
|
{
|
|
368
|
global.monsterattackname[myself] = "KnifePetal";
|
|
369
|
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);
|
|
370
|
dc.type = 310;
|
|
371
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (240);
|
|
372
|
}
|
|
373
|
if (myattackchoice == 3)
|
|
374
|
{
|
|
375
|
global.monsterattackname[myself] = "OmegaKnife";
|
|
376
|
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);
|
|
377
|
dc.type = 300;
|
|
378
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (300);
|
|
379
|
}
|
|
380
|
turns++;
|
|
381
|
global.typer = 6;
|
|
382
|
global.fc = 0;
|
|
383
|
rr = choose(0, 1, 2);
|
|
384
|
var substring = string(myself);
|
|
385
|
if (rr == 0)
|
|
386
|
global.battlemsg[0] = stringsetsubloc("* Ribbons flutter in soft chaos.", substring, "obj_aqua_enemy_slash_Step_0_gml_373_0");
|
|
387
|
if (rr == 1)
|
|
388
|
global.battlemsg[0] = stringsetsubloc("* Petals fall, and dance.", substring, "obj_aqua_enemy_slash_Step_0_gml_376_0");
|
|
389
|
if (rr == 2)
|
|
390
|
global.battlemsg[0] = stringsetsubloc("* Playful knives juggle in the air.", substring, "obj_aqua_enemy_slash_Step_0_gml_379_0");
|
|
391
|
if (irandom(99) <= 3)
|
|
392
|
global.battlemsg[0] = stringsetsubloc("* Smells like hydrangea.", substring, "obj_aqua_enemy_slash_Step_0_gml_383_0");
|
|
393
|
if (last_act == 1)
|
|
394
|
global.battlemsg[0] = stringsetsubloc("* The enemy analyzes the stats of random things.", substring, "obj_aqua_enemy_slash_Step_0_gml_387_0");
|
|
395
|
if (last_act == 2)
|
|
396
|
global.battlemsg[0] = stringsetsubloc("* The enemy revolves. The world revolves, too.", substring, "obj_aqua_enemy_slash_Step_0_gml_390_0");
|
|
397
|
if (last_act == 3)
|
|
398
|
global.battlemsg[0] = stringsetsubloc("* The enemy dances, dances, falls, and dances.", substring, "obj_aqua_enemy_slash_Step_0_gml_393_0");
|
|
399
|
if (last_act == 4)
|
|
400
|
global.battlemsg[0] = stringsetsubloc("* The enemy makes a patient's wristband out of a ribbon.", substring, "obj_aqua_enemy_slash_Step_0_gml_396_0");
|
|
401
|
if (last_act == 5)
|
|
402
|
global.battlemsg[0] = stringsetsubloc("* The enemy invents several million new poses.", substring, "obj_aqua_enemy_slash_Step_0_gml_399_0");
|
|
403
|
if (last_act == 6)
|
|
404
|
global.battlemsg[0] = stringsetsubloc("* The enemy praises herself under her breath for every action.", substring, "obj_aqua_enemy_slash_Step_0_gml_402_0");
|
|
405
|
last_act = 0;
|
|
406
|
if (global.monsterhp[myself] <= (global.monstermaxhp[myself] / 3))
|
|
407
|
{
|
|
408
|
substring = string(myself);
|
|
409
|
global.battlemsg[0] = stringsetsubloc("* The enemy seems damaged, but having fun.", substring, "obj_aqua_enemy_slash_Step_0_gml_409_0");
|
|
410
|
}
|
|
411
|
attacked = 1;
|
|
412
|
}
|
|
413
|
}
|
|
414
|
else if (fight_type == "seth")
|
|
415
|
{
|
|
416
|
if (rtimer == 12)
|
|
417
|
{
|
|
418
|
if (myattackchoice == 0)
|
|
419
|
{
|
|
420
|
global.monsterattackname[myself] = "KnifeChain";
|
|
421
|
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);
|
|
422
|
dc.type = 308;
|
|
423
|
if (turns == 4)
|
|
424
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (260);
|
|
425
|
else
|
|
426
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (240);
|
|
427
|
}
|
|
428
|
if (myattackchoice == 1)
|
|
429
|
{
|
|
430
|
global.monsterattackname[myself] = "FanOfKnives";
|
|
431
|
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);
|
|
432
|
dc.type = 309;
|
|
433
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (240);
|
|
434
|
}
|
|
435
|
if (myattackchoice == 2)
|
|
436
|
{
|
|
437
|
global.monsterattackname[myself] = "KnifePetal";
|
|
438
|
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);
|
|
439
|
dc.type = 310;
|
|
440
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (240);
|
|
441
|
}
|
|
442
|
if (myattackchoice == 3)
|
|
443
|
{
|
|
444
|
global.monsterattackname[myself] = "OmegaKnife";
|
|
445
|
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);
|
|
446
|
dc.type = 300;
|
|
447
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (245);
|
|
448
|
}
|
|
449
|
if (myattackchoice == 4)
|
|
450
|
{
|
|
451
|
global.monsterattackname[myself] = "Everything";
|
|
452
|
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);
|
|
453
|
dc.type = 311;
|
|
454
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (244);
|
|
455
|
}
|
|
456
|
if (myattackchoice == 5)
|
|
457
|
{
|
|
458
|
global.monsterattackname[myself] = "Duck";
|
|
459
|
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);
|
|
460
|
dc.type = 312;
|
|
461
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (180);
|
|
462
|
}
|
|
463
|
if (turns < 2)
|
|
464
|
{
|
|
465
|
with (obj_battlecontroller)
|
|
466
|
noreturn = true;
|
|
467
|
}
|
|
468
|
turns++;
|
|
469
|
global.typer = 6;
|
|
470
|
global.fc = 0;
|
|
471
|
attacked = 1;
|
|
472
|
}
|
|
473
|
}
|
|
474
|
}
|
|
475
|
}
|
|
476
|
if (global.myfight == 3)
|
|
477
|
{
|
|
478
|
xx = __view_get(e__VW.XView, 0);
|
|
479
|
yy = __view_get(e__VW.YView, 0);
|
|
480
|
if (fight_type == "solo")
|
|
481
|
{
|
|
482
|
if (acting == 1 && actcon == 0)
|
|
483
|
{
|
|
484
|
actcon = 1;
|
|
485
|
last_act = 1;
|
|
486
|
msgsetloc(0, * You analyzed the enemy!Wait for inputClose Message"* You analyzed the enemy!/%", "obj_aqua_enemy_slash_Step_0_gml_510_0" );
|
|
487
|
if (ds_list_find_index(act_list, 1) != -1)
|
|
488
|
{
|
|
489
|
aqua_is_BORED();
|
|
490
|
}
|
|
491
|
else
|
|
492
|
{
|
|
493
|
ds_list_add(act_list, 1);
|
|
494
|
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]++;
return __mercydmgwriter;
} (myself, 20);
|
|
495
|
}
|
|
496
|
scr_battletextscr_battletext
function scr_battletext()
{
xx = camerax();
yy = cameray();
if (global.fc != 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.fc == 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
myface = instance_create(xx + 26, yy + 380, obj_face);
with (battlewriter)
{
dialoguer = 1;
facer = 1;
if (global.fc == 0 && originalcharline == 33)
charline = 26;
}
return battlewriter;
} ();
|
|
497
|
}
|
|
498
|
if (acting == 2 && actcon == 0)
|
|
499
|
{
|
|
500
|
actcon = 1;
|
|
501
|
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;
if (arg3 == -1)
maxframes = -1;
global.faceaction[myself] = 0;
}
}
} ("kris", spr_krisb_pirouette, 0.16666666666666666, true);
|
|
502
|
msgsetloc(0, * You spun in place!Wait for input"* You spun in place!/", "obj_aqua_enemy_slash_Step_0_gml_520_0" );
|
|
503
|
if (ds_list_find_index(act_list, 2) != -1)
|
|
504
|
{
|
|
505
|
aqua_is_BORED();
|
|
506
|
}
|
|
507
|
else
|
|
508
|
{
|
|
509
|
ds_list_add(act_list, 2);
|
|
510
|
idlesprite = spr_enemy_aqua_spin;
|
|
511
|
sparedsprite = spr_enemy_aqua_spin;
|
|
512
|
scr_battle_sprite_actflashscr_battle_sprite_actflash
function scr_battle_sprite_actflash(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)
{
scr_oflash();
a = scr_afterimage();
a.hspeed = 2.5;
a.depth = depth + 1;
b = scr_afterimage();
b.image_alpha = 0.6;
b.hspeed = 5;
b.depth = depth + 2;
}
}
} ("kris");
|
|
513
|
aqua_actflash();
|
|
514
|
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]++;
return __mercydmgwriter;
} (myself, 20);
|
|
515
|
msgsetloc(1, * ... the enemy spun around, too!Wait for inputClose Message"* ... the enemy spun around, too!/%", "obj_aqua_enemy_slash_Step_0_gml_535_0" );
|
|
516
|
last_act = 2;
|
|
517
|
}
|
|
518
|
scr_battletextscr_battletext
function scr_battletext()
{
xx = camerax();
yy = cameray();
if (global.fc != 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.fc == 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
myface = instance_create(xx + 26, yy + 380, obj_face);
with (battlewriter)
{
dialoguer = 1;
facer = 1;
if (global.fc == 0 && originalcharline == 33)
charline = 26;
}
return battlewriter;
} ();
|
|
519
|
}
|
|
520
|
if (acting == 3 && actcon == 0)
|
|
521
|
{
|
|
522
|
actcon = 1;
|
|
523
|
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;
if (arg3 == -1)
maxframes = -1;
global.faceaction[myself] = 0;
}
}
} ("kris", spr_kris_dance, 0.16666666666666666, true);
|
|
524
|
msgsetloc(0, * You danced with enthusiasm!Wait for input"* You danced with enthusiasm!/", "obj_aqua_enemy_slash_Step_0_gml_548_0" );
|
|
525
|
if (ds_list_find_index(act_list, 3) != -1)
|
|
526
|
{
|
|
527
|
aqua_is_BORED();
|
|
528
|
}
|
|
529
|
else
|
|
530
|
{
|
|
531
|
ds_list_add(act_list, 3);
|
|
532
|
idlesprite = spr_enemy_aqua_dance;
|
|
533
|
sparedsprite = spr_enemy_aqua_dance;
|
|
534
|
scr_battle_sprite_actflashscr_battle_sprite_actflash
function scr_battle_sprite_actflash(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)
{
scr_oflash();
a = scr_afterimage();
a.hspeed = 2.5;
a.depth = depth + 1;
b = scr_afterimage();
b.image_alpha = 0.6;
b.hspeed = 5;
b.depth = depth + 2;
}
}
} ("kris");
|
|
535
|
aqua_actflash();
|
|
536
|
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]++;
return __mercydmgwriter;
} (myself, 20);
|
|
537
|
msgsetloc(1, * ... the enemy danced, too!Wait for inputClose Message"* ... the enemy danced, too!/%", "obj_aqua_enemy_slash_Step_0_gml_563_0" );
|
|
538
|
last_act = 3;
|
|
539
|
}
|
|
540
|
scr_battletextscr_battletext
function scr_battletext()
{
xx = camerax();
yy = cameray();
if (global.fc != 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.fc == 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
myface = instance_create(xx + 26, yy + 380, obj_face);
with (battlewriter)
{
dialoguer = 1;
facer = 1;
if (global.fc == 0 && originalcharline == 33)
charline = 26;
}
return battlewriter;
} ();
|
|
541
|
}
|
|
542
|
if (acting == 4 && actcon == 0)
|
|
543
|
{
|
|
544
|
actcon = 1;
|
|
545
|
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;
if (arg3 == -1)
maxframes = -1;
global.faceaction[myself] = 0;
}
}
} ("kris", spr_krisb_virokun_nurse, 0.16666666666666666, true);
|
|
546
|
msgsetloc(0, * You showed tender loving care!Wait for input"* You showed tender loving care!/", "obj_aqua_enemy_slash_Step_0_gml_577_0" );
|
|
547
|
if (ds_list_find_index(act_list, 4) != -1)
|
|
548
|
{
|
|
549
|
aqua_is_BORED();
|
|
550
|
}
|
|
551
|
else
|
|
552
|
{
|
|
553
|
ds_list_add(act_list, 4);
|
|
554
|
idlesprite = spr_enemy_aqua_laugh;
|
|
555
|
sparedsprite = spr_enemy_aqua_laugh;
|
|
556
|
scr_battle_sprite_actflashscr_battle_sprite_actflash
function scr_battle_sprite_actflash(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)
{
scr_oflash();
a = scr_afterimage();
a.hspeed = 2.5;
a.depth = depth + 1;
b = scr_afterimage();
b.image_alpha = 0.6;
b.hspeed = 5;
b.depth = depth + 2;
}
}
} ("kris");
|
|
557
|
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]++;
return __mercydmgwriter;
} (myself, 20);
|
|
558
|
msgsetloc(1, * ... the enemy laughed!Wait for inputClose Message"* ... the enemy laughed!/%", "obj_aqua_enemy_slash_Step_0_gml_591_0" );
|
|
559
|
last_act = 4;
|
|
560
|
}
|
|
561
|
scr_battletextscr_battletext
function scr_battletext()
{
xx = camerax();
yy = cameray();
if (global.fc != 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.fc == 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
myface = instance_create(xx + 26, yy + 380, obj_face);
with (battlewriter)
{
dialoguer = 1;
facer = 1;
if (global.fc == 0 && originalcharline == 33)
charline = 26;
}
return battlewriter;
} ();
|
|
562
|
}
|
|
563
|
if (acting == 5 && actcon == 0)
|
|
564
|
{
|
|
565
|
actcon = 1;
|
|
566
|
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;
if (arg3 == -1)
maxframes = -1;
global.faceaction[myself] = 0;
}
}
} ("kris", spr_kris_pose, -0.16666666666666666, true);
|
|
567
|
msgsetloc(0, * You struck a cool pose!Wait for input"* You struck a cool pose!/", "obj_aqua_enemy_slash_Step_0_gml_604_0" );
|
|
568
|
if (ds_list_find_index(act_list, 5) != -1)
|
|
569
|
{
|
|
570
|
aqua_is_BORED();
|
|
571
|
}
|
|
572
|
else
|
|
573
|
{
|
|
574
|
ds_list_add(act_list, 5);
|
|
575
|
idlesprite = spr_enemy_aqua_cool_pose;
|
|
576
|
sparedsprite = spr_enemy_aqua_cool_pose;
|
|
577
|
scr_battle_sprite_actflashscr_battle_sprite_actflash
function scr_battle_sprite_actflash(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)
{
scr_oflash();
a = scr_afterimage();
a.hspeed = 2.5;
a.depth = depth + 1;
b = scr_afterimage();
b.image_alpha = 0.6;
b.hspeed = 5;
b.depth = depth + 2;
}
}
} ("kris");
|
|
578
|
aqua_actflash();
|
|
579
|
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]++;
return __mercydmgwriter;
} (myself, 20);
|
|
580
|
msgsetloc(1, * ... the enemy posed back!Wait for inputClose Message"* ... the enemy posed back!/%", "obj_aqua_enemy_slash_Step_0_gml_619_0" );
|
|
581
|
last_act = 5;
|
|
582
|
}
|
|
583
|
scr_battletextscr_battletext
function scr_battletext()
{
xx = camerax();
yy = cameray();
if (global.fc != 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.fc == 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
myface = instance_create(xx + 26, yy + 380, obj_face);
with (battlewriter)
{
dialoguer = 1;
facer = 1;
if (global.fc == 0 && originalcharline == 33)
charline = 26;
}
return battlewriter;
} ();
|
|
584
|
}
|
|
585
|
if (acting == 6 && actcon == 0)
|
|
586
|
{
|
|
587
|
actcon = 1;
|
|
588
|
msgsetloc(0, * You flattered the enemy's fighting style!Wait for input"* You flattered the enemy's fighting style!/", "obj_aqua_enemy_slash_Step_0_gml_631_0" );
|
|
589
|
if (ds_list_find_index(act_list, 6) != -1)
|
|
590
|
{
|
|
591
|
aqua_is_BORED();
|
|
592
|
}
|
|
593
|
else
|
|
594
|
{
|
|
595
|
ds_list_add(act_list, 6);
|
|
596
|
custom_draw_example = 1;
|
|
597
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
var _id = self;
if (!is_struct(self))
_id = id;
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(_id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpcol()
{
if (argument_count < 6)
___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpcol_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
} ("flattery_id", 4, 11, 21);
|
|
598
|
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]++;
return __mercydmgwriter;
} (myself, 20);
|
|
599
|
msgsetloc(1, * ... the enemy flattered, too!Wait for inputClose Message"* ... the enemy flattered, too!/%", "obj_aqua_enemy_slash_Step_0_gml_644_0" );
|
|
600
|
last_act = 6;
|
|
601
|
}
|
|
602
|
scr_battletextscr_battletext
function scr_battletext()
{
xx = camerax();
yy = cameray();
if (global.fc != 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.fc == 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
myface = instance_create(xx + 26, yy + 380, obj_face);
with (battlewriter)
{
dialoguer = 1;
facer = 1;
if (global.fc == 0 && originalcharline == 33)
charline = 26;
}
return battlewriter;
} ();
|
|
603
|
}
|
|
604
|
}
|
|
605
|
else if (fight_type == "seth")
|
|
606
|
{
|
|
607
|
if (acting == 1 && actcon == 0)
|
|
608
|
{
|
|
609
|
actcon = 1;
|
|
610
|
global.writerimg[0] = spr_aqua_check1;
|
|
611
|
global.writerimg[1] = spr_aqua_check2;
|
|
612
|
msgsetloc(0, * AQUA - AT \I0 DF \I1 A girl without a lick of patience. Enjoys trying new things.Wait for inputClose Message"* AQUA - AT \\I0 DF \\I1&A girl without a lick of patience.&Enjoys trying new things./%", "obj_aqua_enemy_slash_Step_0_gml_660_0" );
|
|
613
|
scr_battletextscr_battletext
function scr_battletext()
{
xx = camerax();
yy = cameray();
if (global.fc != 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
if (global.fc == 0)
battlewriter = instance_create(xx + 30, yy + 376, obj_writer);
myface = instance_create(xx + 26, yy + 380, obj_face);
with (battlewriter)
{
dialoguer = 1;
facer = 1;
if (global.fc == 0 && originalcharline == 33)
charline = 26;
}
return battlewriter;
} ();
|
|
614
|
}
|
|
615
|
if (acting >= 1.1 && acting < 5 && actcon == 0)
|
|
616
|
{
|
|
617
|
if (acting == 2 || acting == 3 || acting == 4)
|
|
618
|
{
|
|
619
|
if (acting == 2)
|
|
620
|
{
|
|
621
|
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;
if (arg3 == -1)
maxframes = -1;
global.faceaction[myself] = 0;
}
}
} ("kris", spr_krisb_pirouette, 0.16666666666666666, true);
|
|
622
|
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;
if (arg3 == -1)
maxframes = -1;
global.faceaction[myself] = 0;
}
}
} ("susie", spr_susie_pirouette, 0.16666666666666666, true);
|
|
623
|
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;
if (arg3 == -1)
maxframes = -1;
global.faceaction[myself] = 0;
}
}
} ("ralsei", spr_ralsei_pirouette, 0.16666666666666666, true);
|
|
624
|
if (scr_flag_getscr_flag_get
function scr_flag_get(arg0)
{
return global.flag[arg0];
}
function scr_flag_name_get(arg0)
{
var v = global.flagname[arg0];
return is_undefined(v) ? "*unknown flag*" : v;
}
function scr_flag_get_ext(arg0, arg1, arg2 = 1)
{
if (arg1 < 0)
scr_flag_get(arg0);
else
return scr_get_bitmask_value(global.flag[arg0], arg1, arg2);
} (1311) == 1)
|
|
625
|
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;
if (arg3 == -1)
maxframes = -1;
global.faceaction[myself] = 0;
}
}
} ("ralsei", spr_ralsei_pirouette_hat, 0.16666666666666666, true);
|
|
626
|
msgsetloc(0, * Everyone spun in place!Wait for input"* Everyone spun in place!/", "obj_aqua_enemy_slash_Step_0_gml_678_0" );
|
|
627
|
}
|
|
628
|
if (acting == 3)
|
|
629
|
{
|
|
630
|
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;
if (arg3 == -1)
maxframes = -1;
global.faceaction[myself] = 0;
}
}
} ("kris", spr_kris_pose, 0.16666666666666666, true);
|
|
631
|
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;
if (arg3 == -1)
maxframes = -1;
global.faceaction[myself] = 0;
}
}
} ("susie", spr_susie_pose, 0.16666666666666666, true);
|
|
632
|
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;
if (arg3 == -1)
maxframes = -1;
global.faceaction[myself] = 0;
}
}
} ("ralsei", spr_ralsei_pose, 0.16666666666666666, true);
|
|
633
|
msgsetloc(0, * Everyone struck a cool pose!Wait for input"* Everyone struck a cool pose!/", "obj_aqua_enemy_slash_Step_0_gml_687_0" );
|
|
634
|
}
|
|
635
|
if (acting == 4)
|
|
636
|
{
|
|
637
|
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;
if (arg3 == -1)
maxframes = -1;
global.faceaction[myself] = 0;
}
}
} ("kris", spr_kris_dance, 0.16666666666666666, true);
|
|
638
|
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;
if (arg3 == -1)
maxframes = -1;
global.faceaction[myself] = 0;
}
}
} ("susie", spr_susie_dance, 0.16666666666666666, true);
|
|
639
|
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;
if (arg3 == -1)
maxframes = -1;
global.faceaction[myself] = 0;
}
}
} ("ralsei", spr_ralsei_dance, 0.16666666666666666, true);
|
|
640
|
msgsetloc(0, * Everyone danced with enthusiasm!Wait for input"* Everyone danced with enthusiasm!/", "obj_aqua_enemy_slash_Step_0_gml_696_0" );
|
|
641
|
}
|
|
642
|
scr_battle_sprite_actflashscr_battle_sprite_actflash
function scr_battle_sprite_actflash(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)
{
scr_oflash();
a = scr_afterimage();
a.hspeed = 2.5;
a.depth = depth + 1;
b = scr_afterimage();
b.image_alpha = 0.6;
b.hspeed = 5;
b.depth = depth + 2;
}
}
} ("kris");
|
|
643
|
scr_battle_sprite_actflashscr_battle_sprite_actflash
function scr_battle_sprite_actflash(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)
{
scr_oflash();
a = scr_afterimage();
a.hspeed = 2.5;
a.depth = depth + 1;
b = scr_afterimage();
b.image_alpha = 0.6;
b.hspeed = 5;
b.depth = depth + 2;
}
}
} ("susie");
|
|
644
|
scr_battle_sprite_actflashscr_battle_sprite_actflash
function scr_battle_sprite_actflash(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)
{
scr_oflash();
a = scr_afterimage();
a.hspeed = 2.5;
a.depth = depth + 1;
b = scr_afterimage();
b.image_alpha = 0.6;
b.hspeed = 5;
b.depth = depth + 2;
}
}
} ("ralsei");
|
|
645
|
if (seth_counter == 0)
|
|
646
|
{
|
|
647
|
snd_play_x(snd_mercyadd, 0.8, 1.2);
|
|
648
|
with (instance_create(x + 40, (y + 40) - (global.hittarget[myself] * 20), obj_dmgwriter))
|
|
649
|
{
|
|
650
|
stayincamera = false;
|
|
651
|
snapback = false;
|
|
652
|
damage = 20;
|
|
653
|
type = 5;
|
|
654
|
killamount = 0;
|
|
655
|
}
|
|
656
|
with (obj_aqua_enemy)
|
|
657
|
aqua_sprite(5691, 0, 0.25);
|
|
658
|
}
|
|
659
|
if (seth_counter == 0)
|
|
660
|
{
|
|
661
|
global.msg[0] += "%";
|
|
662
|
}
|
|
663
|
else
|
|
664
|
{
|
|
665
|
msgsetloc(1, * But, Seth countered!Wait for inputClose Message"* But, Seth countered!/%", "obj_aqua_enemy_slash_Step_0_gml_729_0" );
|
|
666
|
idlesprite = spr_aqua_walk_up;
|
|
667
|
sparesprite = spr_aqua_walk_up;
|
|
668
|
state_string = "";
|
|
669
|
siner = 0;
|
|
670
|
image_speed = 0;
|
|
671
|
snd_play(snd_grab, 1, 1.25);
|
|
672
|
if (acting == 2)
|
|
673
|
{
|
|
674
|
with (obj_purple_enemy)
|
|
675
|
seth_sprite(8194, 0, 0.5);
|
|
676
|
}
|
|
677
|
if (acting == 3)
|
|
678
|
{
|
|
679
|
with (obj_purple_enemy)
|
|
680
|
seth_sprite(1638, 0, 0);
|
|
681
|
}
|
|
682
|
if (acting == 4)
|
|
683
|
{
|
|
684
|
with (obj_purple_enemy)
|
|
685
|
seth_sprite(6836, 0, 0.5);
|
|
686
|
}
|
|
687
|
with (obj_purple_enemy)
|
|
688
|
{
|
|
689
|
with (scr_oflashscr_oflash
function scr_oflash()
{
_oflash = instance_create(x, y, obj_oflash);
_oflash.image_xscale = image_xscale;
_oflash.image_speed = 0;
_oflash.image_angle = image_angle;
_oflash.image_index = image_index;
_oflash.image_yscale = image_yscale;
_oflash.sprite_index = sprite_index;
_oflash.depth = depth - 1;
_oflash.target = id;
return _oflash;
} ())
|
|
690
|
{
|
|
691
|
sprite_index = other.idlesprite;
|
|
692
|
image_index = other.siner;
|
|
693
|
}
|
|
694
|
with (scr_afterimagescr_afterimage
function scr_afterimage()
{
afterimage = instance_create(x, y, obj_afterimage);
afterimage.sprite_index = sprite_index;
afterimage.image_index = image_index;
afterimage.image_blend = image_blend;
afterimage.image_speed = 0;
afterimage.depth = depth;
afterimage.image_xscale = image_xscale;
afterimage.image_yscale = image_yscale;
afterimage.image_angle = image_angle;
return afterimage;
} ())
|
|
695
|
{
|
|
696
|
sprite_index = other.idlesprite;
|
|
697
|
image_index = other.siner;
|
|
698
|
hspeed = -2.5;
|
|
699
|
depth = other.depth + 1;
|
|
700
|
}
|
|
701
|
with (scr_afterimagescr_afterimage
function scr_afterimage()
{
afterimage = instance_create(x, y, obj_afterimage);
afterimage.sprite_index = sprite_index;
afterimage.image_index = image_index;
afterimage.image_blend = image_blend;
afterimage.image_speed = 0;
afterimage.depth = depth;
afterimage.image_xscale = image_xscale;
afterimage.image_yscale = image_yscale;
afterimage.image_angle = image_angle;
return afterimage;
} ())
|
|
702
|
{
|
|
703
|
sprite_index = other.idlesprite;
|
|
704
|
image_index = other.siner;
|
|
705
|
image_alpha = 0.6;
|
|
706
|
hspeed = -5;
|
|
707
|
depth = other.depth + 2;
|
|
708
|
}
|
|
709
|
}
|
|
710
|
}
|
|
711
|
acting -= 0.9;
|
|
712
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
713
|
}
|
|
714
|
if (acting == 1.1 || acting == 2.1 || acting == 3.1)
|
|
715
|
{
|
|
716
|
if (!i_ex(obj_writer))
|
|
717
|
{
|
|
718
|
if (seth_counter == 0)
|
|
719
|
{
|
|
720
|
msgset_add(stringsetloc(No, no, no!!! Don't be impressed!!Wait for inputClose Message"No, no, no!!!&Don't be impressed!!/%", "obj_aqua_enemy_slash_Step_0_gml_796_0" ), obj_purple_enemy.x - 20, obj_purple_enemy.y + 25, 10, 50, function()
|
|
721
|
{
|
|
722
|
obj_purple_enemy.seth_sprite(6736, 0, 0.16666666666666666);
|
|
723
|
});
|
|
724
|
msgset_add(stringsetloc(L...Delay 11 look!!Wait for inputClose Message"L..^1. look!!/%", "obj_aqua_enemy_slash_Step_0_gml_799_0" ), obj_purple_enemy.x - 20, obj_purple_enemy.y + 25, 10, 50, function()
|
|
725
|
{
|
|
726
|
with (obj_purple_enemy)
|
|
727
|
state_string = "";
|
|
728
|
});
|
|
729
|
}
|
|
730
|
msgset_add_func(function()
|
|
731
|
{
|
|
732
|
if (seth_counter == 0)
|
|
733
|
{
|
|
734
|
idlesprite = spr_aqua_walk_up;
|
|
735
|
sparesprite = spr_aqua_walk_up;
|
|
736
|
state_string = "";
|
|
737
|
siner = 0;
|
|
738
|
image_speed = 0;
|
|
739
|
snd_play(snd_grab, 1, 1.25);
|
|
740
|
if (acting == 1.2)
|
|
741
|
{
|
|
742
|
with (obj_purple_enemy)
|
|
743
|
seth_sprite(8194, 0, 0.5);
|
|
744
|
}
|
|
745
|
if (acting == 2.2)
|
|
746
|
{
|
|
747
|
with (obj_purple_enemy)
|
|
748
|
seth_sprite(1638, 0, 0);
|
|
749
|
}
|
|
750
|
if (acting == 3.2)
|
|
751
|
{
|
|
752
|
with (obj_purple_enemy)
|
|
753
|
seth_sprite(6836, 0, 0.5);
|
|
754
|
}
|
|
755
|
with (obj_purple_enemy)
|
|
756
|
{
|
|
757
|
with (scr_oflashscr_oflash
function scr_oflash()
{
_oflash = instance_create(x, y, obj_oflash);
_oflash.image_xscale = image_xscale;
_oflash.image_speed = 0;
_oflash.image_angle = image_angle;
_oflash.image_index = image_index;
_oflash.image_yscale = image_yscale;
_oflash.sprite_index = sprite_index;
_oflash.depth = depth - 1;
_oflash.target = id;
return _oflash;
} ())
|
|
758
|
{
|
|
759
|
sprite_index = other.idlesprite;
|
|
760
|
image_index = other.siner;
|
|
761
|
}
|
|
762
|
with (scr_afterimagescr_afterimage
function scr_afterimage()
{
afterimage = instance_create(x, y, obj_afterimage);
afterimage.sprite_index = sprite_index;
afterimage.image_index = image_index;
afterimage.image_blend = image_blend;
afterimage.image_speed = 0;
afterimage.depth = depth;
afterimage.image_xscale = image_xscale;
afterimage.image_yscale = image_yscale;
afterimage.image_angle = image_angle;
return afterimage;
} ())
|
|
763
|
{
|
|
764
|
sprite_index = other.idlesprite;
|
|
765
|
image_index = other.siner;
|
|
766
|
hspeed = -2.5;
|
|
767
|
depth = other.depth + 1;
|
|
768
|
}
|
|
769
|
with (scr_afterimagescr_afterimage
function scr_afterimage()
{
afterimage = instance_create(x, y, obj_afterimage);
afterimage.sprite_index = sprite_index;
afterimage.image_index = image_index;
afterimage.image_blend = image_blend;
afterimage.image_speed = 0;
afterimage.depth = depth;
afterimage.image_xscale = image_xscale;
afterimage.image_yscale = image_yscale;
afterimage.image_angle = image_angle;
return afterimage;
} ())
|
|
770
|
{
|
|
771
|
sprite_index = other.idlesprite;
|
|
772
|
image_index = other.siner;
|
|
773
|
image_alpha = 0.6;
|
|
774
|
hspeed = -5;
|
|
775
|
depth = other.depth + 2;
|
|
776
|
}
|
|
777
|
}
|
|
778
|
}
|
|
779
|
scr_script_delayedscr_script_delayed
function scr_script_delayed()
{
var __scriptdelay = instance_create(0, 0, obj_script_delayed);
__scriptdelay.script = argument[0];
__scriptdelay.alarm[0] = argument[1];
__scriptdelay.target = id;
for (var __i = 0; __i < (argument_count - 2); __i++)
__scriptdelay.script_arg[__i] = argument[__i + 2];
__scriptdelay.arg_count = argument_count - 2;
return __scriptdelay;
}
function scr_script_delayed_until()
{
var __scriptdelay = instance_create(0, 0, obj_script_delayed_function);
__scriptdelay.script = argument[0];
__scriptdelay.condition = argument[1];
__scriptdelay.target = id;
for (var __i = 0; __i < (argument_count - 2); __i++)
__scriptdelay.script_arg[__i] = argument[__i + 2];
__scriptdelay.arg_count = argument_count - 2;
return __scriptdelay;
}
function delay_function(arg0, arg1)
{
return scr_script_delayed(arg0, arg1);
} (function()
|
|
780
|
{
|
|
781
|
acting = 1.3;
|
|
782
|
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;
}
}
} ("kris");
|
|
783
|
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");
|
|
784
|
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;
}
}
} ("ralsei");
|
|
785
|
if (seth_counter == 0)
|
|
786
|
msgsetloc(0, * The MERCY was taken back!!Wait for inputClose Message"* The MERCY was taken back!!/%", "obj_aqua_enemy_slash_Step_0_gml_861_0" );
|
|
787
|
else
|
|
788
|
msgsetloc(0, * In the end, no effect!Wait for inputClose Message"* In the end, no effect!/%", "obj_aqua_enemy_slash_Step_0_gml_863_0" );
|
|
789
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
790
|
if (seth_counter == 0)
|
|
791
|
{
|
|
792
|
snd_play(snd_mercyremove);
|
|
793
|
with (obj_dmgwriter)
|
|
794
|
reverse = true;
|
|
795
|
}
|
|
796
|
if (!(turns == 4 && myattackchoice != 5))
|
|
797
|
{
|
|
798
|
idlesprite = spr_enemy_aqua_laugh;
|
|
799
|
sparesprite = spr_enemy_aqua_laugh;
|
|
800
|
image_speed = 0.16666666666666666;
|
|
801
|
}
|
|
802
|
else
|
|
803
|
{
|
|
804
|
idlesprite = spr_enemy_aqua_bored;
|
|
805
|
sparesprite = spr_enemy_aqua_bored;
|
|
806
|
image_speed = 0.125;
|
|
807
|
}
|
|
808
|
with (obj_purple_enemy)
|
|
809
|
{
|
|
810
|
snd_play(snd_bump);
|
|
811
|
seth_sprite(8141, 0, 0.08333333333333333);
|
|
812
|
scr_minishakeobjscr_minishakeobj
function scr_minishakeobj()
{
shakeobj = instance_create(x, y, obj_shakeobj);
shakeobj.target = id;
shakeobj.shakeamt = 4;
shakeobj.shakereduct = 1;
with (shakeobj)
event_user(0);
} ();
|
|
813
|
}
|
|
814
|
}, (seth_counter == 0) ? 45 : 15);
|
|
815
|
});
|
|
816
|
acting += 0.1;
|
|
817
|
}
|
|
818
|
}
|
|
819
|
if ((acting == 1.2 || acting == 2.2 || acting == 3.2) && actcon == 0)
|
|
820
|
aqua_balloon_control();
|
|
821
|
if (acting == 1.3)
|
|
822
|
{
|
|
823
|
if (!i_ex(obj_writer))
|
|
824
|
{
|
|
825
|
with (obj_purple_enemy)
|
|
826
|
state_string = "";
|
|
827
|
if (!(turns == 4 && myattackchoice != 5))
|
|
828
|
{
|
|
829
|
idlesprite = spr_enemy_aqua_idle;
|
|
830
|
sparesprite = spr_enemy_aqua_idle;
|
|
831
|
image_speed = 0.16666666666666666;
|
|
832
|
}
|
|
833
|
else
|
|
834
|
{
|
|
835
|
idlesprite = spr_enemy_aqua_bored;
|
|
836
|
sparesprite = spr_enemy_aqua_bored;
|
|
837
|
image_speed = 0.125;
|
|
838
|
}
|
|
839
|
obj_purple_enemy.seth_sprite(2001, 0, 0.16666666666666666);
|
|
840
|
seth_counter++;
|
|
841
|
actcon = 1;
|
|
842
|
}
|
|
843
|
}
|
|
844
|
}
|
|
845
|
}
|
|
846
|
if (actcon == 20 || actconsus == 20 || actconral == 20)
|
|
847
|
{
|
|
848
|
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;
} ())
|
|
849
|
{
|
|
850
|
actconsus = -1;
|
|
851
|
actconral = -1;
|
|
852
|
actcon = 1;
|
|
853
|
}
|
|
854
|
}
|
|
855
|
if (actcon == 1 && !instance_exists(obj_writer))
|
|
856
|
{
|
|
857
|
if (last_act == 6)
|
|
858
|
{
|
|
859
|
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;
if (arg3 == -1)
maxframes = -1;
global.faceaction[myself] = 0;
}
}
} ("kris", spr_krisb_act, 0, true);
|
|
860
|
with (obj_herokris)
|
|
861
|
image_index = 7;
|
|
862
|
}
|
|
863
|
if (bored_switch)
|
|
864
|
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;
}
}
} ("kris");
|
|
865
|
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 (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();
}
} ();
|
|
866
|
}
|
|
867
|
}
|
|
868
|
if (state == 3)
|
|
869
|
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;
}
}
} ();
|
|
870
|
|
|
871
|
enum e__VW
|
|
872
|
{
|
|
873
|
XView,
|
|
874
|
YView,
|
|
875
|
WView,
|
|
876
|
HView,
|
|
877
|
Angle,
|
|
878
|
HBorder,
|
|
879
|
VBorder,
|
|
880
|
HSpeed,
|
|
881
|
VSpeed,
|
|
882
|
Object,
|
|
883
|
Visible,
|
|
884
|
XPort,
|
|
885
|
YPort,
|
|
886
|
WPort,
|
|
887
|
HPort,
|
|
888
|
Camera,
|
|
889
|
SurfaceID
|
|
890
|
}
|