1 |
if (obj_mainchara.y < y && con == -1) |
2 |
{ |
3 |
global.interact = 1; |
4 |
global.facing = 2; |
5 |
con = 1; |
6 |
} |
7 |
if (con == 1) |
8 |
{ |
9 |
con = 2; |
10 |
alarm[0] = 30; |
11 |
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;
} (); |
12 |
with (obj_mainchara) |
13 |
visible = 0; |
14 |
with (obj_caterpillarchara) |
15 |
visible = 0; |
16 |
kr = 0; |
17 |
kr_actor = instance_create(300, 500, obj_actor); |
18 |
scr_actor_setupscr_actor_setupfunction scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (kr, kr_actor, "kris"); |
19 |
kr_actor.sprite_index = spr_krisu_dark; |
20 |
su = 1; |
21 |
su_actor = instance_create(kr_actor.x - 8, kr_actor.y + 50, obj_actor); |
22 |
scr_actor_setupscr_actor_setupfunction scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (su, su_actor, "susie"); |
23 |
su_actor.sprite_index = spr_susie_walk_up_dw; |
24 |
ra = 2; |
25 |
ra_actor = instance_create(kr_actor.x - 4, su_actor.y + 50, obj_actor); |
26 |
scr_actor_setupscr_actor_setupfunction scr_actor_setup(arg0, arg1, arg2)
{
_actorid = arg0;
_actorinstance = arg1;
_actorname = arg2;
obj_cutscene_master.actor_id[_actorid] = _actorinstance;
obj_cutscene_master.actor_name[_actorid] = _actorname;
with (_actorinstance)
{
number = arg0;
scr_set_facing_sprites(arg2);
}
} (ra, ra_actor, "ralsei"); |
27 |
ra_actor.sprite_index = spr_ralsei_walk_up; |
28 |
c_sel(kr); |
29 |
c_walk("u", 5, 36); |
30 |
c_delaywalk(37, "r", 5, 12); |
31 |
c_delayfacing(50, "u"); |
32 |
c_sel(su); |
33 |
c_walk("u", 5, 60); |
34 |
c_delaywalk(51, "l", 5, 12); |
35 |
c_delayfacing(63, "u"); |
36 |
c_sel(ra); |
37 |
c_walk("u", 5, 80); |
38 |
c_delayfacing(81, "d"); |
39 |
c_wait(82); |
40 |
c_speaker("ralsei"); |
41 |
c_msgsetloc(0, Face 2* And Susie,Delay 11 this is your room!Wait for input"\\E2* And Susie^1, this is your room!/", "obj_ch2_room_castle_susie_slash_Step_0_gml_49_0" ); |
42 |
c_msgnextloc(Face 1* Umm,Delay 11 I tried to make it something you'd like,Delay 11 but...Wait for input"\\E1* Umm^1, I tried to make it something you'd like^1, but.../", "obj_ch2_room_castle_susie_slash_Step_0_gml_50_0" ); |
43 |
c_msgnextloc(Face 2* You can put anything else you want in here,Delay 11 too!Wait for input"\\E2* You can put anything else you want in here^1, too!/", "obj_ch2_room_castle_susie_slash_Step_0_gml_51_0" ); |
44 |
c_msgnextloc(Face H* I really hope you like it!Wait for inputClose Message"\\EH* I really hope you like it!/%", "obj_ch2_room_castle_susie_slash_Step_0_gml_52_0" ); |
45 |
c_talk_wait(); |
46 |
c_wait(15); |
47 |
c_sel(su); |
48 |
c_walk_wait("u", 5, 24); |
49 |
c_facing("susieunhappy"); |
50 |
c_facing("l"); |
51 |
c_wait(20); |
52 |
c_facing("u"); |
53 |
c_wait(20); |
54 |
c_walk_wait("r", 5, 32); |
55 |
c_facing("u"); |
56 |
c_sel(ra); |
57 |
c_facing("r"); |
58 |
c_wait(30); |
59 |
c_speaker("susie"); |
60 |
c_msgsetloc(0, Face 0* ...Wait for input"\\E0* .../", "obj_ch2_room_castle_susie_slash_Step_0_gml_74_0" ); |
61 |
c_msgnextloc(Face D* ...Delay 11 My own room,Delay 11 huh.Wait for inputClose Message"\\ED* ..^1. My own room^1, huh./%", "obj_ch2_room_castle_susie_slash_Step_0_gml_75_0" ); |
62 |
c_talk_wait(); |
63 |
c_sel(su); |
64 |
c_facing("r"); |
65 |
c_wait(30); |
66 |
c_speaker("susie"); |
67 |
c_msgsetloc(0, Face A* I...Delay 11 guess that's pretty cool?Wait for input"\\EA* I..^1. guess that's pretty cool?/", "obj_ch2_room_castle_susie_slash_Step_0_gml_82_0" ); |
68 |
c_msgnextloc(Face A* My own room...Delay 11 like this.Wait for inputClose Message"\\EA* My own room..^1. like this./%", "obj_ch2_room_castle_susie_slash_Step_0_gml_83_0" ); |
69 |
c_talk_wait(); |
70 |
c_facing("u"); |
71 |
c_wait(30); |
72 |
c_facing("l"); |
73 |
c_speaker("susie"); |
74 |
c_msgsetloc(0, Face K* ...Delay 11 how long did it,Delay 11 uh,Delay 11 take you to do this?Wait for inputClose Message"\\EK* ..^1. how long did it^1, uh^1, take you to do this?/%", "obj_ch2_room_castle_susie_slash_Step_0_gml_89_0" ); |
75 |
c_talk_wait(); |
76 |
c_sel(ra); |
77 |
c_facing("d"); |
78 |
c_speaker("ralsei"); |
79 |
c_msgsetloc(0, Face 1* Well,Delay 11 er,Delay 11 since I last saw you two,Delay 11 I...Wait for inputClose Message"\\E1* Well^1, er^1, since I last saw you two^1, I.../%", "obj_ch2_room_castle_susie_slash_Step_0_gml_95_0" ); |
80 |
c_talk_wait(); |
81 |
c_sel(su); |
82 |
c_walkdirect_wait(325, 198, 10); |
83 |
c_autowalk(0); |
84 |
c_sprite(spr_susie_playful_punch_dw); |
85 |
c_imageindex(0); |
86 |
c_imagespeed(0); |
87 |
c_wait(10); |
88 |
c_imageindex(1); |
89 |
c_sel(ra); |
90 |
c_shakeobj(); |
91 |
c_soundplay(snd_impact); |
92 |
c_wait(15); |
93 |
c_sel(su); |
94 |
c_sprite(spr_susie_walk_right_dw); |
95 |
c_imageindex(0); |
96 |
c_autowalk(1); |
97 |
c_walk_wait("r", 3, 8); |
98 |
c_facing("u"); |
99 |
c_facing("susie"); |
100 |
c_speaker("susie"); |
101 |
c_msgsetloc(0, Face 2* Man,Delay 11 you're a real weenie,Delay 11 y'know that?Wait for input"\\E2* Man^1, you're a real weenie^1, y'know that?/", "obj_ch2_room_castle_susie_slash_Step_0_gml_125_0" ); |
102 |
c_msgnextloc(Face 9* Heheheh...Wait for inputClose Message"\\E9* Heheheh.../%", "obj_ch2_room_castle_susie_slash_Step_0_gml_126_0" ); |
103 |
c_talk_wait(); |
104 |
c_actortokris(); |
105 |
c_actortocaterpillar(); |
106 |
c_terminatekillactors(); |
107 |
} |
108 |
if (con == 3 && !i_ex(obj_cutscene_master)) |
109 |
{ |
110 |
con = 4; |
111 |
scr_speakerscr_speakerfunction 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)
... ("ralsei"); |
112 |
msgsetloc(0, Face 2* (I think she likes it,Delay 11 Kris!)Wait for input"\\E2* (I think she likes it^1, Kris!)/", "obj_ch2_room_castle_susie_slash_Step_0_gml_139_0" ); |
113 |
scr_anyface_next("susie", "2"); |
114 |
msgnextloc(Face 2* (Haha,Delay 11 jealous I got the COOL room? LOOK,Delay 11 Kris!)Wait for inputClose Message"\\E2* (Haha^1, jealous I got the COOL room? LOOK^1, Kris!)/%", "obj_ch2_room_castle_susie_slash_Step_0_gml_141_0" ); |
115 |
d_make(); |
116 |
} |
117 |
if (con == 4 && !d_ex()) |
118 |
{ |
119 |
global.plot = 15; |
120 |
global.facing = 0; |
121 |
global.interact = 0; |
122 |
con = -1; |
123 |
instance_destroy(); |
124 |
} |