1 |
soundbuffer += 1; |
2 |
if (global.mnfight == 3) |
3 |
attacked = 0; |
4 |
if (alarm[5] > 0) |
5 |
{ |
6 |
if (global.monster[0] == 1) |
7 |
{ |
8 |
if (global.monsterinstance[0].alarm[5] > alarm[5])gml_Object_obj_maddummy_Alarm_5.gmlwith (blconwd)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
whatiheard = -1;
global.mnfight = 2;
global.border = 7;
global.faceemotion = 0; |
9 |
alarm[5] = global.monsterinstance[0].alarm[5];gml_Object_obj_maddummy_Alarm_5.gmlwith (blconwd)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
whatiheard = -1;
global.mnfight = 2;
global.border = 7;
global.faceemotion = 0; |
10 |
} |
11 |
if (global.monster[1] == 1) |
12 |
{ |
13 |
if (global.monsterinstance[1].alarm[5] > alarm[5])gml_Object_obj_maddummy_Alarm_5.gmlwith (blconwd)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
whatiheard = -1;
global.mnfight = 2;
global.border = 7;
global.faceemotion = 0; |
14 |
alarm[5] = global.monsterinstance[1].alarm[5];gml_Object_obj_maddummy_Alarm_5.gmlwith (blconwd)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
whatiheard = -1;
global.mnfight = 2;
global.border = 7;
global.faceemotion = 0; |
15 |
} |
16 |
if (global.monster[2] == 1) |
17 |
{ |
18 |
if (global.monsterinstance[2].alarm[5] > alarm[5])gml_Object_obj_maddummy_Alarm_5.gmlwith (blconwd)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
whatiheard = -1;
global.mnfight = 2;
global.border = 7;
global.faceemotion = 0; |
19 |
alarm[5] = global.monsterinstance[2].alarm[5];gml_Object_obj_maddummy_Alarm_5.gmlwith (blconwd)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
whatiheard = -1;
global.mnfight = 2;
global.border = 7;
global.faceemotion = 0; |
20 |
} |
21 |
} |
22 |
if (global.mnfight == 1) |
23 |
{ |
24 |
if (talked == 0) |
25 |
{ |
26 |
alarm[5] = 130;gml_Object_obj_maddummy_Alarm_5.gmlwith (blconwd)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
whatiheard = -1;
global.mnfight = 2;
global.border = 7;
global.faceemotion = 0; |
27 |
alarm[6] = 1;gml_Object_obj_maddummy_Alarm_6.gmlglobal.typer = 33;
blcontype = 0;
if (con != 5)
{
gg = floor(random(3));
mycommand = round(random(100));
if (mycommand >= 0 && mycommand < 25)
global.msg[0] = ;
if (mycommand >= 25)
global.msg[0] = ;
if (mycommand >= 50)
global.msg[0] = ;
if (mycommand >= 75)
global.msg[0] = ;
if (con3 > 0 && con3 < 8)
{
if (con3 == 1)
global.msg[0] = I'll defeat you and take your SOUL! ;
if (con3 == 2)
global.msg[0] = I'll use your SOUL to cross the barrier! ;
if (con3 == 3)
global.msg[0] = I'll stand in the window of a fancy store! ;
if (con3 == 4)
global.msg[0] = \E3 THEN EVERYTHING I WANT WILL BE MINE! ;
if (con3 == 5)
global.msg[0] = \E2 Huh? Yeah, I guess that'll avenge my cousin. ;
if (con3 == 6)
global.msg[0] = \E0 What was their name again...? ;
if (con3 == 7)
global.msg[0] = Whatever. Whatever! WHATEVER!! ;
blcontype = 1;
}
if (con2 > 13 && con2 <= 117.5)
{
if (con2 == 14)
global.msg[0] = ;
if (con2 == 15)
global.msg[0] = ;
if (con2 == 16)
global.msg[0] = ;
if (con2 == 17.5)
global.msg[0] = ;
blcontype = 0;
}
con3 += 1;
if (blcontype == 0)
blcon = instance_create(xstart + 95, ystart - 25, obj_blconsm);
if (blcontype == 1)
blcon = instance_create(xstart + 100, ystart, obj_blconwdflowey);
}
else if (con == 5)
{
mycommand = round(random(100));
caster_resume(global.batmusic);
global.typer = 33;
global.faceemotion = 2;
global.msg[0] = (Wait,Delay 11 is DUMMY a compliment...?) ;
blcon = instance_create(xstart + 100, ystart, obj_blconwdflowey);
blcontype = 1;
con = 6;
}
global.msg[1] = Close MessageClose MessageClose Message ;
blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER);
global.border = 6;
obj_heart.x = round((global.idealborder[0] + global.idealborder[1]) / 2) - 8;
obj_heart.y = round((global.idealborder[2] + global.idealborder[3]) / 2) - 8; |
28 |
talked = 1; |
29 |
global.heard = 0; |
30 |
} |
31 |
} |
32 |
if (control_check_pressed(0)) |
33 |
{ |
34 |
if (alarm[5] > 5 && obj_lborder.x == global.idealborder[0] && alarm[6] < 0)gml_Object_obj_maddummy_Alarm_6.gmlglobal.typer = 33;
blcontype = 0;
if (con != 5)
{
gg = floor(random(3));
mycommand = round(random(100));
if (mycommand >= 0 && mycommand < 25)
global.msg[0] = ;
if (mycommand >= 25)
global.msg[0] = ;
if (mycommand >= 50)
global.msg[0] = ;
if (mycommand >= 75)
global.msg[0] = ;
if (con3 > 0 && con3 < 8)
{
if (con3 == 1)
global.msg[0] = I'll defeat you and take your SOUL! ;
if (con3 == 2)
global.msg[0] = I'll use your SOUL to cross the barrier! ;
if (con3 == 3)
global.msg[0] = I'll stand in the window of a fancy store! ;
if (con3 == 4)
global.msg[0] = \E3 THEN EVERYTHING I WANT WILL BE MINE! ;
if (con3 == 5)
global.msg[0] = \E2 Huh? Yeah, I guess that'll avenge my cousin. ;
if (con3 == 6)
global.msg[0] = \E0 What was their name again...? ;
if (con3 == 7)
global.msg[0] = Whatever. Whatever! WHATEVER!! ;
blcontype = 1;
}
if (con2 > 13 && con2 <= 117.5)
{
if (con2 == 14)
global.msg[0] = ;
if (con2 == 15)
global.msg[0] = ;
if (con2 == 16)
global.msg[0] = ;
if (con2 == 17.5)
global.msg[0] = ;
blcontype = 0;
}
con3 += 1;
if (blcontype == 0)
blcon = instance_create(xstart + 95, ystart - 25, obj_blconsm);
if (blcontype == 1)
blcon = instance_create(xstart + 100, ystart, obj_blconwdflowey);
}
else if (con == 5)
{
mycommand = round(random(100));
caster_resume(global.batmusic);
global.typer = 33;
global.faceemotion = 2;
global.msg[0] = (Wait,Delay 11 is DUMMY a compliment...?) ;
blcon = instance_create(xstart + 100, ystart, obj_blconwdflowey);
blcontype = 1;
con = 6;
}
global.msg[1] = Close MessageClose MessageClose Message ;
blconwd = instance_create(blcon.x + 15, blcon.y + 10, OBJ_NOMSCWRITER);
global.border = 6;
obj_heart.x = round((global.idealborder[0] + global.idealborder[1]) / 2) - 8;
obj_heart.y = round((global.idealborder[2] + global.idealborder[3]) / 2) - 8; |
35 |
alarm[5] = 2;gml_Object_obj_maddummy_Alarm_5.gmlwith (blconwd)
instance_destroy();
with (blcon)
instance_destroy();
talked = 0;
whatiheard = -1;
global.mnfight = 2;
global.border = 7;
global.faceemotion = 0; |
36 |
} |
37 |
if (global.hurtanim[myself] == 1) |
38 |
{ |
39 |
shudder = 1; |
40 |
alarm[3] = global.damagetimer;gml_Object_obj_maddummy_Alarm_3.gmlif (image_index != 1)
{
image_index = 1;
with (mypart1)
{
event_user(0);
mode = 99;
}
}
if (sha == 0)
sha = x;
x = sha + shudder;
if (shudder < 0)
shudder = -(shudder + 1);
else
shudder = -shudder;
if (shudder == 0)
{
sha = 0;
snd_play(snd_damage);
if (con > 1)
{
global.hurtanim[myself] = 2;
}
else
{
global.hurtanim[myself] = 0;
con = 1;
alarm[7] = -1;
hurtsies = 0;
alarm[8] = 80;
}
with (mypart1)
event_user(0);
exit;
}
alarm[3] = 2; |
41 |
global.hurtanim[myself] = 3; |
42 |
} |
43 |
if (global.hurtanim[myself] == 2 && hurtsies == 0 && instance_exists(OBJ_WRITER) == 0) |
44 |
{ |
45 |
alarm[7] = 30;gml_Object_obj_maddummy_Alarm_7.gmlif (hurtsies == 2)
{
if (global.monsterhp[myself] >= 1)
{
global.hurtanim[myself] = 0;
image_index = 0;
global.myfight = 0;
global.mnfight = 1;
}
else
{
global.myfight = 0;
global.mnfight = 1;
killed = 1;
instance_destroy();
}
hurtsies = 0;
}
if (hurtsies == 1)
{
snd_play(snd_damage);
with (mypart1)
event_user(1);
hurtsies = 2;
alarm[7] = 25;
if (con == 2)
{
alarm[7] = -1;
alarm[8] = 30;
}
} |
46 |
hurtsies = 1; |
47 |
} |
48 |
if (global.hurtanim[myself] == 5) |
49 |
{ |
50 |
global.damage = 0; |
51 |
instance_create((x + (sprite_width / 2)) - 48, y - 24, obj_dmgwriter); |
52 |
with (obj_dmgwriter) |
53 |
alarm[2] |
54 |
global.myfight = 0; |
55 |
global.mnfight = 1; |
56 |
global.hurtanim[myself] = 0; |
57 |
} |
58 |
if (global.mnfight == 2) |
59 |
{ |
60 |
if (attacked == 0) |
61 |
{ |
62 |
pop = scr_monstersumscr_monstersumreturn global.monster[0] + global.monster[1] + global.monster[2]; (); |
63 |
global.turntimer = 160; |
64 |
global.firingrate = 25; |
65 |
if (pop == 3) |
66 |
global.firingrate = global.firingrate * 2.4; |
67 |
if (pop == 2) |
68 |
global.firingrate = global.firingrate * 1.7; |
69 |
if (con2 > 0) |
70 |
hp -= 5; |
71 |
if (con2 == 0) |
72 |
{ |
73 |
global.turntimer = 360; |
74 |
gen = instance_create((global.idealborder[0] + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0))) - 20, global.idealborder[2] - 40, blt_dummybullet); |
75 |
gen = instance_create((global.idealborder[0] + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0))) - 20, global.idealborder[2] - 45, blt_dummybullet); |
76 |
gen = instance_create((global.idealborder[0] + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0))) - 20, global.idealborder[2] - 50, blt_dummybullet); |
77 |
gen = instance_create((global.idealborder[0] + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0))) - 20, global.idealborder[2] - 130, blt_dummybullet); |
78 |
gen = instance_create((global.idealborder[0] + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0))) - 20, global.idealborder[2] - 135, blt_dummybullet); |
79 |
gen = instance_create((global.idealborder[0] + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0))) - 20, global.idealborder[2] - 140, blt_dummybullet); |
80 |
gen = instance_create((global.idealborder[0] + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0))) - 20, global.idealborder[2] - 220, blt_dummybullet); |
81 |
gen = instance_create((global.idealborder[0] + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0))) - 20, global.idealborder[2] - 225, blt_dummybullet); |
82 |
gen = instance_create((global.idealborder[0] + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0))) - 20, global.idealborder[2] - 230, blt_dummybullet); |
83 |
blt_parent_noborder.side = 2; |
84 |
repeat (6) |
85 |
{ |
86 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 310 + random(10), blt_dummybullet); |
87 |
gen.side = 3; |
88 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 360 + random(10), blt_dummybullet); |
89 |
gen.side = 3; |
90 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 410 + random(10), blt_dummybullet); |
91 |
gen.side = 3; |
92 |
} |
93 |
} |
94 |
if (con2 == 2) |
95 |
{ |
96 |
global.turntimer = 260; |
97 |
gen = instance_create((global.idealborder[0] + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0))) - 20, global.idealborder[2] - 40, blt_dummybullet); |
98 |
gen = instance_create((global.idealborder[0] + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0))) - 20, global.idealborder[2] - 50, blt_dummybullet); |
99 |
gen = instance_create((global.idealborder[0] + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0))) - 20, global.idealborder[2] - 60, blt_dummybullet); |
100 |
gen = instance_create((global.idealborder[0] + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0))) - 20, global.idealborder[2] - 70, blt_dummybullet); |
101 |
gen = instance_create((global.idealborder[0] + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0))) - 20, global.idealborder[2] - 80, blt_dummybullet); |
102 |
blt_parent_noborder.side = 2; |
103 |
gen = instance_create(global.idealborder[0] - 150, global.idealborder[2] + random(80), blt_dummybullet); |
104 |
gen.side = 0; |
105 |
gen = instance_create(global.idealborder[0] - 160, global.idealborder[2] + random(80), blt_dummybullet); |
106 |
gen.side = 0; |
107 |
gen = instance_create(global.idealborder[0] - 170, global.idealborder[2] + random(80), blt_dummybullet); |
108 |
gen.side = 0; |
109 |
gen = instance_create(global.idealborder[0] - 180, global.idealborder[2] + random(80), blt_dummybullet); |
110 |
gen.side = 0; |
111 |
gen = instance_create(global.idealborder[0] - 190, global.idealborder[2] + random(80), blt_dummybullet); |
112 |
gen.side = 0; |
113 |
gen = instance_create(global.idealborder[1] + 270, global.idealborder[2] + random(80), blt_dummybullet); |
114 |
gen.side = 1; |
115 |
gen = instance_create(global.idealborder[1] + 280, global.idealborder[2] + random(80), blt_dummybullet); |
116 |
gen.side = 1; |
117 |
gen = instance_create(global.idealborder[1] + 290, global.idealborder[2] + random(80), blt_dummybullet); |
118 |
gen.side = 1; |
119 |
gen = instance_create(global.idealborder[1] + 300, global.idealborder[2] + random(80), blt_dummybullet); |
120 |
gen.side = 1; |
121 |
gen = instance_create(global.idealborder[1] + 310, global.idealborder[2] + random(80), blt_dummybullet); |
122 |
gen.side = 1; |
123 |
repeat (6) |
124 |
{ |
125 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 400 + random(10), blt_dummybullet); |
126 |
gen.side = 3; |
127 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 470 + random(10), blt_dummybullet); |
128 |
gen.side = 3; |
129 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 540 + random(10), blt_dummybullet); |
130 |
gen.side = 3; |
131 |
} |
132 |
blt_parent_noborder.dmg = global.monsteratk[myself]; |
133 |
} |
134 |
if (con2 == 3 && hp >= 255) |
135 |
{ |
136 |
global.turntimer = 220; |
137 |
g = 0; |
138 |
repeat (6) |
139 |
{ |
140 |
g += 1; |
141 |
gen = instance_create(global.idealborder[0] - 50 - (g * 5), global.idealborder[2] + 100 + random(60), blt_dummybullet); |
142 |
gen.side = 0; |
143 |
} |
144 |
g = 0; |
145 |
repeat (6) |
146 |
{ |
147 |
g += 1; |
148 |
gen = instance_create(global.idealborder[1] + 150 + (g * 5), global.idealborder[2] + random(60), blt_dummybullet); |
149 |
gen.side = 1; |
150 |
} |
151 |
g = 0; |
152 |
repeat (6) |
153 |
{ |
154 |
g += 1; |
155 |
gen = instance_create(global.idealborder[0] - 150 - (g * 5), global.idealborder[2] + random(60), blt_dummybullet); |
156 |
gen.side = 0; |
157 |
} |
158 |
g = 0; |
159 |
repeat (6) |
160 |
{ |
161 |
g += 1; |
162 |
gen = instance_create(global.idealborder[1] + 50 + (g * 5), global.idealborder[2] + 100 + random(60), blt_dummybullet); |
163 |
gen.side = 1; |
164 |
} |
165 |
repeat (6) |
166 |
{ |
167 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 270 + random(10), blt_dummybullet); |
168 |
gen.side = 3; |
169 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 310 + random(10), blt_dummybullet); |
170 |
gen.side = 3; |
171 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 360 + random(10), blt_dummybullet); |
172 |
gen.side = 3; |
173 |
} |
174 |
blt_parent_noborder.dmg = global.monsteratk[myself]; |
175 |
} |
176 |
if (con2 == 3 && hp >= 999) |
177 |
{ |
178 |
global.turntimer = 160; |
179 |
repeat (4) |
180 |
{ |
181 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 30 + random(10), blt_dummybullet); |
182 |
gen.side = 3; |
183 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 90 + random(10), blt_dummybullet); |
184 |
gen.side = 3; |
185 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 150 + random(10), blt_dummybullet); |
186 |
gen.side = 3; |
187 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 210 + random(10), blt_dummybullet); |
188 |
gen.side = 3; |
189 |
} |
190 |
blt_parent_noborder.dmg = global.monsteratk[myself]; |
191 |
} |
192 |
if (con2 == 3 && hp < 255) |
193 |
{ |
194 |
con2 = 4; |
195 |
global.turntimer = 160; |
196 |
repeat (4) |
197 |
{ |
198 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 30 + random(10), blt_dummybullet); |
199 |
gen.side = 3; |
200 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 90 + random(10), blt_dummybullet); |
201 |
gen.side = 3; |
202 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 150 + random(10), blt_dummybullet); |
203 |
gen.side = 3; |
204 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 210 + random(10), blt_dummybullet); |
205 |
gen.side = 3; |
206 |
} |
207 |
blt_parent_noborder.dmg = global.monsteratk[myself]; |
208 |
} |
209 |
if (con2 == 5) |
210 |
{ |
211 |
if (type2 == 3) |
212 |
{ |
213 |
type2 = 4; |
214 |
global.turntimer = 240; |
215 |
choice = floor(random(4)) + 2; |
216 |
for (i = 0; i < 7; i += 1) |
217 |
{ |
218 |
if (i != choice && i != (choice + 1)) |
219 |
{ |
220 |
gen = instance_create(global.idealborder[0] - 40, global.idealborder[3] - 25 - (i * 25), blt_dummybullet); |
221 |
gen.side = 0; |
222 |
gen.type = 1; |
223 |
} |
224 |
} |
225 |
choice = floor(random(4)) + 2; |
226 |
for (i = 0; i < 7; i += 1) |
227 |
{ |
228 |
if (i != choice && i != (choice + 1)) |
229 |
{ |
230 |
gen = instance_create(global.idealborder[1] + 20, global.idealborder[3] - 25 - (i * 25), blt_dummybullet); |
231 |
gen.side = 1; |
232 |
gen.type = 1; |
233 |
} |
234 |
} |
235 |
choice = floor(random(7)); |
236 |
for (i = 0; i < 7; i += 1) |
237 |
{ |
238 |
if (i != choice && i != (choice + 1)) |
239 |
{ |
240 |
gen = instance_create(global.idealborder[0] + 10 + (i * 25), global.idealborder[2] - 150, blt_dummybullet); |
241 |
gen.side = 2; |
242 |
gen.type = 1; |
243 |
} |
244 |
} |
245 |
repeat (4) |
246 |
{ |
247 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 290 + random(10), blt_dummybullet); |
248 |
gen.side = 3; |
249 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 300 + random(10), blt_dummybullet); |
250 |
gen.side = 3; |
251 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 310 + random(10), blt_dummybullet); |
252 |
gen.side = 3; |
253 |
} |
254 |
blt_parent_noborder.dmg = global.monsteratk[myself]; |
255 |
} |
256 |
} |
257 |
if (con2 == 5) |
258 |
{ |
259 |
if (type2 == 2) |
260 |
{ |
261 |
type2 = 3; |
262 |
global.turntimer = 220; |
263 |
choice = floor(random(3)) + 2; |
264 |
choice2 = floor(random(3)) + 2; |
265 |
choice3 = floor(random(3)) + 2; |
266 |
for (i = 0; i < 7; i += 1) |
267 |
{ |
268 |
if (i != choice && i != (choice + 1)) |
269 |
{ |
270 |
gen = instance_create(global.idealborder[0] + 10 + (i * 25), global.idealborder[2] - 50, blt_dummybullet); |
271 |
gen.side = 2; |
272 |
gen.type = 1; |
273 |
} |
274 |
if (i != choice2 && i != (choice2 + 1)) |
275 |
{ |
276 |
gen = instance_create(global.idealborder[0] + 10 + (i * 25), global.idealborder[2] - 110, blt_dummybullet); |
277 |
gen.side = 2; |
278 |
gen.type = 1; |
279 |
} |
280 |
if (i != choice3 && i != (choice3 + 1)) |
281 |
{ |
282 |
gen = instance_create(global.idealborder[0] + 10 + (i * 25), global.idealborder[2] - 170, blt_dummybullet); |
283 |
gen.side = 2; |
284 |
gen.type = 1; |
285 |
} |
286 |
} |
287 |
repeat (4) |
288 |
{ |
289 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 260 + random(10), blt_dummybullet); |
290 |
gen.side = 3; |
291 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 270 + random(10), blt_dummybullet); |
292 |
gen.side = 3; |
293 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 280 + random(10), blt_dummybullet); |
294 |
gen.side = 3; |
295 |
} |
296 |
blt_parent_noborder.dmg = global.monsteratk[myself]; |
297 |
} |
298 |
} |
299 |
if (con2 == 5) |
300 |
{ |
301 |
if (type2 == 1) |
302 |
{ |
303 |
type2 = 2; |
304 |
global.turntimer = 160; |
305 |
choice = floor(random(4)) + 2; |
306 |
for (i = 0; i < 7; i += 1) |
307 |
{ |
308 |
if (i != choice && i != (choice + 1)) |
309 |
{ |
310 |
gen = instance_create(global.idealborder[0] - 40, global.idealborder[3] - 25 - (i * 25), blt_dummybullet); |
311 |
gen.side = 0; |
312 |
gen.type = 1; |
313 |
} |
314 |
} |
315 |
choice = floor(random(4)) + 2; |
316 |
for (i = 0; i < 7; i += 1) |
317 |
{ |
318 |
if (i != choice && i != (choice + 1)) |
319 |
{ |
320 |
gen = instance_create(global.idealborder[1] + 110, global.idealborder[3] - 25 - (i * 25), blt_dummybullet); |
321 |
gen.side = 1; |
322 |
gen.type = 1; |
323 |
} |
324 |
} |
325 |
repeat (4) |
326 |
{ |
327 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 160 + random(10), blt_dummybullet); |
328 |
gen.side = 3; |
329 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 170 + random(10), blt_dummybullet); |
330 |
gen.side = 3; |
331 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 180 + random(10), blt_dummybullet); |
332 |
gen.side = 3; |
333 |
} |
334 |
blt_parent_noborder.dmg = global.monsteratk[myself]; |
335 |
} |
336 |
} |
337 |
if (con2 == 5) |
338 |
{ |
339 |
if (type2 == 0) |
340 |
{ |
341 |
type2 = 1; |
342 |
global.turntimer = 175; |
343 |
choice = floor(random(7)); |
344 |
for (i = 0; i < 7; i += 1) |
345 |
{ |
346 |
if (i != choice && i != (choice + 1)) |
347 |
{ |
348 |
gen = instance_create(global.idealborder[0] + 10 + (i * 25), global.idealborder[2] - 50, blt_dummybullet); |
349 |
gen.side = 2; |
350 |
gen.type = 1; |
351 |
} |
352 |
} |
353 |
repeat (4) |
354 |
{ |
355 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 170 + random(10), blt_dummybullet); |
356 |
gen.side = 3; |
357 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 180 + random(10), blt_dummybullet); |
358 |
gen.side = 3; |
359 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 190 + random(10), blt_dummybullet); |
360 |
gen.side = 3; |
361 |
} |
362 |
blt_parent_noborder.dmg = global.monsteratk[myself]; |
363 |
} |
364 |
} |
365 |
if (type2 == 4) |
366 |
type2 = 0; |
367 |
if (con2 == 17.5) |
368 |
{ |
369 |
global.turntimer = 460; |
370 |
con2 = 17; |
371 |
choice = floor(random(3)) + 2; |
372 |
for (i = 0; i < 7; i += 1) |
373 |
{ |
374 |
if (i != choice && i != (choice + 1)) |
375 |
{ |
376 |
gen = instance_create(global.idealborder[0] - 60, global.idealborder[3] - 25 - (i * 25), blt_dummybullet); |
377 |
gen.side = 0; |
378 |
gen.type = 1; |
379 |
} |
380 |
} |
381 |
choice = floor(random(3)) + 2; |
382 |
for (i = 0; i < 7; i += 1) |
383 |
{ |
384 |
if (i != choice && i != (choice + 1)) |
385 |
{ |
386 |
gen = instance_create(global.idealborder[1] + 100, global.idealborder[3] - 25 - (i * 25), blt_dummybullet); |
387 |
gen.side = 1; |
388 |
gen.type = 1; |
389 |
} |
390 |
} |
391 |
choice = floor(random(3)) + 2; |
392 |
for (i = 0; i < 7; i += 1) |
393 |
{ |
394 |
if (i != choice && i != (choice + 1)) |
395 |
{ |
396 |
gen = instance_create(global.idealborder[0] - 240, global.idealborder[3] - 25 - (i * 25), blt_dummybullet); |
397 |
gen.side = 0; |
398 |
gen.type = 1; |
399 |
} |
400 |
} |
401 |
choice = floor(random(3)) + 2; |
402 |
for (i = 0; i < 7; i += 1) |
403 |
{ |
404 |
if (i != choice && i != (choice + 1)) |
405 |
{ |
406 |
gen = instance_create(global.idealborder[1] + 280, global.idealborder[3] - 25 - (i * 25), blt_dummybullet); |
407 |
gen.side = 1; |
408 |
gen.type = 1; |
409 |
} |
410 |
} |
411 |
choice = floor(random(2)) + 2; |
412 |
for (i = 0; i < 7; i += 1) |
413 |
{ |
414 |
if (i != choice && i != (choice + 1)) |
415 |
{ |
416 |
gen = instance_create(global.idealborder[0] - 440, global.idealborder[3] - 25 - (i * 25), blt_dummybullet); |
417 |
gen.side = 0; |
418 |
gen.type = 1; |
419 |
} |
420 |
} |
421 |
choice = floor(random(3)) + 2; |
422 |
for (i = 0; i < 7; i += 1) |
423 |
{ |
424 |
if (i != choice && i != (choice + 1)) |
425 |
{ |
426 |
gen = instance_create(global.idealborder[1] + 360, global.idealborder[3] - 25 - (i * 25), blt_dummybullet); |
427 |
gen.side = 1; |
428 |
gen.type = 1; |
429 |
} |
430 |
} |
431 |
gen = instance_create(global.idealborder[0] + 170, global.idealborder[3] + 60, blt_dummybullet); |
432 |
gen.side = 3; |
433 |
gen.type = 4; |
434 |
gen.sprite_index = spr_dummybot; |
435 |
gen = instance_create(global.idealborder[0] + 100, global.idealborder[2] - 360, blt_dummybullet); |
436 |
gen.side = 2; |
437 |
gen.type = 4; |
438 |
gen.sprite_index = spr_dummybot; |
439 |
for (i = 0; i < 6; i += 1) |
440 |
{ |
441 |
gen = instance_create(global.idealborder[0] + 20 + (i * 30), global.idealborder[3] + 690, blt_dummybullet); |
442 |
gen.side = 3; |
443 |
gen.sprite_index = spr_dummybot; |
444 |
gen.type = 4; |
445 |
gen = instance_create(global.idealborder[0] - 700, global.idealborder[2] + 30 + (i * 30), blt_dummybullet); |
446 |
gen.type = 4; |
447 |
gen.side = 0; |
448 |
gen.sprite_index = spr_dummybot; |
449 |
gen = instance_create(global.idealborder[1] + 690, global.idealborder[2] + 30 + (i * 30), blt_dummybullet); |
450 |
gen.type = 4; |
451 |
gen.sprite_index = spr_dummybot; |
452 |
gen.side = 1; |
453 |
} |
454 |
blt_parent_noborder.dmg = global.monsteratk[myself]; |
455 |
} |
456 |
if (con2 == 16) |
457 |
{ |
458 |
global.turntimer = 280; |
459 |
for (i = 0; i < 5; i += 1) |
460 |
{ |
461 |
gen = instance_create((global.idealborder[0] + 180) - (i * 40), global.idealborder[3] + 20 + (i * 10), blt_dummybullet); |
462 |
gen.side = 3; |
463 |
gen = instance_create(global.idealborder[0] - 110 - (i * 10), (global.idealborder[2] + 150) - (i * 30), blt_dummybullet); |
464 |
gen.side = 0; |
465 |
gen = instance_create(global.idealborder[0] + 20 + (i * 40), global.idealborder[2] - 200 - (i * 10), blt_dummybullet); |
466 |
gen.side = 2; |
467 |
gen = instance_create(global.idealborder[1] + 280 + (i * 10), global.idealborder[2] + 30 + (i * 30), blt_dummybullet); |
468 |
gen.side = 1; |
469 |
} |
470 |
blt_parent_noborder.type = 4; |
471 |
blt_dummybullet.sprite_index = spr_dummybot; |
472 |
blt_parent_noborder.dmg = global.monsteratk[myself]; |
473 |
con2 = 17.5; |
474 |
} |
475 |
if (con2 == 15) |
476 |
{ |
477 |
global.turntimer = 180; |
478 |
for (i = 0; i < 3; i += 1) |
479 |
{ |
480 |
gen = instance_create(global.idealborder[0] + 20 + (i * 60), global.idealborder[3] + 20, blt_dummybullet); |
481 |
gen.side = 3; |
482 |
gen = instance_create(global.idealborder[0] - 40, global.idealborder[2] + 30 + (i * 60), blt_dummybullet); |
483 |
gen.side = 0; |
484 |
gen = instance_create(global.idealborder[1] + 20, global.idealborder[2] + 30 + (i * 60), blt_dummybullet); |
485 |
gen.side = 1; |
486 |
} |
487 |
blt_parent_noborder.type = 4; |
488 |
blt_dummybullet.sprite_index = spr_dummybot; |
489 |
blt_parent_noborder.dmg = global.monsteratk[myself]; |
490 |
con2 = 16; |
491 |
} |
492 |
if (con2 == 14) |
493 |
{ |
494 |
global.turntimer = 180; |
495 |
gen = instance_create(global.idealborder[0] + 20, global.idealborder[3] + 20, blt_dummybullet); |
496 |
gen.side = 3; |
497 |
gen = instance_create(global.idealborder[0] + 50, global.idealborder[3] + 20, blt_dummybullet); |
498 |
gen.side = 3; |
499 |
gen = instance_create(global.idealborder[0] + 80, global.idealborder[3] + 20, blt_dummybullet); |
500 |
gen.side = 3; |
501 |
gen = instance_create(global.idealborder[0] + 110, global.idealborder[3] + 20, blt_dummybullet); |
502 |
gen.side = 3; |
503 |
gen = instance_create(global.idealborder[0] + 140, global.idealborder[3] + 20, blt_dummybullet); |
504 |
gen.side = 3; |
505 |
blt_parent_noborder.type = 4; |
506 |
blt_dummybullet.sprite_index = spr_dummybot; |
507 |
blt_parent_noborder.dmg = global.monsteratk[myself]; |
508 |
con2 = 15; |
509 |
} |
510 |
gen.myself = myself; |
511 |
if (mycommand >= 0) |
512 |
global.msg[0] = * Mad Dummy is doing an armless ska dance.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1152") ; |
513 |
if (mycommand >= 25) |
514 |
global.msg[0] = * Mad Dummy is bossing around its bullets.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1153") ; |
515 |
if (mycommand >= 50) |
516 |
global.msg[0] = * Mad Dummy glares into a mirror,Delay 11 then turns to you with the same expression.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1154") ; |
517 |
if (mycommand >= 75) |
518 |
global.msg[0] = * Mad Dummy is hopping mad.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1155") ; |
519 |
if (mycommand >= 90) |
520 |
global.msg[0] = * Smells like a clothing store.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1156") ; |
521 |
if (global.monsterhp[myself] < 30) |
522 |
global.msg[0] = * This message will NEVER happen.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1157") ; |
523 |
if (con2 == 5) |
524 |
global.msg[0] = * Mad Dummy is getting cotton all over the dialogue box.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1158") ; |
525 |
attacked = 1; |
526 |
} |
527 |
} |
528 |
if (global.myfight == 2) |
529 |
{ |
530 |
if (whatiheard != -1) |
531 |
{ |
532 |
if (global.heard == 0) |
533 |
{ |
534 |
if (whatiheard == 0) |
535 |
{ |
536 |
global.msc = 0; |
537 |
global.msg[0] = * MAD DUMMY - ATK 30 DEF YES * Because they're a ghost,Delay 11 physical attacks will fail.Wait for input^scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1174") ; |
538 |
OBJ_WRITER.halt = 3; |
539 |
iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER); |
540 |
with (iii) |
541 |
halt = 0; |
542 |
whatiheard = 9; |
543 |
} |
544 |
if (whatiheard == 3) |
545 |
{ |
546 |
global.flag[147 spared_maddummy] = 1; |
547 |
global.msc = 0; |
548 |
global.msg[0] = * You talk to the DUMMY.Delay 11 * ...Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1194") ; |
549 |
global.msg[1] = * It doesn't seem much for conversation.Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1195") ; |
550 |
global.msg[2] = * No one is happy with this.Wait for input^scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1196") ; |
551 |
OBJ_WRITER.halt = 3; |
552 |
iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER); |
553 |
with (iii) |
554 |
halt = 0; |
555 |
} |
556 |
global.heard = 1; |
557 |
} |
558 |
} |
559 |
} |
560 |
if (instance_exists(mypart1)) |
561 |
{ |
562 |
mypart1.x = x + 50; |
563 |
mypart1.y = y + 10; |
564 |
} |
565 |
if (global.myfight == 4) |
566 |
{ |
567 |
if (global.mercyuse == 0) |
568 |
{ |
569 |
script_execute(scr_mercystandard); |
570 |
if (mercy < 0) |
571 |
instance_destroy(); |
572 |
} |
573 |
} |
574 |
if (mercymod == 222 && instance_exists(OBJ_WRITER) == 0) |
575 |
{ |
576 |
script_execute(scr_mercystandard); |
577 |
if (mercy < 0) |
578 |
instance_destroy(); |
579 |
} |
580 |
if (con == 4 && instance_exists(OBJ_WRITER) == 0) |
581 |
{ |
582 |
with (blcon) |
583 |
instance_destroy(); |
584 |
global.mnfight = 1; |
585 |
global.myfight = 0; |
586 |
talked = 0; |
587 |
con = 5; |
588 |
mycommand = random(100); |
589 |
} |
590 |
if (con == 2 && instance_exists(OBJ_WRITER) == 0) |
591 |
{ |
592 |
with (blcon) |
593 |
instance_destroy(); |
594 |
con = 3; |
595 |
with (mypart1) |
596 |
event_user(1); |
597 |
snd_play(snd_damage); |
598 |
alarm[8] = 30;gml_Object_obj_maddummy_Alarm_8.gmlif (con == 3)
con = 4;
if (con == 1)
{
global.typer = 33;
global.msg[0] = Foolish.Delay 11 Foolish!Delay 11 FOOLISH!Wait for input ;
global.msg[1] = Even if you attack my vessel,Delay 11 you'll NEVER hurt me!Wait for input ;
global.msg[2] = I'm still incorporeal,Delay 11 you DUMMY!!!Wait for inputClose MessageClose Message ;
blcon = instance_create(xstart + 100, ystart, obj_blconwdflowey);
blconwdS = instance_create(blcon.x + 25, blcon.y + 10, OBJ_NOMSCWRITER);
hurtsies = 0;
con = 2;
} |
599 |
} |
600 |
if (talko == 3 && instance_exists(OBJ_WRITER) == 0) |
601 |
{ |
602 |
with (blcon) |
603 |
instance_destroy(); |
604 |
talko = 0; |
605 |
next = 1; |
606 |
if (con2 == 1) |
607 |
{ |
608 |
con2 = 2; |
609 |
global.faceemotion = 0; |
610 |
global.msg[0] = * Mad Dummy is looking nervous.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1259") ; |
611 |
} |
612 |
} |
613 |
if (talko == 2 && instance_exists(OBJ_WRITER) == 0) |
614 |
{ |
615 |
with (blcon) |
616 |
instance_destroy(); |
617 |
talko = 1; |
618 |
} |
619 |
if (talko == 1 && instance_exists(OBJ_WRITER) == 0) |
620 |
{ |
621 |
hurtsies = 2; |
622 |
alarm[7] = 2;gml_Object_obj_maddummy_Alarm_7.gmlif (hurtsies == 2)
{
if (global.monsterhp[myself] >= 1)
{
global.hurtanim[myself] = 0;
image_index = 0;
global.myfight = 0;
global.mnfight = 1;
}
else
{
global.myfight = 0;
global.mnfight = 1;
killed = 1;
instance_destroy();
}
hurtsies = 0;
}
if (hurtsies == 1)
{
snd_play(snd_damage);
with (mypart1)
event_user(1);
hurtsies = 2;
alarm[7] = 25;
if (con == 2)
{
alarm[7] = -1;
alarm[8] = 30;
}
} |
623 |
talko = 0; |
624 |
} |
625 |
if (next == 1 && global.turntimer < 2 && global.mnfight == 2) |
626 |
{ |
627 |
global.turntimer = -1; |
628 |
global.mnfight = 3; |
629 |
} |
630 |
if (con2 == 3) |
631 |
{ |
632 |
siner += 1; |
633 |
x = xstart + (sin(siner / 20) * 90); |
634 |
y -= (sin(siner / 5) * 2); |
635 |
} |
636 |
if (con2 == 4) |
637 |
{ |
638 |
with (mypart1) |
639 |
{ |
640 |
rotmod = 1.4; |
641 |
speedmod = 2.4; |
642 |
} |
643 |
siner = 0; |
644 |
x = xstart; |
645 |
y = ystart; |
646 |
con2 = 5; |
647 |
} |
648 |
if (con2 == 5) |
649 |
{ |
650 |
if (global.mnfight < 2) |
651 |
siner += 0.25; |
652 |
if (global.mnfight == 2) |
653 |
{ |
654 |
sinadd = (global.turntimer / 500) - 0.16; |
655 |
if (sinadd < 0.02) |
656 |
sinadd = 0; |
657 |
siner += sinadd; |
658 |
} |
659 |
x = xstart + (sin(siner / 4) * 200); |
660 |
y = ystart + (sin(siner / 2) * 50); |
661 |
if (global.mnfight == 3) |
662 |
global.msg[0] = * Mad Dummy is getting cotton all over the dialogue box.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1313") ; |
663 |
} |
664 |
if (con2 == 6) |
665 |
{ |
666 |
if (distance_to_point(xstart, ystart) < 20 && speed > 0) |
667 |
{ |
668 |
speed -= 0.5; |
669 |
move_towards_point(xstart, ystart, speed); |
670 |
} |
671 |
if (speed == 0) |
672 |
{ |
673 |
con2 = 7; |
674 |
global.typer = 33; |
675 |
global.msg[0] = \E1HEY GUYS!Wait for inputClose MessageClose Messagescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1329") ; |
676 |
blcon = instance_create(xstart + 100, ystart, obj_blconwdflowey); |
677 |
blconwdS = instance_create(blcon.x + 25, blcon.y + 10, OBJ_NOMSCWRITER); |
678 |
} |
679 |
} |
680 |
if (con2 == 7) |
681 |
{ |
682 |
if (instance_exists(OBJ_WRITER) == 0) |
683 |
{ |
684 |
with (mypart1) |
685 |
{ |
686 |
rotmod = 0.3; |
687 |
speedmod = 0.1; |
688 |
} |
689 |
global.turntimer = 333; |
690 |
with (blcon) |
691 |
instance_destroy(); |
692 |
repeat (8) |
693 |
{ |
694 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), global.idealborder[3] + 10 + random(10), blt_dummybullet); |
695 |
gen.side = 3; |
696 |
gen.type = 2; |
697 |
gen.dmg = 1; |
698 |
gen = instance_create(global.idealborder[0] + 30 + random(c_borderwidthc_borderwidthif (argument0 == 0)
return obj_rborder.x - obj_lborder.x;
if (argument0 == 1)
return global.idealborder[1] - global.idealborder[0]; (0) - 70), (global.idealborder[2] - 40) + random(10), blt_dummybullet); |
699 |
gen.side = 2; |
700 |
gen.type = 2; |
701 |
gen.dmg = 1; |
702 |
gen = instance_create(global.idealborder[0] - 26 - random(10), global.idealborder[3] - 25 - random(200), blt_dummybullet); |
703 |
gen.side = 0; |
704 |
gen.type = 2; |
705 |
gen.dmg = 1; |
706 |
gen = instance_create(global.idealborder[1] + 26 + random(10), global.idealborder[3] - 25 - random(200), blt_dummybullet); |
707 |
gen.side = 1; |
708 |
gen.type = 2; |
709 |
gen.dmg = 1; |
710 |
} |
711 |
con2 = 8; |
712 |
alarm[4] = 30; |
713 |
} |
714 |
} |
715 |
if (con2 == 9) |
716 |
{ |
717 |
con2 = 10; |
718 |
global.typer = 33; |
719 |
global.msg[0] = \E0Dummies.Delay 11 Dummies!Delay 11 DUMMIES!Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1370") ; |
720 |
global.msg[1] = \E1Remember how I said NOT to shoot at me?Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1371") ; |
721 |
global.msg[2] = \E0Well...Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1372") ; |
722 |
global.msg[3] = \E3FAILURES!Delay 11 YOU'RE FIRED!Delay 11 YOU'RE ALL BEING REPLACED!!!Wait for inputClose MessageClose Messagescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1373") ; |
723 |
blcon = instance_create(xstart + 100, ystart, obj_blconwdflowey); |
724 |
blconwdS = instance_create(blcon.x + 25, blcon.y + 10, OBJ_NOMSCWRITER); |
725 |
} |
726 |
if (con2 == 10) |
727 |
{ |
728 |
global.turntimer = 999; |
729 |
if (instance_exists(OBJ_WRITER)) |
730 |
{ |
731 |
if (OBJ_WRITER.stringno == 3) |
732 |
{ |
733 |
with (mypart1) |
734 |
{ |
735 |
rotmod = 2; |
736 |
speedmod = 7; |
737 |
} |
738 |
blt_dummybullet.sprite_index = spr_dummybullet_shock; |
739 |
} |
740 |
} |
741 |
else |
742 |
{ |
743 |
with (mypart1) |
744 |
{ |
745 |
rotmod = 0.1; |
746 |
speedmod = 0.1; |
747 |
} |
748 |
with (blt_dummybullet) |
749 |
{ |
750 |
event_user(2); |
751 |
speed = 1; |
752 |
sprite_index = spr_dummybullet_sad; |
753 |
} |
754 |
with (blcon) |
755 |
instance_destroy(); |
756 |
con2 = 11; |
757 |
alarm[4] = 40; |
758 |
} |
759 |
} |
760 |
if (con2 == 12) |
761 |
{ |
762 |
global.turntimer = 10; |
763 |
con2 = 13; |
764 |
global.typer = 33; |
765 |
global.msc = 0; |
766 |
global.msg[0] = \E0Hahaha.Delay 11 Hahaha!Delay 11 HAHAHA!Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1414") ; |
767 |
global.msg[1] = Now you'll see my true power:Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1415") ; |
768 |
global.msg[2] = Relying on people that aren't garbage!Wait for inputClose MessageClose Messagescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1416") ; |
769 |
blcon = instance_create(xstart + 100, ystart, obj_blconwdflowey); |
770 |
blconwdS = instance_create(blcon.x + 25, blcon.y + 10, OBJ_NOMSCWRITER); |
771 |
talko = 3; |
772 |
global.msg[0] = * Mechanical whirrs fill the room.scr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1420") ; |
773 |
} |
774 |
if (con2 == 13) |
775 |
{ |
776 |
if (instance_exists(OBJ_WRITER)) |
777 |
{ |
778 |
if (OBJ_WRITER.stringno == 0) |
779 |
{ |
780 |
with (mypart1) |
781 |
{ |
782 |
rotmod = 0.8; |
783 |
speedmod = 10; |
784 |
} |
785 |
} |
786 |
if (OBJ_WRITER.stringno == 1) |
787 |
{ |
788 |
with (mypart1) |
789 |
{ |
790 |
rotmod = 1.4; |
791 |
speedmod = 2; |
792 |
} |
793 |
} |
794 |
} |
795 |
else |
796 |
{ |
797 |
con2 = 14; |
798 |
} |
799 |
siner = 0; |
800 |
} |
801 |
if (con2 == 14 || con2 == 15 || con2 == 16 || con2 == 17 || con2 == 17.5) |
802 |
{ |
803 |
siner += 0.2; |
804 |
x = xstart + (sin(siner / 2) * 60); |
805 |
y -= (sin(siner * 2) * 8); |
806 |
if (con2 == 17 && global.turntimer < 30) |
807 |
{ |
808 |
move_towards_point(xstart, ystart, 10); |
809 |
next = 0; |
810 |
con2 = 18; |
811 |
} |
812 |
} |
813 |
if (con2 == 18) |
814 |
{ |
815 |
con2 = 19; |
816 |
global.typer = 33; |
817 |
with (mypart1) |
818 |
global.msc = 0; |
819 |
rotmod = 0.1; |
820 |
speedmod = 0.2; |
821 |
global.msg[0] = \E2(N...Delay 11 no way!)Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1464") ; |
822 |
global.msg[1] = \E2(These guys are even WORSE than the other guys!)Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1465") ; |
823 |
global.msg[2] = \E3Who cares.Delay 11 Who cares!Delay 11 WHO CARES!!Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1466") ; |
824 |
global.msg[3] = I DON'T NEED FRIENDS!!!Wait for inputClose MessageClose Messagescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1467") ; |
825 |
blcon = instance_create(xstart + 100, ystart, obj_blconwdflowey); |
826 |
blconwdS = instance_create(blcon.x + 25, blcon.y + 10, OBJ_NOMSCWRITER); |
827 |
} |
828 |
if (con2 == 19) |
829 |
{ |
830 |
if (distance_to_point(xstart, ystart) < 30 && speed > 0) |
831 |
{ |
832 |
speed -= 1; |
833 |
move_towards_point(xstart, ystart, speed); |
834 |
} |
835 |
if (instance_exists(OBJ_WRITER)) |
836 |
{ |
837 |
if (OBJ_WRITER.stringno == 3) |
838 |
{ |
839 |
with (mypart1) |
840 |
{ |
841 |
rotmod = 2.2; |
842 |
speedmod = 5; |
843 |
} |
844 |
} |
845 |
} |
846 |
else |
847 |
{ |
848 |
con2 = 20; |
849 |
alarm[4] = 40; |
850 |
global.turntimer = 999; |
851 |
knife = instance_create(x - 50, y, blt_dummyknife); |
852 |
global.faceemotion = 0; |
853 |
with (blcon) |
854 |
instance_destroy(); |
855 |
} |
856 |
} |
857 |
if (con2 == 21) |
858 |
{ |
859 |
global.msg[0] = \E3I'VE GOT KNIVES!!!Wait for inputClose MessageClose Messagescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1500") ; |
860 |
blcon = instance_create(xstart + 100, ystart, obj_blconwdflowey); |
861 |
blconwdS = instance_create(blcon.x + 25, blcon.y + 10, OBJ_NOMSCWRITER); |
862 |
con2 = 22; |
863 |
} |
864 |
if (con2 == 22) |
865 |
{ |
866 |
global.turntimer = 999; |
867 |
if (instance_exists(OBJ_WRITER) == 0) |
868 |
{ |
869 |
with (blcon) |
870 |
instance_destroy(); |
871 |
with (knife) |
872 |
move_towards_point(obj_heart.x + 10, obj_heart.y + 10, 9); |
873 |
snd_play(snd_arrow); |
874 |
con2 = 23; |
875 |
alarm[4] = 90; |
876 |
} |
877 |
} |
878 |
if (con2 == 24) |
879 |
{ |
880 |
alarm[4] = 30; |
881 |
con2 = 25; |
882 |
} |
883 |
if (con2 == 25) |
884 |
{ |
885 |
with (mypart1) |
886 |
{ |
887 |
if (rotmod > 0) |
888 |
rotmod -= 0.2; |
889 |
if (speedmod > 0) |
890 |
speedmod -= 0.2; |
891 |
} |
892 |
} |
893 |
if (con2 == 26) |
894 |
{ |
895 |
sprite_index = spr_dummymask; |
896 |
global.msg[0] = \E0I'm...Delay 11Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1539") ; |
897 |
global.msg[1] = \E2Out of knives.Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1540") ; |
898 |
global.msg[2] = \E3BUT IT DOESN'T MATTER!!!Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1541") ; |
899 |
global.msg[3] = YOU CAN'T HURT ME AND I CAN'T HURT YOU!Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1542") ; |
900 |
global.msg[4] = YOU'LL BE STUCK FIGHTING ME...Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1543") ; |
901 |
global.msg[5] = Forever.Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1544") ; |
902 |
global.msg[6] = Forever!Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1545") ; |
903 |
global.msg[7] = FOREVER!!!!Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1546") ; |
904 |
global.msg[8] = AHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAClose Messagescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1547") ; |
905 |
global.msg[9] = AHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAClose Messagescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1548") ; |
906 |
global.msg[10] = AHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAClose Messagescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1549") ; |
907 |
global.msg[11] = AHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAClose Messagescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1550") ; |
908 |
with (mypart1) |
909 |
{ |
910 |
rotmod = 0; |
911 |
speedmod = 0; |
912 |
} |
913 |
blcon = instance_create(xstart + 100, ystart, obj_blconwdflowey); |
914 |
blconwdS = instance_create(blcon.x + 25, blcon.y + 10, OBJ_NOMSCWRITER); |
915 |
con2 = 27; |
916 |
} |
917 |
if (con2 == 27) |
918 |
{ |
919 |
if (instance_exists(OBJ_WRITER)) |
920 |
{ |
921 |
if (OBJ_WRITER.stringno == 2) |
922 |
{ |
923 |
with (mypart1) |
924 |
{ |
925 |
rotmod = 2.5; |
926 |
speedmod = 5; |
927 |
} |
928 |
} |
929 |
if (OBJ_WRITER.stringno == 3) |
930 |
{ |
931 |
with (mypart1) |
932 |
{ |
933 |
rotmod = 3; |
934 |
speedmod = 6; |
935 |
} |
936 |
} |
937 |
if (OBJ_WRITER.stringno == 4) |
938 |
{ |
939 |
with (mypart1) |
940 |
{ |
941 |
rotmod = 5; |
942 |
speedmod = 6; |
943 |
} |
944 |
} |
945 |
if (OBJ_WRITER.stringno == 5) |
946 |
{ |
947 |
with (mypart1) |
948 |
{ |
949 |
rotmod = 0; |
950 |
speedmod = 0; |
951 |
} |
952 |
} |
953 |
if (OBJ_WRITER.stringno == 6) |
954 |
{ |
955 |
with (mypart1) |
956 |
{ |
957 |
rotmod = 2; |
958 |
speedmod = 2; |
959 |
} |
960 |
} |
961 |
if (OBJ_WRITER.stringno == 7) |
962 |
{ |
963 |
with (mypart1) |
964 |
{ |
965 |
rotmod = 8; |
966 |
speedmod = 3; |
967 |
} |
968 |
} |
969 |
if (OBJ_WRITER.stringno == 8) |
970 |
{ |
971 |
with (mypart1) |
972 |
{ |
973 |
rotmod = 12; |
974 |
speedmod = 3; |
975 |
} |
976 |
} |
977 |
if (OBJ_WRITER.stringno == 9) |
978 |
{ |
979 |
repeat (23) |
980 |
{ |
981 |
blt = instance_create(x + 10 + random(20), -10 - random(1100), blt_crybullet2); |
982 |
blt.dmg = 0; |
983 |
blt.gravity = 0; |
984 |
blt.friction = 0; |
985 |
size = 1 + random(1); |
986 |
blt.image_xscale = size; |
987 |
blt.image_yscale = size; |
988 |
blt.vspeed = 6; |
989 |
blt.hspeed = blt.hspeed / 4; |
990 |
blt.gravity_direction = 270; |
991 |
global.turntimer = 9999; |
992 |
} |
993 |
con2 = 28; |
994 |
} |
995 |
} |
996 |
} |
997 |
if (con2 == 30) |
998 |
{ |
999 |
global.msg[0] = \E2Wh...Delay 11 What the heck is this!?Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1613") ; |
1000 |
global.msg[1] = \E3Ergh!Delay 11 Acid rain!?!Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1614") ; |
1001 |
global.msg[2] = Oh,Delay 11 FORGET IT!Delay 11 I'm outta here!Wait for inputClose MessageClose Messagescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1615") ; |
1002 |
blcon = instance_create(xstart + 100, ystart, obj_blconwdflowey); |
1003 |
blconwdS = instance_create(blcon.x + 25, blcon.y + 10, OBJ_NOMSCWRITER); |
1004 |
con2 = 31; |
1005 |
} |
1006 |
if (con2 == 31) |
1007 |
{ |
1008 |
if (instance_exists(OBJ_WRITER) == 0) |
1009 |
{ |
1010 |
with (blcon) |
1011 |
instance_destroy(); |
1012 |
with (blt_crybullet2) |
1013 |
instance_destroy(); |
1014 |
snd_play(snd_slidewhist); |
1015 |
hspeed = 4; |
1016 |
con2 = 32; |
1017 |
alarm[4] = 120; |
1018 |
} |
1019 |
} |
1020 |
if (con2 == 33) |
1021 |
{ |
1022 |
blook = instance_create(xstart - 20, -200, obj_npc_marker); |
1023 |
blook.image_alpha = 0; |
1024 |
blook.visible = true; |
1025 |
blook.image_xscale = 2; |
1026 |
blook.image_yscale = 2; |
1027 |
blook.sprite_index = spr_napstabattle_leg; |
1028 |
blook.image_speed = 0.25; |
1029 |
blook.vspeed = 4; |
1030 |
con2 = 34; |
1031 |
} |
1032 |
if (con2 == 34) |
1033 |
{ |
1034 |
blook.image_alpha += 0.025; |
1035 |
if (blook.y > 14) |
1036 |
{ |
1037 |
con2 = 35; |
1038 |
blook.vspeed = 0; |
1039 |
alarm[4] = 30; |
1040 |
} |
1041 |
} |
1042 |
if (con2 == 36) |
1043 |
{ |
1044 |
global.typer = 33; |
1045 |
global.msg[0] = ... sorry,Delay 11 i interrupted you,Delay 11 didn't i?Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1654") ; |
1046 |
global.msg[1] = as soon as i came over,Delay 11 your friend immediately left...Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1655") ; |
1047 |
global.msg[2] = oh no...Delay 11 you guys looked like you were having fun...Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1656") ; |
1048 |
global.msg[3] = oh no...Delay 11 i just wanted to say hi...Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1657") ; |
1049 |
global.msg[4] = oh no.................................................Close MessageClose Messagescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1658") ; |
1050 |
if (global.flag[36 spared_napstablook] == 0) |
1051 |
{ |
1052 |
global.msg[3] = oh wait...Delay 11 didn't you attack me before...Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1663") ; |
1053 |
global.msg[4] = uhhh...Delay 11 that's awkward.Wait for inputscr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1664") ; |
1054 |
global.msg[5] = sorry.Delay 11 have a nice day.Wait for inputClose MessageClose Messagescr_gettextscr_gettextvar text_id = argument[0];
var text = ds_map_find_value(global.text_data_en, text_id);
if (is_undefined(text))
text = "";
if (global.language == "ja")
{
var loc_text = ds_map_find_value(global.text_data_ja, text_id);
if (!is_undefined(loc_text))
text = loc_text;
}
for (var i = 1; i <= (string_length(text) - 3); i++)
{
if (string_copy(text, i, 2) == "\[" && string_char_at(text, i + 3) == "]")
{
var sel = string_char_at(text, i + 2);
var replace;
if (sel == "C")
replace = global.charname;
else if (sel == "G")
replace = string(global.gold);
else if (sel == "I")
replace = global.itemname[global.menucoord[1]];
else if (sel == "1" && argument_count > 1)
replace = argument[1];
else if (sel == "2" && argument_count > 2)
replace = argument[2];
else if (sel == "3" && argument_count > 3)
replace = argument[3];
else if (sel == "4" && argument_count > 4)
replace = argument[4];
else if (sel == "5" && argument_count > 5)
replace = argument[5];
else if (sel == "6" && argument_count > 6)
replace = argument[6];
else if (sel == "7" && argument_count > 7)
replace = argument[7];
else if (sel == "8" && argument_count > 8)
replace = argument[8];
else if (sel == "9" && argument_count > 9)
replace = argument[9];
else
replace = "";
var before = string_copy(text, 1, i - 1);
var after = string_copy(text, i + 4, string_length(text));
text = before + replace + after;
i += (string_length(replace) - 1);
}
}
return text; ("obj_maddummy_1665") ; |
1055 |
} |
1056 |
blcon = instance_create(xstart + 100, ystart, obj_blconwdflowey); |
1057 |
blconwdS = instance_create(blcon.x + 25, blcon.y + 10, OBJ_NOMSCWRITER); |
1058 |
con2 = 37; |
1059 |
} |
1060 |
if (con2 == 37) |
1061 |
{ |
1062 |
if (instance_exists(OBJ_WRITER)) |
1063 |
{ |
1064 |
if (OBJ_WRITER.stringno == 4 || OBJ_WRITER.stringno == 5) |
1065 |
blook.image_alpha -= 0.03; |
1066 |
} |
1067 |
else |
1068 |
{ |
1069 |
con2 = 38; |
1070 |
with (blcon) |
1071 |
instance_destroy(); |
1072 |
alarm[4] = 60; |
1073 |
} |
1074 |
} |
1075 |
if (con2 == 39) |
1076 |
{ |
1077 |
alarm[11] = 10; |
1078 |
instance_create(0, 0, obj_unfader); |
1079 |
con2 = 40; |
1080 |
} |