1 |
ran = 0; |
2 |
dex = 0; |
3 |
tsouth = 0; |
4 |
teast = 0; |
5 |
con = 0; |
6 |
type = 0; |
7 |
if (global.entrance == 2) |
8 |
global.facing = 0; |
9 |
if (global.plot < 2) |
10 |
{ |
11 |
global.interact = 1; |
12 |
alarm[5] = 2;gml_Object_obj_schoollobbycutscene_Alarm_5.gml__view_set(e__VW.Object, 0, -4);
__view_set(e__VW.YView, 0, __view_get(e__VW.YView, 0) - 40);
scr_pan(0, -1, 20);
enum e__VW
{
XView,
YView,
WView,
HView,
Angle,
HBorder,
VBorder,
HSpeed,
VSpeed,
Object,
Visible,
XPort,
YPort,
WPort,
HPort,
Camera,
SurfaceID
} |
13 |
with (obj_mainchara) |
14 |
visible = 0; |
15 |
t = scr_markerscr_markerfunction scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (460, 360, spr_toriel_handhold_u); |
16 |
with (t) |
17 |
{ |
18 |
vspeed = -2; |
19 |
image_speed = 0.2; |
20 |
depth = 10000; |
21 |
} |
22 |
alarm[4] = 85; |
23 |
con = 1; |
24 |
type = 1; |
25 |
} |
26 |
if (global.plot == 3) |
27 |
{ |
28 |
type = 2; |
29 |
with (obj_mainchara) |
30 |
{ |
31 |
visible = 0; |
32 |
x = obj_markerB.x; |
33 |
y = obj_markerB.y; |
34 |
} |
35 |
k = scr_markerscr_markerfunction scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (obj_mainchara.x, obj_mainchara.y, spr_krisd); |
36 |
with (k) |
37 |
scr_depth(); |
38 |
s = scr_markerscr_markerfunction scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (240, 192, spr_susier_plain); |
39 |
with (s) |
40 |
{ |
41 |
scr_depth(); |
42 |
depth -= 5; |
43 |
} |
44 |
global.interact = 1; |
45 |
with (obj_doorA) |
46 |
instance_destroy(); |
47 |
doorsolid = instance_create(110, 200, obj_solidblock); |
48 |
con = 0.1; |
49 |
alarm[4] = 50; |
50 |
} |
51 |
if (global.plot >= 250) |
52 |
{ |
53 |
sunset = scr_markerscr_markerfunction scr_marker(arg0, arg1, arg2)
{
thismarker = instance_create(arg0, arg1, obj_marker);
with (thismarker)
{
sprite_index = arg2;
image_speed = 0;
}
return thismarker;
} (0, 0, spr_schoollobby_sunsetoverlay); |
54 |
with (sunset) |
55 |
{ |
56 |
image_alpha = 0.4; |
57 |
depth = 2000; |
58 |
} |
59 |
if (!snd_is_playing(global.currentsong[1])) |
60 |
{ |
61 |
global.currentsong[0] = snd_init("mus_birdnoise.ogg"); |
62 |
global.currentsong[1] = mus_loop_ext(global.currentsong[0], 0.6, 0.7); |
63 |
} |
64 |
} |
65 |
if (global.plot >= 251) |
66 |
type = 4; |