|
1
|
if (con == 0)
|
|
2
|
{
|
|
3
|
image_xscale = lerp(image_xscale, 2, 0.15);
|
|
4
|
image_yscale = lerp(image_yscale, 2, 0.15);
|
|
5
|
image_alpha = lerp(image_alpha, 1, 0.15);
|
|
6
|
if (image_alpha >= 0.9)
|
|
7
|
{
|
|
8
|
if (i_ex(obj_actor))
|
|
9
|
{
|
|
10
|
with (obj_actor)
|
|
11
|
image_alpha = lerp(image_alpha, 0, 0.5);
|
|
12
|
}
|
|
13
|
}
|
|
14
|
if (image_alpha >= 0.95)
|
|
15
|
{
|
|
16
|
con = 1;
|
|
17
|
image_alpha = 1;
|
|
18
|
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 == "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;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("berdly");
|
|
19
|
msgsetloc(0, Face J* With a splendid base...Wait for inputClose Message"\\EJ* With a splendid base.../%", "obj_ch2_scene26_powers_combined_slash_Step_0_gml_16_0" );
|
|
20
|
var d = d_make();
|
|
21
|
d.side = 1;
|
|
22
|
}
|
|
23
|
}
|
|
24
|
if (con == 1 && !d_ex())
|
|
25
|
{
|
|
26
|
color_lerp = round(lerp(color_lerp, 1, 0.15) * 100) / 100;
|
|
27
|
image_blend = merge_color(c_white, c_black, color_lerp);
|
|
28
|
if (color_lerp >= 0.95)
|
|
29
|
{
|
|
30
|
con = 2;
|
|
31
|
image_blend = c_black;
|
|
32
|
}
|
|
33
|
}
|
|
34
|
if (con == 2)
|
|
35
|
{
|
|
36
|
if (current_index > -1)
|
|
37
|
{
|
|
38
|
if (recruit_con == 0)
|
|
39
|
{
|
|
40
|
recruit_con = 1;
|
|
41
|
if (!is_undefined(ds_map_find_value(recruit_dialog_map, array_get(recruit, current_index))))
|
|
42
|
{
|
|
43
|
var dialog = ds_map_find_value(recruit_dialog_map, array_get(recruit, current_index));
|
|
44
|
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 == "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;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("no_name");
|
|
45
|
msgset(0, dialog);
|
|
46
|
var d = d_make();
|
|
47
|
d.side = 1;
|
|
48
|
}
|
|
49
|
else
|
|
50
|
{
|
|
51
|
}
|
|
52
|
}
|
|
53
|
if (recruit_con == 1 && !d_ex())
|
|
54
|
{
|
|
55
|
recruit_con = 2;
|
|
56
|
current_sprite = 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;
} (x + (current_side * 80), y, ds_map_find_value(recruit_sprite_map, array_get(recruit, current_index)));
|
|
57
|
current_sprite.depth = depth - 100;
|
|
58
|
if (current_side == -1)
|
|
59
|
current_sprite.image_xscale = -3;
|
|
60
|
else
|
|
61
|
current_sprite.image_xscale = 3;
|
|
62
|
current_sprite.image_yscale = 3;
|
|
63
|
current_sprite.image_alpha = 0;
|
|
64
|
}
|
|
65
|
if (recruit_con == 2)
|
|
66
|
{
|
|
67
|
if (current_side == -1)
|
|
68
|
current_sprite.image_xscale = lerp(current_sprite.image_xscale, -2, 0.15);
|
|
69
|
else
|
|
70
|
current_sprite.image_xscale = lerp(current_sprite.image_xscale, 2, 0.15);
|
|
71
|
current_sprite.image_yscale = lerp(current_sprite.image_yscale, 2, 0.15);
|
|
72
|
current_sprite.image_alpha = lerp(current_sprite.image_alpha, 1, 0.15);
|
|
73
|
current_sprite.x = lerp(x + (current_side * 80), x + (current_side * 20), current_sprite.image_alpha);
|
|
74
|
if (current_sprite.image_alpha >= 0.95)
|
|
75
|
{
|
|
76
|
recruit_con = 3;
|
|
77
|
color_lerp = 0;
|
|
78
|
current_sprite.image_alpha = 1;
|
|
79
|
start_color = c_black;
|
|
80
|
end_color = c_white;
|
|
81
|
fade_in_out = true;
|
|
82
|
}
|
|
83
|
}
|
|
84
|
if (recruit_con == 3)
|
|
85
|
{
|
|
86
|
color_lerp = round(lerp(color_lerp, 1, 0.35) * 100) / 100;
|
|
87
|
current_sprite.x = lerp(x + (current_side * 20), x, color_lerp);
|
|
88
|
if (current_side == -1)
|
|
89
|
current_sprite.image_xscale = lerp(-2, -1, color_lerp);
|
|
90
|
else
|
|
91
|
current_sprite.image_xscale = lerp(2, 1, color_lerp);
|
|
92
|
current_sprite.image_yscale = lerp(2, 1, color_lerp);
|
|
93
|
current_sprite.image_blend = merge_color(c_white, c_black, color_lerp);
|
|
94
|
if (color_lerp >= 0.95)
|
|
95
|
{
|
|
96
|
recruit_con = 4;
|
|
97
|
color_lerp = 0;
|
|
98
|
current_sprite.image_blend = c_black;
|
|
99
|
start_color = c_white;
|
|
100
|
end_color = c_black;
|
|
101
|
}
|
|
102
|
}
|
|
103
|
if (recruit_con == 4)
|
|
104
|
{
|
|
105
|
color_lerp = round(lerp(color_lerp, 1, 0.35) * 100) / 100;
|
|
106
|
if (color_lerp >= 0.95)
|
|
107
|
{
|
|
108
|
fade_in_out = false;
|
|
109
|
recruit_con = 5;
|
|
110
|
color_lerp = 0;
|
|
111
|
image_blend = c_black;
|
|
112
|
instance_destroy(current_sprite);
|
|
113
|
current_index++;
|
|
114
|
orb_count++;
|
|
115
|
spin_speed += 0.5;
|
|
116
|
orb_ease = 0;
|
|
117
|
if (current_index >= array_length_1d(recruit))
|
|
118
|
{
|
|
119
|
current_index = -1;
|
|
120
|
current_side = 0;
|
|
121
|
}
|
|
122
|
else
|
|
123
|
{
|
|
124
|
recruit_con = 0;
|
|
125
|
current_side *= -1;
|
|
126
|
}
|
|
127
|
}
|
|
128
|
}
|
|
129
|
}
|
|
130
|
else
|
|
131
|
{
|
|
132
|
con = 3;
|
|
133
|
}
|
|
134
|
}
|
|
135
|
if (con == 3 && !d_ex())
|
|
136
|
{
|
|
137
|
if (thrash_con == 0)
|
|
138
|
{
|
|
139
|
thrash_con = 1;
|
|
140
|
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 == "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;
if (global.chapter == 1)
{
if (global.plot < 235)
global.typer = 36;
}
if (global.fighting == 1)
... ("rouxls");
|
|
141
|
msgsetloc(0, * And....Delay 11 mosteth of all...Wait for input"* And...^1. mosteth of all.../", "obj_ch2_scene26_powers_combined_old_slash_Step_0_gml_167_0" );
|
|
142
|
msgnextloc(Face 6* Whatevereth this thingeth is!!!Wait for inputClose Message"\\E6* Whatevereth this thingeth is!!!/%", "obj_ch2_scene26_powers_combined_slash_Step_0_gml_160_0" );
|
|
143
|
var d = d_make();
|
|
144
|
d.side = 1;
|
|
145
|
}
|
|
146
|
if (thrash_con == 1 && !d_ex())
|
|
147
|
{
|
|
148
|
if (thrash == -4)
|
|
149
|
{
|
|
150
|
thrash = instance_create(camerax() + 320, cameray() + 220, obj_thrashmachine);
|
|
151
|
thrash.s = 6;
|
|
152
|
thrash.drawfeet = 0;
|
|
153
|
thrash.animate = 0;
|
|
154
|
thrash.depth = 150;
|
|
155
|
thrash.override_color = c_black;
|
|
156
|
thrash.glow = 0;
|
|
157
|
}
|
|
158
|
thrash.s = round(lerp(thrash.s, 3, 0.1) * 100) / 100;
|
|
159
|
if (thrash.s <= 3.25)
|
|
160
|
{
|
|
161
|
thrash.s = 3;
|
|
162
|
orb_con = 1;
|
|
163
|
thrash_con = 2;
|
|
164
|
color_lerp = 0;
|
|
165
|
fade_in_out = true;
|
|
166
|
start_color = c_black;
|
|
167
|
end_color = c_white;
|
|
168
|
}
|
|
169
|
}
|
|
170
|
if (thrash_con == 2)
|
|
171
|
{
|
|
172
|
thrash.glow = lerp(thrash.glow, 1, 0.35);
|
|
173
|
color_lerp = round(lerp(color_lerp, 1, 0.35) * 100) / 100;
|
|
174
|
if (color_lerp >= 0.95)
|
|
175
|
{
|
|
176
|
thrash.glow = 1;
|
|
177
|
color_lerp = 1;
|
|
178
|
thrash_con = 3;
|
|
179
|
image_blend = c_white;
|
|
180
|
var d = scr_following_afterimagescr_following_afterimage
function scr_following_afterimage()
{
var __source = (argument_count == 2) ? argument[1] : self;
afterimage = instance_create(__source.x, __source.y, argument[0]);
afterimage.parent = __source;
afterimage.sprite_index = __source.sprite_index;
afterimage.image_index = __source.image_index;
afterimage.image_blend = __source.image_blend;
afterimage.image_speed = 0;
afterimage.depth = __source.depth;
afterimage.image_xscale = __source.image_xscale;
afterimage.image_yscale = __source.image_yscale;
afterimage.image_angle = __source.image_angle;
return afterimage;
} (obj_power_up_fx, id);
|
|
181
|
d.depth -= 1;
|
|
182
|
d.pivotx = 40;
|
|
183
|
d.pivoty = 10;
|
|
184
|
alarm[0] = 120; gml_Object_obj_ch2_scene26_powers_combined_old_Alarm_0.gml
con++;
|
|
185
|
}
|
|
186
|
}
|
|
187
|
}
|
|
188
|
if (con == 4)
|
|
189
|
{
|
|
190
|
con = 99;
|
|
191
|
if (i_ex(obj_ch2_scene26))
|
|
192
|
{
|
|
193
|
with (obj_ch2_scene26)
|
|
194
|
con = 15;
|
|
195
|
}
|
|
196
|
}
|