1 |
if (init == 0) |
2 |
{ |
3 |
if (global.flag[419 tasque_manager_response] == 1) |
4 |
global.mercymod[myself] = 100; |
5 |
if (global.flag[419 tasque_manager_response] == 2) |
6 |
global.mercymod[myself] = 50; |
7 |
init = 1; |
8 |
} |
9 |
if (global.monster[myself] == 1) |
10 |
{ |
11 |
if (scr_isphasescr_isphasefunction 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) |
12 |
{ |
13 |
scr_randomtargetscr_randomtargetfunction 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;
}
} (); |
14 |
if (!instance_exists(obj_darkener)) |
15 |
instance_create(0, 0, obj_darkener); |
16 |
global.typer = 50; |
17 |
var dialogText = stringsetloc("", "obj_tasque_manager_enemy_slash_Step_0_gml_15_0"); |
18 |
rr = (scr_monsterpop() > 1) ? choose(0, 1, 2, 3) : choose(0, 1, 2); |
19 |
if (rr == 0) |
20 |
dialogText = stringsetloc(Processes! Services! Performance! Details!"Processes! Services!&Performance! Details!", "obj_tasque_manager_enemy_slash_Step_0_gml_19_0" ); |
21 |
if (rr == 1) |
22 |
{ |
23 |
var randomText = stringsetloc("", "obj_tasque_manager_enemy_slash_Step_0_gml_23_0"); |
24 |
var randomChoice = choose(0, 1, 2, 3); |
25 |
if (randomChoice == 0) |
26 |
randomText = stringsetloc(Wrinkly clothing?"Wrinkly clothing?", "obj_tasque_manager_enemy_slash_Step_0_gml_27_0" ); |
27 |
else if (randomChoice == 1) |
28 |
randomText = stringsetloc(Slouched back?"Slouched back?", "obj_tasque_manager_enemy_slash_Step_0_gml_30_0" ); |
29 |
else if (randomChoice == 2) |
30 |
randomText = stringsetloc(Delinquent tendencies?"Delinquent tendencies?", "obj_tasque_manager_enemy_slash_Step_0_gml_33_0" ); |
31 |
else if (randomChoice == 3) |
32 |
randomText = stringsetloc(Untied shoelaces?"Untied shoelaces?", "obj_tasque_manager_enemy_slash_Step_0_gml_36_0" ); |
33 |
dialogText = stringsetsubloc("~1&Let me whip it into shape!", randomText, "obj_tasque_manager_enemy_slash_Step_0_gml_39_0"); |
34 |
} |
35 |
if (rr == 2) |
36 |
{ |
37 |
timesOrdered++; |
38 |
dialogText = (timesOrdered == 2) ? stringsetloc(Hors d'oeuvre, Hors d'oeuvre... I mean, order, order!"Hors d'oeuvre,&Hors d'oeuvre...&I mean, order, order!", "obj_tasque_manager_enemy_slash_Step_0_gml_46_0" ) : stringsetloc(Order, order!"Order, order!", "obj_tasque_manager_enemy_slash_Step_0_gml_46_1" ); |
39 |
} |
40 |
if (rr == 3) |
41 |
{ |
42 |
timesCharged++; |
43 |
dialogText = (timesCharged > 1) ? stringsetloc(Kitties!!"Kitties!!", "obj_tasque_manager_enemy_slash_Step_0_gml_53_0" ) : stringsetloc(Aren't my kitties just so well behaved? Watch!"Aren't my kitties just&so well behaved? Watch!", "obj_tasque_manager_enemy_slash_Step_0_gml_53_1" ); |
44 |
} |
45 |
var hasTail = false; |
46 |
for (var i = 0; i < 4; i++) |
47 |
{ |
48 |
if (global.chararmor1[i] == 7 || global.chararmor2[i] == 7) |
49 |
hasTail = true; |
50 |
} |
51 |
if (hasTail == true && !tailcheck) |
52 |
{ |
53 |
tailcheck = true; |
54 |
dialogText = stringsetloc(Chaos, chaos!? No, no! Order, order! Now get rid of that silly tail!"Chaos, chaos!?&No, no! Order, order!&Now get rid of that&silly tail!", "obj_tasque_manager_enemy_slash_Step_0_gml_68_0" ); |
55 |
} |
56 |
if (global.charweapon[2] == 7 && !knifecheck) |
57 |
{ |
58 |
knifecheck = true; |
59 |
dialogText = stringsetloc(Chaos, chaos!? No, no! Order, order! Now get rid of that silly Devilsknife!"Chaos, chaos!?&No, no! Order, order!&Now get rid of that&silly Devilsknife!", "obj_tasque_manager_enemy_slash_Step_0_gml_74_0" ); |
60 |
} |
61 |
msgset(0, dialogText); |
62 |
scr_enemyblconscr_enemyblconfunction scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
} (x - 10, global.monstery[myself], 10); |
63 |
talked = 1; |
64 |
talktimer = 0; |
65 |
} |
66 |
if (talked == 1 && scr_isphasescr_isphasefunction 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")) |
67 |
{ |
68 |
rtimer = 0; |
69 |
scr_blconskipscr_blconskipfunction scr_blconskip(arg0)
{
if (arg0 >= 0)
{
if (button1_p() && talktimer > arg0)
talktimer = talkmax;
talktimer += 1;
if (talktimer >= talkmax)
{
with (obj_writer)
instance_destroy();
global.mnfight = 2;
}
}
else if (arg0 == -1)
{
if (instance_exists(obj_writer) == false)
global.mnfight = 2;
}
else if (arg0 == -2)
{
talktimer += 1;
if (talktimer > 15)
talktimer = talkmax;
if (talktimer >= talkmax)
{
with (obj_writer)
instance_destroy();
global.mnfight = 2;
}
}
} (15); |
70 |
if (scr_isphasescr_isphasefunction 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")) |
71 |
{ |
72 |
if (!instance_exists(obj_moveheart)) |
73 |
scr_moveheartscr_moveheartfunction scr_moveheart()
{
global.inv = 0;
if (global.chapter == 2 && instance_exists(obj_gigaqueen_enemy))
return instance_create(o_boxingcontroller.x + 4, o_boxingcontroller.y - 120, obj_moveheart);
else
return instance_create(obj_herokris.x + 10, obj_herokris.y + 40, obj_moveheart);
} (); |
74 |
if (!instance_exists(obj_growtangle)) |
75 |
instance_create(__view_get(e__VW.XView, 0) + 320, __view_get(e__VW.YView, 0) + 170, obj_growtangle); |
76 |
} |
77 |
} |
78 |
if (scr_isphasescr_isphasefunction 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) |
79 |
{ |
80 |
if (rtimer == 0) |
81 |
{ |
82 |
if (overrideAttack) |
83 |
rr = 2; |
84 |
else |
85 |
rr = (rr == 3) ? 3 : 0; |
86 |
if (rr == 2) |
87 |
obj_growtangle.target_angle = 45; |
88 |
} |
89 |
if (rtimer == 2 && scr_monsterpop() > 1) |
90 |
{ |
91 |
if (rr == 2) |
92 |
{ |
93 |
with (obj_tasque_enemy) |
94 |
rr = (obj_tasque_manager_enemy.quizDifficulty > 1 && obj_tasque_manager_enemy.quizDifficulty != 4) ? 2 : -1; |
95 |
} |
96 |
} |
97 |
rtimer += 1; |
98 |
if (rtimer == 15) |
99 |
{ |
100 |
if (rr == 0) |
101 |
{ |
102 |
global.monsterattackname[myself] = "WhipAttack"; |
103 |
dc = scr_bulletspawnerscr_bulletspawnerfunction scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller); |
104 |
dc.type = 20; |
105 |
} |
106 |
else if (rr == 1) |
107 |
{ |
108 |
global.monsterattackname[myself] = "RisingDiamonds"; |
109 |
dc = scr_bulletspawnerscr_bulletspawnerfunction scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller); |
110 |
dc.type = 1; |
111 |
} |
112 |
else if (rr == 2) |
113 |
{ |
114 |
global.monsterattackname[myself] = "QuizAttack"; |
115 |
dc = scr_bulletspawnerscr_bulletspawnerfunction scr_bulletspawner(arg0, arg1, arg2)
{
__dc = instance_create(arg0, arg1, arg2);
__dc.creator = myself;
__dc.target = mytarget;
__dc.damage = global.monsterat[myself] * 5;
return __dc;
} (x, y, obj_dbulletcontroller); |
116 |
dc.type = 32; |
117 |
dc.difficulty = quizDifficulty; |
118 |
} |
119 |
scr_turntimer(140); |
120 |
turns += 1; |
121 |
global.typer = 6; |
122 |
global.fc = 0; |
123 |
rr = choose(0, 1, 2, 3, 4); |
124 |
var battleText = stringsetloc("", "obj_tasque_manager_enemy_slash_Step_0_gml_161_0"); |
125 |
if (rr == 0) |
126 |
battleText = stringsetloc(* Tasque Manager makes a list of her outfits for the next year. She only has one outfit."* Tasque Manager makes a list of her outfits for the next year. She only has one outfit.", "obj_tasque_manager_enemy_slash_Step_0_gml_164_0" ); |
127 |
else if (rr == 1) |
128 |
battleText = stringsetloc(* Tasque Manager is writing "manage tasks" next to every entry in her daily planner."* Tasque Manager is writing \"manage tasks\" next to every entry in her daily planner.", "obj_tasque_manager_enemy_slash_Step_0_gml_167_0" ); |
129 |
else if (rr == 2) |
130 |
battleText = stringsetloc(* Tasque Manager is straightening her whip with a hair straightener."* Tasque Manager is straightening her whip with a hair straightener.", "obj_tasque_manager_enemy_slash_Step_0_gml_170_0" ); |
131 |
else if (rr == 3) |
132 |
battleText = stringsetloc(* Tasque Manager is making herself take priority over everything."* Tasque Manager is making herself take priority over everything.", "obj_tasque_manager_enemy_slash_Step_0_gml_173_0" ); |
133 |
else if (rr == 4) |
134 |
battleText = stringsetloc(* Smells like live wiring."* Smells like live wiring.", "obj_tasque_manager_enemy_slash_Step_0_gml_176_0" ); |
135 |
if (global.monsterstatus[myself] == 1) |
136 |
battleText = stringsetloc(* Tasque Manager has reached her meticulously scheduled bedtime."* Tasque Manager has reached her&meticulously scheduled bedtime.", "obj_tasque_manager_enemy_slash_Step_0_gml_181_0" ); |
137 |
if (global.mercymod[myself] >= global.mercymax[myself]) |
138 |
battleText = stringsetloc(* Tasque Manager has found things to be sufficiently organized."* Tasque Manager has found things&to be sufficiently organized.", "obj_tasque_manager_enemy_slash_Step_0_gml_186_0" ); |
139 |
global.battlemsg[0] = battleText; |
140 |
attacked = 1; |
141 |
} |
142 |
else |
143 |
{ |
144 |
scr_turntimer(120); |
145 |
} |
146 |
} |
147 |
} |
148 |
if (global.myfight == 3) |
149 |
{ |
150 |
xx = __view_get(e__VW.XView, 0); |
151 |
yy = __view_get(e__VW.YView, 0); |
152 |
if (acting == 1 && actcon == 0) |
153 |
{ |
154 |
actcon = 1; |
155 |
msgsetloc(0, * TASQUE MANAGER - Obsessed with order, and abhors Chaos. Whip it good!Wait for inputClose Message"* TASQUE MANAGER - Obsessed with order, and abhors Chaos. Whip it good!/%", "obj_tasque_manager_enemy_slash_Step_0_gml_205_0" ); |
156 |
scr_battletext_default(); |
157 |
} |
158 |
if (acting == 2 && actcon == 0) |
159 |
{ |
160 |
scr_act_charspritescr_act_charspritefunction 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_krisb_wan_tail, 0, 0); |
161 |
scr_mercyaddscr_mercyaddfunction 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;
if (i_ex(obj_dmgwriter))
{
with (obj_dmgwriter)
{
if (type == 5)
_playsound = 0;
}
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 50); |
162 |
if (simultotal == 1) |
163 |
{ |
164 |
actcon = 5; |
165 |
msgsetloc(0, * Kris got trained like an animal!!Wait for inputClose Message"* Kris got trained like an animal!!/%", "obj_tasque_manager_enemy_slash_Other_24_gml_235_0" ); |
166 |
scr_battletext_default(); |
167 |
} |
168 |
else |
169 |
{ |
170 |
msgsetloc(0, * Kris got managed!Wait for inputClose Message"* Kris got managed!/%", "obj_tasque_manager_enemy_slash_Other_24_gml_238_0" ); |
171 |
scr_simultextscr_simultextfunction scr_simultext(arg0)
{
__simulorder = 0;
if (arg0 == "kris")
__simulorder = simulorderkri;
if (arg0 == "susie")
__simulorder = simulordersus;
if (arg0 == "ralsei")
__simulorder = simulorderral;
if (arg0 == "noelle")
__simulorder = simulordernoe;
__yoffset = __simulorder * 30;
global.typer = 4;
battlewriter = instance_create(xx + 30, yy + 376 + __yoffset, obj_writer);
} ("kris"); |
172 |
actcon = (simulorderkri == 0) ? 20 : -1; |
173 |
} |
174 |
} |
175 |
if (actcon == 5 && !instance_exists(obj_writer)) |
176 |
{ |
177 |
timesTrained++; |
178 |
global.typer = 50; |
179 |
var trainText = (timesTrained == 3) ? stringsetloc(Hush, puppy! No growling..."Hush, puppy!&No growling...", "obj_tasque_manager_enemy_slash_Step_0_gml_231_0" ) : stringsetloc(Oh, what a perfect little puppy you are!"Oh, what a&perfect little&puppy you are!", "obj_tasque_manager_enemy_slash_Step_0_gml_231_1" ); |
180 |
msgset(0, trainText); |
181 |
balloon = scr_enemyblconscr_enemyblconfunction scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
} (x - 10, global.monstery[myself], 10); |
182 |
global.typer = 6; |
183 |
msgsetloc(0, * Tasque Manager seemed slightly pleased at the Order!!Wait for inputClose Message"* Tasque Manager seemed slightly pleased at the Order!!/%", "obj_tasque_manager_enemy_slash_Step_0_gml_236_0" ); |
184 |
scr_battletext_default(); |
185 |
actcon = 6; |
186 |
alarm[4] = 15; |
187 |
} |
188 |
if (actcon == 7 && button1_p()) |
189 |
{ |
190 |
with (balloon) |
191 |
instance_destroy(); |
192 |
with (obj_writer) |
193 |
instance_destroy(); |
194 |
actcon = 1; |
195 |
} |
196 |
if (actingsus == 1 && actconsus == 1) |
197 |
{ |
198 |
scr_act_charspritescr_act_charspritefunction 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_wan_sign, 0, 0); |
199 |
scr_mercyaddscr_mercyaddfunction 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;
if (i_ex(obj_dmgwriter))
{
with (obj_dmgwriter)
{
if (type == 5)
_playsound = 0;
}
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 20); |
200 |
if (simultotal == 1 || global.actsimulsus[myself][0] == 0) |
201 |
{ |
202 |
msgsetloc(0, * Susie was trained like an animal...Wait for input"* Susie was trained like an animal.../", "obj_tasque_manager_enemy_slash_Step_0_gml_256_0" ); |
203 |
scr_anyface_next("susie", "I"); |
204 |
var sentenceEnd = "/%"; |
205 |
if (!treatText) |
206 |
{ |
207 |
global.actsimulsus[myself][0] = 1; |
208 |
treatText = true; |
209 |
scr_smallfacescr_smallfacefunction 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 == "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 == "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;
}
if (is_string(arg4))
{
if (global.fighting == 1)
{
if (arg4 == "top")
global.smyy[arg0] = -10;
if (arg4 == "mid" || arg4 == "middle")
global.smyy[arg0] = 30;
if (arg4 == "bottommid")
global.smyy[arg0] = 45;
if (arg4 == "bottom")
global.smyy[arg0] = 56;
if (arg4 == "bottom" || arg4 == "bottommid")
{
global.smdir[arg0] = 90;
global.smspeed[arg0] = 4;
global.smalarm[arg0] = 10;
global.smyy[arg0] += 40;
global.smxx[arg0] -= 40;
}
}
else
{
if (arg4 == "top")
global.smyy[arg0] = -10;
if (arg4 == "mid" || arg4 == "middle")
global.smyy[arg0] = 30;
if (arg4 == "bottommid")
global.smyy[arg0] = 50;
if (arg4 == "bottom")
global.smyy[arg0] = 68;
if (global.darkzone == 0)
{
if (arg4 == "top")
... (0, "ralsei", 12, 300, 50, stringsetloc(A treat!! Somebody give her a treat!!"A treat!! Somebody give her a treat!!", "obj_tasque_manager_enemy_slash_Step_0_gml_265_0" )); |
210 |
sentenceEnd = "\\f0/%"; |
211 |
} |
212 |
msgnextsubloc("\\EH* Play dead!? I'll teach YOU to play dead!!~1", sentenceEnd, "obj_tasque_manager_enemy_slash_Step_0_gml_269_0"); |
213 |
scr_battletext_default(); |
214 |
actconsus = 2; |
215 |
} |
216 |
else |
217 |
{ |
218 |
msgsetloc(0, * Susie got managed!Wait for inputClose Message"* Susie got managed!/%", "obj_tasque_manager_enemy_slash_Step_0_gml_274_0" ); |
219 |
scr_simultextscr_simultextfunction 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"); |
220 |
actconsus = (simulordersus == 0) ? 20 : -1; |
221 |
} |
222 |
} |
223 |
if (actconsus == 2 && !instance_exists(obj_writer)) |
224 |
{ |
225 |
global.typer = 50; |
226 |
msgsetloc(0, What a wonderfully crafted signpost!Delay 11 I'm giving it an obedience medal!"What a wonderfully crafted&signpost^1! I'm giving it an&obedience medal!", "obj_tasque_manager_enemy_slash_Step_0_gml_284_0" ); |
227 |
balloon = scr_enemyblconscr_enemyblconfunction scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
} (x - 10, global.monstery[myself], 10); |
228 |
actconsus = 0; |
229 |
actcon = 6; |
230 |
alarm[4] = 15; |
231 |
} |
232 |
if (actingral == 1 && actconral == 1) |
233 |
{ |
234 |
scr_act_charspritescr_act_charspritefunction 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
} ("ralsei", spr_ralseib_wan, 0, 0); |
235 |
scr_mercyaddscr_mercyaddfunction 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;
if (i_ex(obj_dmgwriter))
{
with (obj_dmgwriter)
{
if (type == 5)
_playsound = 0;
}
}
if (_playsound)
{
var _pitch = 0.8;
if (arg1 < 99)
_pitch = 1;
if (arg1 <= 50)
_pitch = 1.2;
if (arg1 <= 25)
_pitch = 1.4;
snd_play_x(snd_mercyadd, 0.8, _pitch);
}
__mercydmgwriter = instance_create(global.monsterx[arg0], (global.monstery[arg0] + 20) - (global.hittarget[arg0] * 20), obj_dmgwriter);
__mercydmgwriter.damage = arg1;
__mercydmgwriter.type = 5;
global.hittarget[arg0]++;
} (myself, 20); |
236 |
if (simultotal == 1 || global.actsimulral[myself][0] == 0) |
237 |
{ |
238 |
msgsetloc(0, * Ralsei got trained like an animal!!Wait for input"* Ralsei got trained like an animal!!/", "obj_tasque_manager_enemy_slash_Step_0_gml_299_0" ); |
239 |
var sentenceEnd = "/%"; |
240 |
if (!badgeText) |
241 |
{ |
242 |
global.actsimulral[myself][0] = 1; |
243 |
badgeText = true; |
244 |
scr_smallfacescr_smallfacefunction 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 == "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 == "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;
}
if (is_string(arg4))
{
if (global.fighting == 1)
{
if (arg4 == "top")
global.smyy[arg0] = -10;
if (arg4 == "mid" || arg4 == "middle")
global.smyy[arg0] = 30;
if (arg4 == "bottommid")
global.smyy[arg0] = 45;
if (arg4 == "bottom")
global.smyy[arg0] = 56;
if (arg4 == "bottom" || arg4 == "bottommid")
{
global.smdir[arg0] = 90;
global.smspeed[arg0] = 4;
global.smalarm[arg0] = 10;
global.smyy[arg0] += 40;
global.smxx[arg0] -= 40;
}
}
else
{
if (arg4 == "top")
global.smyy[arg0] = -10;
if (arg4 == "mid" || arg4 == "middle")
global.smyy[arg0] = 30;
if (arg4 == "bottommid")
global.smyy[arg0] = 50;
if (arg4 == "bottom")
global.smyy[arg0] = 68;
if (global.darkzone == 0)
{
if (arg4 == "top")
... (0, "susie", 12, 300, 50, stringsetloc(Why the hell do YOU get one of those!!"Why the hell do YOU get one of those!!", "obj_tasque_manager_enemy_slash_Step_0_gml_307_0" )); |
245 |
sentenceEnd = "\\f0/%"; |
246 |
} |
247 |
msgnextsubloc("* Due to good behavior^1, he received an obedience badge.~1", sentenceEnd, "obj_tasque_manager_enemy_slash_Step_0_gml_311_0"); |
248 |
scr_battletext_default(); |
249 |
actconral = 2; |
250 |
} |
251 |
else |
252 |
{ |
253 |
msgsetloc(0, * Ralsei got managed!Wait for inputClose Message"* Ralsei got managed!/%", "obj_tasque_manager_enemy_slash_Step_0_gml_316_0" ); |
254 |
scr_simultextscr_simultextfunction 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"); |
255 |
actconral = (simulorderral == 0) ? 20 : -1; |
256 |
} |
257 |
} |
258 |
if (actconral == 2 && !instance_exists(obj_writer)) |
259 |
{ |
260 |
global.typer = 50; |
261 |
msgsetloc(0, He really loves to do what he's told,Delay 11 doesn't he?Wait for inputClose Message"He really&loves to do&what he's told^1,&doesn't he?/%", "obj_tasque_manager_enemy_slash_Step_0_gml_326_0" ); |
262 |
balloon = scr_enemyblconscr_enemyblconfunction scr_enemyblcon(arg0, arg1, arg2)
{
if (arg2 == 0)
{
mywriter = instance_create(arg0, arg1, obj_writer);
return mywriter;
}
if (arg2 == 1)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
return myblcon;
}
if (arg2 == 2)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_v;
return myblcon;
}
if (arg2 == 3)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
return myblcon;
}
if (arg2 == 4)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 0;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 5)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 1;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 6)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_clubs;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 7)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_r;
myblcon.image_index = 2;
myblcon.image_speed = 0;
return myblcon;
}
if (arg2 == 8)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long_tall;
return myblcon;
}
if (arg2 == 10)
{
myblcon = instance_create(arg0, arg1, obj_battleblcon);
myblcon.sprite_index = spr_battleblcon_long;
myblcon.auto_length = 1;
return myblcon;
}
} (x - 10, global.monstery[myself], 10); |
263 |
actconral = 0; |
264 |
actcon = 6; |
265 |
alarm[4] = 15; |
266 |
} |
267 |
if (actcon == 1 && !instance_exists(obj_writer)) |
268 |
{ |
269 |
scr_act_charsprite_endscr_act_charsprite_endfunction 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;
}
}
} (); |
270 |
scr_nextactscr_nextactfunction 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();
}
} (); |
271 |
} |
272 |
if (actcon == 20 || actconsus == 20 || actconral == 20) |
273 |
{ |
274 |
if (scr_terminate_writerscr_terminate_writerfunction 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;
} ()) |
275 |
{ |
276 |
actconsus = -1; |
277 |
actconral = -1; |
278 |
actcon = 1; |
279 |
} |
280 |
} |
281 |
} |
282 |
if (scr_debug()) |
283 |
{ |
284 |
if (keyboard_check_pressed(ord("B"))) |
285 |
{ |
286 |
if (overrideAttack == 0) |
287 |
overrideAttack = 1; |
288 |
else |
289 |
overrideAttack = 0; |
290 |
} |
291 |
if (keyboard_check_pressed(ord("Q")) && quizDifficulty > 0) |
292 |
quizDifficulty--; |
293 |
if (keyboard_check_pressed(ord("W")) && quizDifficulty < 5) |
294 |
quizDifficulty++; |
295 |
} |
296 |
|
297 |
enum e__VW |
298 |
{ |
299 |
XView, |
300 |
YView, |
301 |
WView, |
302 |
HView, |
303 |
Angle, |
304 |
HBorder, |
305 |
VBorder, |
306 |
HSpeed, |
307 |
VSpeed, |
308 |
Object, |
309 |
Visible, |
310 |
XPort, |
311 |
YPort, |
312 |
WPort, |
313 |
HPort, |
314 |
Camera, |
315 |
SurfaceID |
316 |
} |