|
1
|
if (con < 0)
|
|
2
|
exit;
|
|
3
|
if (con == 1)
|
|
4
|
{
|
|
5
|
con = 2;
|
|
6
|
alarm[0] = 1; gml_Object_obj_room_teevie_cowboy_after_02_Alarm_0.gml
con++;
|
|
7
|
}
|
|
8
|
if (con == 3)
|
|
9
|
{
|
|
10
|
con = 4;
|
|
11
|
with (obj_caterpillarchara)
|
|
12
|
{
|
|
13
|
if (name == "ralsei")
|
|
14
|
visible = 0;
|
|
15
|
}
|
|
16
|
ralsei_caterpillar = instance_create(0, 0, obj_caterpillar_generic);
|
|
17
|
with (ralsei_caterpillar)
|
|
18
|
{
|
|
19
|
scr_darksizescr_darksize
function scr_darksize()
{
var inst = id;
if (argument_count)
inst = argument0;
inst.image_xscale = 2;
inst.image_yscale = 2;
} ();
|
|
20
|
rsprite = spr_ralsei_horse_walk_overworld;
|
|
21
|
lsprite = spr_ralsei_horse_walk_overworld_left;
|
|
22
|
halign = 2;
|
|
23
|
valign = 36;
|
|
24
|
allowup = false;
|
|
25
|
allowdown = false;
|
|
26
|
targetdist = 34;
|
|
27
|
}
|
|
28
|
}
|
|
29
|
if (con == 4 && obj_mainchara.x >= 450 && global.interact == 0)
|
|
30
|
{
|
|
31
|
con = 5;
|
|
32
|
alarm[0] = 60; gml_Object_obj_room_teevie_cowboy_after_02_Alarm_0.gml
con++;
|
|
33
|
global.interact = 1;
|
|
34
|
with (obj_mainchara)
|
|
35
|
{
|
|
36
|
cutscene = 1;
|
|
37
|
fun = 1;
|
|
38
|
image_index = 0;
|
|
39
|
}
|
|
40
|
var _ral_x = 0;
|
|
41
|
var _ral_y = 0;
|
|
42
|
with (obj_caterpillarchara)
|
|
43
|
{
|
|
44
|
cutscene = 1;
|
|
45
|
fun = 1;
|
|
46
|
image_index = 0;
|
|
47
|
}
|
|
48
|
with (ralsei_caterpillar)
|
|
49
|
{
|
|
50
|
_ral_x = x;
|
|
51
|
_ral_y = y;
|
|
52
|
}
|
|
53
|
ralsei_marker = scr_dark_markerscr_dark_marker
function scr_dark_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
image_xscale = 2;
image_yscale = 2;
}
return thismarker;
} (_ral_x, _ral_y, spr_ralsei_horse_walk_overworld);
|
|
54
|
with (ralsei_marker)
|
|
55
|
scr_depthscr_depth
function scr_depth()
{
if (argument_count > 0)
{
with (argument0)
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
else
{
depth = 100000 - ((y * 10) + (sprite_height * 10));
}
} ();
|
|
56
|
with (ralsei_caterpillar)
|
|
57
|
visible = 0;
|
|
58
|
}
|
|
59
|
if (con == 6)
|
|
60
|
{
|
|
61
|
con = 7;
|
|
62
|
alarm[0] = 30; gml_Object_obj_room_teevie_cowboy_after_02_Alarm_0.gml
con++;
|
|
63
|
with (obj_mainchara)
|
|
64
|
sprite_index = lsprite;
|
|
65
|
with (obj_caterpillarchara)
|
|
66
|
{
|
|
67
|
if (name == "susie")
|
|
68
|
sprite_index = lsprite;
|
|
69
|
}
|
|
70
|
}
|
|
71
|
if (con == 8)
|
|
72
|
{
|
|
73
|
con = 9;
|
|
74
|
alarm[0] = 30; gml_Object_obj_room_teevie_cowboy_after_02_Alarm_0.gml
con++;
|
|
75
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "tenna")
{
global.typer = 80;
if (global.fighting == 1)
global.typer = 81;
}
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
... ("susie");
|
|
76
|
msgsetloc(0, Face K* ...Wait for input"\\EK* .../", "obj_room_teevie_cowboy_after_02_slash_Step_0_gml_98_0" );
|
|
77
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("ralsei", "D");
|
|
78
|
msgnextloc(Face D* O-oops...Wait for input"\\ED* O-oops.../", "obj_room_teevie_cowboy_after_02_slash_Step_0_gml_100_0" );
|
|
79
|
msgnextloc(Face K* I forgot I was wearing it.Wait for inputClose Message"\\EK* I forgot I was wearing it./%", "obj_room_teevie_cowboy_after_02_slash_Step_0_gml_101_0" );
|
|
80
|
d_make();
|
|
81
|
}
|
|
82
|
if (con == 10 && !d_ex())
|
|
83
|
{
|
|
84
|
con = 11;
|
|
85
|
alarm[0] = 15; gml_Object_obj_room_teevie_cowboy_after_02_Alarm_0.gml
con++;
|
|
86
|
with (ralsei_marker)
|
|
87
|
scr_flipscr_flip
function scr_flip(arg0)
{
if (arg0 == "h" || arg0 == "x")
{
x += ((sprite_get_width(sprite_index) - (sprite_get_xoffset(sprite_index) * 2)) * image_xscale);
image_xscale = -image_xscale;
}
else
{
y += ((sprite_get_height(sprite_index) - (sprite_get_yoffset(sprite_index) * 2)) * image_yscale);
image_yscale = -image_yscale;
}
} ("x");
|
|
88
|
}
|
|
89
|
if (con == 12 && !d_ex())
|
|
90
|
{
|
|
91
|
con = 13;
|
|
92
|
alarm[0] = 60; gml_Object_obj_room_teevie_cowboy_after_02_Alarm_0.gml
con++;
|
|
93
|
with (ralsei_marker)
|
|
94
|
{
|
|
95
|
image_speed = 0.2;
|
|
96
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("x", x, -120, 60);
|
|
97
|
}
|
|
98
|
}
|
|
99
|
if (con == 14)
|
|
100
|
{
|
|
101
|
con = 15;
|
|
102
|
alarm[0] = 60; gml_Object_obj_room_teevie_cowboy_after_02_Alarm_0.gml
con++;
|
|
103
|
var _ral_x = 0;
|
|
104
|
var _ral_y = 0;
|
|
105
|
with (obj_caterpillarchara)
|
|
106
|
{
|
|
107
|
if (name == "ralsei")
|
|
108
|
{
|
|
109
|
_ral_x = x;
|
|
110
|
_ral_y = y;
|
|
111
|
}
|
|
112
|
}
|
|
113
|
with (ralsei_caterpillar)
|
|
114
|
instance_destroy();
|
|
115
|
with (ralsei_marker)
|
|
116
|
{
|
|
117
|
scr_flipscr_flip
function scr_flip(arg0)
{
if (arg0 == "h" || arg0 == "x")
{
x += ((sprite_get_width(sprite_index) - (sprite_get_xoffset(sprite_index) * 2)) * image_xscale);
image_xscale = -image_xscale;
}
else
{
y += ((sprite_get_height(sprite_index) - (sprite_get_yoffset(sprite_index) * 2)) * image_yscale);
image_yscale = -image_yscale;
}
} ("x");
|
|
118
|
sprite_index = spr_ralsei_walk_right;
|
|
119
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("x", x, _ral_x, 60);
|
|
120
|
scr_lerpvarscr_lerpvar
function scr_lerpvar()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
return ___lerpvar;
}
function scr_lerpvar_respect()
{
if (argument_count < 6)
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3]);
else
___lerpvar = scr_lerpvar_instance(id, argument[0], argument[1], argument[2], argument[3], argument[4], argument[5]);
___lerpvar.respectglobalinteract = true;
return ___lerpvar;
} ("y", y, _ral_y, 60);
|
|
121
|
scr_delay_var("image_speed", 0, 61);
|
|
122
|
scr_delay_var("image_index", 0, 61);
|
|
123
|
}
|
|
124
|
}
|
|
125
|
if (con == 16)
|
|
126
|
{
|
|
127
|
con = -1;
|
|
128
|
global.facing = 0;
|
|
129
|
global.interact = 0;
|
|
130
|
scr_flag_setscr_flag_set
function scr_flag_set(arg0, arg1)
{
global.flag[arg0] = arg1;
} (1152, 1);
|
|
131
|
with (obj_mainchara)
|
|
132
|
{
|
|
133
|
cutscene = 0;
|
|
134
|
fun = 0;
|
|
135
|
}
|
|
136
|
with (ralsei_marker)
|
|
137
|
visible = 0;
|
|
138
|
with (obj_caterpillarchara)
|
|
139
|
{
|
|
140
|
fun = 0;
|
|
141
|
cutscene = 0;
|
|
142
|
if (name == "ralsei")
|
|
143
|
visible = 1;
|
|
144
|
scr_caterpillar_interpolatescr_caterpillar_interpolate
function scr_caterpillar_interpolate()
{
_newfacing = scr_facing_letter_to_number(scr_get_cardinal_direction(point_direction(x, y, obj_mainchara.x, obj_mainchara.y)));
remx[0] = obj_mainchara.x;
remy[0] = obj_mainchara.y;
facing[0] = _newfacing;
for (_iaia = target; _iaia > 0; _iaia -= 1)
{
remx[_iaia] = lerp(obj_mainchara.x, x, _iaia / target);
if (global.darkzone == 1)
remy[_iaia] = lerp(obj_mainchara.y, y + 16, _iaia / target);
else
remy[_iaia] = lerp(obj_mainchara.y, y + 6, _iaia / target);
facing[_iaia] = _newfacing;
}
} ();
|
|
145
|
}
|
|
146
|
with (exit_collider)
|
|
147
|
instance_destroy();
|
|
148
|
}
|
|
149
|
if (con == 30 && global.interact == 0)
|
|
150
|
{
|
|
151
|
con = 31;
|
|
152
|
alarm[0] = 30; gml_Object_obj_room_teevie_cowboy_after_02_Alarm_0.gml
con++;
|
|
153
|
global.interact = 1;
|
|
154
|
with (obj_mainchara)
|
|
155
|
{
|
|
156
|
cutscene = 1;
|
|
157
|
fun = 1;
|
|
158
|
sprite_index = usprite;
|
|
159
|
image_index = 0;
|
|
160
|
}
|
|
161
|
with (obj_caterpillarchara)
|
|
162
|
{
|
|
163
|
cutscene = 1;
|
|
164
|
fun = 1;
|
|
165
|
sprite_index = usprite;
|
|
166
|
image_index = 0;
|
|
167
|
}
|
|
168
|
snd_play(snd_dooropen);
|
|
169
|
with (wardrobe_npc)
|
|
170
|
image_index = 1;
|
|
171
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "tenna")
{
global.typer = 80;
if (global.fighting == 1)
global.typer = 81;
}
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
... ("no_name");
|
|
172
|
msgsetloc(0, * (You slowly unlocked the door...!)Wait for input"* (You slowly unlocked the door...!)/", "obj_room_teevie_cowboy_after_02_slash_Step_0_gml_223_0" );
|
|
173
|
msgnextloc(* (Inside the closet was a HORSE COSTUME and MINI-STABLE.)Wait for inputClose Message"* (Inside the closet was a HORSE COSTUME and MINI-STABLE.)/%", "obj_room_teevie_cowboy_after_02_slash_Step_0_gml_224_0" );
|
|
174
|
d_make();
|
|
175
|
}
|
|
176
|
if (con == 32 && !d_ex())
|
|
177
|
{
|
|
178
|
con = 33;
|
|
179
|
alarm[0] = 30; gml_Object_obj_room_teevie_cowboy_after_02_Alarm_0.gml
con++;
|
|
180
|
snd_play(snd_shineselect);
|
|
181
|
}
|
|
182
|
if (con == 34)
|
|
183
|
{
|
|
184
|
con = 35;
|
|
185
|
alarm[0] = 30; gml_Object_obj_room_teevie_cowboy_after_02_Alarm_0.gml
con++;
|
|
186
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "tenna")
{
global.typer = 80;
if (global.fighting == 1)
global.typer = 81;
}
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
... ("no_name");
|
|
187
|
msgsetloc(0, * (RALSEI RANCHER is now unlocked for your CASTLE TOWN!)Wait for input"* (RALSEI RANCHER is now unlocked for your CASTLE TOWN!)/", "obj_room_teevie_cowboy_after_02_slash_Step_0_gml_244_0" );
|
|
188
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("susie", "B");
|
|
189
|
msgnextloc(Face B* ...Wait for inputClose Message"\\EB* .../%", "obj_room_teevie_cowboy_after_02_slash_Step_0_gml_246_0" );
|
|
190
|
d_make();
|
|
191
|
}
|
|
192
|
if (con == 36 && !d_ex())
|
|
193
|
{
|
|
194
|
con = 37;
|
|
195
|
alarm[0] = 60; gml_Object_obj_room_teevie_cowboy_after_02_Alarm_0.gml
con++;
|
|
196
|
snd_play(snd_doorclose);
|
|
197
|
scr_script_delayedscr_script_delayed
function scr_script_delayed()
{
var __scriptdelay = instance_create(0, 0, obj_script_delayed);
__scriptdelay.script = argument[0];
__scriptdelay.alarm[0] = argument[1];
__scriptdelay.target = id;
for (var __i = 0; __i < (argument_count - 2); __i++)
__scriptdelay.script_arg[__i] = argument[__i + 2];
__scriptdelay.arg_count = argument_count - 2;
return __scriptdelay;
} (snd_play, 30, snd_noise);
|
|
198
|
with (wardrobe_npc)
|
|
199
|
image_index = 0;
|
|
200
|
}
|
|
201
|
if (con == 38)
|
|
202
|
{
|
|
203
|
con = 39;
|
|
204
|
alarm[0] = 30; gml_Object_obj_room_teevie_cowboy_after_02_Alarm_0.gml
con++;
|
|
205
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "tenna")
{
global.typer = 80;
if (global.fighting == 1)
global.typer = 81;
}
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
... ("no_name");
|
|
206
|
msgsetloc(0, * (Susie slowly locked the door...!)Wait for inputClose Message"* (Susie slowly locked the door...!)/%", "obj_room_teevie_cowboy_after_02_slash_Step_0_gml_268_0" );
|
|
207
|
d_make();
|
|
208
|
}
|
|
209
|
if (con == 40 && !d_ex())
|
|
210
|
{
|
|
211
|
con = 41;
|
|
212
|
alarm[0] = 30; gml_Object_obj_room_teevie_cowboy_after_02_Alarm_0.gml
con++;
|
|
213
|
snd_play(snd_shineselect_reverse);
|
|
214
|
scr_speakerscr_speaker
function scr_speaker(arg0)
{
_speaker = arg0;
global.typer = 5;
if (global.darkzone == 1)
global.typer = 6;
if (global.fighting == 1)
global.typer = 4;
global.fc = 0;
global.fe = 0;
if (_speaker == "silent" && global.darkzone == 0)
global.typer = 2;
if (_speaker == "silent" && global.darkzone == 1)
global.typer = 36;
if (_speaker == "balloon" || _speaker == "enemy")
global.typer = 50;
if (_speaker == "sans")
{
global.typer = 14;
global.fc = 6;
}
if (_speaker == "undyne" || _speaker == "und")
{
global.typer = 17;
global.fc = 9;
}
if (_speaker == "temmie" || _speaker == "tem")
global.typer = 21;
if (_speaker == "jevil")
global.typer = 35;
if (_speaker == "catti")
global.fc = 13;
if (_speaker == "jockington" || _speaker == "joc")
global.fc = 14;
if (_speaker == "catty" || _speaker == "caddy")
global.fc = 16;
if (_speaker == "bratty" || _speaker == "bra")
global.fc = 17;
if (_speaker == "rouxls" || _speaker == "rou")
global.fc = 18;
if (_speaker == "burgerpants" || _speaker == "bur")
global.fc = 19;
if (_speaker == "spamton")
{
if (global.fighting == 0)
global.typer = 66;
else
global.typer = 68;
}
if (_speaker == "sneo")
global.typer = 67;
if (_speaker == "tenna")
{
global.typer = 80;
if (global.fighting == 1)
global.typer = 81;
}
if (_speaker == "susie" || _speaker == "sus")
{
global.fc = 1;
global.typer = 10;
if (global.darkzone == 1)
{
global.typer = 30;
if (global.fighting == 1)
global.typer = 47;
}
}
if (_speaker == "ralsei" || _speaker == "ral")
{
global.fc = 2;
global.typer = 31;
if (global.fighting == 1)
global.typer = 45;
if (global.flag[30 ralsei_hat_state] == 1)
global.typer = 6;
}
if (_speaker == "noelle" || _speaker == "noe")
{
global.fc = 3;
if (global.darkzone == 0)
global.typer = 12;
else
global.typer = 56;
if (global.fighting == 1)
global.typer = 59;
}
if (_speaker == "toriel" || _speaker == "tor")
{
global.fc = 4;
global.typer = 7;
}
if (_speaker == "asgore" || _speaker == "asg")
{
global.fc = 10;
global.typer = 18;
}
if (_speaker == "king" || _speaker == "kin")
{
global.fc = 20;
global.typer = 33;
... ("no_name");
|
|
215
|
msgsetloc(0, * (RALSEI RANCHER is now locked for your CASTLE TOWN. Again.)Wait for inputClose Message"* (RALSEI RANCHER is now locked for your CASTLE TOWN. Again.)/%", "obj_room_teevie_cowboy_after_02_slash_Step_0_gml_282_0" );
|
|
216
|
d_make();
|
|
217
|
}
|
|
218
|
if (con == 42 && !d_ex())
|
|
219
|
{
|
|
220
|
con = -1;
|
|
221
|
global.interact = 0;
|
|
222
|
global.facing = 0;
|
|
223
|
with (obj_mainchara)
|
|
224
|
{
|
|
225
|
cutscene = 0;
|
|
226
|
fun = 0;
|
|
227
|
sprite_index = dsprite;
|
|
228
|
}
|
|
229
|
with (obj_caterpillarchara)
|
|
230
|
{
|
|
231
|
cutscene = 0;
|
|
232
|
fun = 0;
|
|
233
|
sprite_index = rsprite;
|
|
234
|
}
|
|
235
|
}
|