|
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]
|
|
9
|
}
|
|
10
|
if (global.monster[1] == 1)
|
|
11
|
{
|
|
12
|
if (global.monsterinstance[1].alarm[5] >alarm[5]
|
|
13
|
alarm[5]
|
|
14
|
}
|
|
15
|
if (global.monster[2] == 1)
|
|
16
|
{
|
|
17
|
if (global.monsterinstance[2].alarm[5] >alarm[5]
|
|
18
|
alarm[5]
|
|
19
|
}
|
|
20
|
}
|
|
21
|
if (global.mnfight == 1)
|
|
22
|
{
|
|
23
|
if (talked == 2 && instance_exists(OBJ_WRITER))
|
|
24
|
scr_textskipscr_textskip
if (instance_exists(OBJ_WRITER))
{
if (control_check_pressed(1))
{
with (OBJ_WRITER)
stringpos = string_length(originalstring);
control_clear(1);
}
} ();
|
|
25
|
if (talked == 2 && instance_exists(OBJ_WRITER) == 0)
|
|
26
|
{
|
|
27
|
event_user(2);
|
|
28
|
talked = 3;
|
|
29
|
}
|
|
30
|
if (talked == 0)
|
|
31
|
{
|
|
32
|
alarm[6] = 1; gml_Object_obj_sosorry_Alarm_6.gml
goodot = 0;
global.msc = 0;
if (prevhp == global.monsterhp[myself])
{
goodot = 1;
if (p_mode == 0)
myplot += 1;
}
else
{
goodot = 0;
hitplot += 1;
}
prevhp = global.monsterhp[myself];
gg = floor(random(3));
mycommand = round(random(100));
global.msg[0] = AHHHHHHH!!!!!Wait for inputClose MessageClose Message ;
if (myplot == 5 && p_mode == 1 && goodot == 1)
{
global.flag[20 animation_index] = 1;
global.msg[0] = \E1AHHHHH!!!Wait for inputClose MessageClose Message ;
}
if (hitplot == 1)
{
global.msg[0] = \E1Oh! Whoops! That hurt!Wait for input ;
global.msg[1] = \E2So sorry,Delay 11 I must have gotten in the way!Wait for input ;
global.msg[2] = \E1I really shouldn't stand so closeWait for input ;
global.msg[3] = \E4Ah I'm just being troublesomeWait for inputClose MessageClose Message ;
}
if (hitplot == 2)
{
global.msg[0] = \E4Darn it, I keep getting in the wayWait for input ;
global.msg[1] = \E2So sorry, I'm such an oafWait for input ;
global.msg[2] = \E2Wandering in front of you...Wait for inputClose MessageClose Message ;
}
if (hitplot == 3)
{
global.msg[0] = ;
global.msg[1] = Are you... trying to KILL me?Wait for input ;
global.msg[2] = \E4... so sorry, but I've had a really tough year.Wait for input ;
global.msg[3] = I don't know if I could take you killing me on top of everything.Wait for input ;
global.msg[4] = \E2You should find someone else to kill. So sorry.Wait for inputClose MessageClose Message ;
}
if (hitplot == 4)
{
global.msg[0] = ;
global.msg[1] = \E5I just said I'm not interested in the offer!!Wait for input ;
global.msg[2] = ;
global.msg[3] = \E2Sorry, I must not have enunciated clearly enough.Wait for input ;
global.msg[4] = \E2I am not interested in being killed. Thank you very much.Wait for inputClose MessageClose Message ;
}
if (hitplot == 5)
{
global.msg[0] = \E5Look, strangerWait for input ;
global.msg[1] = \E4I... I guess I'm going to have to tell the truth.Wait for input ;
global.msg[2] = My whole life, I've never been worth a lot of EXP.Wait for input ;
global.msg[3] = Everyone else at my work, in my classes,Wait for input ;
global.msg[4] = Would raise a person's LV by 4 or 5 when destroyed...Wait for input ;
global.msg[5] = ;
global.msg[6] = \E6I wouldn't even increase your LV at LV 1.Wait for input ;
global.msg[7] = \E4For this reason... I... I've always been...Wait for input ;
global.msg[8] = I've never been very good at getting killed. So...Wait for input ;
global.msg[9] = \E3I'm flattered that you... Want to destroy me.Wait for input ;
global.msg[10] = \E8But you are making a big waste of your time!!Wait for input ;
global.msg[11] = \E8Stop killing me!!!Wait for inputClose MessageClose Message ;
}
if (hitplot == 6)
{
global.msg[0] = \E2OK, OK. Hm.Wait for input ;
global.msg[1] = ;
global.msg[2] = \E7If you stop killing me, I'll pay you 200G.Wait for inputClose MessageClose Message ;
}
if (hitplot == 7)
global.msg[0] = \E8220G?Wait for inputClose MessageClose Message ;
if (hitplot == 8)
{
global.msg[0] = ;
global.msg[1] = \E8300G?Wait for inputClose MessageClose Message ;
}
if (hitplot == 9)
{
global.msg[0] = \E1W...Delay 11 Wait a second.Wait for input ;
global.msg[1] = \E1You trying to kill me... C... could it be...?Wait for input ;
global.msg[2] = \E6Because you don't like me very much...?Wait for input ;
global.msg[3] = \E2No, no, that can't be!Wait for input ;
global.msg[4] = This is just a friendly, um, killing between acquaintances!!!Wait for input ;
global.msg[5] = \E8Pals... we're... we're still pals, right!!Wait for input ;
global.msg[6] = \E1OK, maybe not PALS, but, uh,Wait for input ;
global.msg[7] = \E2Friendly strangers?Wait for input ;
global.msg[8] = \E8You know, just one step away from being buds!!!Wait for input ;
global.msg[9] = \E0I mean, I was practically...Wait for input ;
global.msg[10] = \E0I was about to crack open the sparkling cider!Wait for input ;
global.msg[11] = \E2Pull out some baguettes and some swiss cheese!Wait for input ;
global.msg[12] = \E8BLOW ON A FREAKING PARTY HORN!!!Wait for inputClose MessageClose Message ;
}
if (hitplot == 10)
{
global.msg[0] = \E1N... no, you don't like me either, huh...?Wait for input ;
global.msg[1] = \E4Nobody likes me... they're just putting up with meWait for input ;
global.msg[2] = \E6I'm just annoying you... I should just leaveWait for input ;
global.msg[3] = \E1ARRRRRGHHHH!!! Why am I such an idiot??!?!!!!Wait for input ;
...
|
|
33
|
talked = 1;
|
|
34
|
global.heard = 0;
|
|
35
|
}
|
|
36
|
}
|
|
37
|
if (global.hurtanim[myself] == 1)
|
|
38
|
{
|
|
39
|
shudder = 8;
|
|
40
|
alarm[3] = global.damagetimer; gml_Object_obj_sosorry_Alarm_3.gml
if (mypart1.pause != 1)
{
dmgwriter = instance_create(x, y - 24, obj_dmgwriter);
if (takedamage > 0)
takedamage = 100;
global.damage = takedamage;
with (dmgwriter)
dmg = global.damage;
mypart1.pause = 1;
osh = instance_create(0, 0, obj_objshake);
osh.obj = mypart1;
snd_play(snd_damage);
alarm[8] = 11;
}
if (sha == 0)
sha = x;
x = sha + shudder;
if (shudder < 0)
shudder = -(shudder + 1);
else
shudder = -shudder;
if (shudder == 0)
{
sha = 0;
global.hurtanim[myself] = 2;
exit;
}
alarm[3] = 2;
|
|
41
|
global.hurtanim[myself] = 3;
|
|
42
|
}
|
|
43
|
if (global.hurtanim[myself] == 2)
|
|
44
|
{
|
|
45
|
global.monsterhp[myself] -= takedamage;
|
|
46
|
if (hitplot >= 10)
|
|
47
|
global.monsterhp[myself] = 0;
|
|
48
|
with (dmgwriter)
|
|
49
|
alarm[2]
|
|
50
|
if (global.monsterhp[myself] >= 1)
|
|
51
|
{
|
|
52
|
global.hurtanim[myself] = 0;
|
|
53
|
mypart1.pause = 0;
|
|
54
|
global.myfight = 0;
|
|
55
|
global.mnfight = 1;
|
|
56
|
}
|
|
57
|
else
|
|
58
|
{
|
|
59
|
global.myfight = 0;
|
|
60
|
global.mnfight = 1;
|
|
61
|
}
|
|
62
|
}
|
|
63
|
if (global.hurtanim[myself] == 5)
|
|
64
|
{
|
|
65
|
global.damage = 0;
|
|
66
|
instance_create((x + (sprite_width / 2)) - 10, y - 24, obj_dmgwriter);
|
|
67
|
with (obj_dmgwriter)
|
|
68
|
alarm[2]
|
|
69
|
global.myfight = 0;
|
|
70
|
global.mnfight = 1;
|
|
71
|
global.hurtanim[myself] = 0;
|
|
72
|
}
|
|
73
|
if (global.mnfight == 2)
|
|
74
|
{
|
|
75
|
if (attacked == 0)
|
|
76
|
{
|
|
77
|
if (talked == 3)
|
|
78
|
talked = 0;
|
|
79
|
pop = scr_monstersumscr_monstersum
return global.monster[0] + global.monster[1] + global.monster[2]; ();
|
|
80
|
global.turntimer = 180;
|
|
81
|
global.firingrate = 10;
|
|
82
|
if (p_mode == 0)
|
|
83
|
{
|
|
84
|
if (myplot == 0 || myplot == 1)
|
|
85
|
{
|
|
86
|
with (mypart1)
|
|
87
|
{
|
|
88
|
global.turntimer = 170;
|
|
89
|
back = 1;
|
|
90
|
tailtype = 1;
|
|
91
|
armtype = 0;
|
|
92
|
tail_t = 0;
|
|
93
|
tailsiner = 8;
|
|
94
|
}
|
|
95
|
}
|
|
96
|
if (myplot == 2)
|
|
97
|
{
|
|
98
|
with (mypart1)
|
|
99
|
{
|
|
100
|
back = 1;
|
|
101
|
tailtype = 1;
|
|
102
|
armtype = 0;
|
|
103
|
tail_t = 0.3;
|
|
104
|
tailsiner = 8;
|
|
105
|
}
|
|
106
|
}
|
|
107
|
if (myplot == 3)
|
|
108
|
{
|
|
109
|
with (mypart1)
|
|
110
|
{
|
|
111
|
global.turntimer = 240;
|
|
112
|
intense = 0;
|
|
113
|
back = 1;
|
|
114
|
tailtype = 0;
|
|
115
|
armtype = 1;
|
|
116
|
tail_t = 0;
|
|
117
|
tailsiner = 0;
|
|
118
|
diff = 3;
|
|
119
|
}
|
|
120
|
}
|
|
121
|
if (myplot == 4)
|
|
122
|
{
|
|
123
|
with (mypart1)
|
|
124
|
{
|
|
125
|
global.turntimer = 240;
|
|
126
|
intense = 1;
|
|
127
|
back = 1;
|
|
128
|
tailtype = 0;
|
|
129
|
armtype = 1;
|
|
130
|
tail_t = 0;
|
|
131
|
tailsiner = 0;
|
|
132
|
diff = 3;
|
|
133
|
}
|
|
134
|
}
|
|
135
|
if (myplot >= 5)
|
|
136
|
{
|
|
137
|
with (mypart1)
|
|
138
|
{
|
|
139
|
global.turntimer = 270;
|
|
140
|
intense = 0;
|
|
141
|
back = 1;
|
|
142
|
tailtype = 1;
|
|
143
|
armtype = 1;
|
|
144
|
tail_t = -0.2;
|
|
145
|
tailsiner = 8;
|
|
146
|
diff = 3;
|
|
147
|
}
|
|
148
|
}
|
|
149
|
}
|
|
150
|
if (mycommand >= 0)
|
|
151
|
global.msg[0] = * The enemy looks nervous.scr_gettextscr_gettext
var 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_sosorry_785") ;
|
|
152
|
if (mycommand >= 20)
|
|
153
|
global.msg[0] = * The enemy looks anxious.scr_gettextscr_gettext
var 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_sosorry_786") ;
|
|
154
|
if (mycommand >= 40)
|
|
155
|
global.msg[0] = * The enemy taps his fingers together like jackhammers.scr_gettextscr_gettext
var 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_sosorry_787") ;
|
|
156
|
if (mycommand >= 60)
|
|
157
|
global.msg[0] = * The enemy looks perturbed.scr_gettextscr_gettext
var 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_sosorry_788") ;
|
|
158
|
if (mycommand >= 72)
|
|
159
|
global.msg[0] = * The enemy tries to copy your movements so it fits in.scr_gettextscr_gettext
var 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_sosorry_789") ;
|
|
160
|
if (mycommand >= 86)
|
|
161
|
global.msg[0] = * The enemy uses a hypnotizing 3D-tush-wiggle attack.scr_gettextscr_gettext
var 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_sosorry_790") ;
|
|
162
|
if (mycommand >= 96)
|
|
163
|
global.msg[0] = * Smells... furry.scr_gettextscr_gettext
var 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_sosorry_791") ;
|
|
164
|
if (mercymod > 100)
|
|
165
|
global.msg[0] = * Are we good here!?.scr_gettextscr_gettext
var 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_sosorry_792") ;
|
|
166
|
if (global.monsterhp[myself] <= (global.monstermaxhp[myself] / 4))
|
|
167
|
global.msg[0] = * The enemy is apologizing to its visions of the Reaper.scr_gettextscr_gettext
var 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_sosorry_793") ;
|
|
168
|
attacked = 1;
|
|
169
|
}
|
|
170
|
if (mercymod == 999999)
|
|
171
|
{
|
|
172
|
global.turntimer = -1;
|
|
173
|
global.mnfight = 3;
|
|
174
|
}
|
|
175
|
whatiheard = -1;
|
|
176
|
}
|
|
177
|
if (global.myfight == 2)
|
|
178
|
{
|
|
179
|
if (whatiheard != -1)
|
|
180
|
{
|
|
181
|
if (global.heard == 0)
|
|
182
|
{
|
|
183
|
if (whatiheard == 0)
|
|
184
|
{
|
|
185
|
global.msc = 0;
|
|
186
|
global.msg[0] = * SO SORRY * This creature is definitely in the wrong time and space!Wait for input^scr_gettextscr_gettext
var 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_sosorry_826") ;
|
|
187
|
OBJ_WRITER.halt = 3;
|
|
188
|
iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
|
|
189
|
with (iii)
|
|
190
|
halt = 0;
|
|
191
|
whatiheard = 9;
|
|
192
|
}
|
|
193
|
if (whatiheard == 3)
|
|
194
|
{
|
|
195
|
global.msc = 0;
|
|
196
|
ch = 0;
|
|
197
|
ch = choose(0, 1, 2, 3, 4);
|
|
198
|
if (ch == 0)
|
|
199
|
global.msg[0] = * You wave.Delay 11 * They're a bit preoccupied.Wait for input^scr_gettextscr_gettext
var 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_sosorry_838") ;
|
|
200
|
if (ch == 1)
|
|
201
|
global.msg[0] = * You say hello.Delay 11 * They're a bit preoccupied.Wait for input^scr_gettextscr_gettext
var 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_sosorry_841") ;
|
|
202
|
if (ch == 2)
|
|
203
|
global.msg[0] = * You smile.Delay 11 * They're a bit preoccupied.Wait for input^scr_gettextscr_gettext
var 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_sosorry_844") ;
|
|
204
|
if (ch == 3)
|
|
205
|
global.msg[0] = * You cough.Delay 11 * They're a bit preoccupied.Wait for input^scr_gettextscr_gettext
var 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_sosorry_847") ;
|
|
206
|
if (ch == 4)
|
|
207
|
global.msg[0] = * You weep.Delay 11 * They're a bit preoccupied.Wait for input^scr_gettextscr_gettext
var 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_sosorry_850") ;
|
|
208
|
OBJ_WRITER.halt = 3;
|
|
209
|
iii = instance_create(global.idealborder[0], global.idealborder[2], OBJ_WRITER);
|
|
210
|
with (iii)
|
|
211
|
halt = 0;
|
|
212
|
}
|
|
213
|
global.heard = 1;
|
|
214
|
}
|
|
215
|
}
|
|
216
|
}
|
|
217
|
if (global.myfight == 4)
|
|
218
|
{
|
|
219
|
if (global.mercyuse == 0)
|
|
220
|
{
|
|
221
|
script_execute(scr_mercystandard);
|
|
222
|
if (mercy < 0)
|
|
223
|
instance_destroy();
|
|
224
|
}
|
|
225
|
}
|
|
226
|
if (n_con == 1 && instance_exists(OBJ_WRITER) == 0)
|
|
227
|
{
|
|
228
|
global.border = 0;
|
|
229
|
global.typer = 1;
|
|
230
|
obj_heart.x = -200;
|
|
231
|
obj_heart.y = 900;
|
|
232
|
obj_heart.visible = false;
|
|
233
|
global.myfight = -5;
|
|
234
|
global.mnfight = 0;
|
|
235
|
}
|
|
236
|
if (mercymod == 222 && instance_exists(OBJ_WRITER) == 0)
|
|
237
|
instance_destroy();
|
|
238
|
if (global.turntimer <= 0 && global.mnfight == 2)
|
|
239
|
{
|
|
240
|
global.mnfight = 3;
|
|
241
|
with (mypart1)
|
|
242
|
back = 0;
|
|
243
|
}
|
|
244
|
if (d_con == 1 && instance_exists(OBJ_WRITER) == 0)
|
|
245
|
{
|
|
246
|
global.faceemotion = 4;
|
|
247
|
global.flag[20 animation_index] = 0;
|
|
248
|
with (mypart1)
|
|
249
|
pause = 1;
|
|
250
|
with (mypart1)
|
|
251
|
intense = 0;
|
|
252
|
with (mypart1)
|
|
253
|
hspeed = -2;
|
|
254
|
hspeed = -1;
|
|
255
|
d_con = 2;
|
|
256
|
alarm[10] = 80; gml_Object_obj_sosorry_Alarm_10.gml
d_con += 1;
|
|
257
|
with (obj_doodlebug)
|
|
258
|
instance_destroy();
|
|
259
|
}
|
|
260
|
if (d_con == 2)
|
|
261
|
{
|
|
262
|
with (obj_doodlebug_body)
|
|
263
|
image_alpha -= 0.02;
|
|
264
|
}
|
|
265
|
if (d_con == 3)
|
|
266
|
{
|
|
267
|
hspeed = 0;
|
|
268
|
with (mypart1)
|
|
269
|
hspeed = 0;
|
|
270
|
alarm[10] = 30; gml_Object_obj_sosorry_Alarm_10.gml
d_con += 1;
|
|
271
|
d_con = 4;
|
|
272
|
}
|
|
273
|
if (d_con == 5)
|
|
274
|
{
|
|
275
|
audio_stop_sound(global.batmusic);
|
|
276
|
global.msc = 0;
|
|
277
|
global.typer = 33;
|
|
278
|
global.msg[0] = \E0Oh,Delay 11 and...Wait for inputscr_gettextscr_gettext
var 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_sosorry_950") ;
|
|
279
|
global.msg[1] = \E1About all this.Wait for inputscr_gettextscr_gettext
var 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_sosorry_951") ;
|
|
280
|
global.msg[2] = \E4Um.Wait for inputscr_gettextscr_gettext
var 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_sosorry_952") ;
|
|
281
|
global.msg[3] = \E2Sorry.Wait for inputClose MessageClose Messagescr_gettextscr_gettext
var 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_sosorry_953") ;
|
|
282
|
scr_blcon_xscr_blcon_x
scr_blcon(argument0, argument1, 0); (x + 170, y + 20);
|
|
283
|
blcon.depth = -1500;
|
|
284
|
writer.depth = -1600;
|
|
285
|
d_con = 6;
|
|
286
|
}
|
|
287
|
if (d_con == 6 && instance_exists(OBJ_WRITER) == 0)
|
|
288
|
{
|
|
289
|
visible = false;
|
|
290
|
sprite_index = spr_sorry_d;
|
|
291
|
killed = 1;
|
|
292
|
x += 19;
|
|
293
|
x -= 70;
|
|
294
|
y -= 24;
|
|
295
|
global.border = 0;
|
|
296
|
global.typer = 1;
|
|
297
|
obj_heart.x = -200;
|
|
298
|
obj_heart.y = 900;
|
|
299
|
obj_heart.visible = false;
|
|
300
|
global.myfight = -5;
|
|
301
|
global.mnfight = 0;
|
|
302
|
instance_destroy();
|
|
303
|
}
|
|
304
|
if (p_con == 2)
|
|
305
|
{
|
|
306
|
global.monstertype[1] = 81Doodlebog;
|
|
307
|
global.monstertype[2] = 81Doodlebog;
|
|
308
|
global.monsterinstance[1] = instance_create(26, 88, obj_doodlebug);
|
|
309
|
global.monsterinstance[2] = instance_create(526, 88, obj_doodlebug);
|
|
310
|
with (global.monsterinstance[2])
|
|
311
|
specialmessage = 1;
|
|
312
|
p_con = 3;
|
|
313
|
alarm[4] = 50; gml_Object_obj_sosorry_Alarm_4.gml
p_con += 1;
|
|
314
|
}
|
|
315
|
if (p_con == 1 && instance_exists(OBJ_WRITER) == 0)
|
|
316
|
{
|
|
317
|
global.faceemotion = 1;
|
|
318
|
snd_play(snd_break2);
|
|
319
|
fl = instance_create(0, 0, obj_flasher);
|
|
320
|
fl.depth = -2000;
|
|
321
|
p_con = 2;
|
|
322
|
global.mnfight = -6;
|
|
323
|
}
|
|
324
|
if (p_con == 4)
|
|
325
|
{
|
|
326
|
global.msg[0] = \E1Uuuuhhhh, oh no!! That's a little too real!Wait for inputClose MessageClose Messagescr_gettextscr_gettext
var 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_sosorry_1007") ;
|
|
327
|
global.typer = 111;
|
|
328
|
scr_blcon_xscr_blcon_x
scr_blcon(argument0, argument1, 0); (x + 170, y + 20);
|
|
329
|
blcon.depth = -1500;
|
|
330
|
writer.depth = -1600;
|
|
331
|
p_con = 5;
|
|
332
|
}
|
|
333
|
if (p_con == 5 && instance_exists(OBJ_WRITER) == 0)
|
|
334
|
{
|
|
335
|
global.flag[20 animation_index] = 0;
|
|
336
|
p_con = 0;
|
|
337
|
global.mnfight = 2;
|
|
338
|
}
|