|
1
|
con = -1;
|
|
2
|
customcon = 0;
|
|
3
|
wind_sound = -4;
|
|
4
|
if (global.plot < 300)
|
|
5
|
{
|
|
6
|
wind_sound = snd_loop(snd_strongwind_loop);
|
|
7
|
snd_volume(wind_sound, 0, 0);
|
|
8
|
mus_fade(global.currentsong[1], 30);
|
|
9
|
}
|
|
10
|
else
|
|
11
|
{
|
|
12
|
scr_musicerscr_musicer
function scr_musicer(arg0 = "dogcheck.ogg", arg1 = 0.7, arg2 = 1, arg3 = 0, arg4 = -1)
{
var musicer = instance_create_depth(0, 0, 0, obj_musicer_gen);
musicer.song = arg0;
musicer.volume = arg1;
musicer.pitch = arg2;
musicer.delay = arg3;
musicer.fadein = arg4;
return musicer;
} ("cliff_jump_ambience.ogg");
|
|
13
|
with (obj_doorAny)
|
|
14
|
{
|
|
15
|
if (doorEntrance == 3)
|
|
16
|
x += 640;
|
|
17
|
}
|
|
18
|
with (instance_create(0, 0, obj_camera_clamper))
|
|
19
|
{
|
|
20
|
xmin = 680;
|
|
21
|
image_xscale = 100;
|
|
22
|
image_yscale = 100;
|
|
23
|
}
|
|
24
|
}
|
|
25
|
if (global.plot < 300)
|
|
26
|
{
|
|
27
|
con = 0;
|
|
28
|
blackall = scr_markerscr_marker
function 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_whitepixel);
|
|
29
|
blackall.depth = -9999;
|
|
30
|
blackall.image_xscale = room_width;
|
|
31
|
blackall.image_yscale = room_height;
|
|
32
|
blackall.image_blend = c_black;
|
|
33
|
aspos = findspriteinfo(spr_asgore_walk_down_dw, "DEBUG_ASSETS");
|
|
34
|
hugpos = findspriteinfo(spr_asgore_flowery_hug, "DEBUG_ASSETS");
|
|
35
|
flpos = findspriteinfo(spr_flowery_walk_downleft, "DEBUG_ASSETS");
|
|
36
|
krpos = findspriteinfo(spr_debug_krmarker, "DEBUG_ASSETS");
|
|
37
|
rapos = findspriteinfo(spr_debug_ramarker, "DEBUG_ASSETS");
|
|
38
|
supos = findspriteinfo(spr_debug_sumarker, "DEBUG_ASSETS");
|
|
39
|
yepos = findspriteinfo(spr_yellow_hat_downright, "DEBUG_ASSETS");
|
|
40
|
fallingstarpos = findspriteinfo(spr_fallingstar, "DEBUG_ASSETS");
|
|
41
|
fallingstar = 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;
} (fallingstarpos.x, fallingstarpos.y, spr_fallingstar);
|
|
42
|
fallingstar.image_speed = 0.2;
|
|
43
|
asgore_flowery_hug = 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;
} (hugpos.x, hugpos.y, spr_asgore_flowery_hug);
|
|
44
|
asgore_flowery_hug.image_index = 1;
|
|
45
|
campos_x = 120;
|
|
46
|
}
|
|
47
|
else
|
|
48
|
{
|
|
49
|
con = -99;
|
|
50
|
if (wind_sound != -4)
|
|
51
|
{
|
|
52
|
snd_volume(wind_sound, 0.15, 70);
|
|
53
|
snd_pitch(wind_sound, 0.75);
|
|
54
|
}
|
|
55
|
}
|