1 |
if (conversation == 1 && instance_exists(OBJ_WRITER) == 0) |
2 |
{ |
3 |
global.interact = 3; |
4 |
alarm[0] = 1; |
5 |
conversation = 2; |
6 |
instance_create(0, 0, obj_fader); |
7 |
} |
8 |
if (conversation == 3 && instance_exists(obj_torface)) |
9 |
conversation = 3.5; |
10 |
if (conversation == 3.5 && instance_exists(obj_torface) == 0) |
11 |
{ |
12 |
room_persistent = false; |
13 |
global.specialbattle = 0; |
14 |
obj_toroverworld1.direction = 90; |
15 |
obj_toroverworld1.speed = 2; |
16 |
alarm[3] = 15; |
17 |
conversation = 4; |
18 |
} |
19 |
if (conversation == 20 && instance_exists(OBJ_WRITER) == 0) |
20 |
{ |
21 |
mus = instance_create(0, 0, obj_musfadeout); |
22 |
global.interact = 1; |
23 |
visible = false; |
24 |
flow = 877; |
25 |
with (flow) |
26 |
visible = false; |
27 |
flow_m = scr_markerscr_markerthismarker = instance_create(argument0, argument1, obj_npc_marker);
thismarker.visible = true;
thismarker.image_speed = 0;
thismarker.sprite_index = argument2;
return thismarker; (flow.x, flow.y, spr_floweysink); |
28 |
with (flow_m) |
29 |
scr_depthscr_depthdepth = 50000 - ((y * 10) + (sprite_height * 10)); (); |
30 |
flow_m.image_speed = 0.25; |
31 |
conversation = 21; |
32 |
} |
33 |
if (conversation == 21 && instance_exists(OBJ_WRITER) == 0) |
34 |
{ |
35 |
if (flow_m.image_index >= 5) |
36 |
{ |
37 |
flow_m.visible = false; |
38 |
conversation = 21.2; |
39 |
alarm[4] = 50; |
40 |
} |
41 |
} |
42 |
if (conversation == 22.2 && instance_exists(OBJ_WRITER) == 0) |
43 |
{ |
44 |
global.plot = 1; |
45 |
with (flow_m) |
46 |
instance_destroy(); |
47 |
with (mus) |
48 |
instance_destroy(); |
49 |
caster_free(global.currentsong); |
50 |
conversation = 23; |
51 |
} |
52 |
if (conversation == 23) |
53 |
{ |
54 |
temptor = scr_markerscr_markerthismarker = instance_create(argument0, argument1, obj_npc_marker);
thismarker.visible = true;
thismarker.image_speed = 0;
thismarker.sprite_index = argument2;
return thismarker; (146, view_yview[0] - 60, spr_toriel_d); |
55 |
temptor.image_speed = 0.25; |
56 |
temptor.vspeed = 2; |
57 |
global.currentsong = caster_load("music/toriel.ogg"); |
58 |
caster_loop(global.currentsong, 0.7, 0.86); |
59 |
conversation = 24; |
60 |
} |
61 |
if (conversation == 24) |
62 |
{ |
63 |
with (temptor) |
64 |
scr_depthscr_depthdepth = 50000 - ((y * 10) + (sprite_height * 10)); (); |
65 |
if (temptor.y >= 258) |
66 |
{ |
67 |
faketor = 1; |
68 |
temptor.image_index = 0; |
69 |
temptor.speed = 0; |
70 |
temptor.image_speed = 0; |
71 |
conversation = 25; |
72 |
alarm[2] = 30;gml_Object_obj_floweytrigger_Alarm_2.gmlinstance_create(146, 260, obj_toroverworld1);
global.msc = 201;
global.typer = 4;
global.interact = 1;
global.facechoice = 1;
conversation = 3;
if (faketor == 1)
{
global.msc = 0;
global.msg[0] = \E1* Hello...Delay 11 * Are you all right?Wait for input ;
global.msg[1] = * You must be so lost and confused...Wait for input ;
global.msg[2] = \E2* Ah, do not be afraid,Delay 11 my child.Wait for input ;
global.msg[3] = \W* I am \BTORIEL\W, caretaker of the \RRUINS\W.Wait for input ;
global.msg[4] = * I pass through here every day to see if anyone has fallen down.Wait for input ;
global.msg[5] = * You are the first human to come here in a long time.Wait for input ;
global.msg[6] = * I will do my best to protect you during your time here.Wait for input ;
global.msg[7] = * Come!Delay 11 * I shall guide you through the catacombs.Wait for inputClose MessageClose Message ;
with (temptor)
instance_destroy();
}
instance_create(0, 0, obj_dialoguer); |
73 |
} |
74 |
} |