|
1
|
if (con == 0)
|
|
2
|
{
|
|
3
|
timer++;
|
|
4
|
var starttime = 36;
|
|
5
|
if (timer == starttime)
|
|
6
|
{
|
|
7
|
global.interact = 1;
|
|
8
|
global.screenshot = sprite_create_from_surface(application_surface, 0, 0, __view_get(e__VW.WView, 0), __view_get(e__VW.HView, 0), 0, 0, 0, 0);
|
|
9
|
}
|
|
10
|
if (timer == starttime)
|
|
11
|
{
|
|
12
|
con = 1;
|
|
13
|
timer = 0;
|
|
14
|
}
|
|
15
|
}
|
|
16
|
if (con == 1)
|
|
17
|
{
|
|
18
|
timer++;
|
|
19
|
if (timer == 1)
|
|
20
|
{
|
|
21
|
drawoverlay = true;
|
|
22
|
with (obj_shadowman_enemy)
|
|
23
|
visible = false;
|
|
24
|
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;
} ("tone_saturation", 1, 0.1, 30, 2, "out");
|
|
25
|
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;
} ("tone_factor", 0, 0.5, 30, 2, "out");
|
|
26
|
}
|
|
27
|
if (timer == 2)
|
|
28
|
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;
} ("staticalpha", 0, 0.015, 15);
|
|
29
|
if (timer == 3)
|
|
30
|
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;
} ("grayalpha", 0, 0.35, 15);
|
|
31
|
if (timer == 5)
|
|
32
|
{
|
|
33
|
tenna = instance_create((camerax() + 320) - 640, cameray() + 260, obj_actor_tenna);
|
|
34
|
tenna.depth = depth - 10;
|
|
35
|
tenna.auto_depth = 0;
|
|
36
|
tenna.dropshadow = true;
|
|
37
|
tenna.preset = 1;
|
|
38
|
with (tenna)
|
|
39
|
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, 320, 40, -1, "out");
|
|
40
|
}
|
|
41
|
if (timer == 42)
|
|
42
|
{
|
|
43
|
tenna.bounce = 1;
|
|
44
|
tenna.preset = 2;
|
|
45
|
}
|
|
46
|
if (timer == 45)
|
|
47
|
{
|
|
48
|
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;
... ("tenna");
|
|
49
|
msgsetloc(0, * WELCOME TO TV TIME PRESENTS: FIGHTING!Wait for input"* WELCOME TO TV TIME PRESENTS: FIGHTING!/", "obj_board_battleintroduction_slash_Step_0_gml_56_0" );
|
|
50
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("susie", 0);
|
|
51
|
msgnextloc(* We've done this before.Wait for input"* We've done this before./", "obj_board_battleintroduction_slash_Step_0_gml_58_0" );
|
|
52
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("tenna", 0);
|
|
53
|
msgnextloc(* YOU HAVE?!Wait for input"* YOU HAVE?!/", "obj_board_battleintroduction_slash_Step_0_gml_60_0" );
|
|
54
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("ralsei", 0);
|
|
55
|
msgnextloc(* Yes,Delay 11 quite a few times.Wait for input"* Yes^1, quite a few times./", "obj_board_battleintroduction_slash_Step_0_gml_62_0" );
|
|
56
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("tenna", 0);
|
|
57
|
msgnextloc(* HOW AM I SUPPOSED TO INTRODUCE THIS THEN?Wait for input"* HOW AM I SUPPOSED TO INTRODUCE THIS THEN?/", "obj_board_battleintroduction_slash_Step_0_gml_64_0" );
|
|
58
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("susie", 0);
|
|
59
|
msgnextloc(* You don't need to.Wait for input"* You don't need to./", "obj_board_battleintroduction_slash_Step_0_gml_66_0" );
|
|
60
|
scr_anyface_nextscr_anyface_next
function scr_anyface_next(arg0, arg1)
{
global.msgno++;
scr_anyface(arg0, global.msgno, arg1);
} ("ralsei", 0);
|
|
61
|
msgnextloc(* Yep!Delay 11 We've got this. Right Kris?Wait for inputClose Message"* Yep^1! We've got this. Right Kris?/%", "obj_board_battleintroduction_slash_Step_0_gml_68_0" );
|
|
62
|
d = d_make();
|
|
63
|
d.depth = -20;
|
|
64
|
d.side = 1;
|
|
65
|
con = 1.1;
|
|
66
|
}
|
|
67
|
}
|
|
68
|
if (i_ex(d))
|
|
69
|
{
|
|
70
|
with (d)
|
|
71
|
{
|
|
72
|
if (i_ex(writer))
|
|
73
|
{
|
|
74
|
if (other.con == 1.1)
|
|
75
|
other.con = 2;
|
|
76
|
writer.depth = depth - 10;
|
|
77
|
}
|
|
78
|
}
|
|
79
|
}
|
|
80
|
if (con == 2 && d.writer.msgno == 2)
|
|
81
|
{
|
|
82
|
tenna.preset = 0;
|
|
83
|
con++;
|
|
84
|
}
|
|
85
|
if (con == 3 && d.writer.msgno == 3)
|
|
86
|
{
|
|
87
|
tenna.preset = 7;
|
|
88
|
con++;
|
|
89
|
}
|
|
90
|
if (con == 4 && d.writer.msgno == 5)
|
|
91
|
{
|
|
92
|
tenna.preset = 8;
|
|
93
|
con++;
|
|
94
|
}
|
|
95
|
if (con == 5 && d.writer.msgno == 8)
|
|
96
|
{
|
|
97
|
tenna.preset = 12;
|
|
98
|
con++;
|
|
99
|
}
|
|
100
|
if (con == 6 && d.writer.msgno == 10)
|
|
101
|
{
|
|
102
|
tenna.preset = 0;
|
|
103
|
tenna.sprite_index = spr_tenna_grasp_d;
|
|
104
|
con++;
|
|
105
|
}
|
|
106
|
if (con == 7 && d.writer.msgno == 12)
|
|
107
|
{
|
|
108
|
tenna.preset = 0;
|
|
109
|
tenna.sprite_index = spr_tenna_grasp_b;
|
|
110
|
con++;
|
|
111
|
}
|
|
112
|
if (con == 8 && !d_ex())
|
|
113
|
{
|
|
114
|
timer = 0;
|
|
115
|
con++;
|
|
116
|
}
|
|
117
|
if (con == 9)
|
|
118
|
{
|
|
119
|
timer++;
|
|
120
|
if (timer == 30)
|
|
121
|
{
|
|
122
|
tenna.preset = 1;
|
|
123
|
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;
... ("tenna");
|
|
124
|
msgsetloc(0, * Well fine,Delay 11 this is all placeholder anywho.Wait for inputClose Message"* Well fine^1, this is all placeholder anywho./%", "obj_board_battleintroduction_slash_Step_0_gml_145_0" );
|
|
125
|
d = d_make();
|
|
126
|
d.depth = -20;
|
|
127
|
d.side = 1;
|
|
128
|
timer = 0;
|
|
129
|
con++;
|
|
130
|
}
|
|
131
|
}
|
|
132
|
if (con == 10 && !d_ex())
|
|
133
|
{
|
|
134
|
timer++;
|
|
135
|
if (timer == 15)
|
|
136
|
{
|
|
137
|
tenna.presset = 0;
|
|
138
|
tenna.gravity = 1.25;
|
|
139
|
tenna.vspeed = -9;
|
|
140
|
tenna.hspeed = 12;
|
|
141
|
tenna.image_xscale = -2;
|
|
142
|
tenna.sprite_index = spr_tenna_attack;
|
|
143
|
tenna.image_speed = 0;
|
|
144
|
tenna.image_index = 0;
|
|
145
|
snd_play(snd_jump);
|
|
146
|
}
|
|
147
|
if (timer == 45)
|
|
148
|
{
|
|
149
|
with (obj_shadowman_enemy)
|
|
150
|
visible = true;
|
|
151
|
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;
} ("tone_saturation", 0.1, 1, 15, 2, "in");
|
|
152
|
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;
} ("tone_factor", 0.5, 0, 15, 2, "in");
|
|
153
|
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;
} ("staticalpha", 0.015, 0, 15);
|
|
154
|
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;
} ("grayalpha", 0.35, 0, 15);
|
|
155
|
}
|
|
156
|
if (timer == 60)
|
|
157
|
{
|
|
158
|
safe_delete(tenna);
|
|
159
|
instance_destroy();
|
|
160
|
}
|
|
161
|
}
|
|
162
|
|
|
163
|
enum e__VW
|
|
164
|
{
|
|
165
|
XView,
|
|
166
|
YView,
|
|
167
|
WView,
|
|
168
|
HView,
|
|
169
|
Angle,
|
|
170
|
HBorder,
|
|
171
|
VBorder,
|
|
172
|
HSpeed,
|
|
173
|
VSpeed,
|
|
174
|
Object,
|
|
175
|
Visible,
|
|
176
|
XPort,
|
|
177
|
YPort,
|
|
178
|
WPort,
|
|
179
|
HPort,
|
|
180
|
Camera,
|
|
181
|
SurfaceID
|
|
182
|
}
|