|
1
|
if (global.monster[myself] == 1)
|
|
2
|
{
|
|
3
|
if (flowery_arena)
|
|
4
|
{
|
|
5
|
if (!actnameinit)
|
|
6
|
{
|
|
7
|
if (variable_instance_exists(id, "myself"))
|
|
8
|
{
|
|
9
|
global.actname[myself][0] = stringsetloc(Show Love"Show Love", "obj_ball_enemy_slash_Step_0_gml_11_0" );
|
|
10
|
global.actdesc[myself][0] = stringsetloc("", "obj_ball_enemy_slash_Step_0_gml_12_0");
|
|
11
|
actnameinit = true;
|
|
12
|
}
|
|
13
|
}
|
|
14
|
}
|
|
15
|
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)
|
|
16
|
{
|
|
17
|
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;
}
} ();
|
|
18
|
setbattlemsg = false;
|
|
19
|
myattackchoice = choose(0, 1);
|
|
20
|
myattackpriority = 1;
|
|
21
|
if (myattackchoice == 2)
|
|
22
|
myattackpriority = 50;
|
|
23
|
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);
|
|
24
|
if (!instance_exists(obj_darkener))
|
|
25
|
instance_create(0, 0, obj_darkener);
|
|
26
|
global.typer = 50;
|
|
27
|
rr = choose(0, 1, 2, 3);
|
|
28
|
if (flatterlastturn)
|
|
29
|
msgsetloc(0, Flowers, last longer than diamonds!"Flowers,&last longer&than diamonds!", "obj_ball_enemy_slash_Step_0_gml_38_0" );
|
|
30
|
else if (convincelastturn)
|
|
31
|
msgsetloc(0, I'm tired. Can I just beat someone up?"I'm tired.&Can I just&beat someone up?", "obj_ball_enemy_slash_Step_0_gml_39_0" );
|
|
32
|
else if (flirtlastturn)
|
|
33
|
msgsetloc(0, Nice impression. Reminds me of... Flowers."Nice impression.&Reminds me of...&Flowers.", "obj_ball_enemy_slash_Step_0_gml_40_0" );
|
|
34
|
else if (irandom(100) < 3)
|
|
35
|
msgsetloc(0, Do it for the vine."Do it for&the vine.", "obj_ball_enemy_slash_Step_0_gml_41_0" );
|
|
36
|
else if (rr == 0)
|
|
37
|
msgsetloc(0, I'm better than a normal person."I'm better than&a normal person.", "obj_ball_enemy_slash_Step_0_gml_42_0" );
|
|
38
|
else if (rr == 1)
|
|
39
|
msgsetloc(0, Flowers over boys."Flowers over&boys.", "obj_ball_enemy_slash_Step_0_gml_43_0" );
|
|
40
|
else if (rr == 2)
|
|
41
|
msgsetloc(0, Face my Flower Cutter!"Face my&Flower Cutter!", "obj_ball_enemy_slash_Step_0_gml_44_0" );
|
|
42
|
else if (rr == 3)
|
|
43
|
msgsetloc(0, We are after your dad!"We are after&your dad!", "obj_ball_enemy_slash_Step_0_gml_45_0" );
|
|
44
|
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 - 24, y + 38, 10);
|
|
45
|
talked = 1;
|
|
46
|
talktimer = 0;
|
|
47
|
rtimer = 0;
|
|
48
|
flatterlastturn = false;
|
|
49
|
convincelastturn = false;
|
|
50
|
flirtlastturn = false;
|
|
51
|
}
|
|
52
|
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"))
|
|
53
|
scr_blconskipscr_blconskip
function scr_blconskip(arg0)
{
if (arg0 >= 0)
{
if (button1_p() && talktimer > arg0)
talktimer = talkmax;
talktimer++;
if (talktimer >= talkmax)
{
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);
|
|
54
|
if (global.mnfight == 1.5)
|
|
55
|
{
|
|
56
|
if (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))
|
|
57
|
{
|
|
58
|
if (!instance_exists(obj_growtangle))
|
|
59
|
instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle);
|
|
60
|
if (!instance_exists(obj_moveheart))
|
|
61
|
scr_moveheartscr_moveheart
function scr_moveheart()
{
global.inv = 0;
return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart);
} ();
|
|
62
|
global.mnfight = 2;
|
|
63
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (90);
|
|
64
|
}
|
|
65
|
}
|
|
66
|
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)
|
|
67
|
{
|
|
68
|
rtimer += 1;
|
|
69
|
if (rtimer == 12)
|
|
70
|
{
|
|
71
|
if (myattackchoice == 0 || flattened == true || global.mercymod[myself] >= global.mercymax[myself])
|
|
72
|
{
|
|
73
|
global.monsterattackname[myself] = "HomingTriangle";
|
|
74
|
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);
|
|
75
|
dc.type = 140;
|
|
76
|
}
|
|
77
|
else if (myattackchoice == 1)
|
|
78
|
{
|
|
79
|
global.monsterattackname[myself] = "ManeThorn";
|
|
80
|
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);
|
|
81
|
dc.type = 141;
|
|
82
|
}
|
|
83
|
scr_turntimerscr_turntimer
function scr_turntimer(arg0)
{
if (global.turntimer < arg0)
global.turntimer = arg0;
} (200);
|
|
84
|
turns += 1;
|
|
85
|
attacked = 1;
|
|
86
|
}
|
|
87
|
}
|
|
88
|
if (global.mnfight == 2 && global.turntimer <= 1)
|
|
89
|
{
|
|
90
|
if (setbattlemsg == false)
|
|
91
|
{
|
|
92
|
global.typer = 6;
|
|
93
|
global.fc = 0;
|
|
94
|
rr = choose(0, 1, 2, 3);
|
|
95
|
if (scr_messagepriorityscr_messagepriority
function scr_messagepriority(arg0)
{
if (i_ex(obj_battlecontroller))
{
if (obj_battlecontroller.messagepriority < arg0)
{
obj_battlecontroller.messagepriority = arg0;
return true;
}
else
{
return false;
}
}
else
{
return false;
}
} (random(2)))
|
|
96
|
{
|
|
97
|
if (rr == 0)
|
|
98
|
global.battlemsg[0] = stringsetloc(* Floradinn is thinking out loud about your dad."* Floradinn is thinking out loud about your dad.", "obj_ball_enemy_slash_Step_0_gml_113_0" );
|
|
99
|
if (rr == 1)
|
|
100
|
global.battlemsg[0] = stringsetloc(* Floradinn mutters how it likes flowers,Delay 11 then remembers it's a flower and smiles."* Floradinn mutters how it likes flowers^1, then remembers it's a flower and smiles.", "obj_ball_enemy_slash_Step_0_gml_114_0" );
|
|
101
|
if (rr == 2)
|
|
102
|
global.battlemsg[0] = stringsetloc(* Floradinn considers arranging itself beautifully with other enemies."* Floradinn considers arranging itself beautifully with other enemies.", "obj_ball_enemy_slash_Step_0_gml_115_0" );
|
|
103
|
if (rr == 3)
|
|
104
|
global.battlemsg[0] = stringsetloc(* Floradinn has strong opinions about flowers."* Floradinn has strong opinions about flowers.", "obj_ball_enemy_slash_Step_0_gml_116_0" );
|
|
105
|
if (irandom(100) < 3)
|
|
106
|
global.battlemsg[0] = stringsetloc(* Oddly,Delay 11 it doesn't actually smell like flowers.Delay 11 Just like vines or grass."* Oddly^1, it doesn't actually smell like flowers^1. Just like vines or grass.", "obj_ball_enemy_slash_Step_0_gml_117_0" );
|
|
107
|
}
|
|
108
|
if (global.monsterhp[myself] <= (global.monstermaxhp[myself] / 3))
|
|
109
|
{
|
|
110
|
if (scr_messagepriorityscr_messagepriority
function scr_messagepriority(arg0)
{
if (i_ex(obj_battlecontroller))
{
if (obj_battlecontroller.messagepriority < arg0)
{
obj_battlecontroller.messagepriority = arg0;
return true;
}
else
{
return false;
}
}
else
{
return false;
}
} (100 + random(2)))
|
|
111
|
global.battlemsg[0] = stringsetloc(* Floradinn seems totally sapped."* Floradinn seems totally sapped.", "obj_ball_enemy_slash_Step_0_gml_123_0" );
|
|
112
|
}
|
|
113
|
if (global.mercymod[myself] >= 100)
|
|
114
|
{
|
|
115
|
if (scr_messagepriorityscr_messagepriority
function scr_messagepriority(arg0)
{
if (i_ex(obj_battlecontroller))
{
if (obj_battlecontroller.messagepriority < arg0)
{
obj_battlecontroller.messagepriority = arg0;
return true;
}
else
{
return false;
}
}
else
{
return false;
}
} (100 + random(2)))
|
|
116
|
global.battlemsg[0] = stringsetloc(* Floradinn is in full blossom."* Floradinn is in full blossom.", "obj_ball_enemy_slash_Step_0_gml_128_0" );
|
|
117
|
}
|
|
118
|
if (global.monsterstatus[myself] == 1)
|
|
119
|
{
|
|
120
|
if (scr_messagepriorityscr_messagepriority
function scr_messagepriority(arg0)
{
if (i_ex(obj_battlecontroller))
{
if (obj_battlecontroller.messagepriority < arg0)
{
obj_battlecontroller.messagepriority = arg0;
return true;
}
else
{
return false;
}
}
else
{
return false;
}
} (103 + random(2)))
|
|
121
|
global.battlemsg[0] = stringsetloc(* Floradinn is ready to close up and sleep."* Floradinn is ready to close up and sleep.", "obj_ball_enemy_slash_Step_0_gml_133_0" );
|
|
122
|
}
|
|
123
|
setbattlemsg = true;
|
|
124
|
}
|
|
125
|
}
|
|
126
|
}
|
|
127
|
if (global.myfight == 3)
|
|
128
|
{
|
|
129
|
xx = camerax();
|
|
130
|
yy = cameray();
|
|
131
|
if (acting == 1 && actcon == 0 && !flowery_arena)
|
|
132
|
{
|
|
133
|
actcon = 1;
|
|
134
|
msgsetloc(0, * Floradinn - Flowers are sweeter than diamonds...Delay 11 so it thinks.Wait for inputClose Message"* Floradinn - Flowers are sweeter than diamonds..^1. so it thinks./%", "obj_ball_enemy_slash_Step_0_gml_153_0" );
|
|
135
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
136
|
}
|
|
137
|
if (acting == 1 && actcon == 0 && flowery_arena)
|
|
138
|
{
|
|
139
|
with (obj_floradinn_enemy)
|
|
140
|
FlowersLoveCount++;
|
|
141
|
if (FlowersLoveCount == 1)
|
|
142
|
{
|
|
143
|
acting = 1.01;
|
|
144
|
msgsetloc(0, * You encouraged everyone to show love by flirting!Wait for inputClose Message"* You encouraged everyone to show love by flirting!/%", "obj_ball_enemy_slash_Step_0_gml_163_0" );
|
|
145
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
146
|
}
|
|
147
|
if (FlowersLoveCount == 2)
|
|
148
|
{
|
|
149
|
acting = 1.21;
|
|
150
|
msgsetloc(0, * You encouraged Susie to show her idea of love!Wait for inputClose Message"* You encouraged Susie to show her idea of love!/%", "obj_ball_enemy_slash_Step_0_gml_169_0" );
|
|
151
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
152
|
}
|
|
153
|
if (FlowersLoveCount == 3)
|
|
154
|
{
|
|
155
|
acting = 1.41;
|
|
156
|
msgsetloc(0, * You encouraged Ralsei to show his idea of love!Wait for inputClose Message"* You encouraged Ralsei to show his idea of love!/%", "obj_ball_enemy_slash_Step_0_gml_175_0" );
|
|
157
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
158
|
}
|
|
159
|
}
|
|
160
|
if (acting == 1.01 && actcon == 0 && !instance_exists(obj_writer))
|
|
161
|
{
|
|
162
|
acting = 1.02;
|
|
163
|
msgsetloc(0, ...Wait for inputClose Message".../%", "obj_ball_enemy_slash_Step_0_gml_183_0" );
|
|
164
|
global.typer = 75;
|
|
165
|
scr_heroblconscr_heroblcon
function scr_heroblcon(arg0)
{
var heroobj = -69420;
switch (arg0)
{
case 1:
case "kris":
case "kr":
heroobj = obj_herokris;
break;
case 2:
case "susie":
case "su":
heroobj = obj_herosusie;
break;
case 3:
case "ralsei":
case "ra":
heroobj = obj_heroralsei;
break;
case 4:
case "noelle":
case "no":
heroobj = obj_heronoelle;
break;
default:
heroobj = -69420;
break;
}
if (i_ex(heroobj))
{
var heroballoon = scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1;
return heroballoon;
}
else
{
return false;
}
} ("susie");
|
|
166
|
}
|
|
167
|
if (acting == 1.02 && actcon == 0)
|
|
168
|
{
|
|
169
|
talktimer++;
|
|
170
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
171
|
{
|
|
172
|
talktimer = 0;
|
|
173
|
acting = 1.03;
|
|
174
|
msgsetloc(0, Do you,Delay 11 uh, really have to, flirt with someone?Wait for inputClose Message"Do you^1, uh,&really have to,&flirt with someone?/%", "obj_ball_enemy_slash_Step_0_gml_195_0" );
|
|
175
|
global.typer = 75;
|
|
176
|
scr_heroblconscr_heroblcon
function scr_heroblcon(arg0)
{
var heroobj = -69420;
switch (arg0)
{
case 1:
case "kris":
case "kr":
heroobj = obj_herokris;
break;
case 2:
case "susie":
case "su":
heroobj = obj_herosusie;
break;
case 3:
case "ralsei":
case "ra":
heroobj = obj_heroralsei;
break;
case 4:
case "noelle":
case "no":
heroobj = obj_heronoelle;
break;
default:
heroobj = -69420;
break;
}
if (i_ex(heroobj))
{
var heroballoon = scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1;
return heroballoon;
}
else
{
return false;
}
} ("susie");
|
|
177
|
}
|
|
178
|
}
|
|
179
|
if (acting == 1.03 && actcon == 0)
|
|
180
|
{
|
|
181
|
talktimer++;
|
|
182
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
183
|
{
|
|
184
|
talktimer = 0;
|
|
185
|
acting = 1.04;
|
|
186
|
msgsetloc(0, ...Delay 11 if you like them?Wait for inputClose Message"..^1. if you&like them?/%", "obj_ball_enemy_slash_Step_0_gml_207_0" );
|
|
187
|
global.typer = 75;
|
|
188
|
scr_heroblconscr_heroblcon
function scr_heroblcon(arg0)
{
var heroobj = -69420;
switch (arg0)
{
case 1:
case "kris":
case "kr":
heroobj = obj_herokris;
break;
case 2:
case "susie":
case "su":
heroobj = obj_herosusie;
break;
case 3:
case "ralsei":
case "ra":
heroobj = obj_heroralsei;
break;
case 4:
case "noelle":
case "no":
heroobj = obj_heronoelle;
break;
default:
heroobj = -69420;
break;
}
if (i_ex(heroobj))
{
var heroballoon = scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1;
return heroballoon;
}
else
{
return false;
}
} ("susie");
|
|
189
|
}
|
|
190
|
}
|
|
191
|
if (acting == 1.04 && actcon == 0)
|
|
192
|
{
|
|
193
|
talktimer++;
|
|
194
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
195
|
{
|
|
196
|
talktimer = 0;
|
|
197
|
acting = 1.05;
|
|
198
|
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_lookdown, 0, 1);
|
|
199
|
with (obj_herokris)
|
|
200
|
scr_shakeobjscr_shakeobj
function scr_shakeobj()
{
var _shakeobj = instance_create(x, y, obj_shakeobj);
_shakeobj.target = id;
if (argument_count >= 1)
{
if (i_ex(argument0))
_shakeobj.target = argument0;
}
if (argument_count >= 2)
{
if (argument1 != -1)
_shakeobj.shakeamt = argument1;
}
if (argument_count >= 3)
{
if (argument2 != -1)
_shakeobj.shakereduct = argument2;
}
with (_shakeobj)
event_user(0);
} ();
|
|
201
|
snd_play(snd_bump);
|
|
202
|
}
|
|
203
|
}
|
|
204
|
if (acting == 1.05 && actcon == 0)
|
|
205
|
{
|
|
206
|
talktimer++;
|
|
207
|
if (talktimer == 30)
|
|
208
|
{
|
|
209
|
talktimer = 0;
|
|
210
|
acting = 1.06;
|
|
211
|
msgsetloc(0, I suppose... not necessarily.Wait for inputClose Message"I suppose...¬ necessarily./%", "obj_ball_enemy_slash_Step_0_gml_233_0" );
|
|
212
|
global.typer = 74;
|
|
213
|
scr_heroblconscr_heroblcon
function scr_heroblcon(arg0)
{
var heroobj = -69420;
switch (arg0)
{
case 1:
case "kris":
case "kr":
heroobj = obj_herokris;
break;
case 2:
case "susie":
case "su":
heroobj = obj_herosusie;
break;
case 3:
case "ralsei":
case "ra":
heroobj = obj_heroralsei;
break;
case 4:
case "noelle":
case "no":
heroobj = obj_heronoelle;
break;
default:
heroobj = -69420;
break;
}
if (i_ex(heroobj))
{
var heroballoon = scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1;
return heroballoon;
}
else
{
return false;
}
} ("ralsei");
|
|
214
|
}
|
|
215
|
}
|
|
216
|
if (acting == 1.06 && actcon == 0)
|
|
217
|
{
|
|
218
|
talktimer++;
|
|
219
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
220
|
{
|
|
221
|
talktimer = 0;
|
|
222
|
acting = 1.07;
|
|
223
|
msgsetloc(0, Kris,Delay 11 um,Delay 11 how would YOU show if you liked someone?Wait for inputClose Message"Kris^1, um^1, how would&YOU show if you liked someone?/%", "obj_ball_enemy_slash_Step_0_gml_245_0" );
|
|
224
|
global.typer = 74;
|
|
225
|
scr_heroblconscr_heroblcon
function scr_heroblcon(arg0)
{
var heroobj = -69420;
switch (arg0)
{
case 1:
case "kris":
case "kr":
heroobj = obj_herokris;
break;
case 2:
case "susie":
case "su":
heroobj = obj_herosusie;
break;
case 3:
case "ralsei":
case "ra":
heroobj = obj_heroralsei;
break;
case 4:
case "noelle":
case "no":
heroobj = obj_heronoelle;
break;
default:
heroobj = -69420;
break;
}
if (i_ex(heroobj))
{
var heroballoon = scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1;
return heroballoon;
}
else
{
return false;
}
} ("ralsei");
|
|
226
|
}
|
|
227
|
}
|
|
228
|
if (acting == 1.07 && actcon == 0)
|
|
229
|
{
|
|
230
|
talktimer++;
|
|
231
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
232
|
{
|
|
233
|
talktimer = 0;
|
|
234
|
acting = 1.08;
|
|
235
|
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_lookdown2, 0, 1);
|
|
236
|
with (obj_herokris)
|
|
237
|
scr_shakeobjscr_shakeobj
function scr_shakeobj()
{
var _shakeobj = instance_create(x, y, obj_shakeobj);
_shakeobj.target = id;
if (argument_count >= 1)
{
if (i_ex(argument0))
_shakeobj.target = argument0;
}
if (argument_count >= 2)
{
if (argument1 != -1)
_shakeobj.shakeamt = argument1;
}
if (argument_count >= 3)
{
if (argument2 != -1)
_shakeobj.shakereduct = argument2;
}
with (_shakeobj)
event_user(0);
} ();
|
|
238
|
snd_play(snd_bump);
|
|
239
|
}
|
|
240
|
}
|
|
241
|
if (acting == 1.08 && actcon == 0)
|
|
242
|
{
|
|
243
|
talktimer++;
|
|
244
|
if (talktimer == 30)
|
|
245
|
{
|
|
246
|
talktimer = 0;
|
|
247
|
acting = 1.09;
|
|
248
|
var small_text = stringsetloc(HEY, DON'T LEAVE IT ALL TO ME!!!"HEY, DON'T LEAVE IT ALL TO ME!!!", "obj_ball_enemy_slash_Step_0_gml_272_0" );
|
|
249
|
scr_smallfacescr_smallface
function scr_smallface(arg0, arg1, arg2, arg3, arg4, arg5)
{
scr_smallface_reset(arg0);
global.smsprite[arg0] = spr_face_susie_alt;
if (is_string(arg1))
{
if (arg1 == "susie")
global.smsprite[arg0] = spr_face_susie_alt;
if (arg1 == "ralsei")
global.smsprite[arg0] = spr_face_r_nohat;
if (arg1 == "ralsei" && global.flag[1311])
global.smsprite[arg0] = spr_face_r_dark;
if (arg1 == "lancer")
global.smsprite[arg0] = spr_face_l0;
if (arg1 == "noelle")
global.smsprite[arg0] = spr_face_n_matome;
if (arg1 == "noelle_cropped")
global.smsprite[arg0] = spr_face_n_matome_cropped;
if (arg1 == "queen")
global.smsprite[arg0] = scr_84_get_sprite("spr_face_queen");
if (arg1 == "rouxls")
global.smsprite[arg0] = spr_face_rurus;
if (arg1 == "berdly")
global.smsprite[arg0] = spr_face_berdly_dark;
if (arg1 == "rudy")
global.smsprite[arg0] = spr_face_rudy;
if (arg1 == "flowery")
global.smsprite[arg0] = spr_face_flowery;
if (arg1 == "toriel")
global.smsprite[arg0] = spr_face_t0;
if (arg1 == "opuppet")
{
global.smsprite[arg0] = spr_miniface_orange;
global.smcolor[arg0] = c_orange;
global.smshake[arg0] = 1;
}
if (arg1 == "sans")
global.smsprite[arg0] = asset_get_index("spr_face_sans" + string(arg2));
var flower_list = ["orange", "aqua", "green", "seth", "blue", "yellow"];
for (var i = 0; i < array_length(flower_list); i++)
{
if (arg1 != flower_list[i])
continue;
global.smsprite[arg0] = spr_empty;
break;
}
if (arg1 == "orange")
global.smcolor[arg0] = #FFAC87;
if (arg1 == "aqua")
global.smcolor[arg0] = #84F9FF;
if (arg1 == "green")
global.smcolor[arg0] = #AEFFBC;
if (arg1 == "seth")
global.smcolor[arg0] = #E2A8FC;
if (arg1 == "blue")
global.smcolor[arg0] = #86A7FF;
if (arg1 == "yellow")
global.smcolor[arg0] = #FFF8A1;
if (arg1 == "none" || arg1 == "empty")
global.smsprite[arg0] = spr_empty;
}
else
{
global.smsprite[arg0] = arg1;
if (arg1 == 0)
global.smsprite[arg0] = spr_empty;
}
global.smimage[arg0] = arg2;
if (is_string(arg3))
{
if (global.fighting == 1)
{
if (arg3 == "left")
global.smxx[arg0] = 60;
if (arg3 == "leftmid")
global.smxx[arg0] = 160;
if (arg3 == "mid" || arg3 == "middle")
global.smxx[arg0] = 260;
if (arg3 == "rightmid")
global.smxx[arg0] = 360;
if (arg3 == "right")
global.smxx[arg0] = 460;
}
else
{
if (arg3 == "left")
global.smxx[arg0] = 70;
if (arg3 == "leftmid")
global.smxx[arg0] = 160;
if (arg3 == "mid" || arg3 == "middle")
global.smxx[arg0] = 260;
if (arg3 == "rightmid")
global.smxx[arg0] = 360;
if (arg3 == "right")
global.smxx[arg0] = 400;
}
}
else
{
global.smxx[arg0] = arg3;
}
... (0, "susie", 5, "left", "bottom", small_text);
|
|
250
|
msgsetloc(0, * ...Wait for input"* .../", "obj_ball_enemy_slash_Step_0_gml_274_0" );
|
|
251
|
msgnextloc(* (The ACT changed to Susie's Idea...)Mini text 0 Wait for inputClose Message"* (The ACT changed to Susie's Idea...)\\f0/%", "obj_ball_enemy_slash_Step_0_gml_275_0" );
|
|
252
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
253
|
}
|
|
254
|
}
|
|
255
|
if (acting == 1.09 && actcon == 0 && !i_ex(obj_writer))
|
|
256
|
{
|
|
257
|
acting = 0;
|
|
258
|
actcon = 1;
|
|
259
|
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");
|
|
260
|
global.actname[myself][0] = stringsetloc(Susie's Idea"Susie's Idea", "obj_ball_enemy_slash_Step_0_gml_285_0" );
|
|
261
|
global.actactor[myself][0] = 2;
|
|
262
|
scr_spellmenu_setupscr_spellmenu_setup
function scr_spellmenu_setup()
{
var __actnamecheck = 0;
var __monstertype = global.monstertype[0];
for (__i = 1; __i < 3; __i++)
{
if (global.monster[__i] == 1 && global.monstertype[__i] != __monstertype)
{
if (global.encounterno != 222)
__actnamecheck = 1;
}
}
for (__i = 0; __i < 3; __i++)
{
for (__fj = 0; __fj < 6; __fj++)
{
global.battlespell[__i][__fj] = 0;
if (global.char[__i] == 1)
{
if (global.canact[0][__fj] == 1)
{
global.battlespell[__i][__fj] = -1;
if (global.battleactcount[__i] < (__fj + 1))
global.battleactcount[__i] = __fj + 1;
global.battlespellcost[__i][__fj] = global.actcost[0][__fj];
global.battlespellname[__i][__fj] = global.actname[0][__fj];
global.battlespelldesc[__i][__fj] = global.actdesc[0][__fj];
global.battlespelltarget[__i][__fj] = 0;
global.battlespellspecial[__i][__fj] = 1;
}
}
if (global.char[__i] == 2)
{
if (global.canactsus[0][__fj] == 1)
{
global.battlespell[__i][__fj] = -1;
if (global.battleactcount[__i] < (__fj + 1))
global.battleactcount[__i] = __fj + 1;
global.battlespellcost[__i][__fj] = global.actcostsus[0][__fj];
global.battlespellname[__i][__fj] = global.actnamesus[0][__fj];
if (__actnamecheck)
global.battlespellname[__i][__fj] = stringsetloc(S-Action"S-Action", "scr_monstersetup_slash_scr_monstersetup_gml_1053_0" );
global.battlespelldesc[__i][__fj] = global.actdescsus[0][__fj];
global.battlespelltarget[__i][__fj] = 2;
global.battlespellspecial[__i][__fj] = 2;
}
}
if (global.char[__i] == 3)
{
if (global.canactral[0][__fj] == 1)
{
global.battlespell[__i][__fj] = -1;
if (global.battleactcount[__i] < (__fj + 1))
global.battleactcount[__i] = __fj + 1;
global.battlespellcost[__i][__fj] = global.actcostral[0][__fj];
global.battlespellname[__i][__fj] = global.actnameral[0][__fj];
if (__actnamecheck)
global.battlespellname[__i][__fj] = stringsetloc(R-Action"R-Action", "scr_monstersetup_slash_scr_monstersetup_gml_1057_0" );
global.battlespelldesc[__i][__fj] = global.actdescral[0][__fj];
global.battlespelltarget[__i][__fj] = 2;
global.battlespellspecial[__i][__fj] = 3;
}
}
if (global.char[__i] == 4)
{
if (global.canactnoe[0][__fj] == 1)
{
global.battlespell[__i][__fj] = -1;
if (global.battleactcount[__i] < (__fj + 1))
global.battleactcount[__i] = __fj + 1;
global.battlespellcost[__i][__fj] = global.actcostnoe[0][__fj];
global.battlespellname[__i][__fj] = global.actnamenoe[0][__fj];
if (__actnamecheck)
global.battlespellname[__i][__fj] = stringsetloc(N-Action"N-Action", "scr_monstersetup_slash_scr_monstersetup_gml_1061_0" );
global.battlespelldesc[__i][__fj] = global.actdescnoe[0][__fj];
global.battlespelltarget[__i][__fj] = 2;
global.battlespellspecial[__i][__fj] = 4;
}
}
}
}
scr_spellinfo_all();
for (__i = 0; __i < 3; __i++)
{
for (__fj = 0; __fj < 12; __fj++)
{
__ib = global.battleactcount[__i] + __fj;
global.battlespell[__i][__ib] = global.spell[global.char[__i]][__fj];
global.battlespellcost[__i][__ib] = global.spellcost[global.char[__i]][__fj];
global.battlespellname[__i][__ib] = global.spellnameb[global.char[__i]][__fj];
global.battlespelldesc[__i][__ib] = global.spelldescb[global.char[__i]][__fj];
global.battlespelltarget[__i][__ib] = global.spelltarget[global.char[__i]][__fj];
}
}
} ();
|
|
263
|
}
|
|
264
|
if (acting == 1.21 && actcon == 0 && !i_ex(obj_writer))
|
|
265
|
{
|
|
266
|
acting = 1.22;
|
|
267
|
msgsetloc(0, M-Me?Delay 11 I'm telling you, I don't know,Delay 11 idiot!Wait for inputClose Message"M-Me^1? I'm telling you,&I don't know^1, idiot!/%", "obj_ball_enemy_slash_Step_0_gml_293_0" );
|
|
268
|
global.typer = 75;
|
|
269
|
scr_heroblconscr_heroblcon
function scr_heroblcon(arg0)
{
var heroobj = -69420;
switch (arg0)
{
case 1:
case "kris":
case "kr":
heroobj = obj_herokris;
break;
case 2:
case "susie":
case "su":
heroobj = obj_herosusie;
break;
case 3:
case "ralsei":
case "ra":
heroobj = obj_heroralsei;
break;
case 4:
case "noelle":
case "no":
heroobj = obj_heronoelle;
break;
default:
heroobj = -69420;
break;
}
if (i_ex(heroobj))
{
var heroballoon = scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1;
return heroballoon;
}
else
{
return false;
}
} ("susie");
|
|
270
|
}
|
|
271
|
if (acting == 1.22 && actcon == 0)
|
|
272
|
{
|
|
273
|
talktimer++;
|
|
274
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
275
|
{
|
|
276
|
talktimer = 0;
|
|
277
|
acting = 1.23;
|
|
278
|
msgsetloc(0, So far, all I know is that someone...Wait for inputClose Message"So far,&all I know is&that someone.../%", "obj_ball_enemy_slash_Step_0_gml_305_0" );
|
|
279
|
global.typer = 75;
|
|
280
|
scr_heroblconscr_heroblcon
function scr_heroblcon(arg0)
{
var heroobj = -69420;
switch (arg0)
{
case 1:
case "kris":
case "kr":
heroobj = obj_herokris;
break;
case 2:
case "susie":
case "su":
heroobj = obj_herosusie;
break;
case 3:
case "ralsei":
case "ra":
heroobj = obj_heroralsei;
break;
case 4:
case "noelle":
case "no":
heroobj = obj_heronoelle;
break;
default:
heroobj = -69420;
break;
}
if (i_ex(heroobj))
{
var heroballoon = scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1;
return heroballoon;
}
else
{
return false;
}
} ("susie");
|
|
281
|
}
|
|
282
|
}
|
|
283
|
if (acting == 1.23 && actcon == 0)
|
|
284
|
{
|
|
285
|
talktimer++;
|
|
286
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
287
|
{
|
|
288
|
talktimer = 0;
|
|
289
|
acting = 1.24;
|
|
290
|
msgsetloc(0, ...Delay 11 someone's, just gotta like you first.Wait for inputClose Message"..^1. someone's,&just gotta&like you first./%", "obj_ball_enemy_slash_Step_0_gml_318_0" );
|
|
291
|
global.typer = 75;
|
|
292
|
scr_heroblconscr_heroblcon
function scr_heroblcon(arg0)
{
var heroobj = -69420;
switch (arg0)
{
case 1:
case "kris":
case "kr":
heroobj = obj_herokris;
break;
case 2:
case "susie":
case "su":
heroobj = obj_herosusie;
break;
case 3:
case "ralsei":
case "ra":
heroobj = obj_heroralsei;
break;
case 4:
case "noelle":
case "no":
heroobj = obj_heronoelle;
break;
default:
heroobj = -69420;
break;
}
if (i_ex(heroobj))
{
var heroballoon = scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1;
return heroballoon;
}
else
{
return false;
}
} ("susie");
|
|
293
|
}
|
|
294
|
}
|
|
295
|
if (acting == 1.24 && actcon == 0)
|
|
296
|
{
|
|
297
|
talktimer++;
|
|
298
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
299
|
{
|
|
300
|
talktimer = 0;
|
|
301
|
acting = 1.25;
|
|
302
|
}
|
|
303
|
}
|
|
304
|
if (acting == 1.25 && actcon == 0)
|
|
305
|
{
|
|
306
|
talktimer++;
|
|
307
|
if (talktimer == 30)
|
|
308
|
{
|
|
309
|
talktimer = 0;
|
|
310
|
acting = 1.26;
|
|
311
|
}
|
|
312
|
}
|
|
313
|
if (acting == 1.26 && actcon == 0)
|
|
314
|
{
|
|
315
|
talktimer++;
|
|
316
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
317
|
{
|
|
318
|
talktimer = 0;
|
|
319
|
acting = 1.27;
|
|
320
|
global.typer = 50;
|
|
321
|
msgsetloc(0, (Dude,Delay 11 what does this have to do with me?)Wait for inputClose Message"(Dude^1, what does this&have to do with me?)/%", "obj_ball_enemy_slash_Step_0_gml_353_0" );
|
|
322
|
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 - 14, y + 38, 10);
|
|
323
|
}
|
|
324
|
}
|
|
325
|
if (acting == 1.27 && actcon == 0)
|
|
326
|
{
|
|
327
|
talktimer++;
|
|
328
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
329
|
{
|
|
330
|
talktimer = 0;
|
|
331
|
acting = 1.28;
|
|
332
|
global.typer = 50;
|
|
333
|
msgsetloc(0, * (The ACT changed to Ralsei's Idea...)Wait for inputClose Message"* (The ACT changed to&Ralsei's Idea...)/%", "obj_ball_enemy_slash_Step_0_gml_367_0" );
|
|
334
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
335
|
}
|
|
336
|
}
|
|
337
|
if (acting == 1.28 && actcon == 0)
|
|
338
|
{
|
|
339
|
talktimer++;
|
|
340
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
341
|
{
|
|
342
|
talktimer = 0;
|
|
343
|
acting = 0;
|
|
344
|
actcon = 1;
|
|
345
|
global.actname[myself][0] = stringsetloc(Ralsei's Idea"Ralsei's Idea", "obj_ball_enemy_slash_Step_0_gml_381_0" );
|
|
346
|
global.actactor[myself][0] = 3;
|
|
347
|
scr_spellmenu_setupscr_spellmenu_setup
function scr_spellmenu_setup()
{
var __actnamecheck = 0;
var __monstertype = global.monstertype[0];
for (__i = 1; __i < 3; __i++)
{
if (global.monster[__i] == 1 && global.monstertype[__i] != __monstertype)
{
if (global.encounterno != 222)
__actnamecheck = 1;
}
}
for (__i = 0; __i < 3; __i++)
{
for (__fj = 0; __fj < 6; __fj++)
{
global.battlespell[__i][__fj] = 0;
if (global.char[__i] == 1)
{
if (global.canact[0][__fj] == 1)
{
global.battlespell[__i][__fj] = -1;
if (global.battleactcount[__i] < (__fj + 1))
global.battleactcount[__i] = __fj + 1;
global.battlespellcost[__i][__fj] = global.actcost[0][__fj];
global.battlespellname[__i][__fj] = global.actname[0][__fj];
global.battlespelldesc[__i][__fj] = global.actdesc[0][__fj];
global.battlespelltarget[__i][__fj] = 0;
global.battlespellspecial[__i][__fj] = 1;
}
}
if (global.char[__i] == 2)
{
if (global.canactsus[0][__fj] == 1)
{
global.battlespell[__i][__fj] = -1;
if (global.battleactcount[__i] < (__fj + 1))
global.battleactcount[__i] = __fj + 1;
global.battlespellcost[__i][__fj] = global.actcostsus[0][__fj];
global.battlespellname[__i][__fj] = global.actnamesus[0][__fj];
if (__actnamecheck)
global.battlespellname[__i][__fj] = stringsetloc(S-Action"S-Action", "scr_monstersetup_slash_scr_monstersetup_gml_1053_0" );
global.battlespelldesc[__i][__fj] = global.actdescsus[0][__fj];
global.battlespelltarget[__i][__fj] = 2;
global.battlespellspecial[__i][__fj] = 2;
}
}
if (global.char[__i] == 3)
{
if (global.canactral[0][__fj] == 1)
{
global.battlespell[__i][__fj] = -1;
if (global.battleactcount[__i] < (__fj + 1))
global.battleactcount[__i] = __fj + 1;
global.battlespellcost[__i][__fj] = global.actcostral[0][__fj];
global.battlespellname[__i][__fj] = global.actnameral[0][__fj];
if (__actnamecheck)
global.battlespellname[__i][__fj] = stringsetloc(R-Action"R-Action", "scr_monstersetup_slash_scr_monstersetup_gml_1057_0" );
global.battlespelldesc[__i][__fj] = global.actdescral[0][__fj];
global.battlespelltarget[__i][__fj] = 2;
global.battlespellspecial[__i][__fj] = 3;
}
}
if (global.char[__i] == 4)
{
if (global.canactnoe[0][__fj] == 1)
{
global.battlespell[__i][__fj] = -1;
if (global.battleactcount[__i] < (__fj + 1))
global.battleactcount[__i] = __fj + 1;
global.battlespellcost[__i][__fj] = global.actcostnoe[0][__fj];
global.battlespellname[__i][__fj] = global.actnamenoe[0][__fj];
if (__actnamecheck)
global.battlespellname[__i][__fj] = stringsetloc(N-Action"N-Action", "scr_monstersetup_slash_scr_monstersetup_gml_1061_0" );
global.battlespelldesc[__i][__fj] = global.actdescnoe[0][__fj];
global.battlespelltarget[__i][__fj] = 2;
global.battlespellspecial[__i][__fj] = 4;
}
}
}
}
scr_spellinfo_all();
for (__i = 0; __i < 3; __i++)
{
for (__fj = 0; __fj < 12; __fj++)
{
__ib = global.battleactcount[__i] + __fj;
global.battlespell[__i][__ib] = global.spell[global.char[__i]][__fj];
global.battlespellcost[__i][__ib] = global.spellcost[global.char[__i]][__fj];
global.battlespellname[__i][__ib] = global.spellnameb[global.char[__i]][__fj];
global.battlespelldesc[__i][__ib] = global.spelldescb[global.char[__i]][__fj];
global.battlespelltarget[__i][__ib] = global.spelltarget[global.char[__i]][__fj];
}
}
} ();
|
|
348
|
}
|
|
349
|
}
|
|
350
|
if (acting == 1.41 && actcon == 0 && !i_ex(obj_writer))
|
|
351
|
{
|
|
352
|
acting = 1.42;
|
|
353
|
msgsetloc(0, Floradinn...Delay 11 love, is like a flower.Wait for inputClose Message"Floradinn..^1. love,&is like a flower./%", "obj_ball_enemy_slash_Step_0_gml_391_0" );
|
|
354
|
global.typer = 74;
|
|
355
|
var heroballoon = 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;
... (obj_heroralsei.x + 120, obj_heroralsei.y + 60, 10);
|
|
356
|
heroballoon.side = -1;
|
|
357
|
}
|
|
358
|
if (acting == 1.42 && actcon == 0)
|
|
359
|
{
|
|
360
|
talktimer++;
|
|
361
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
362
|
{
|
|
363
|
talktimer = 0;
|
|
364
|
acting = 1.43;
|
|
365
|
msgsetloc(0, It may struggle with the seasons, but...Wait for inputClose Message"It may struggle&with the seasons,&but.../%", "obj_ball_enemy_slash_Step_0_gml_405_0" );
|
|
366
|
global.typer = 74;
|
|
367
|
var heroballoon = 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;
... (obj_heroralsei.x + 120, obj_heroralsei.y + 60, 10);
|
|
368
|
heroballoon.side = -1;
|
|
369
|
}
|
|
370
|
}
|
|
371
|
if (acting == 1.43 && actcon == 0)
|
|
372
|
{
|
|
373
|
talktimer++;
|
|
374
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
375
|
{
|
|
376
|
talktimer = 0;
|
|
377
|
acting = 1.44;
|
|
378
|
msgsetloc(0, If you believe,Delay 11 it will blossom with more colors than the rainbow.Wait for inputClose Message"If you believe^1, it&will blossom with more&colors than the rainbow./%", "obj_ball_enemy_slash_Step_0_gml_420_0" );
|
|
379
|
global.typer = 74;
|
|
380
|
var heroballoon = 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;
... (obj_heroralsei.x + 120, obj_heroralsei.y + 60, 10);
|
|
381
|
heroballoon.side = -1;
|
|
382
|
}
|
|
383
|
}
|
|
384
|
if (acting == 1.44 && actcon == 0)
|
|
385
|
{
|
|
386
|
talktimer++;
|
|
387
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
388
|
{
|
|
389
|
talktimer = 0;
|
|
390
|
acting = 1.45;
|
|
391
|
var _txt = choose(stringsetloc(boyfriend"boyfriend", "obj_ball_enemy_slash_Step_0_gml_435_0" ), stringsetloc(girlfriend"girlfriend", "obj_ball_enemy_slash_Step_0_gml_435_1" ));
|
|
392
|
global.typer = 50;
|
|
393
|
msgsetsubloc(0, "Can you get me a&hot gamer ~1./%", _txt, "obj_ball_enemy_slash_Step_0_gml_437_0");
|
|
394
|
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 - 14, y + 38, 10);
|
|
395
|
}
|
|
396
|
}
|
|
397
|
if (acting == 1.45 && actcon == 0)
|
|
398
|
{
|
|
399
|
talktimer++;
|
|
400
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
401
|
{
|
|
402
|
talktimer = 0;
|
|
403
|
acting = 1.46;
|
|
404
|
msgsetloc(0, N...Delay 11 no.Wait for inputClose Message"N..^1. no./%", "obj_ball_enemy_slash_Step_0_gml_450_0" );
|
|
405
|
global.typer = 74;
|
|
406
|
var heroballoon = 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;
... (obj_heroralsei.x + 120, obj_heroralsei.y + 60, 10);
|
|
407
|
heroballoon.side = -1;
|
|
408
|
}
|
|
409
|
}
|
|
410
|
if (acting == 1.46 && actcon == 0)
|
|
411
|
{
|
|
412
|
talktimer++;
|
|
413
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
414
|
{
|
|
415
|
talktimer = 0;
|
|
416
|
acting = 1.47;
|
|
417
|
global.typer = 50;
|
|
418
|
msgsetloc(0, Oh.Wait for inputClose Message"Oh./%", "obj_ball_enemy_slash_Step_0_gml_465_0" );
|
|
419
|
snd_pause(global.batmusic[0]);
|
|
420
|
}
|
|
421
|
}
|
|
422
|
if (acting == 1.47 && actcon == 0)
|
|
423
|
{
|
|
424
|
talktimer++;
|
|
425
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
426
|
{
|
|
427
|
talktimer = 0;
|
|
428
|
acting = 1.48;
|
|
429
|
with (obj_floradinn_enemy)
|
|
430
|
{
|
|
431
|
image_xscale = -2;
|
|
432
|
hspeed = 4;
|
|
433
|
x += 68;
|
|
434
|
}
|
|
435
|
}
|
|
436
|
}
|
|
437
|
if (acting == 1.48 && actcon == 0)
|
|
438
|
{
|
|
439
|
talktimer++;
|
|
440
|
if (talktimer == 60)
|
|
441
|
{
|
|
442
|
talktimer = 0;
|
|
443
|
acting = 0;
|
|
444
|
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;
}
} ();
|
|
445
|
}
|
|
446
|
}
|
|
447
|
if (acting == 2 && actcon == 0)
|
|
448
|
{
|
|
449
|
global.flag[1340]++;
|
|
450
|
flatterlastturn = true;
|
|
451
|
if (global.flag[1340] == 1)
|
|
452
|
{
|
|
453
|
msgsetloc(0, * You pressed Floradinn in a book to make it MORE FLAT!Delay 11 The memories will last forever...Wait for inputClose Message"* You pressed Floradinn in a book to make it MORE FLAT^1! The memories will last forever.../%", "obj_ball_enemy_slash_Step_0_gml_505_0" );
|
|
454
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
455
|
bookcon = 1;
|
|
456
|
actcon = 1;
|
|
457
|
}
|
|
458
|
else
|
|
459
|
{
|
|
460
|
msgsetloc(0, * You flattened Floradinn!Wait for inputClose Message"* You flattened Floradinn!/%", "obj_ball_enemy_slash_Step_0_gml_514_0" );
|
|
461
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
462
|
bookcon = 1;
|
|
463
|
actcon = 1;
|
|
464
|
}
|
|
465
|
}
|
|
466
|
if (acting == 3 && actcon == 0)
|
|
467
|
{
|
|
468
|
global.flag[1342]++;
|
|
469
|
flirtlastturn = true;
|
|
470
|
if (global.flag[1342] == 1)
|
|
471
|
{
|
|
472
|
msgsetloc(0, * Susie gets ready to FLIRT!Wait for inputClose Message"* Susie gets ready to FLIRT!/%", "obj_ball_enemy_slash_Step_0_gml_531_0" );
|
|
473
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
474
|
acting = 3.1;
|
|
475
|
}
|
|
476
|
else
|
|
477
|
{
|
|
478
|
msgsetloc(0, * Susie abstains from flirting!Wait for inputClose Message"* Susie abstains from flirting!/%", "obj_ball_enemy_slash_Step_0_gml_538_0" );
|
|
479
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
480
|
acting = 3.7;
|
|
481
|
}
|
|
482
|
}
|
|
483
|
if (acting == 3.1 && actcon == 0)
|
|
484
|
{
|
|
485
|
talktimer++;
|
|
486
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
487
|
{
|
|
488
|
msgsetloc(0, Heh,Delay 11 watch THIS. I'm way better at this now...!Wait for inputClose Message"Heh^1, watch THIS.&I'm way better&at this now...!/%", "obj_ball_enemy_slash_Step_0_gml_550_0" );
|
|
489
|
global.typer = 75;
|
|
490
|
scr_heroblconscr_heroblcon
function scr_heroblcon(arg0)
{
var heroobj = -69420;
switch (arg0)
{
case 1:
case "kris":
case "kr":
heroobj = obj_herokris;
break;
case 2:
case "susie":
case "su":
heroobj = obj_herosusie;
break;
case 3:
case "ralsei":
case "ra":
heroobj = obj_heroralsei;
break;
case 4:
case "noelle":
case "no":
heroobj = obj_heronoelle;
break;
default:
heroobj = -69420;
break;
}
if (i_ex(heroobj))
{
var heroballoon = scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1;
return heroballoon;
}
else
{
return false;
}
} ("susie");
|
|
491
|
acting = 3.2;
|
|
492
|
talktimer = 0;
|
|
493
|
}
|
|
494
|
}
|
|
495
|
if (acting == 3.2 && actcon == 0)
|
|
496
|
{
|
|
497
|
talktimer++;
|
|
498
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
499
|
{
|
|
500
|
msgsetloc(0, ...Wait for inputClose Message".../%", "obj_ball_enemy_slash_Step_0_gml_564_0" );
|
|
501
|
global.typer = 75;
|
|
502
|
scr_heroblconscr_heroblcon
function scr_heroblcon(arg0)
{
var heroobj = -69420;
switch (arg0)
{
case 1:
case "kris":
case "kr":
heroobj = obj_herokris;
break;
case 2:
case "susie":
case "su":
heroobj = obj_herosusie;
break;
case 3:
case "ralsei":
case "ra":
heroobj = obj_heroralsei;
break;
case 4:
case "noelle":
case "no":
heroobj = obj_heronoelle;
break;
default:
heroobj = -69420;
break;
}
if (i_ex(heroobj))
{
var heroballoon = scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1;
return heroballoon;
}
else
{
return false;
}
} ("susie");
|
|
503
|
acting = 3.3;
|
|
504
|
talktimer = 0;
|
|
505
|
}
|
|
506
|
}
|
|
507
|
if (acting == 3.3 && actcon == 0)
|
|
508
|
{
|
|
509
|
talktimer++;
|
|
510
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
511
|
{
|
|
512
|
msgsetloc(0, 'cept,Delay 11 I guess...Delay 11 if...Wait for inputClose Message"'cept^1, I&guess..^1. if.../%", "obj_ball_enemy_slash_Step_0_gml_578_0" );
|
|
513
|
global.typer = 75;
|
|
514
|
scr_heroblconscr_heroblcon
function scr_heroblcon(arg0)
{
var heroobj = -69420;
switch (arg0)
{
case 1:
case "kris":
case "kr":
heroobj = obj_herokris;
break;
case 2:
case "susie":
case "su":
heroobj = obj_herosusie;
break;
case 3:
case "ralsei":
case "ra":
heroobj = obj_heroralsei;
break;
case 4:
case "noelle":
case "no":
heroobj = obj_heronoelle;
break;
default:
heroobj = -69420;
break;
}
if (i_ex(heroobj))
{
var heroballoon = scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1;
return heroballoon;
}
else
{
return false;
}
} ("susie");
|
|
515
|
acting = 3.4;
|
|
516
|
talktimer = 0;
|
|
517
|
}
|
|
518
|
}
|
|
519
|
if (acting == 3.4 && actcon == 0)
|
|
520
|
{
|
|
521
|
talktimer++;
|
|
522
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
523
|
{
|
|
524
|
msgsetloc(0, If me and Noelle are... a thing...Wait for inputClose Message"If me and Noelle are...&a thing.../%", "obj_ball_enemy_slash_Step_0_gml_592_0" );
|
|
525
|
global.typer = 75;
|
|
526
|
scr_heroblconscr_heroblcon
function scr_heroblcon(arg0)
{
var heroobj = -69420;
switch (arg0)
{
case 1:
case "kris":
case "kr":
heroobj = obj_herokris;
break;
case 2:
case "susie":
case "su":
heroobj = obj_herosusie;
break;
case 3:
case "ralsei":
case "ra":
heroobj = obj_heroralsei;
break;
case 4:
case "noelle":
case "no":
heroobj = obj_heronoelle;
break;
default:
heroobj = -69420;
break;
}
if (i_ex(heroobj))
{
var heroballoon = scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1;
return heroballoon;
}
else
{
return false;
}
} ("susie");
|
|
527
|
acting = 3.5;
|
|
528
|
talktimer = 0;
|
|
529
|
}
|
|
530
|
}
|
|
531
|
if (acting == 3.5 && actcon == 0)
|
|
532
|
{
|
|
533
|
talktimer++;
|
|
534
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
535
|
{
|
|
536
|
msgsetloc(0, I should probably... save my flirts,Delay 11 right?Wait for inputClose Message"I should probably...&save my flirts^1, right?/%", "obj_ball_enemy_slash_Step_0_gml_606_0" );
|
|
537
|
global.typer = 75;
|
|
538
|
scr_heroblconscr_heroblcon
function scr_heroblcon(arg0)
{
var heroobj = -69420;
switch (arg0)
{
case 1:
case "kris":
case "kr":
heroobj = obj_herokris;
break;
case 2:
case "susie":
case "su":
heroobj = obj_herosusie;
break;
case 3:
case "ralsei":
case "ra":
heroobj = obj_heroralsei;
break;
case 4:
case "noelle":
case "no":
heroobj = obj_heronoelle;
break;
default:
heroobj = -69420;
break;
}
if (i_ex(heroobj))
{
var heroballoon = scr_enemyblcon(heroobj.x + 100, heroobj.y + 40, 10);
heroballoon.side = -1;
return heroballoon;
}
else
{
return false;
}
} ("susie");
|
|
539
|
acting = 3.6;
|
|
540
|
talktimer = 0;
|
|
541
|
}
|
|
542
|
}
|
|
543
|
if (acting == 3.6 && actcon == 0)
|
|
544
|
{
|
|
545
|
talktimer++;
|
|
546
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
547
|
{
|
|
548
|
msgsetloc(0, * Susie got psyched out!Delay 11 You just did a flower impression instead!Wait for inputClose Message"* Susie got psyched out^1! You just did a flower impression instead!/%", "obj_ball_enemy_slash_Step_0_gml_620_0" );
|
|
549
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
550
|
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, 100);
|
|
551
|
scr_act_charspritescr_act_charsprite
function scr_act_charsprite(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;
}
__returnvalue = _charactsprite[_charnum];
if (i_ex(_charinstance))
{
with (_charinstance)
{
image_alpha = 0;
state = 0;
global.faceaction[myself] = 0;
}
_charactsprite[_charnum] = scr_dark_marker(_charinstance.x, _charinstance.y, arg1);
with (_charactsprite[_charnum])
{
depth = 20 - (__view_get(e__VW.YView, 0) / 40);
scr_oflash();
if (arg2 > 0 && arg3 == 0)
scr_animate(0, 0, arg2);
if (arg2 > 0 && arg3 == 1)
image_speed = arg2;
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;
}
__returnvalue = _charactsprite[_charnum];
}
return __returnvalue;
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} ("kris", spr_kris_flutter, 0.23333333333333334, 1);
|
|
552
|
scr_act_charspritescr_act_charsprite
function scr_act_charsprite(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;
}
__returnvalue = _charactsprite[_charnum];
if (i_ex(_charinstance))
{
with (_charinstance)
{
image_alpha = 0;
state = 0;
global.faceaction[myself] = 0;
}
_charactsprite[_charnum] = scr_dark_marker(_charinstance.x, _charinstance.y, arg1);
with (_charactsprite[_charnum])
{
depth = 20 - (__view_get(e__VW.YView, 0) / 40);
scr_oflash();
if (arg2 > 0 && arg3 == 0)
scr_animate(0, 0, arg2);
if (arg2 > 0 && arg3 == 1)
image_speed = arg2;
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;
}
__returnvalue = _charactsprite[_charnum];
}
return __returnvalue;
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} ("susie", spr_susie_lookaway_embarrass_battle, 0.16666666666666666, 1);
|
|
553
|
talktimer = 0;
|
|
554
|
acting = 3.8;
|
|
555
|
}
|
|
556
|
}
|
|
557
|
if (acting == 3.7 && actcon == 0 && !i_ex(obj_writer))
|
|
558
|
{
|
|
559
|
msgsetloc(0, * You did a flower impression!Wait for inputClose Message"* You did a flower impression!/%", "obj_ball_enemy_slash_Step_0_gml_635_0" );
|
|
560
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
561
|
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, 100);
|
|
562
|
scr_act_charspritescr_act_charsprite
function scr_act_charsprite(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;
}
__returnvalue = _charactsprite[_charnum];
if (i_ex(_charinstance))
{
with (_charinstance)
{
image_alpha = 0;
state = 0;
global.faceaction[myself] = 0;
}
_charactsprite[_charnum] = scr_dark_marker(_charinstance.x, _charinstance.y, arg1);
with (_charactsprite[_charnum])
{
depth = 20 - (__view_get(e__VW.YView, 0) / 40);
scr_oflash();
if (arg2 > 0 && arg3 == 0)
scr_animate(0, 0, arg2);
if (arg2 > 0 && arg3 == 1)
image_speed = arg2;
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;
}
__returnvalue = _charactsprite[_charnum];
}
return __returnvalue;
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} ("kris", spr_kris_flutter, 0.23333333333333334, 1);
|
|
563
|
scr_act_charspritescr_act_charsprite
function scr_act_charsprite(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;
}
__returnvalue = _charactsprite[_charnum];
if (i_ex(_charinstance))
{
with (_charinstance)
{
image_alpha = 0;
state = 0;
global.faceaction[myself] = 0;
}
_charactsprite[_charnum] = scr_dark_marker(_charinstance.x, _charinstance.y, arg1);
with (_charactsprite[_charnum])
{
depth = 20 - (__view_get(e__VW.YView, 0) / 40);
scr_oflash();
if (arg2 > 0 && arg3 == 0)
scr_animate(0, 0, arg2);
if (arg2 > 0 && arg3 == 1)
image_speed = arg2;
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;
}
__returnvalue = _charactsprite[_charnum];
}
return __returnvalue;
}
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} ("susie", spr_susie_lookaway_embarrass_battle, 0.16666666666666666, 1);
|
|
564
|
talktimer = 0;
|
|
565
|
acting = 3.8;
|
|
566
|
}
|
|
567
|
if (acting == 3.8 && actcon == 0 && !i_ex(obj_writer))
|
|
568
|
{
|
|
569
|
scr_act_charsprite_endscr_act_charsprite_end
function scr_act_charsprite_end()
{
for (i = 0; i < 10; i++)
{
with (_charactsprite[i])
instance_destroy();
}
with (obj_heroparent)
{
if (image_alpha == 0)
{
image_alpha = 1;
acttimer = 0;
state = 0;
global.faceaction[myself] = 0;
}
}
} ();
|
|
570
|
obj_herokris.x = obj_herokris.xstart;
|
|
571
|
obj_herokris.y = obj_herokris.ystart;
|
|
572
|
obj_herosusie.x = obj_herosusie.xstart;
|
|
573
|
obj_herosusie.y = obj_herosusie.ystart;
|
|
574
|
talktimer = 0;
|
|
575
|
actcon = 1;
|
|
576
|
}
|
|
577
|
if (acting == 4 && actcon == 0)
|
|
578
|
{
|
|
579
|
global.flag[1341]++;
|
|
580
|
convincelastturn = true;
|
|
581
|
if (global.flag[1341] == 1)
|
|
582
|
{
|
|
583
|
msgsetloc(0, * Ralsei tried to CONVINCE Floradinn!Wait for inputClose Message"* Ralsei tried to CONVINCE Floradinn!/%", "obj_ball_enemy_slash_Step_0_gml_673_0" );
|
|
584
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
585
|
acting = 4.1;
|
|
586
|
}
|
|
587
|
else
|
|
588
|
{
|
|
589
|
msgsetloc(0, * Ralsei made a boring speech!Wait for inputClose Message"* Ralsei made a boring speech!/%", "obj_ball_enemy_slash_Step_0_gml_680_0" );
|
|
590
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
591
|
acting = 4.7;
|
|
592
|
}
|
|
593
|
}
|
|
594
|
if (acting == 4.1 && actcon == 0 && !i_ex(obj_writer))
|
|
595
|
{
|
|
596
|
msgsetloc(0, We don't want to fight you,Delay 11 Floradinn!Wait for inputClose Message"We don't want to&fight you^1, Floradinn!/%", "obj_ball_enemy_slash_Step_0_gml_689_0" );
|
|
597
|
global.typer = 74;
|
|
598
|
var heroballoon = 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;
... (obj_heroralsei.x + 100 + 30, obj_heroralsei.y + 40 + 20, 10);
|
|
599
|
heroballoon.side = -1;
|
|
600
|
acting = 4.2;
|
|
601
|
}
|
|
602
|
if (acting == 4.2 && actcon == 0)
|
|
603
|
{
|
|
604
|
talktimer++;
|
|
605
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
606
|
{
|
|
607
|
msgsetloc(0, If you come to our side... we can all be friends!Wait for inputClose Message"If you come to our side...&we can all be friends!/%", "obj_ball_enemy_slash_Step_0_gml_703_0" );
|
|
608
|
global.typer = 74;
|
|
609
|
var heroballoon = 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;
... (obj_heroralsei.x + 100 + 30, obj_heroralsei.y + 40 + 20, 10);
|
|
610
|
heroballoon.side = -1;
|
|
611
|
acting = 4.3;
|
|
612
|
talktimer = 0;
|
|
613
|
}
|
|
614
|
}
|
|
615
|
if (acting == 4.3 && actcon == 0)
|
|
616
|
{
|
|
617
|
talktimer++;
|
|
618
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
619
|
{
|
|
620
|
msgsetloc(0, * (Floradinn agreed!)Wait for inputClose Message"* (Floradinn agreed!)/%", "obj_ball_enemy_slash_Step_0_gml_719_0" );
|
|
621
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
622
|
acting = 4.4;
|
|
623
|
talktimer = 0;
|
|
624
|
}
|
|
625
|
}
|
|
626
|
if (acting == 4.4 && actcon == 0 && !i_ex(obj_writer))
|
|
627
|
{
|
|
628
|
weaponraise = true;
|
|
629
|
msgsetloc(0, * (It's going to beat up everyone on its side!)Wait for inputClose Message"* (It's going to beat up everyone on its side!)/%", "obj_ball_enemy_slash_Step_0_gml_732_0" );
|
|
630
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
631
|
acting = 4.5;
|
|
632
|
talktimer = 0;
|
|
633
|
}
|
|
634
|
if (acting == 4.5 && actcon == 0 && !i_ex(obj_writer))
|
|
635
|
{
|
|
636
|
if (global.flag[1311] == 1)
|
|
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;
}
}
} ("ralsei", spr_ralsei_shock, 1, 1);
|
|
638
|
else
|
|
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_hurt, 1, 1);
|
|
640
|
with (obj_heroralsei)
|
|
641
|
scr_shakeobjscr_shakeobj
function scr_shakeobj()
{
var _shakeobj = instance_create(x, y, obj_shakeobj);
_shakeobj.target = id;
if (argument_count >= 1)
{
if (i_ex(argument0))
_shakeobj.target = argument0;
}
if (argument_count >= 2)
{
if (argument1 != -1)
_shakeobj.shakeamt = argument1;
}
if (argument_count >= 3)
{
if (argument2 != -1)
_shakeobj.shakereduct = argument2;
}
with (_shakeobj)
event_user(0);
} ();
|
|
642
|
msgsetloc(0, Umm, w-wait! Don't do that!!Wait for inputClose Message"Umm, w-wait!&Don't do that!!/%", "obj_ball_enemy_slash_Step_0_gml_746_0" );
|
|
643
|
global.typer = 74;
|
|
644
|
var heroballoon = 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;
... (obj_heroralsei.x + 100, obj_heroralsei.y + 40, 10);
|
|
645
|
heroballoon.side = -1;
|
|
646
|
acting = 4.6;
|
|
647
|
talktimer = 0;
|
|
648
|
}
|
|
649
|
if (acting == 4.6 && actcon == 0)
|
|
650
|
{
|
|
651
|
talktimer++;
|
|
652
|
if ((button3_h() && talktimer > 15) || !instance_exists(obj_writer))
|
|
653
|
{
|
|
654
|
weaponraise = false;
|
|
655
|
flipped = false;
|
|
656
|
disappointed = true;
|
|
657
|
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");
|
|
658
|
msgsetloc(0, * (It seems confused...Delay 11 It became TIRED.)Wait for inputClose Message"* (It seems confused..^1. It became TIRED.)/%", "obj_ball_enemy_slash_Step_0_gml_767_0" );
|
|
659
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
660
|
with (obj_monsterparent)
|
|
661
|
scr_monster_make_tiredscr_monster_make_tired
function scr_monster_make_tired(arg0)
{
if (global.monsterstatus[arg0] == 0)
{
__tiredwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] - (global.hittarget[arg0] * 20)) + 20, obj_dmgwriter);
__tiredwriter.type = 13;
global.hittarget[arg0] += 1;
snd_play_x(snd_spellcast, 0.5, 0.9);
}
global.monstercomment[arg0] = stringsetloc((Tired)"(Tired)", "scr_monster_make_tired_slash_scr_monster_make_tired_gml_1_0" );
global.monsterstatus[arg0] = 1;
} (myself);
|
|
662
|
actcon = 1;
|
|
663
|
talktimer = 0;
|
|
664
|
}
|
|
665
|
}
|
|
666
|
if (acting == 4.7 && actcon == 0 && !i_ex(obj_writer))
|
|
667
|
{
|
|
668
|
msgsetloc(0, * Floradinn became increasingly TIRED!!Wait for inputClose Message"* Floradinn became increasingly TIRED!!/%", "obj_ball_enemy_slash_Step_0_gml_779_0" );
|
|
669
|
scr_battletext_defaultscr_battletext_default
function scr_battletext_default()
{
global.fc = 0;
global.typer = 4;
scr_battletext();
return battlewriter;
} ();
|
|
670
|
with (obj_monsterparent)
|
|
671
|
scr_monster_make_tiredscr_monster_make_tired
function scr_monster_make_tired(arg0)
{
if (global.monsterstatus[arg0] == 0)
{
__tiredwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] - (global.hittarget[arg0] * 20)) + 20, obj_dmgwriter);
__tiredwriter.type = 13;
global.hittarget[arg0] += 1;
snd_play_x(snd_spellcast, 0.5, 0.9);
}
global.monstercomment[arg0] = stringsetloc((Tired)"(Tired)", "scr_monster_make_tired_slash_scr_monster_make_tired_gml_1_0" );
global.monsterstatus[arg0] = 1;
} (myself);
|
|
672
|
actcon = 1;
|
|
673
|
talktimer = 0;
|
|
674
|
}
|
|
675
|
if (actingsus == 1 && actconsus == 1)
|
|
676
|
{
|
|
677
|
var rand = choose(0, 1, 2);
|
|
678
|
if (rand == 0)
|
|
679
|
msgsetloc(0, * Susie sniffed wildly!"* Susie sniffed wildly!", "obj_ball_enemy_slash_Step_0_gml_798_0" );
|
|
680
|
if (rand == 1)
|
|
681
|
msgsetloc(0, * Susie blasts hose water!"* Susie blasts hose water!", "obj_ball_enemy_slash_Step_0_gml_799_0" );
|
|
682
|
if (rand == 2)
|
|
683
|
msgsetloc(0, * Susie sneezes from pollen!"* Susie sneezes from pollen!", "obj_ball_enemy_slash_Step_0_gml_800_0" );
|
|
684
|
scr_simultextscr_simultext
function scr_simultext(arg0)
{
__simulorder = 0;
if (arg0 == "kris")
__simulorder = simulorderkri;
if (arg0 == "susie")
__simulorder = simulordersus;
if (arg0 == "ralsei")
__simulorder = simulorderral;
if (arg0 == "noelle")
__simulorder = simulordernoe;
__yoffset = __simulorder * 30;
global.typer = 4;
battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer);
} ("susie");
|
|
685
|
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, 40);
|
|
686
|
if (simulordersus == 0)
|
|
687
|
actconsus = 20;
|
|
688
|
else
|
|
689
|
actconsus = 0;
|
|
690
|
}
|
|
691
|
if (actingral == 1 && actconral == 1)
|
|
692
|
{
|
|
693
|
var rand = choose(0, 1, 2);
|
|
694
|
if (rand == 0)
|
|
695
|
msgsetloc(0, * Ralsei pretends to be a bee!"* Ralsei pretends to be a bee!", "obj_ball_enemy_slash_Step_0_gml_812_0" );
|
|
696
|
if (rand == 1)
|
|
697
|
msgsetloc(0, * Ralsei waters daintily!"* Ralsei waters daintily!", "obj_ball_enemy_slash_Step_0_gml_813_0" );
|
|
698
|
if (rand == 2)
|
|
699
|
msgsetloc(0, * Ralsei combs petals!"* Ralsei combs petals!", "obj_ball_enemy_slash_Step_0_gml_814_0" );
|
|
700
|
scr_simultextscr_simultext
function scr_simultext(arg0)
{
__simulorder = 0;
if (arg0 == "kris")
__simulorder = simulorderkri;
if (arg0 == "susie")
__simulorder = simulordersus;
if (arg0 == "ralsei")
__simulorder = simulorderral;
if (arg0 == "noelle")
__simulorder = simulordernoe;
__yoffset = __simulorder * 30;
global.typer = 4;
battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer);
} ("ralsei");
|
|
701
|
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, 40);
|
|
702
|
if (simulorderral == 0)
|
|
703
|
actconral = 20;
|
|
704
|
else
|
|
705
|
actconral = 0;
|
|
706
|
}
|
|
707
|
if (actcon == 20 || actconsus == 20 || (actconral == 20 && bookcon == 0))
|
|
708
|
{
|
|
709
|
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;
} ())
|
|
710
|
{
|
|
711
|
actconsus = -1;
|
|
712
|
actconral = -1;
|
|
713
|
actcon = 1;
|
|
714
|
}
|
|
715
|
}
|
|
716
|
if (actcon == 1 && !instance_exists(obj_writer) && bookcon == 0)
|
|
717
|
{
|
|
718
|
disappointed = false;
|
|
719
|
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();
}
} ();
|
|
720
|
}
|
|
721
|
}
|
|
722
|
if (state == 3)
|
|
723
|
{
|
|
724
|
scr_enemyhurt_tired_after_damagescr_enemyhurt_tired_after_damage
function scr_enemyhurt_tired_after_damage(arg0)
{
if (global.monsterhp[myself] <= (global.monstermaxhp[myself] * arg0))
scr_monster_make_tired(myself);
} (0.5);
|
|
725
|
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;
}
}
} ();
|
|
726
|
}
|
|
727
|
|
|
728
|
enum e__VW
|
|
729
|
{
|
|
730
|
XView,
|
|
731
|
YView,
|
|
732
|
WView,
|
|
733
|
HView,
|
|
734
|
Angle,
|
|
735
|
HBorder,
|
|
736
|
VBorder,
|
|
737
|
HSpeed,
|
|
738
|
VSpeed,
|
|
739
|
Object,
|
|
740
|
Visible,
|
|
741
|
XPort,
|
|
742
|
YPort,
|
|
743
|
WPort,
|
|
744
|
HPort,
|
|
745
|
Camera,
|
|
746
|
SurfaceID
|
|
747
|
}
|