1 |
if (con == 0 && !d_ex()) |
2 |
{ |
3 |
con = 7; |
4 |
alarm[0] = 30; |
5 |
global.interact = 1; |
6 |
cutscene_master = scr_cutscene_makescr_cutscene_makefunction scr_cutscene_make()
{
_cutscene_master = instance_create(0, 0, obj_cutscene_master);
_cutscene_master.master_object = id;
return _cutscene_master;
} (); |
7 |
scr_maincharacters_actorsscr_maincharacters_actorsfunction scr_maincharacters_actors()
{
actor_count = 0;
kr = 0;
kr_actor = instance_create(obj_mainchara.x, obj_mainchara.y, obj_actor);
scr_actor_setup(kr, kr_actor, "kris");
kr_actor.sprite_index = obj_mainchara.sprite_index;
kr_actor.depth = obj_mainchara.depth;
with (obj_mainchara)
visible = 0;
for (__jj = 0; __jj < array_length_1d(global.cinstance); __jj++)
{
if (i_ex(global.cinstance[__jj]))
{
if (global.cinstance[__jj].name == "susie")
{
actor_count++;
su = __jj + 1;
su_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(su, su_actor, "susie");
su_actor.sprite_index = global.cinstance[__jj].sprite_index;
su_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
if (global.cinstance[__jj].name == "ralsei")
{
actor_count++;
ra = __jj + 1;
ra_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(ra, ra_actor, "ralsei");
ra_actor.sprite_index = global.cinstance[__jj].sprite_index;
ra_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
if (global.cinstance[__jj].name == "noelle")
{
actor_count++;
no = __jj + 1;
no_actor = instance_create(global.cinstance[__jj].x, global.cinstance[__jj].y, obj_actor);
scr_actor_setup(no, no_actor, "noelle");
no_actor.sprite_index = global.cinstance[__jj].sprite_index;
no_actor.depth = global.cinstance[__jj].depth;
with (global.cinstance[__jj])
visible = 0;
}
}
}
} (); |
8 |
c_speaker("susie"); |
9 |
c_msgsetloc(0, Face 7* Heck yeah,Delay 11 I didn't know there was moss here!Wait for input"\\E7* Heck yeah^1, I didn't know there was moss here!/", "obj_ch2_room_city_moss_slash_Step_0_gml_9_0" ); |
10 |
c_msgnextloc(Face A* It's totally uneaten,Delay 11 too...Wait for input"\\EA* It's totally uneaten^1, too.../", "obj_ch2_room_city_moss_slash_Step_0_gml_10_0" ); |
11 |
c_msgnextloc(Face 1* ...Delay 11 wait a sec.Wait for input"\\E1* ..^1. wait a sec./", "obj_ch2_room_city_moss_slash_Step_0_gml_11_0" ); |
12 |
c_msgnextloc(Face 0* ...Delay 11 Kris...Wait for inputClose Message"\\E0* ..^1. Kris.../%", "obj_ch2_room_city_moss_slash_Step_0_gml_12_0" ); |
13 |
c_talk_wait(); |
14 |
c_var_instance(id, "play_song", true); |
15 |
c_speaker("susie"); |
16 |
c_msgsetloc(0, Face K* Were you...Delay 11 saving this for me?Wait for input"\\EK* Were you..^1. saving this for me?/", "obj_ch2_room_city_moss_slash_Step_0_gml_28_0" ); |
17 |
c_msgnextloc(Face Q* ...Delay 11 Heh.Wait for input"\\EQ* ..^1. Heh./", "obj_ch2_room_city_moss_slash_Step_0_gml_29_0" ); |
18 |
c_msgnextloc(Face 2* Guess even you've got your good moments...Wait for inputClose Message"\\E2* Guess even you've got your good moments.../%", "obj_ch2_room_city_moss_slash_Step_0_gml_30_0" ); |
19 |
c_talk_wait(); |
20 |
c_var_instance(id, "play_power", true); |
21 |
c_speaker("no_name"); |
22 |
c_msgsetloc(0, * (You ate the moss...Delay 11 together.)Wait for inputClose Message"* (You ate the moss..^1. together.)/%", "obj_ch2_room_city_moss_slash_Step_0_gml_43_0" ); |
23 |
c_talk_wait(); |
24 |
c_var_instance(id, "play_stop", true); |
25 |
c_speaker("ralsei"); |
26 |
c_msgsetloc(0, Face X* (...Delay 11 uh?)Wait for inputClose Message"\\EX* (..^1. uh?)/%", "obj_ch2_room_city_moss_slash_Step_0_gml_56_0" ); |
27 |
c_talk_wait(); |
28 |
c_actortokris(); |
29 |
c_actortocaterpillar(); |
30 |
c_terminatekillactors(); |
31 |
} |
32 |
if (play_song) |
33 |
{ |
34 |
play_song = false; |
35 |
snd_pause(global.currentsong[1]); |
36 |
if (global.is_console) |
37 |
snd_volume(global.currentsong[1], 0, 0); |
38 |
coolsong[0] = snd_init("noelle_school.ogg"); |
39 |
coolsong[1] = mus_loop(coolsong[0]); |
40 |
} |
41 |
if (play_power) |
42 |
{ |
43 |
play_power = false; |
44 |
snd_play(snd_power); |
45 |
} |
46 |
if (play_stop) |
47 |
{ |
48 |
play_power = false; |
49 |
snd_free(coolsong[0]); |
50 |
} |
51 |
if (con == 8 && !instance_exists(obj_cutscene_master)) |
52 |
{ |
53 |
con = 99; |
54 |
if (global.is_console) |
55 |
snd_volume(global.currentsong[1], 1, 0); |
56 |
snd_resume(global.currentsong[1]); |
57 |
instance_activate_object(obj_readable_room1); |
58 |
global.interact = 0; |
59 |
global.facing = 0; |
60 |
} |
61 |
if (dumpster_con == 10 && !d_ex()) |
62 |
{ |
63 |
dumpster_con = 99; |
64 |
alarm[1] = 120; |
65 |
with (dumpster) |
66 |
scr_shakeobjscr_shakeobjfunction scr_shakeobj()
{
shakeobj = instance_create(x, y, obj_shakeobj);
shakeobj.target = id;
with (shakeobj)
event_user(0);
} (); |
67 |
} |