1 |
if (global.mnfight == 3) |
2 |
attacked = 0; |
3 |
if (alarm[5] > 0) |
4 |
{ |
5 |
if (global.monster[0] == 1) |
6 |
{ |
7 |
if (global.monsterinstance[0].alarm[5] > alarm[5]) |
8 |
alarm[5] = global.monsterinstance[0].alarm[5]; |
9 |
} |
10 |
if (global.monster[1] == 1) |
11 |
{ |
12 |
if (global.monsterinstance[1].alarm[5] > alarm[5]) |
13 |
alarm[5] = global.monsterinstance[1].alarm[5]; |
14 |
} |
15 |
if (global.monster[2] == 1) |
16 |
{ |
17 |
if (global.monsterinstance[2].alarm[5] > alarm[5]) |
18 |
alarm[5] = global.monsterinstance[2].alarm[5]; |
19 |
} |
20 |
} |
21 |
if (global.mnfight == 1) |
22 |
{ |
23 |
if (talked == 0) |
24 |
{ |
25 |
alarm[5] = 320; |
26 |
alarm[6] = 2;gml_Object_obj_papyrusboss_Alarm_6.gmlglobal.msc = 0;
if (stalk == 0)
blcon = instance_create(x + 145, y + 52, obj_blconwdflowey);
else
blcon = sblcon;
gg = floor(random(3));
mycommand = round(random(100));
global.msg[0] = ;
if (conversation == 0 && global.talked == 91)
global.msg[0] = OH,Delay 11 I SHOULD HAVE BROUGHT ONE OF THOSE. ;
if (conversation == 0 && whatiheard == -1 && global.talked != 91 && murder == 0)
{
talkify = 1;
alarm[5] = -1;
if (global.monsterhp[myself] < prevhp)
global.msg[0] = SO YOU'RE SERIOUS...Wait for input ;
else
global.msg[0] = SO YOU WON'T FIGHT...Wait for input ;
global.msg[1] = THEN,Delay 11 LET'S SEE IF YOU CAN HANDLE MY FABLED 'BLUE ATTACK!'Wait for inputClose MessageClose Message ;
global.msg[2] = Close MessageClose MessageClose Message ;
conversation = 1;
mycommand = -1;
}
if (global.monsterhp[myself] <= 140 && fighto <= 14 && xfight < 4)
{
fighto = 14;
xfight = 4;
}
if (global.monsterhp[myself] <= 80 && fighto < 15)
{
fighto = 15;
xfight = 0;
}
if (truefight == 1)
{
talkify = 0;
if (fighto == -1)
global.msg[0] = ;
if (fighto == -1 && global.flag[66 flirted_papyrus_fight] == 1)
global.msg[0] = HMMM... I WONDER WHAT I SHOULD WEAR... ;
if (fighto == 0)
global.msg[0] = ;
if (fighto == 0 && global.flag[66 flirted_papyrus_fight] == 1)
global.msg[0] = WHAT!? I'M NOT THINKING ABOUT THAT DATE THING!! ;
if (fighto == 0 && hearthp2 < hearthp && xxtalk == 0)
{
global.msg[0] = TRY HOLDING THE 'UP' BUTTON TO JUMP!!! ;
fighto = -1;
xxtalk = 1;
}
if (fighto == 1)
global.msg[0] = \X YEAH! DON'T MAKE ME USE MY \RSPECIAL ATTACK\X! ;
if (fighto == 1 && hearthp2 < hearthp && xxtalk < 2)
{
global.msg[0] = HOLD 'UP' LONGER TO JUMP HIGHER! JEEZ!!! ;
fighto = 0;
xxtalk = 2;
}
if (fighto == 2)
global.msg[0] = I CAN ALMOST TASTE MY FUTURE POPULARITY!!! ;
if (fighto == 3)
global.msg[0] = PAPYRUS: HEAD OF THE ROYAL GUARD! ;
if (fighto == 4)
global.msg[0] = PAPYRUS: UNPARALLELED SPAGHETTORE! ;
if (fighto == 5)
global.msg[0] = UNDYNE WILL BE REALLY PROUD OF ME!! ;
if (fighto == 6)
global.msg[0] = THE KING WILL TRIM A HEDGE IN THE SHAPE OF MY SMILE!!! ;
if (fighto == 7)
global.msg[0] = MY BROTHER WILL ... WELL, HE WON'T CHANGE VERY MUCH. ;
if (fighto == 8)
global.msg[0] = I'LL HAVE LOTS OF ADMIRERS!! BUT... ;
if (fighto == 9)
global.msg[0] = HOW WILL I KNOW IF PEOPLE SINCERELY LIKE ME??? ;
if (fighto == 9 && global.flag[66 flirted_papyrus_fight] == 1)
global.msg[0] = WILL ANYONE LIKE ME AS SINCERELY AS YOU? ;
if (fighto == 10)
global.msg[0] = SOMEONE LIKE YOU IS REALLY RARE... ;
if (fighto == 11)
global.msg[0] = I DON'T THINK THEY'LL LET YOU GO... ;
if (fighto == 11 && global.flag[66 flirted_papyrus_fight] == 1)
global.msg[0] = AND DATING MIGHT BE KIND OF HARD... ;
if (fighto == 12)
global.msg[0] = AFTER YOU'RE CAPTURED AND SENT AWAY. ;
if (fighto == 13)
global.msg[0] = URGH... WHO CARES! GIVE UP!! ;
if (fighto == 14 && xfight == 0)
global.msg[0] = \X GIVE UP OR FACE MY... \RSPECIAL ATTACK\X!!! ;
if (fighto == 14 && xfight == 1)
global.msg[0] = \X YEAH!!! VERY SOON I WILL USE MY \RSPECIAL ATTACK\X! ;
if (fighto == 14 && xfight == 2)
global.msg[0] = \X NOT TOO LONG AND I WILL USE THAT \RSPECIAL ATTACK\X!!! ;
if (fighto == 14 && xfight > 2)
global.msg[0] = \X THIS IS YOUR LAST CHANCE... BEFORE MY \RSPECIAL ATTACK\X!! ;
if (fighto == 14 && xfight > 3)
global.msg[0] = \X BEHOLD...! MY \RSPECIAL ATTACK\X! ;
if (fighto == 15)
global.msg[0] = *SIGH* HERE'S AN ABSOLUTELY NORMAL ATTACK. ;
}
if (whatiheard > -1 && fighto < 2)
{
... |
27 |
talked = 1; |
28 |
global.heard = 0; |
29 |
} |
30 |
} |
31 |
if (control_check_pressed(0) && talkify == 0) |
32 |
{ |
33 |
if (alarm[5] > 5 && obj_lborder.x == global.idealborder[0] && alarm[6] < 0)gml_Object_obj_papyrusboss_Alarm_6.gmlglobal.msc = 0;
if (stalk == 0)
blcon = instance_create(x + 145, y + 52, obj_blconwdflowey);
else
blcon = sblcon;
gg = floor(random(3));
mycommand = round(random(100));
global.msg[0] = ;
if (conversation == 0 && global.talked == 91)
global.msg[0] = OH,Delay 11 I SHOULD HAVE BROUGHT ONE OF THOSE. ;
if (conversation == 0 && whatiheard == -1 && global.talked != 91 && murder == 0)
{
talkify = 1;
alarm[5] = -1;
if (global.monsterhp[myself] < prevhp)
global.msg[0] = SO YOU'RE SERIOUS...Wait for input ;
else
global.msg[0] = SO YOU WON'T FIGHT...Wait for input ;
global.msg[1] = THEN,Delay 11 LET'S SEE IF YOU CAN HANDLE MY FABLED 'BLUE ATTACK!'Wait for inputClose MessageClose Message ;
global.msg[2] = Close MessageClose MessageClose Message ;
conversation = 1;
mycommand = -1;
}
if (global.monsterhp[myself] <= 140 && fighto <= 14 && xfight < 4)
{
fighto = 14;
xfight = 4;
}
if (global.monsterhp[myself] <= 80 && fighto < 15)
{
fighto = 15;
xfight = 0;
}
if (truefight == 1)
{
talkify = 0;
if (fighto == -1)
global.msg[0] = ;
if (fighto == -1 && global.flag[66 flirted_papyrus_fight] == 1)
global.msg[0] = HMMM... I WONDER WHAT I SHOULD WEAR... ;
if (fighto == 0)
global.msg[0] = ;
if (fighto == 0 && global.flag[66 flirted_papyrus_fight] == 1)
global.msg[0] = WHAT!? I'M NOT THINKING ABOUT THAT DATE THING!! ;
if (fighto == 0 && hearthp2 < hearthp && xxtalk == 0)
{
global.msg[0] = TRY HOLDING THE 'UP' BUTTON TO JUMP!!! ;
fighto = -1;
xxtalk = 1;
}
if (fighto == 1)
global.msg[0] = \X YEAH! DON'T MAKE ME USE MY \RSPECIAL ATTACK\X! ;
if (fighto == 1 && hearthp2 < hearthp && xxtalk < 2)
{
global.msg[0] = HOLD 'UP' LONGER TO JUMP HIGHER! JEEZ!!! ;
fighto = 0;
xxtalk = 2;
}
if (fighto == 2)
global.msg[0] = I CAN ALMOST TASTE MY FUTURE POPULARITY!!! ;
if (fighto == 3)
global.msg[0] = PAPYRUS: HEAD OF THE ROYAL GUARD! ;
if (fighto == 4)
global.msg[0] = PAPYRUS: UNPARALLELED SPAGHETTORE! ;
if (fighto == 5)
global.msg[0] = UNDYNE WILL BE REALLY PROUD OF ME!! ;
if (fighto == 6)
global.msg[0] = THE KING WILL TRIM A HEDGE IN THE SHAPE OF MY SMILE!!! ;
if (fighto == 7)
global.msg[0] = MY BROTHER WILL ... WELL, HE WON'T CHANGE VERY MUCH. ;
if (fighto == 8)
global.msg[0] = I'LL HAVE LOTS OF ADMIRERS!! BUT... ;
if (fighto == 9)
global.msg[0] = HOW WILL I KNOW IF PEOPLE SINCERELY LIKE ME??? ;
if (fighto == 9 && global.flag[66 flirted_papyrus_fight] == 1)
global.msg[0] = WILL ANYONE LIKE ME AS SINCERELY AS YOU? ;
if (fighto == 10)
global.msg[0] = SOMEONE LIKE YOU IS REALLY RARE... ;
if (fighto == 11)
global.msg[0] = I DON'T THINK THEY'LL LET YOU GO... ;
if (fighto == 11 && global.flag[66 flirted_papyrus_fight] == 1)
global.msg[0] = AND DATING MIGHT BE KIND OF HARD... ;
if (fighto == 12)
global.msg[0] = AFTER YOU'RE CAPTURED AND SENT AWAY. ;
if (fighto == 13)
global.msg[0] = URGH... WHO CARES! GIVE UP!! ;
if (fighto == 14 && xfight == 0)
global.msg[0] = \X GIVE UP OR FACE MY... \RSPECIAL ATTACK\X!!! ;
if (fighto == 14 && xfight == 1)
global.msg[0] = \X YEAH!!! VERY SOON I WILL USE MY \RSPECIAL ATTACK\X! ;
if (fighto == 14 && xfight == 2)
global.msg[0] = \X NOT TOO LONG AND I WILL USE THAT \RSPECIAL ATTACK\X!!! ;
if (fighto == 14 && xfight > 2)
global.msg[0] = \X THIS IS YOUR LAST CHANCE... BEFORE MY \RSPECIAL ATTACK\X!! ;
if (fighto == 14 && xfight > 3)
global.msg[0] = \X BEHOLD...! MY \RSPECIAL ATTACK\X! ;
if (fighto == 15)
global.msg[0] = *SIGH* HERE'S AN ABSOLUTELY NORMAL ATTACK. ;
}
if (whatiheard > -1 && fighto < 2)
{
... |
34 |
alarm[5] = 2; |
35 |
} |
36 |
if (talkify == 1 && instance_exists(OBJ_WRITER) == 0) |
37 |
{ |
38 |
alarm[5] = -2; |
39 |
with (blconwd) |
40 |
instance_destroy(); |
41 |
with (blcon) |
42 |
instance_destroy(); |
43 |
talkify = 0; |
44 |
talked = 0; |
45 |
whatiheard = -1; |
46 |
global.mnfight = 2; |
47 |
} |
48 |
if (global.hurtanim[myself] == 1) |
49 |
{ |
50 |
shudder = 16; |
51 |
alarm[3] = global.damagetimer;gml_Object_obj_papyrusboss_Alarm_3.gmlif (image_index != 1)
{
prevhp = global.monsterhp[myself];
with (mypart1)
instance_destroy();
dogignore = 0;
dmgwriter = instance_create(x, y + 150, obj_dmgwriter);
global.damage = takedamage;
with (dmgwriter)
dmg = global.damage;
image_index = 1;
snd_play(snd_damage);
}
x += shudder;
if (shudder < 0)
shudder = -(shudder + 2);
else
shudder = -shudder;
if (shudder == 0)
{
global.hurtanim[myself] = 2;
exit;
}
alarm[3] = 2; |
52 |
global.hurtanim[myself] = 3; |
53 |
} |
54 |
if (global.hurtanim[myself] == 2) |
55 |
{ |
56 |
global.monsterhp[myself] -= takedamage; |
57 |
with (dmgwriter) |
58 |
alarm[2] |
59 |
if (global.monsterhp[myself] >= 1) |
60 |
{ |
61 |
mypart1 = instance_create(x, y, part1); |
62 |
global.hurtanim[myself] = 0; |
63 |
image_index = 0; |
64 |
global.myfight = 0; |
65 |
global.mnfight = 1; |
66 |
} |
67 |
else |
68 |
{ |
69 |
global.myfight = 0; |
70 |
global.mnfight = 99; |
71 |
killed = 1; |
72 |
event_user(3); |
73 |
} |
74 |
} |
75 |
if (global.hurtanim[myself] == 5) |
76 |
{ |
77 |
global.damage = 0; |
78 |
instance_create((x + (sprite_width / 2)) - 48, y - 24, obj_dmgwriter); |
79 |
with (obj_dmgwriter) |
80 |
alarm[2] |
81 |
global.myfight = 0; |
82 |
global.mnfight = 1; |
83 |
global.hurtanim[myself] = 0; |
84 |
} |
85 |
if (global.mnfight == 2) |
86 |
{ |
87 |
if (attacked == 0) |
88 |
{ |
89 |
global.turntimer = 4; |
90 |
global.firingrate = 15; |
91 |
if (truefight == 0 && mycommand >= 0) |
92 |
{ |
93 |
global.turntimer = 140; |
94 |
if (murder == 1) |
95 |
global.turntimer = 2; |
96 |
global.border = 5; |
97 |
bz = round(random(20)); |
98 |
gen = instance_create(global.idealborder[1] + 10, global.idealborder[3] - (20 + bz), blt_sizebone); |
99 |
with (gen) |
100 |
hspeed = -3; |
101 |
bz = round(random(20)); |
102 |
gen = instance_create(global.idealborder[1] + 90, global.idealborder[3] - (20 + bz), blt_sizebone); |
103 |
with (gen) |
104 |
hspeed = -3; |
105 |
bz = round(random(20)); |
106 |
gen = instance_create(global.idealborder[1] + 170, global.idealborder[3] - (20 + bz), blt_sizebone); |
107 |
with (gen) |
108 |
hspeed = -3; |
109 |
} |
110 |
if (truefight == 1) |
111 |
obj_heart.sprite_index = spr_heartblue; |
112 |
if (truefight == 1 && fighto == 15) |
113 |
{ |
114 |
dontcancel = 4; |
115 |
obj_heart.movement = 2; |
116 |
obj_heart.vspeed = -1; |
117 |
obj_heart.jumpstage = 2; |
118 |
global.turntimer = 1300; |
119 |
global.border = 5; |
120 |
k = global.idealborder[1] + 1900; |
121 |
gen = instance_create(global.idealborder[0] - 10, global.idealborder[3] - 20, blt_sizebone); |
122 |
gen.hspeed = 4; |
123 |
gen = instance_create(global.idealborder[0] - 60, global.idealborder[3] - 20, blt_sizebone); |
124 |
gen.hspeed = 4; |
125 |
gen = instance_create(global.idealborder[1] + 160, global.idealborder[3] - 20, blt_sizebone); |
126 |
gen.hspeed = -4; |
127 |
gen = instance_create(global.idealborder[1] + 210, global.idealborder[3] - 20, blt_sizebone); |
128 |
gen.hspeed = -4; |
129 |
gen = instance_create(global.idealborder[0] - 360, global.idealborder[3] - 60, blt_sizebone); |
130 |
gen.hspeed = 4; |
131 |
gen = instance_create(global.idealborder[1] + 360, global.idealborder[3] - 60, blt_sizebone); |
132 |
gen.hspeed = -4; |
133 |
gen = instance_create(global.idealborder[0] - 540, global.idealborder[3] - 30, blt_sizebone); |
134 |
gen.hspeed = 4; |
135 |
gen.osc = -4; |
136 |
gen.oscmin = -1; |
137 |
gen.oscmax = 60; |
138 |
gen = instance_create(global.idealborder[1] + 540, global.idealborder[3] - 30, blt_sizebone); |
139 |
gen.hspeed = -4; |
140 |
gen.osc = -4; |
141 |
gen.oscmin = -1; |
142 |
gen.oscmax = 60; |
143 |
gen = instance_create(global.idealborder[0] - 640, global.idealborder[3] - 50, blt_topbone); |
144 |
gen.hspeed = 4; |
145 |
gen.osc = -4; |
146 |
gen.oscmin = -1; |
147 |
gen.oscmax = 60; |
148 |
gen = instance_create(global.idealborder[1] + 640, global.idealborder[3] - 50, blt_topbone); |
149 |
gen.hspeed = -4; |
150 |
gen.osc = -4; |
151 |
gen.oscmin = -1; |
152 |
gen.oscmax = 60; |
153 |
gen.hspeed = -4; |
154 |
gen = instance_create(global.idealborder[0] - 740, global.idealborder[3] - 30, blt_sizebone); |
155 |
gen.hspeed = 4; |
156 |
gen.osc = -2; |
157 |
gen.oscmin = -1; |
158 |
gen.oscmax = 40; |
159 |
gen = instance_create(global.idealborder[1] + 740, global.idealborder[3] - 30, blt_sizebone); |
160 |
gen.hspeed = -4; |
161 |
gen.osc = -2; |
162 |
gen.oscmin = -1; |
163 |
gen.oscmax = 40; |
164 |
gen.hspeed = -4; |
165 |
gen = instance_create(global.idealborder[0] - 890, global.idealborder[3] - 30, blt_sizebone); |
166 |
gen.hspeed = 4; |
167 |
gen.osc = -2; |
168 |
gen.oscmin = -1; |
169 |
gen.oscmax = 40; |
170 |
gen = instance_create(global.idealborder[1] + 890, global.idealborder[3] - 30, blt_sizebone); |
171 |
gen.hspeed = -4; |
172 |
gen.osc = -2; |
173 |
gen.oscmin = -1; |
174 |
gen.oscmax = 40; |
175 |
gen = instance_create(global.idealborder[1] + 1090, global.idealborder[3] - 30, blt_sizebone); |
176 |
gen.hspeed = -4; |
177 |
gen.osc = -1; |
178 |
gen.oscmin = -1; |
179 |
gen.oscmax = 30; |
180 |
gen = instance_create(global.idealborder[1] + 1120, global.idealborder[3] - 30, blt_sizebone); |
181 |
gen.hspeed = -4; |
182 |
gen.osc = -1; |
183 |
gen.oscmin = -1; |
184 |
gen.oscmax = 30; |
185 |
gen = instance_create(global.idealborder[1] + 1150, global.idealborder[3] - 30, blt_sizebone); |
186 |
gen.hspeed = -4; |
187 |
gen.osc = -1; |
188 |
gen.oscmin = -1; |
189 |
gen.oscmax = 30; |
190 |
gen = instance_create(global.idealborder[0] - 1340, global.idealborder[3] - 30, blt_sizebone); |
191 |
gen.hspeed = 4; |
192 |
gen.osc = -1; |
193 |
gen.oscmin = -1; |
194 |
gen.oscmax = 30; |
195 |
gen = instance_create(global.idealborder[0] - 1370, global.idealborder[3] - 30, blt_sizebone); |
196 |
gen.hspeed = 4; |
197 |
gen.osc = -1; |
198 |
gen.oscmin = -1; |
199 |
gen.oscmax = 30; |
200 |
gen = instance_create(global.idealborder[0] - 1400, global.idealborder[3] - 30, blt_sizebone); |
201 |
gen.hspeed = 4; |
202 |
gen.osc = -1; |
203 |
gen.oscmin = -1; |
204 |
gen.oscmax = 30; |
205 |
gen = instance_create(global.idealborder[1] + 2000, global.idealborder[3] - 40, blt_scootdog); |
206 |
gen.hspeed = -5; |
207 |
gen = instance_create(global.idealborder[1] + 2240, global.idealborder[3] - 60, blt_scootdog); |
208 |
gen.hspeed = -5; |
209 |
gen.sprite_index = scr_getspritescr_getspritevar sprite_id = argument[0];
if (global.language == "ja")
{
if (sprite_id == spr_actbt_center)
return spr_actbt_center_ja;
if (sprite_id == spr_actbt_center_hole)
return spr_actbt_center_hole_ja;
if (sprite_id == spr_barkbullet)
return spr_barkbullet_ja;
if (sprite_id == spr_barktry)
return spr_barktry_ja;
if (sprite_id == spr_bulletNapstaSad)
return spr_bulletNapstaSad_ja;
if (sprite_id == spr_cbone)
return spr_cbone_ja;
if (sprite_id == spr_dbone)
return spr_dbone_ja;
if (sprite_id == spr_defusebox)
return spr_defusebox_ja;
if (sprite_id == spr_fightbt)
return spr_fightbt_ja;
if (sprite_id == spr_fightbt_center)
return spr_fightbt_center_ja;
if (sprite_id == spr_fightbt_hollow)
return spr_fightbt_hollow_ja;
if (sprite_id == spr_itembt)
return spr_itembt_ja;
if (sprite_id == spr_itembt_hollow)
return spr_itembt_hollow_ja;
if (sprite_id == spr_killervisage)
return spr_killervisage_ja;
if (sprite_id == spr_librarysign)
return spr_librarysign_ja;
if (sprite_id == spr_mercybutton_normal)
return spr_mercybutton_normal_ja;
if (sprite_id == spr_mercybutton_shatter)
return spr_mercybutton_shatter_ja;
if (sprite_id == spr_mettatonb_behind)
return spr_mettatonb_behind_ja;
if (sprite_id == spr_mettatonb_behind_on)
return spr_mettatonb_behind_on_ja;
if (sprite_id == spr_oolbone)
return spr_oolbone_ja;
if (sprite_id == spr_out_to_lunch_sign)
return spr_out_to_lunch_sign_ja;
if (sprite_id == spr_punchcard)
return spr_punchcard_ja;
if (sprite_id == spr_pxquit)
return spr_pxquit_ja;
if (sprite_id == spr_savebt)
return spr_savebt_ja;
if (sprite_id == spr_snowsans)
return spr_snowsans_ja;
if (sprite_id == spr_sparebt)
return spr_sparebt_ja;
if (sprite_id == spr_sparebt_bandage)
return spr_sparebt_bandage_ja;
if (sprite_id == spr_starcheckeredit)
return spr_starcheckeredit_ja;
if (sprite_id == spr_talkbt)
return spr_talkbt_ja;
if (sprite_id == spr_talkbt_hollow)
return spr_talkbt_hollow_ja;
if (sprite_id == spr_udebone)
return spr_udebone_ja;
if (sprite_id == spr_wordsearch)
return spr_wordsearch_ja;
}
return sprite_id; (spr_cbone); |
210 |
gen = instance_create(global.idealborder[1] + 2280, global.idealborder[3] - 60, blt_scootdog); |
211 |
gen.hspeed = -5; |
212 |
gen.sprite_index = scr_getspritescr_getspritevar sprite_id = argument[0];
if (global.language == "ja")
{
if (sprite_id == spr_actbt_center)
return spr_actbt_center_ja;
if (sprite_id == spr_actbt_center_hole)
return spr_actbt_center_hole_ja;
if (sprite_id == spr_barkbullet)
return spr_barkbullet_ja;
if (sprite_id == spr_barktry)
return spr_barktry_ja;
if (sprite_id == spr_bulletNapstaSad)
return spr_bulletNapstaSad_ja;
if (sprite_id == spr_cbone)
return spr_cbone_ja;
if (sprite_id == spr_dbone)
return spr_dbone_ja;
if (sprite_id == spr_defusebox)
return spr_defusebox_ja;
if (sprite_id == spr_fightbt)
return spr_fightbt_ja;
if (sprite_id == spr_fightbt_center)
return spr_fightbt_center_ja;
if (sprite_id == spr_fightbt_hollow)
return spr_fightbt_hollow_ja;
if (sprite_id == spr_itembt)
return spr_itembt_ja;
if (sprite_id == spr_itembt_hollow)
return spr_itembt_hollow_ja;
if (sprite_id == spr_killervisage)
return spr_killervisage_ja;
if (sprite_id == spr_librarysign)
return spr_librarysign_ja;
if (sprite_id == spr_mercybutton_normal)
return spr_mercybutton_normal_ja;
if (sprite_id == spr_mercybutton_shatter)
return spr_mercybutton_shatter_ja;
if (sprite_id == spr_mettatonb_behind)
return spr_mettatonb_behind_ja;
if (sprite_id == spr_mettatonb_behind_on)
return spr_mettatonb_behind_on_ja;
if (sprite_id == spr_oolbone)
return spr_oolbone_ja;
if (sprite_id == spr_out_to_lunch_sign)
return spr_out_to_lunch_sign_ja;
if (sprite_id == spr_punchcard)
return spr_punchcard_ja;
if (sprite_id == spr_pxquit)
return spr_pxquit_ja;
if (sprite_id == spr_savebt)
return spr_savebt_ja;
if (sprite_id == spr_snowsans)
return spr_snowsans_ja;
if (sprite_id == spr_sparebt)
return spr_sparebt_ja;
if (sprite_id == spr_sparebt_bandage)
return spr_sparebt_bandage_ja;
if (sprite_id == spr_starcheckeredit)
return spr_starcheckeredit_ja;
if (sprite_id == spr_talkbt)
return spr_talkbt_ja;
if (sprite_id == spr_talkbt_hollow)
return spr_talkbt_hollow_ja;
if (sprite_id == spr_udebone)
return spr_udebone_ja;
if (sprite_id == spr_wordsearch)
return spr_wordsearch_ja;
}
return sprite_id; (spr_oolbone); |
213 |
gen = instance_create(global.idealborder[1] + 2500, global.idealborder[3] - 60, blt_scootdog); |
214 |
gen.hspeed = -5; |
215 |
gen.sprite_index = scr_getspritescr_getspritevar sprite_id = argument[0];
if (global.language == "ja")
{
if (sprite_id == spr_actbt_center)
return spr_actbt_center_ja;
if (sprite_id == spr_actbt_center_hole)
return spr_actbt_center_hole_ja;
if (sprite_id == spr_barkbullet)
return spr_barkbullet_ja;
if (sprite_id == spr_barktry)
return spr_barktry_ja;
if (sprite_id == spr_bulletNapstaSad)
return spr_bulletNapstaSad_ja;
if (sprite_id == spr_cbone)
return spr_cbone_ja;
if (sprite_id == spr_dbone)
return spr_dbone_ja;
if (sprite_id == spr_defusebox)
return spr_defusebox_ja;
if (sprite_id == spr_fightbt)
return spr_fightbt_ja;
if (sprite_id == spr_fightbt_center)
return spr_fightbt_center_ja;
if (sprite_id == spr_fightbt_hollow)
return spr_fightbt_hollow_ja;
if (sprite_id == spr_itembt)
return spr_itembt_ja;
if (sprite_id == spr_itembt_hollow)
return spr_itembt_hollow_ja;
if (sprite_id == spr_killervisage)
return spr_killervisage_ja;
if (sprite_id == spr_librarysign)
return spr_librarysign_ja;
if (sprite_id == spr_mercybutton_normal)
return spr_mercybutton_normal_ja;
if (sprite_id == spr_mercybutton_shatter)
return spr_mercybutton_shatter_ja;
if (sprite_id == spr_mettatonb_behind)
return spr_mettatonb_behind_ja;
if (sprite_id == spr_mettatonb_behind_on)
return spr_mettatonb_behind_on_ja;
if (sprite_id == spr_oolbone)
return spr_oolbone_ja;
if (sprite_id == spr_out_to_lunch_sign)
return spr_out_to_lunch_sign_ja;
if (sprite_id == spr_punchcard)
return spr_punchcard_ja;
if (sprite_id == spr_pxquit)
return spr_pxquit_ja;
if (sprite_id == spr_savebt)
return spr_savebt_ja;
if (sprite_id == spr_snowsans)
return spr_snowsans_ja;
if (sprite_id == spr_sparebt)
return spr_sparebt_ja;
if (sprite_id == spr_sparebt_bandage)
return spr_sparebt_bandage_ja;
if (sprite_id == spr_starcheckeredit)
return spr_starcheckeredit_ja;
if (sprite_id == spr_talkbt)
return spr_talkbt_ja;
if (sprite_id == spr_talkbt_hollow)
return spr_talkbt_hollow_ja;
if (sprite_id == spr_udebone)
return spr_udebone_ja;
if (sprite_id == spr_wordsearch)
return spr_wordsearch_ja;
}
return sprite_id; (spr_dbone); |
216 |
gen = instance_create(global.idealborder[1] + 2540, global.idealborder[3] - 60, blt_scootdog); |
217 |
gen.hspeed = -5; |
218 |
gen.sprite_index = scr_getspritescr_getspritevar sprite_id = argument[0];
if (global.language == "ja")
{
if (sprite_id == spr_actbt_center)
return spr_actbt_center_ja;
if (sprite_id == spr_actbt_center_hole)
return spr_actbt_center_hole_ja;
if (sprite_id == spr_barkbullet)
return spr_barkbullet_ja;
if (sprite_id == spr_barktry)
return spr_barktry_ja;
if (sprite_id == spr_bulletNapstaSad)
return spr_bulletNapstaSad_ja;
if (sprite_id == spr_cbone)
return spr_cbone_ja;
if (sprite_id == spr_dbone)
return spr_dbone_ja;
if (sprite_id == spr_defusebox)
return spr_defusebox_ja;
if (sprite_id == spr_fightbt)
return spr_fightbt_ja;
if (sprite_id == spr_fightbt_center)
return spr_fightbt_center_ja;
if (sprite_id == spr_fightbt_hollow)
return spr_fightbt_hollow_ja;
if (sprite_id == spr_itembt)
return spr_itembt_ja;
if (sprite_id == spr_itembt_hollow)
return spr_itembt_hollow_ja;
if (sprite_id == spr_killervisage)
return spr_killervisage_ja;
if (sprite_id == spr_librarysign)
return spr_librarysign_ja;
if (sprite_id == spr_mercybutton_normal)
return spr_mercybutton_normal_ja;
if (sprite_id == spr_mercybutton_shatter)
return spr_mercybutton_shatter_ja;
if (sprite_id == spr_mettatonb_behind)
return spr_mettatonb_behind_ja;
if (sprite_id == spr_mettatonb_behind_on)
return spr_mettatonb_behind_on_ja;
if (sprite_id == spr_oolbone)
return spr_oolbone_ja;
if (sprite_id == spr_out_to_lunch_sign)
return spr_out_to_lunch_sign_ja;
if (sprite_id == spr_punchcard)
return spr_punchcard_ja;
if (sprite_id == spr_pxquit)
return spr_pxquit_ja;
if (sprite_id == spr_savebt)
return spr_savebt_ja;
if (sprite_id == spr_snowsans)
return spr_snowsans_ja;
if (sprite_id == spr_sparebt)
return spr_sparebt_ja;
if (sprite_id == spr_sparebt_bandage)
return spr_sparebt_bandage_ja;
if (sprite_id == spr_starcheckeredit)
return spr_starcheckeredit_ja;
if (sprite_id == spr_talkbt)
return spr_talkbt_ja;
if (sprite_id == spr_talkbt_hollow)
return spr_talkbt_hollow_ja;
if (sprite_id == spr_udebone)
return spr_udebone_ja;
if (sprite_id == spr_wordsearch)
return spr_wordsearch_ja;
}
return sprite_id; (spr_udebone); |
219 |
gen = instance_create(global.idealborder[1] + 2220, global.idealborder[3] - 60, blt_scootdog); |
220 |
gen.hspeed = -4; |
221 |
gen.sprite_index = spr_skatebone; |
222 |
gen = instance_create(k + 10, global.idealborder[3] - 60, blt_coolbus); |
223 |
gen.hspeed = -3; |
224 |
gen = instance_create(k + 70, global.idealborder[3] - 60, blt_coolbus); |
225 |
gen.hspeed = -3; |
226 |
gen = instance_create(k + 130, global.idealborder[3] - 60, blt_coolbus); |
227 |
gen.hspeed = -3; |
228 |
gen = instance_create(k + 190, global.idealborder[3] - 60, blt_coolbus); |
229 |
gen.hspeed = -3; |
230 |
gen = instance_create(k + 250, global.idealborder[3] - 60, blt_coolbus); |
231 |
gen.hspeed = -3; |
232 |
gen = instance_create(k + 310, global.idealborder[3] - 60, blt_coolbus); |
233 |
gen.hspeed = -3; |
234 |
gen = instance_create(k + 370, global.idealborder[3] - 60, blt_coolbus); |
235 |
gen.hspeed = -3; |
236 |
gen = instance_create(k + 430, global.idealborder[3] - 60, blt_coolbus); |
237 |
gen.hspeed = -3; |
238 |
gen = instance_create(k + 490, global.idealborder[3] - 60, blt_coolbus); |
239 |
gen.hspeed = -3; |
240 |
gen = instance_create(k + 550, global.idealborder[3] - 240, blt_superbone); |
241 |
gen.hspeed = -3; |
242 |
gen = instance_create(global.idealborder[1] + 970, global.idealborder[3] - 20, blt_sizebone); |
243 |
gen.hspeed = -1; |
244 |
fighto = 16; |
245 |
} |
246 |
if (truefight == 1 && fighto == 14 && xfight > 3) |
247 |
{ |
248 |
obj_heart.movement = 2; |
249 |
obj_heart.vspeed = -1; |
250 |
obj_heart.jumpstage = 2; |
251 |
fighto = 15; |
252 |
xfight = 0; |
253 |
dontcancel = 1; |
254 |
global.border = 50; |
255 |
instance_create(global.idealborder[1], global.idealborder[3] - 40, blt_tobydogbone); |
256 |
alarm[7] = 80;gml_Object_obj_papyrusboss_Alarm_7.gmlif (bonetalk == 0)
{
global.msg[0] = WHAT THE HECK!Wait for input ;
global.msg[1] = THAT'S MY SPECIAL ATTACK!Wait for inputClose MessageClose Message ;
global.typer = 22;
blcon = instance_create(x + 145, y + 52, obj_blconwdflowey);
blconwdS = instance_create(blcon.x + blcon_textofs, blcon.y + 10, OBJ_NOMSCWRITER);
bonetalk = 1;
}
if (bonetalk == 1 && instance_exists(OBJ_WRITER) == 0)
{
global.msg[0] = HEY!Delay 11 YOU STUPID DOG!Wait for inputClose MessageClose Message ;
global.typer = 22;
blconwdS = instance_create(blcon.x + blcon_textofs, blcon.y + 10, OBJ_NOMSCWRITER);
bonetalk = 2;
blt_tobydogbone.sprite_index = spr_tobydogsurprise;
blt_tobydogbone.image_index = 0;
blt_tobydogbone.image_speed = 0;
}
if (bonetalk == 2 && instance_exists(OBJ_WRITER) == 0)
{
global.msg[0] = DO YOU HEAR ME!?Wait for input ;
global.msg[1] = STOP MUNCHING ON THAT BONE!!!Wait for inputClose MessageClose Message ;
global.typer = 22;
blconwdS = instance_create(blcon.x + blcon_textofs, blcon.y + 10, OBJ_NOMSCWRITER);
bonetalk = 3;
blt_tobydogbone.image_index = 1;
}
if (bonetalk == 3 && instance_exists(OBJ_WRITER) == 0)
{
global.msg[0] = HEY!!! WHAT ARE YOU DOING!!!Wait for input ;
global.msg[1] = COME BACK HERE WITH MY SPECIAL ATTACK!!!Wait for inputClose MessageClose Message ;
global.typer = 22;
blconwdS = instance_create(blcon.x + blcon_textofs, blcon.y + 10, OBJ_NOMSCWRITER);
bonetalk = 4;
blt_tobydogbone.image_speed = 0.2;
blt_tobydogbone.sprite_index = spr_tobydogscoot;
blt_tobydogbone.hspeed = 1;
}
if (bonetalk == 4 && instance_exists(OBJ_WRITER) == 0)
{
global.border = 5;
global.msg[0] = ;
global.msg[1] = ;
global.msg[2] = I'LL JUST USE A REALLY COOL REGULAR ATTACK.Wait for inputClose MessageClose Message ;
global.typer = 22;
blconwdS = instance_create(blcon.x + blcon_textofs, blcon.y + 10, OBJ_NOMSCWRITER);
bonetalk = 5;
}
alarm[7] = 2;
if (bonetalk == 5 && instance_exists(OBJ_WRITER) == 0)
{
global.msg[0] = * Papyrus is getting ready for a regular attack. ;
with (blcon)
instance_destroy();
with (blt_tobydogbone)
instance_destroy();
dontcancel = 0;
alarm[7] = -2;
} |
257 |
} |
258 |
if (truefight == 1 && fighto == 14) |
259 |
{ |
260 |
if (truefight == 1) |
261 |
{ |
262 |
obj_heart.movement = 2; |
263 |
obj_heart.vspeed = -1; |
264 |
obj_heart.jumpstage = 2; |
265 |
} |
266 |
xfight += 1; |
267 |
if (mycommand < 20) |
268 |
{ |
269 |
global.turntimer = 210; |
270 |
global.border = 5; |
271 |
gen = instance_create(global.idealborder[0] - 60, global.idealborder[3] - 30, blt_sizebone); |
272 |
gen.hspeed = 4; |
273 |
gen = instance_create(global.idealborder[0] - 90, global.idealborder[3] - 40, blt_sizebone); |
274 |
gen.hspeed = 4; |
275 |
gen = instance_create(global.idealborder[0] - 120, global.idealborder[3] - 50, blt_sizebone); |
276 |
gen.hspeed = 4; |
277 |
gen = instance_create(global.idealborder[0] - 150, global.idealborder[3] - 60, blt_sizebone); |
278 |
gen.hspeed = 4; |
279 |
gen = instance_create(global.idealborder[0] - 180, global.idealborder[3] - 50, blt_sizebone); |
280 |
gen.hspeed = 4; |
281 |
gen = instance_create(global.idealborder[0] - 210, global.idealborder[3] - 40, blt_sizebone); |
282 |
gen.hspeed = 4; |
283 |
gen = instance_create(global.idealborder[0] - 240, global.idealborder[3] - 30, blt_sizebone); |
284 |
gen.hspeed = 4; |
285 |
gen = instance_create(global.idealborder[1] + 680, global.idealborder[3] - 30, blt_sizebone); |
286 |
gen.hspeed = -6.4; |
287 |
gen = instance_create(global.idealborder[1] + 720, global.idealborder[3] - 40, blt_sizebone); |
288 |
gen.hspeed = -6.4; |
289 |
gen = instance_create(global.idealborder[1] + 760, global.idealborder[3] - 50, blt_sizebone); |
290 |
gen.hspeed = -6.4; |
291 |
gen = instance_create(global.idealborder[1] + 800, global.idealborder[3] - 60, blt_sizebone); |
292 |
gen.hspeed = -6.4; |
293 |
gen = instance_create(global.idealborder[1] + 840, global.idealborder[3] - 50, blt_sizebone); |
294 |
gen.hspeed = -6.4; |
295 |
gen = instance_create(global.idealborder[1] + 880, global.idealborder[3] - 40, blt_sizebone); |
296 |
gen.hspeed = -6.4; |
297 |
gen = instance_create(global.idealborder[1] + 920, global.idealborder[3] - 30, blt_sizebone); |
298 |
gen.hspeed = -6.4; |
299 |
} |
300 |
if (mycommand >= 20 && mycommand < 40) |
301 |
{ |
302 |
global.turntimer = 200; |
303 |
global.border = 5; |
304 |
gen = instance_create(global.idealborder[1] + 10, global.idealborder[3] - 80, blt_sizebone); |
305 |
gen.hspeed = -5; |
306 |
gen.blue = 1; |
307 |
gen = instance_create(global.idealborder[1] + 90, global.idealborder[3] - 20, blt_sizebone); |
308 |
gen.hspeed = -5; |
309 |
gen.blue = 0; |
310 |
gen = instance_create(global.idealborder[1] + 170, global.idealborder[3] - 80, blt_sizebone); |
311 |
gen.hspeed = -5; |
312 |
gen.blue = 1; |
313 |
gen = instance_create(global.idealborder[1] + 250, global.idealborder[3] - 20, blt_sizebone); |
314 |
gen.hspeed = -5; |
315 |
gen.blue = 0; |
316 |
gen = instance_create(global.idealborder[1] + 330, global.idealborder[3] - 80, blt_sizebone); |
317 |
gen.hspeed = -5; |
318 |
gen.blue = 1; |
319 |
gen = instance_create(global.idealborder[1] + 410, global.idealborder[3] - 20, blt_sizebone); |
320 |
gen.hspeed = -5; |
321 |
gen.blue = 0; |
322 |
gen = instance_create(global.idealborder[1] + 490, global.idealborder[3] - 80, blt_sizebone); |
323 |
gen.hspeed = -5; |
324 |
gen.blue = 1; |
325 |
gen = instance_create(global.idealborder[1] + 570, global.idealborder[3] - 20, blt_sizebone); |
326 |
gen.hspeed = -5; |
327 |
gen.blue = 0; |
328 |
gen = instance_create(global.idealborder[1] + 1150, global.idealborder[3] - 80, blt_sizebone); |
329 |
gen.hspeed = -8; |
330 |
gen.blue = 1; |
331 |
gen = instance_create(global.idealborder[1] + 1230, global.idealborder[3] - 20, blt_sizebone); |
332 |
gen.hspeed = -8; |
333 |
gen.blue = 0; |
334 |
} |
335 |
if (mycommand >= 40) |
336 |
fighto = floor(random(11)) + 2; |
337 |
} |
338 |
if (truefight == 1 && fighto == 13) |
339 |
{ |
340 |
fighto += 1; |
341 |
if (truefight == 1) |
342 |
{ |
343 |
obj_heart.movement = 2; |
344 |
obj_heart.vspeed = -1; |
345 |
obj_heart.jumpstage = 2; |
346 |
} |
347 |
global.turntimer = 220; |
348 |
global.border = 5; |
349 |
gen = instance_create(global.idealborder[1] + 20, global.idealborder[3] - 30, blt_sizebone); |
350 |
gen.hspeed = -4; |
351 |
gen.osc = -3; |
352 |
gen.oscmin = -1; |
353 |
gen.oscmax = 60; |
354 |
gen = instance_create(global.idealborder[1] + 60, global.idealborder[3] - 30, blt_sizebone); |
355 |
gen.hspeed = -4; |
356 |
gen.osc = -3; |
357 |
gen.oscmin = -1; |
358 |
gen.oscmax = 60; |
359 |
gen = instance_create(global.idealborder[1] + 100, global.idealborder[3] - 30, blt_sizebone); |
360 |
gen.hspeed = -4; |
361 |
gen.osc = -3; |
362 |
gen.oscmin = -1; |
363 |
gen.oscmax = 60; |
364 |
gen = instance_create(global.idealborder[1] + 240, global.idealborder[3] - 10, blt_topbone); |
365 |
gen.hspeed = -4; |
366 |
gen.osc = -3; |
367 |
gen.oscmin = -1; |
368 |
gen.oscmax = 60; |
369 |
gen = instance_create(global.idealborder[1] + 270, global.idealborder[3] - 10, blt_topbone); |
370 |
gen.hspeed = -4; |
371 |
gen.osc = -3; |
372 |
gen.oscmin = -1; |
373 |
gen.oscmax = 60; |
374 |
gen = instance_create(global.idealborder[1] + 300, global.idealborder[3] - 10, blt_topbone); |
375 |
gen.hspeed = -4; |
376 |
gen.osc = -3; |
377 |
gen.oscmin = -1; |
378 |
gen.oscmax = 60; |
379 |
gen = instance_create(global.idealborder[1] + 460, global.idealborder[3] - 30, blt_sizebone); |
380 |
gen.hspeed = -4; |
381 |
gen = instance_create(global.idealborder[1] + 460, global.idealborder[3] - 40, blt_topbone); |
382 |
gen.hspeed = -4; |
383 |
gen.osc = -3; |
384 |
gen.oscmin = -1; |
385 |
gen.oscmax = 40; |
386 |
gen = instance_create(global.idealborder[1] + 580, global.idealborder[3] - 50, blt_sizebone); |
387 |
gen.hspeed = -4; |
388 |
gen = instance_create(global.idealborder[1] + 580, global.idealborder[3] - 60, blt_topbone); |
389 |
gen.hspeed = -4; |
390 |
gen.osc = -3; |
391 |
gen.oscmin = -1; |
392 |
gen.oscmax = 40; |
393 |
} |
394 |
if (truefight == 1 && fighto == 12) |
395 |
{ |
396 |
fighto += 1; |
397 |
if (truefight == 1) |
398 |
{ |
399 |
obj_heart.movement = 2; |
400 |
obj_heart.vspeed = -1; |
401 |
obj_heart.jumpstage = 2; |
402 |
} |
403 |
global.turntimer = 200; |
404 |
global.border = 5; |
405 |
gen = instance_create(global.idealborder[0] - 60, global.idealborder[3] - 30, blt_sizebone); |
406 |
gen.hspeed = 4; |
407 |
gen = instance_create(global.idealborder[0] - 87, global.idealborder[3] - 40, blt_sizebone); |
408 |
gen.hspeed = 4; |
409 |
gen = instance_create(global.idealborder[0] - 114, global.idealborder[3] - 50, blt_sizebone); |
410 |
gen.hspeed = 4; |
411 |
gen = instance_create(global.idealborder[0] - 141, global.idealborder[3] - 60, blt_sizebone); |
412 |
gen.hspeed = 4; |
413 |
gen = instance_create(global.idealborder[0] - 168, global.idealborder[3] - 50, blt_sizebone); |
414 |
gen.hspeed = 4; |
415 |
gen = instance_create(global.idealborder[0] - 195, global.idealborder[3] - 40, blt_sizebone); |
416 |
gen.hspeed = 4; |
417 |
gen = instance_create(global.idealborder[0] - 222, global.idealborder[3] - 30, blt_sizebone); |
418 |
gen.hspeed = 4; |
419 |
gen = instance_create(global.idealborder[1] + 600, global.idealborder[3] - 30, blt_sizebone); |
420 |
gen.hspeed = -6.4; |
421 |
gen = instance_create(global.idealborder[1] + 640, global.idealborder[3] - 40, blt_sizebone); |
422 |
gen.hspeed = -6.4; |
423 |
gen = instance_create(global.idealborder[1] + 680, global.idealborder[3] - 50, blt_sizebone); |
424 |
gen.hspeed = -6.4; |
425 |
gen = instance_create(global.idealborder[1] + 720, global.idealborder[3] - 60, blt_sizebone); |
426 |
gen.hspeed = -6.4; |
427 |
gen = instance_create(global.idealborder[1] + 760, global.idealborder[3] - 50, blt_sizebone); |
428 |
gen.hspeed = -6.4; |
429 |
gen = instance_create(global.idealborder[1] + 800, global.idealborder[3] - 40, blt_sizebone); |
430 |
gen.hspeed = -6.4; |
431 |
gen = instance_create(global.idealborder[1] + 840, global.idealborder[3] - 30, blt_sizebone); |
432 |
gen.hspeed = -6.4; |
433 |
} |
434 |
if (truefight == 1 && fighto == 11) |
435 |
{ |
436 |
fighto += 1; |
437 |
if (truefight == 1) |
438 |
{ |
439 |
obj_heart.movement = 2; |
440 |
obj_heart.vspeed = -1; |
441 |
obj_heart.jumpstage = 2; |
442 |
} |
443 |
global.turntimer = 250; |
444 |
global.border = 5; |
445 |
gen = instance_create(global.idealborder[1] + 60, global.idealborder[3] - 80, blt_sizebone); |
446 |
gen.hspeed = -4.5; |
447 |
gen.blue = 1; |
448 |
gen = instance_create(global.idealborder[1] + 140, global.idealborder[3] - 20, blt_sizebone); |
449 |
gen.hspeed = -4.5; |
450 |
gen.blue = 0; |
451 |
gen = instance_create(global.idealborder[1] + 220, global.idealborder[3] - 80, blt_sizebone); |
452 |
gen.hspeed = -4.5; |
453 |
gen.blue = 1; |
454 |
gen = instance_create(global.idealborder[1] + 300, global.idealborder[3] - 20, blt_sizebone); |
455 |
gen.hspeed = -4.5; |
456 |
gen.blue = 0; |
457 |
gen = instance_create(global.idealborder[1] + 380, global.idealborder[3] - 80, blt_sizebone); |
458 |
gen.hspeed = -4.5; |
459 |
gen.blue = 1; |
460 |
gen = instance_create(global.idealborder[1] + 460, global.idealborder[3] - 20, blt_sizebone); |
461 |
gen.hspeed = -4.5; |
462 |
gen.blue = 0; |
463 |
gen = instance_create(global.idealborder[1] + 540, global.idealborder[3] - 80, blt_sizebone); |
464 |
gen.hspeed = -4.5; |
465 |
gen.blue = 1; |
466 |
gen = instance_create(global.idealborder[1] + 620, global.idealborder[3] - 20, blt_sizebone); |
467 |
gen.hspeed = -4.5; |
468 |
gen.blue = 0; |
469 |
gen = instance_create(global.idealborder[1] + 1250, global.idealborder[3] - 80, blt_sizebone); |
470 |
gen.hspeed = -7; |
471 |
gen.blue = 1; |
472 |
gen = instance_create(global.idealborder[1] + 1330, global.idealborder[3] - 20, blt_sizebone); |
473 |
gen.hspeed = -7; |
474 |
gen.blue = 0; |
475 |
} |
476 |
if (truefight == 1 && fighto == 10) |
477 |
{ |
478 |
fighto += 1; |
479 |
if (truefight == 1) |
480 |
{ |
481 |
obj_heart.movement = 2; |
482 |
obj_heart.vspeed = -1; |
483 |
obj_heart.jumpstage = 2; |
484 |
} |
485 |
global.turntimer = 230; |
486 |
global.border = 5; |
487 |
gen = instance_create(global.idealborder[0] - 40, global.idealborder[3] - 30, blt_sizebone); |
488 |
gen.hspeed = 4; |
489 |
gen = instance_create(global.idealborder[0] - 60, global.idealborder[3] - 40, blt_sizebone); |
490 |
gen.hspeed = 4; |
491 |
gen = instance_create(global.idealborder[0] - 60, global.idealborder[3] - 90, blt_topbone); |
492 |
gen.hspeed = 4; |
493 |
gen = instance_create(global.idealborder[0] - 80, global.idealborder[3] - 50, blt_sizebone); |
494 |
gen.hspeed = 4; |
495 |
gen = instance_create(global.idealborder[0] - 80, global.idealborder[3] - 100, blt_topbone); |
496 |
gen.hspeed = 4; |
497 |
gen = instance_create(global.idealborder[0] - 100, global.idealborder[3] - 60, blt_sizebone); |
498 |
gen.hspeed = 4; |
499 |
gen = instance_create(global.idealborder[0] - 100, global.idealborder[3] - 110, blt_topbone); |
500 |
gen.hspeed = 4; |
501 |
gen = instance_create(global.idealborder[0] - 280, global.idealborder[3] - 50, blt_sizebone); |
502 |
gen.hspeed = 4; |
503 |
gen = instance_create(global.idealborder[0] - 280, global.idealborder[3] - 100, blt_topbone); |
504 |
gen.hspeed = 4; |
505 |
gen = instance_create(global.idealborder[0] - 295, global.idealborder[3] - 40, blt_sizebone); |
506 |
gen.hspeed = 4; |
507 |
gen = instance_create(global.idealborder[0] - 295, global.idealborder[3] - 90, blt_topbone); |
508 |
gen.hspeed = 4; |
509 |
gen = instance_create(global.idealborder[0] - 310, global.idealborder[3] - 30, blt_sizebone); |
510 |
gen.hspeed = 4; |
511 |
gen = instance_create(global.idealborder[0] - 310, global.idealborder[3] - 80, blt_topbone); |
512 |
gen.hspeed = 4; |
513 |
gen = instance_create(global.idealborder[1] + 600, global.idealborder[3] - 30, blt_sizebone); |
514 |
gen.hspeed = -4; |
515 |
gen.osc = -3; |
516 |
gen.oscmin = -1; |
517 |
gen.oscmax = 60; |
518 |
gen = instance_create(global.idealborder[1] + 620, global.idealborder[3] - 30, blt_sizebone); |
519 |
gen.hspeed = -4; |
520 |
gen.osc = -3; |
521 |
gen.oscmin = -1; |
522 |
gen.oscmax = 60; |
523 |
gen = instance_create(global.idealborder[1] + 640, global.idealborder[3] - 30, blt_sizebone); |
524 |
gen.hspeed = -4; |
525 |
gen.osc = -3; |
526 |
gen.oscmin = -1; |
527 |
gen.oscmax = 60; |
528 |
blt_topbone.speed = 4.2; |
529 |
blt_sizebone.speed = 4.2; |
530 |
} |
531 |
if (truefight == 1 && fighto == 9) |
532 |
{ |
533 |
fighto += 1; |
534 |
if (truefight == 1) |
535 |
{ |
536 |
obj_heart.movement = 2; |
537 |
obj_heart.vspeed = -1; |
538 |
obj_heart.jumpstage = 2; |
539 |
} |
540 |
global.turntimer = 355; |
541 |
global.border = 5; |
542 |
gen = instance_create(global.idealborder[1] + 60, global.idealborder[3] - 60, blt_sizebone); |
543 |
gen.hspeed = -4; |
544 |
gen = instance_create(global.idealborder[1] + 220, global.idealborder[3] - 60, blt_sizebone); |
545 |
gen.hspeed = -4; |
546 |
gen = instance_create(global.idealborder[1] + 220, global.idealborder[3] - 100, blt_topbone); |
547 |
gen.hspeed = -4; |
548 |
gen = instance_create(global.idealborder[1] + 360, global.idealborder[3] - 50, blt_sizebone); |
549 |
gen.hspeed = -4; |
550 |
gen = instance_create(global.idealborder[1] + 360, global.idealborder[3] - 90, blt_topbone); |
551 |
gen.hspeed = -4; |
552 |
gen = instance_create(global.idealborder[1] + 500, global.idealborder[3] - 40, blt_sizebone); |
553 |
gen.hspeed = -4; |
554 |
gen = instance_create(global.idealborder[1] + 500, global.idealborder[3] - 80, blt_topbone); |
555 |
gen.hspeed = -4; |
556 |
gen = instance_create(global.idealborder[1] + 640, global.idealborder[3] - 30, blt_sizebone); |
557 |
gen.hspeed = -4; |
558 |
gen = instance_create(global.idealborder[1] + 640, global.idealborder[3] - 70, blt_topbone); |
559 |
gen.hspeed = -4; |
560 |
gen = instance_create(global.idealborder[1] + 780, global.idealborder[3] - 10, blt_sizebone); |
561 |
gen.hspeed = -4; |
562 |
gen = instance_create(global.idealborder[1] + 780, global.idealborder[3] - 50, blt_topbone); |
563 |
gen.hspeed = -4; |
564 |
gen = instance_create(global.idealborder[1] + 990, global.idealborder[3] - 30, blt_sizebone); |
565 |
gen.hspeed = -4; |
566 |
gen.osc = -1; |
567 |
gen.oscmin = -1; |
568 |
gen.oscmax = 30; |
569 |
gen = instance_create(global.idealborder[1] + 990, global.idealborder[3] - 80, blt_topbone); |
570 |
gen.hspeed = -4; |
571 |
gen.osc = -1; |
572 |
gen.oscmin = -1; |
573 |
gen.oscmax = 30; |
574 |
gen = instance_create(global.idealborder[1] + 1130, global.idealborder[3] - 50, blt_sizebone); |
575 |
gen.hspeed = -4; |
576 |
gen.osc = -2; |
577 |
gen.oscmin = -20; |
578 |
gen.oscmax = 30; |
579 |
gen = instance_create(global.idealborder[1] + 1130, global.idealborder[3] - 100, blt_topbone); |
580 |
gen.hspeed = -4; |
581 |
gen.osc = -2; |
582 |
gen.oscmin = -20; |
583 |
gen.oscmax = 30; |
584 |
blt_topbone.speed = 4.2; |
585 |
blt_sizebone.speed = 4.2; |
586 |
} |
587 |
if (truefight == 1 && fighto == 8) |
588 |
{ |
589 |
fighto += 1; |
590 |
if (truefight == 1) |
591 |
{ |
592 |
obj_heart.movement = 2; |
593 |
obj_heart.vspeed = -1; |
594 |
obj_heart.jumpstage = 2; |
595 |
} |
596 |
global.turntimer = 230; |
597 |
global.border = 5; |
598 |
gen = instance_create(global.idealborder[1] + 40, global.idealborder[3] - 20, blt_sizebone); |
599 |
gen.hspeed = -4; |
600 |
gen = instance_create(global.idealborder[1] + 170, global.idealborder[3] - 20, blt_sizebone); |
601 |
gen.hspeed = -4; |
602 |
gen = instance_create(global.idealborder[1] + 170, global.idealborder[3] - 70, blt_topbone); |
603 |
gen.hspeed = -4; |
604 |
gen = instance_create(global.idealborder[1] + 310, global.idealborder[3] - 30, blt_sizebone); |
605 |
gen.hspeed = -4; |
606 |
gen = instance_create(global.idealborder[1] + 310, global.idealborder[3] - 80, blt_topbone); |
607 |
gen.hspeed = -4; |
608 |
gen = instance_create(global.idealborder[1] + 460, global.idealborder[3] - 40, blt_sizebone); |
609 |
gen.hspeed = -4; |
610 |
gen = instance_create(global.idealborder[1] + 460, global.idealborder[3] - 90, blt_topbone); |
611 |
gen.hspeed = -4; |
612 |
gen = instance_create(global.idealborder[1] + 610, global.idealborder[3] - 50, blt_sizebone); |
613 |
gen.hspeed = -4; |
614 |
gen = instance_create(global.idealborder[1] + 610, global.idealborder[3] - 100, blt_topbone); |
615 |
gen.hspeed = -4; |
616 |
gen = instance_create(global.idealborder[1] + 760, global.idealborder[3] - 60, blt_sizebone); |
617 |
gen.hspeed = -4; |
618 |
gen = instance_create(global.idealborder[1] + 760, global.idealborder[3] - 110, blt_topbone); |
619 |
gen.hspeed = -4; |
620 |
blt_topbone.speed = 4.4; |
621 |
blt_sizebone.speed = 4.4; |
622 |
} |
623 |
if (truefight == 1 && fighto == 7) |
624 |
{ |
625 |
fighto += 1; |
626 |
if (truefight == 1) |
627 |
{ |
628 |
obj_heart.movement = 2; |
629 |
obj_heart.vspeed = -1; |
630 |
obj_heart.jumpstage = 2; |
631 |
} |
632 |
global.turntimer = 150; |
633 |
global.border = 5; |
634 |
gen = instance_create(global.idealborder[0] - 10, global.idealborder[3] - 20, blt_sizebone); |
635 |
gen.hspeed = 2; |
636 |
gen = instance_create(global.idealborder[0] - 110, global.idealborder[3] - 20, blt_sizebone); |
637 |
gen.hspeed = 2; |
638 |
gen = instance_create(global.idealborder[0] - 210, global.idealborder[3] - 20, blt_sizebone); |
639 |
gen.hspeed = 2; |
640 |
gen = instance_create(global.idealborder[0] - 310, global.idealborder[3] - 20, blt_sizebone); |
641 |
gen.hspeed = 2; |
642 |
gen = instance_create(global.idealborder[1] + 10, global.idealborder[3] - 20, blt_sizebone); |
643 |
gen.hspeed = -2; |
644 |
gen = instance_create(global.idealborder[1] + 110, global.idealborder[3] - 20, blt_sizebone); |
645 |
gen.hspeed = -2; |
646 |
gen = instance_create(global.idealborder[1] + 210, global.idealborder[3] - 20, blt_sizebone); |
647 |
gen.hspeed = -2; |
648 |
gen = instance_create(global.idealborder[1] + 310, global.idealborder[3] - 20, blt_sizebone); |
649 |
gen.hspeed = -2; |
650 |
if (xfight > 0) |
651 |
{ |
652 |
blt_sizebone.speed = 4.4; |
653 |
} |
654 |
else |
655 |
{ |
656 |
blt_sizebone.speed = 4; |
657 |
global.turntimer = 150; |
658 |
} |
659 |
} |
660 |
if (truefight == 1 && fighto == 6) |
661 |
{ |
662 |
fighto += 1; |
663 |
if (truefight == 1) |
664 |
{ |
665 |
obj_heart.movement = 2; |
666 |
obj_heart.vspeed = -1; |
667 |
obj_heart.jumpstage = 2; |
668 |
} |
669 |
global.turntimer = 200; |
670 |
global.border = 5; |
671 |
gen = instance_create(global.idealborder[0] - 10, global.idealborder[3] - 35, blt_sizebone); |
672 |
gen.hspeed = 2; |
673 |
gen = instance_create(global.idealborder[0] - 110, global.idealborder[3] - 35, blt_sizebone); |
674 |
gen.hspeed = 2; |
675 |
gen = instance_create(global.idealborder[0] - 210, global.idealborder[3] - 35, blt_sizebone); |
676 |
gen.hspeed = 2; |
677 |
gen = instance_create(global.idealborder[1] + 10, global.idealborder[3] - 35, blt_sizebone); |
678 |
gen.hspeed = -2; |
679 |
gen = instance_create(global.idealborder[1] + 110, global.idealborder[3] - 35, blt_sizebone); |
680 |
gen.hspeed = -2; |
681 |
gen = instance_create(global.idealborder[1] + 210, global.idealborder[3] - 35, blt_sizebone); |
682 |
gen.hspeed = -2; |
683 |
} |
684 |
if (truefight == 1 && fighto == 5) |
685 |
{ |
686 |
fighto += 1; |
687 |
if (truefight == 1) |
688 |
{ |
689 |
obj_heart.movement = 2; |
690 |
obj_heart.vspeed = -1; |
691 |
obj_heart.jumpstage = 2; |
692 |
} |
693 |
global.turntimer = 330; |
694 |
global.border = 5; |
695 |
gen = instance_create(global.idealborder[1] + 40, global.idealborder[3] - 30, blt_sizebone); |
696 |
gen.hspeed = -3; |
697 |
gen = instance_create(global.idealborder[1] + 70, global.idealborder[3] - 45, blt_sizebone); |
698 |
gen.hspeed = -3; |
699 |
gen = instance_create(global.idealborder[1] + 100, global.idealborder[3] - 60, blt_sizebone); |
700 |
gen.hspeed = -3; |
701 |
gen = instance_create(global.idealborder[1] + 130, global.idealborder[3] - 45, blt_sizebone); |
702 |
gen.hspeed = -3; |
703 |
gen = instance_create(global.idealborder[1] + 160, global.idealborder[3] - 30, blt_sizebone); |
704 |
gen.hspeed = -3; |
705 |
gen = instance_create(global.idealborder[1] + 190, global.idealborder[3] - 15, blt_sizebone); |
706 |
gen.hspeed = -3; |
707 |
gen = instance_create(global.idealborder[1] + 300, global.idealborder[3] - 15, blt_sizebone); |
708 |
gen.hspeed = -3; |
709 |
gen = instance_create(global.idealborder[1] + 330, global.idealborder[3] - 30, blt_sizebone); |
710 |
gen.hspeed = -3; |
711 |
gen = instance_create(global.idealborder[1] + 360, global.idealborder[3] - 45, blt_sizebone); |
712 |
gen.hspeed = -3; |
713 |
gen = instance_create(global.idealborder[1] + 390, global.idealborder[3] - 60, blt_sizebone); |
714 |
gen.hspeed = -3; |
715 |
gen = instance_create(global.idealborder[1] + 700, global.idealborder[3] - 30, blt_sizebone); |
716 |
gen.hspeed = -4; |
717 |
gen = instance_create(global.idealborder[1] + 730, global.idealborder[3] - 45, blt_sizebone); |
718 |
gen.hspeed = -4; |
719 |
gen = instance_create(global.idealborder[1] + 760, global.idealborder[3] - 60, blt_sizebone); |
720 |
gen.hspeed = -4; |
721 |
gen = instance_create(global.idealborder[1] + 790, global.idealborder[3] - 45, blt_sizebone); |
722 |
gen.hspeed = -4; |
723 |
gen = instance_create(global.idealborder[1] + 820, global.idealborder[3] - 30, blt_sizebone); |
724 |
gen.hspeed = -4; |
725 |
gen = instance_create(global.idealborder[1] + 850, global.idealborder[3] - 15, blt_sizebone); |
726 |
gen.hspeed = -4; |
727 |
gen = instance_create(global.idealborder[1] + 970, global.idealborder[3] - 15, blt_sizebone); |
728 |
gen.hspeed = -4; |
729 |
gen = instance_create(global.idealborder[1] + 1000, global.idealborder[3] - 30, blt_sizebone); |
730 |
gen.hspeed = -4; |
731 |
gen = instance_create(global.idealborder[1] + 1030, global.idealborder[3] - 45, blt_sizebone); |
732 |
gen.hspeed = -4; |
733 |
gen = instance_create(global.idealborder[1] + 1060, global.idealborder[3] - 60, blt_sizebone); |
734 |
gen.hspeed = -4; |
735 |
} |
736 |
if (truefight == 1 && fighto == 4) |
737 |
{ |
738 |
fighto += 1; |
739 |
if (truefight == 1) |
740 |
{ |
741 |
obj_heart.movement = 2; |
742 |
obj_heart.vspeed = -1; |
743 |
obj_heart.jumpstage = 2; |
744 |
} |
745 |
global.turntimer = 240; |
746 |
global.border = 5; |
747 |
gen = instance_create(global.idealborder[0] - 40, global.idealborder[3] - 30, blt_sizebone); |
748 |
gen.hspeed = 4; |
749 |
gen = instance_create(global.idealborder[0] - 40, global.idealborder[3] - 80, blt_topbone); |
750 |
gen.hspeed = 4; |
751 |
gen = instance_create(global.idealborder[0] - 60, global.idealborder[3] - 30, blt_sizebone); |
752 |
gen.hspeed = 4; |
753 |
gen = instance_create(global.idealborder[0] - 60, global.idealborder[3] - 80, blt_topbone); |
754 |
gen.hspeed = 4; |
755 |
gen = instance_create(global.idealborder[0] - 170, global.idealborder[3] - 60, blt_sizebone); |
756 |
gen.hspeed = 4; |
757 |
gen = instance_create(global.idealborder[0] - 170, global.idealborder[3] - 110, blt_topbone); |
758 |
gen.hspeed = 4; |
759 |
gen = instance_create(global.idealborder[0] - 190, global.idealborder[3] - 60, blt_sizebone); |
760 |
gen.hspeed = 4; |
761 |
gen = instance_create(global.idealborder[0] - 190, global.idealborder[3] - 110, blt_topbone); |
762 |
gen.hspeed = 4; |
763 |
gen = instance_create(global.idealborder[0] - 320, global.idealborder[3] - 90, blt_sizebone); |
764 |
gen.hspeed = 4; |
765 |
gen.blue = 1; |
766 |
gen = instance_create(global.idealborder[1] + 480, global.idealborder[3] - 60, blt_sizebone); |
767 |
gen.hspeed = -4; |
768 |
gen = instance_create(global.idealborder[1] + 700, global.idealborder[3] - 30, blt_sizebone); |
769 |
gen.hspeed = -4; |
770 |
gen = instance_create(global.idealborder[1] + 700, global.idealborder[3] - 80, blt_topbone); |
771 |
gen.hspeed = -4; |
772 |
gen = instance_create(global.idealborder[0] - 700, global.idealborder[3] - 30, blt_sizebone); |
773 |
gen.hspeed = 4; |
774 |
gen = instance_create(global.idealborder[0] - 700, global.idealborder[3] - 80, blt_topbone); |
775 |
gen.hspeed = 4; |
776 |
} |
777 |
if (truefight == 1 && fighto == 3) |
778 |
{ |
779 |
fighto += 1; |
780 |
if (truefight == 1) |
781 |
{ |
782 |
obj_heart.movement = 2; |
783 |
obj_heart.vspeed = -1; |
784 |
obj_heart.jumpstage = 2; |
785 |
} |
786 |
global.turntimer = 150; |
787 |
global.border = 5; |
788 |
gen = instance_create(global.idealborder[0] - 40, global.idealborder[3] - 50, blt_sizebone); |
789 |
gen.hspeed = 4; |
790 |
gen = instance_create(global.idealborder[0] - 40, global.idealborder[3] - 90, blt_topbone); |
791 |
gen.hspeed = 4; |
792 |
gen = instance_create(global.idealborder[1] + 140, global.idealborder[3] - 40, blt_topbone); |
793 |
gen.hspeed = -4; |
794 |
gen = instance_create(global.idealborder[0] - 260, global.idealborder[3] - 20, blt_sizebone); |
795 |
gen.hspeed = 4; |
796 |
gen = instance_create(global.idealborder[0] - 280, global.idealborder[3] - 30, blt_sizebone); |
797 |
gen.hspeed = 4; |
798 |
gen = instance_create(global.idealborder[0] - 300, global.idealborder[3] - 40, blt_sizebone); |
799 |
gen.hspeed = 4; |
800 |
gen = instance_create(global.idealborder[0] - 320, global.idealborder[3] - 50, blt_sizebone); |
801 |
gen.hspeed = 4; |
802 |
gen = instance_create(global.idealborder[0] - 340, global.idealborder[3] - 50, blt_sizebone); |
803 |
gen.hspeed = 4; |
804 |
gen = instance_create(global.idealborder[0] - 360, global.idealborder[3] - 40, blt_sizebone); |
805 |
gen.hspeed = 4; |
806 |
gen = instance_create(global.idealborder[0] - 380, global.idealborder[3] - 30, blt_sizebone); |
807 |
gen.hspeed = 4; |
808 |
gen = instance_create(global.idealborder[0] - 400, global.idealborder[3] - 20, blt_sizebone); |
809 |
gen.hspeed = 4; |
810 |
if (xfight > 0) |
811 |
{ |
812 |
with (blt_sizebone) |
813 |
speed = 4.5; |
814 |
} |
815 |
} |
816 |
if (truefight == 1 && fighto == 2) |
817 |
{ |
818 |
fighto += 1; |
819 |
if (truefight == 1) |
820 |
{ |
821 |
obj_heart.movement = 2; |
822 |
obj_heart.vspeed = -1; |
823 |
obj_heart.jumpstage = 2; |
824 |
} |
825 |
global.turntimer = 240; |
826 |
global.border = 5; |
827 |
gen = instance_create(global.idealborder[0] - 30, global.idealborder[3] - 60, blt_sizebone); |
828 |
gen.hspeed = 3.5; |
829 |
gen = instance_create(global.idealborder[0] - 160, global.idealborder[3] - 60, blt_sizebone); |
830 |
gen.hspeed = 3.5; |
831 |
gen = instance_create(global.idealborder[0] - 290, global.idealborder[3] - 60, blt_sizebone); |
832 |
gen.hspeed = 3.5; |
833 |
gen = instance_create(global.idealborder[0] - 390, global.idealborder[3] - 80, blt_sizebone); |
834 |
gen.hspeed = 3.5; |
835 |
gen.blue = 1; |
836 |
if (xfight > 0) |
837 |
blt_sizebone.speed = 4; |
838 |
gen = instance_create(global.idealborder[1] + 1120, global.idealborder[3] - 30, blt_sizebone); |
839 |
gen.hspeed = -6; |
840 |
} |
841 |
if (truefight == 1 && fighto == 1) |
842 |
{ |
843 |
fighto += 1; |
844 |
if (truefight == 1) |
845 |
{ |
846 |
obj_heart.movement = 2; |
847 |
obj_heart.vspeed = -1; |
848 |
obj_heart.jumpstage = 2; |
849 |
} |
850 |
global.turntimer = 220; |
851 |
global.border = 5; |
852 |
gen = instance_create(global.idealborder[0] - 10, global.idealborder[3] - 60, blt_sizebone); |
853 |
gen.hspeed = 3; |
854 |
gen = instance_create(global.idealborder[0] - 80, global.idealborder[3] - 40, blt_topbone); |
855 |
gen.hspeed = 3; |
856 |
gen = instance_create(global.idealborder[0] - 230, global.idealborder[3] - 20, blt_sizebone); |
857 |
gen.hspeed = 4; |
858 |
gen = instance_create(global.idealborder[0] - 310, global.idealborder[3] - 20, blt_sizebone); |
859 |
gen.hspeed = 4; |
860 |
gen = instance_create(global.idealborder[0] - 390, global.idealborder[3] - 20, blt_sizebone); |
861 |
gen.hspeed = 4; |
862 |
gen = instance_create(global.idealborder[0] - 490, global.idealborder[3] - 50, blt_sizebone); |
863 |
gen.hspeed = 4; |
864 |
gen = instance_create(global.idealborder[0] - 580, global.idealborder[3] - 40, blt_topbone); |
865 |
gen.hspeed = 4; |
866 |
if (xfight > 0) |
867 |
blt_sizebone.speed = 4.5; |
868 |
} |
869 |
if (truefight == 1 && fighto == 0) |
870 |
{ |
871 |
fighto += 1; |
872 |
if (truefight == 1) |
873 |
{ |
874 |
obj_heart.movement = 2; |
875 |
obj_heart.vspeed = -1; |
876 |
obj_heart.jumpstage = 2; |
877 |
} |
878 |
global.turntimer = 300; |
879 |
global.border = 5; |
880 |
gen = instance_create(global.idealborder[1] + 20, global.idealborder[3] - 20, blt_sizebone); |
881 |
gen.hspeed = -4; |
882 |
gen = instance_create(global.idealborder[1] + 150, global.idealborder[3] - 40, blt_sizebone); |
883 |
gen.hspeed = -4; |
884 |
gen = instance_create(global.idealborder[1] + 280, global.idealborder[3] - 40, blt_sizebone); |
885 |
gen.hspeed = -4; |
886 |
gen = instance_create(global.idealborder[1] + 410, global.idealborder[3] - 40, blt_sizebone); |
887 |
gen.hspeed = -4; |
888 |
gen = instance_create(global.idealborder[1] + 390, global.idealborder[3] - 60, blt_sizebone); |
889 |
gen.hspeed = -3; |
890 |
gen = instance_create(global.idealborder[1] + 510, global.idealborder[3] - 60, blt_sizebone); |
891 |
gen.hspeed = -3; |
892 |
gen = instance_create(global.idealborder[1] + 630, global.idealborder[3] - 60, blt_sizebone); |
893 |
gen.hspeed = -3; |
894 |
} |
895 |
if (truefight == 1 && fighto == -1) |
896 |
{ |
897 |
fighto += 1; |
898 |
if (truefight == 1) |
899 |
{ |
900 |
obj_heart.movement = 2; |
901 |
obj_heart.vspeed = -1; |
902 |
obj_heart.jumpstage = 2; |
903 |
obj_heart.sprite_index = spr_heartblue; |
904 |
} |
905 |
global.turntimer = 200; |
906 |
global.border = 5; |
907 |
gen = instance_create(global.idealborder[1] + 30, global.idealborder[3] - 20, blt_sizebone); |
908 |
gen.hspeed = -3; |
909 |
gen = instance_create(global.idealborder[1] + 200, global.idealborder[3] - 20, blt_sizebone); |
910 |
gen.hspeed = -3; |
911 |
gen = instance_create(global.idealborder[1] + 370, global.idealborder[3] - 40, blt_sizebone); |
912 |
gen.hspeed = -3; |
913 |
} |
914 |
if (mycommand == -1) |
915 |
{ |
916 |
global.border = 5; |
917 |
global.turntimer = 300; |
918 |
gen = instance_create(x, y, obj_blueattackgen); |
919 |
} |
920 |
if (instance_exists(gen)) |
921 |
gen.myself = myself; |
922 |
hearthp = global.hp; |
923 |
if (mycommand >= 0) |
924 |
global.msg[0] = * Papyrus is preparing a bone attack.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_papyrusboss_1584") ; |
925 |
if (mycommand > 15) |
926 |
global.msg[0] = * Papyrus prepares a non-bone attack then spends a minute fixing his mistake.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_papyrusboss_1585") ; |
927 |
if (mycommand >= 20) |
928 |
global.msg[0] = * Papyrus is cackling.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_papyrusboss_1586") ; |
929 |
if (mycommand >= 30) |
930 |
global.msg[0] = * Papyrus whispers "Nyeh heh heh!"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_papyrusboss_1587") ; |
931 |
if (mycommand >= 40) |
932 |
global.msg[0] = * Papyrus is rattling his bones.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_papyrusboss_1588") ; |
933 |
if (mycommand >= 60) |
934 |
global.msg[0] = * Papyrus is trying hard to play it cool.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_papyrusboss_1589") ; |
935 |
if (mycommand >= 80) |
936 |
global.msg[0] = * Papyrus is considering his options.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_papyrusboss_1590") ; |
937 |
if (mycommand >= 90) |
938 |
global.msg[0] = * Smells like bones.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_papyrusboss_1591") ; |
939 |
if (mycommand >= 97) |
940 |
global.msg[0] = * Papyrus remembered a bad joke Sans told and is frowning.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_papyrusboss_1592") ; |
941 |
if (global.flag[66 flirted_papyrus_fight] == 1) |
942 |
flirt2 += 1; |
943 |
if (flirt2 > 0 && flirt2 < 11) |
944 |
{ |
945 |
if (flirt2 == 1) |
946 |
global.msg[0] = * Papyrus is thinking about what to wear for his date.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_papyrusboss_1596") ; |
947 |
if (flirt2 == 2) |
948 |
global.msg[0] = * Papyrus is thinking about what to cook for his date.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_papyrusboss_1597") ; |
949 |
if (flirt2 == 3) |
950 |
global.msg[0] = * Papyrus dabs some Bone Cologne behind his ear.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_papyrusboss_1598") ; |
951 |
if (flirt2 == 4) |
952 |
global.msg[0] = * Papyrus dabs marinara sauce behind his ear.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_papyrusboss_1599") ; |
953 |
if (flirt2 == 5) |
954 |
global.msg[0] = * Papyrus dabs MTT-Brand Bishie Cream behind his ear.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_papyrusboss_1600") ; |
955 |
if (flirt2 == 6) |
956 |
global.msg[0] = * Papyrus dabs MTT-Brand Anime Powder behind his ear.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_papyrusboss_1601") ; |
957 |
if (flirt2 == 7) |
958 |
global.msg[0] = * Papyrus dabs MTT-Brand Cute Juice behind his ear.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_papyrusboss_1602") ; |
959 |
if (flirt2 == 8) |
960 |
global.msg[0] = * Papyrus dabs MTT-Brand Attraction Slime behind his ear.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_papyrusboss_1603") ; |
961 |
if (flirt2 == 9) |
962 |
global.msg[0] = * Papyrus dabs MTT-Brand Beauty Yogurt behind his ear.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_papyrusboss_1604") ; |
963 |
if (flirt2 == 10) |
964 |
global.msg[0] = * Papyrus realizes he doesn't have ears.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_papyrusboss_1605") ; |
965 |
} |
966 |
if (global.monsterhp[myself] < 100) |
967 |
global.msg[0] = * Papyrus is at the edge of defeat.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_papyrusboss_1609") ; |
968 |
if (mercymod >= 8000) |
969 |
global.msg[0] = * Papyrus is sparing you.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_papyrusboss_1611") ; |
970 |
if (murder == 1) |
971 |
global.msg[0] = * Papyrus is sparing you.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_papyrusboss_1613") ; |
972 |
attacked = 1; |
973 |
if (xfight > 0) |
974 |
fighto = 14; |
975 |
} |
976 |
if (global.turntimer < 3 && dontcancel == 0) |
977 |
{ |
978 |
hearthp2 = global.hp; |
979 |
obj_heart.vspeed = 0; |
980 |
obj_heart.jumpstage = 0; |
981 |
global.turntimer = -1; |
982 |
global.mnfight = 3; |
983 |
obj_heart.movement = 0; |
984 |
} |
985 |
if (global.turntimer < 3 && dontcancel == 4) |
986 |
{ |
987 |
alarm[8] = 2;gml_Object_obj_papyrusboss_Alarm_8.gmlif (bonetalk3 == 0)
{
vol = caster_get_volume(global.batmusic);
global.msg[0] = WELL...! *HUFF*Delay 11 IT'S CLEAR... YOU CAN'T!Delay 11 *HUFF*Delay 11 DEFEAT ME!!!Wait for input ;
global.msg[1] = YEAH!!! I CAN SEE YOU SHAKING IN YOUR BOOTS!!!Wait for input ;
global.msg[2] = THEREFORE I,Delay 11 THE GREAT PAPYRUS,Delay 11 ELECT TO GRANT YOU PITY!!Wait for input ;
global.msg[3] = \X I WILL \RSPARE\X YOU, HUMAN!!!Wait for input ;
global.msg[4] = \XNOW'S YOUR CHANCE TO ACCEPT MY \RMERCY\X.Wait for inputClose MessageClose Message ;
global.typer = 22;
blcon = instance_create(x + 145, y + 52, obj_blconwdflowey);
blconwdS = instance_create(blcon.x + blcon_textofs, blcon.y + 10, OBJ_NOMSCWRITER);
bonetalk3 = 1;
}
alarm[8] = 2;
if (bonetalk3 == 1 && instance_exists(OBJ_WRITER) == 0)
{
vol = 0;
with (blcon)
instance_destroy();
dontcancel = 0;
alarm[8] = -2;
bonetalk3 = 2;
mercymod = 8000;
global.msg[0] = * Papyrus is sparing you. ;
global.monsterdef[myself] = -global.monsterhp[myself] * 2;
}
if (vol > 0.01)
vol -= 0.01;
caster_set_volume(global.batmusic, vol); |
988 |
dontcancel = 5; |
989 |
} |
990 |
} |
991 |
if (global.myfight == 2) |
992 |
{ |
993 |
if (whatiheard != -1) |
994 |
{ |
995 |
if (global.heard == 0) |
996 |
{ |
997 |
if (whatiheard == 0) |
998 |
{ |
999 |
global.msc = 0; |
1000 |
global.msg[0] = * PAPYRUS - ATK 20 DEF 20 * He likes to say: "Nyeh heh heh!"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_papyrusboss_1645") ; |
1001 |
if (murder == 1) |
1002 |
global.msg[0] = * PAPYRUS - ATK 3 DEF 3 * Forgettable.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_papyrusboss_1647") ; |
1003 |
OBJ_WRITER.halt = 3; |
1004 |
iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER); |
1005 |
with (iii) |
1006 |
halt = 0; |
1007 |
} |
1008 |
if (whatiheard == 1) |
1009 |
{ |
1010 |
global.msc = 0; |
1011 |
with (OBJ_WRITER) |
1012 |
instance_destroy(); |
1013 |
if (insult <= 2 && truefight == 0) |
1014 |
{ |
1015 |
global.msg[0] = HOW SELFLESS...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_papyrusboss_1661") ; |
1016 |
global.msg[1] = YOU WANT ME TO FEEL BETTER ABOUT FIGHTING YOU...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_papyrusboss_1662") ; |
1017 |
if (insult == 1) |
1018 |
global.msg[0] = THERE'S NO NEED TO LIE TO YOURSELF!!!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_papyrusboss_1663") ; |
1019 |
if (insult > 1) |
1020 |
global.msg[0] = DON'T...!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_papyrusboss_1664") ; |
1021 |
if (insult <= 2) |
1022 |
{ |
1023 |
insult += 1; |
1024 |
flirto = 2; |
1025 |
global.typer = 22; |
1026 |
sblcon = instance_create(x + 145, y + 52, obj_blconwdflowey); |
1027 |
sblconwd = instance_create(sblcon.x + blcon_textofs, sblcon.y + 10, OBJ_NOMSCWRITER); |
1028 |
} |
1029 |
} |
1030 |
else |
1031 |
{ |
1032 |
global.msc = 0; |
1033 |
global.msg[0] = * You INSULT,Delay 11 but to no avail.Delay 11 * Seems ACTing won't escalate this battle...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_papyrusboss_1678") ; |
1034 |
if (truefight > 0) |
1035 |
global.msg[0] = * Papyrus is too busy FIGHTing to accept your insult.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_papyrusboss_1680") ; |
1036 |
with (OBJ_WRITER) |
1037 |
halt = 3; |
1038 |
iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER); |
1039 |
with (iii) |
1040 |
halt = 0; |
1041 |
} |
1042 |
} |
1043 |
if (whatiheard == 3) |
1044 |
{ |
1045 |
hotcha += 1; |
1046 |
with (OBJ_WRITER) |
1047 |
halt = 3; |
1048 |
if (hotcha <= 2 && truefight == 0) |
1049 |
{ |
1050 |
global.msg[0] = WHAT!?Delay 11 FL-FLIRTING!?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_papyrusboss_1696") ; |
1051 |
global.msg[1] = \X SO YOU FINALLY REVEAL YOUR\R ULTIMATE FEELINGS\X!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_papyrusboss_1697") ; |
1052 |
global.msg[2] = W-WELL!Delay 11 I'M A SKELETON WITH VERY HIGH STANDARDS!!!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_papyrusboss_1698") ; |
1053 |
flirto = 1; |
1054 |
if (hotcha == 2) |
1055 |
{ |
1056 |
global.msg[0] = OH NO!!!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_papyrusboss_1700") ; |
1057 |
flirto = 2; |
1058 |
} |
1059 |
if (hotcha > 2) |
1060 |
{ |
1061 |
flirto = 0; |
1062 |
whatiheard = 3; |
1063 |
global.myfight = 0; |
1064 |
global.mnfight = 1; |
1065 |
} |
1066 |
else |
1067 |
{ |
1068 |
global.flag[66 flirted_papyrus_fight] = 1; |
1069 |
global.typer = 22; |
1070 |
sblcon = instance_create(x + 145, y + 52, obj_blconwdflowey); |
1071 |
sblconwd = instance_create(sblcon.x + blcon_textofs, sblcon.y + 10, OBJ_NOMSCWRITER); |
1072 |
} |
1073 |
} |
1074 |
else |
1075 |
{ |
1076 |
global.msc = 0; |
1077 |
global.msg[0] = * You FLIRT,Delay 11 but to no avail.Delay 11 * Seems ACTing won't escalate this battle...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_papyrusboss_1713") ; |
1078 |
if (truefight > 0) |
1079 |
global.msg[0] = * Papyrus is too busy FIGHTing to flirt back.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_papyrusboss_1715") ; |
1080 |
with (OBJ_WRITER) |
1081 |
halt = 3; |
1082 |
iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER); |
1083 |
with (iii) |
1084 |
halt = 0; |
1085 |
} |
1086 |
} |
1087 |
if (whatiheard == 6) |
1088 |
{ |
1089 |
with (OBJ_WRITER) |
1090 |
instance_destroy(); |
1091 |
global.msg[0] = OH NO!!!Delay 11 YOU'RE MEETING ALL MY STANDARDS!!!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_papyrusboss_1754") ; |
1092 |
global.msg[1] = I GUESS THIS MEANS I HAVE TO GO ON A DATE WITH YOU...?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_papyrusboss_1755") ; |
1093 |
flirto = 2; |
1094 |
global.typer = 22; |
1095 |
sblcon = instance_create(x + 145, y + 52, obj_blconwdflowey); |
1096 |
sblconwd = instance_create(sblcon.x + blcon_textofs, sblcon.y + 10, OBJ_NOMSCWRITER); |
1097 |
} |
1098 |
global.heard = 1; |
1099 |
if (whatiheard == 7) |
1100 |
{ |
1101 |
with (OBJ_WRITER) |
1102 |
instance_destroy(); |
1103 |
global.msg[0] = OH NO!!!Delay 11 THAT HUMILITY...Delay 11 IT REMINDS ME OF,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_papyrusboss_1769") ; |
1104 |
global.msg[1] = MYSELF!!!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_papyrusboss_1770") ; |
1105 |
global.msg[2] = YOU'RE MEETING ALL MY STANDARDS!!!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_papyrusboss_1771") ; |
1106 |
flirto = 2; |
1107 |
global.typer = 22; |
1108 |
sblcon = instance_create(x + 145, y + 52, obj_blconwdflowey); |
1109 |
sblconwd = instance_create(sblcon.x + blcon_textofs, sblcon.y + 10, OBJ_NOMSCWRITER); |
1110 |
} |
1111 |
} |
1112 |
} |
1113 |
} |
1114 |
if (global.myfight == 4) |
1115 |
{ |
1116 |
if (global.mercyuse == 0) |
1117 |
{ |
1118 |
script_execute(scr_mercystandard); |
1119 |
if (mercy < 0) |
1120 |
event_user(2); |
1121 |
} |
1122 |
} |
1123 |
if (flirto > 0) |
1124 |
{ |
1125 |
if (instance_exists(OBJ_WRITER) == 0) |
1126 |
{ |
1127 |
if (flirto == 1) |
1128 |
{ |
1129 |
global.msc = 0; |
1130 |
global.typer = 1; |
1131 |
global.myfight = 3; |
1132 |
global.bmenuno = 6; |
1133 |
global.msg[0] = I can I have zero make redeeming spaghetti qualities\Cscr_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_papyrusboss_1804") ; |
1134 |
with (OBJ_WRITER) |
1135 |
halt = 3; |
1136 |
iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_INSTAWRITER); |
1137 |
with (iii) |
1138 |
halt = 0; |
1139 |
with (sblcon) |
1140 |
instance_destroy(); |
1141 |
} |
1142 |
if (flirto == 2) |
1143 |
{ |
1144 |
global.myfight = 0; |
1145 |
global.mnfight = 1; |
1146 |
stalk = 1; |
1147 |
} |
1148 |
flirto = 0; |
1149 |
} |
1150 |
} |