Deltarune (Chapter 3) script viewer

← back to main script listing

gml_GlobalScript_scr_parallel_convo

(view raw script w/o annotations or w/e)
1
function scr_get_parallel_convo(arg0)
2
{
3
    var convo_index = arg0;
4
    var convo = 0;
5
    if (convo_index == 0)
6
        convo = [new scr_parallel_convo_line("susie", stringsetloc(
Face 0* Anyway,Delay 11 so I've been thinking...Wait for inputClose Message
"\\E0* Anyway^1, so I've been thinking.../%", "scr_parallel_convo_slash_scr_parallel_convo_gml_13_0"
)), new scr_parallel_convo_line("susie", stringsetloc(
Face A* About some of those movies last night.Wait for inputClose Message
"\\EA* About some of those movies last night./%", "scr_parallel_convo_slash_scr_parallel_convo_gml_14_0"
)), new scr_parallel_convo_line("susie", stringsetloc(
Face 2* Think YOU could survive BLOOD CRUSHERS 2, Ralsei?Wait for inputClose Message
"\\E2* Think YOU could survive BLOOD CRUSHERS 2, Ralsei?/%", "scr_parallel_convo_slash_scr_parallel_convo_gml_15_0"
)), new scr_parallel_convo_line("ralsei", stringsetloc(
Face Q* Haha,Delay 11 umm,Delay 11 I don't know,Delay 11 I've never seen a movie...!Wait for inputClose Message
"\\EQ* Haha^1, umm^1, I don't know^1, I've never seen a movie...!/%", "scr_parallel_convo_slash_scr_parallel_convo_gml_16_0"
)), new scr_parallel_convo_line("susie", stringsetloc(
Face L* Heh,Delay 11 really?Wait for inputClose Message
"\\EL* Heh^1, really?/%", "scr_parallel_convo_slash_scr_parallel_convo_gml_17_0"
))];
7
    if (convo_index == 1)
8
        convo = [new scr_parallel_convo_line("susie", stringsetloc(
Face 2* Would you want to?Wait for inputClose Message
"\\E2* Would you want to?/%", "scr_parallel_convo_slash_scr_parallel_convo_gml_26_0"
)), new scr_parallel_convo_line("ralsei", stringsetloc(
Face L* H...Delay 11 huh?Wait for inputClose Message
"\\EL* H..^1. huh?/%", "scr_parallel_convo_slash_scr_parallel_convo_gml_27_0"
)), new scr_parallel_convo_line("susie", stringsetloc(
Face A* Y'know.Delay 11 Come watch next time.Delay 11 Movies.Wait for inputClose Message
"\\EA* Y'know^1. Come watch next time^1. Movies./%", "scr_parallel_convo_slash_scr_parallel_convo_gml_28_0"
)), new scr_parallel_convo_line("ralsei", stringsetloc(
Face Q* Oh...!Delay 11 That would...Delay 11 be nice,Delay 11 wouldn't it?Wait for inputClose Message
"\\EQ* Oh...^1! That would..^1. be nice^1, wouldn't it?/%", "scr_parallel_convo_slash_scr_parallel_convo_gml_29_0"
))];
9
    if (convo_index == 2)
10
        convo = [new scr_parallel_convo_line("susie", stringsetloc(
Face A* ...Delay 11 and then,Delay 11 like...Wait for inputClose Message
"\\EA* ..^1. and then^1, like.../%", "scr_parallel_convo_slash_scr_parallel_convo_gml_38_0"
)), new scr_parallel_convo_line("susie", stringsetloc(
Face L* It doesn't have to just be movies,Delay 11 y'know?Wait for inputClose Message
"\\EL* It doesn't have to just be movies^1, y'know?/%", "scr_parallel_convo_slash_scr_parallel_convo_gml_39_0"
)), new scr_parallel_convo_line("susie", stringsetloc(
Face N* You could even...Delay 11 like,Delay 11 go to school with us.Wait for inputClose Message
"\\EN* You could even..^1. like^1, go to school with us./%", "scr_parallel_convo_slash_scr_parallel_convo_gml_40_0"
)), new scr_parallel_convo_line("susie", stringsetloc(
Face 9* Then we could get him to do our homework,Delay 11 right,Delay 11 Kris?Wait for inputClose Message
"\\E9* Then we could get him to do our homework^1, right^1, Kris?/%", "scr_parallel_convo_slash_scr_parallel_convo_gml_41_0"
)), new scr_parallel_convo_line("ralsei", stringsetloc(
Face I* I...Wait for inputClose Message
"\\EI* I.../%", "scr_parallel_convo_slash_scr_parallel_convo_gml_42_0"
)), new scr_parallel_convo_line("ralsei", stringsetloc(
Face Q* I'd...Delay 11 love to do your homework,Delay 11 Susie...Wait for inputClose Message
"\\EQ* I'd..^1. love to do your homework^1, Susie.../%", "scr_parallel_convo_slash_scr_parallel_convo_gml_43_0"
))];
11
    if (convo_index == 3)
12
        convo = [new scr_parallel_convo_line("susie", stringsetloc(
Face 2* And then,Delay 11 like.Wait for inputClose Message
"\\E2* And then^1, like./%", "scr_parallel_convo_slash_scr_parallel_convo_gml_52_0"
)), new scr_parallel_convo_line("susie", stringsetloc(
Face A* Best idea for last.Wait for inputClose Message
"\\EA* Best idea for last./%", "scr_parallel_convo_slash_scr_parallel_convo_gml_53_0"
)), new scr_parallel_convo_line("susie", stringsetloc(
Face N* So there's this...Delay 11 Festival in a few days,Delay 11 right?Wait for inputClose Message
"\\EN* So there's this..^1. Festival in a few days^1, right?/%", "scr_parallel_convo_slash_scr_parallel_convo_gml_54_0"
)), new scr_parallel_convo_line("susie", stringsetloc(
Face Q* And,Delay 11 heh,Delay 11 maybe it's stupid,Delay 11 but...Wait for inputClose Message
"\\EQ* And^1, heh^1, maybe it's stupid^1, but.../%", "scr_parallel_convo_slash_scr_parallel_convo_gml_55_0"
)), new scr_parallel_convo_line("susie", stringsetloc(
Face T* Wouldn't it be kinda...Delay 11 fun? If we all went?Wait for inputClose Message
"\\ET* Wouldn't it be kinda..^1. fun? If we all went?/%", "scr_parallel_convo_slash_scr_parallel_convo_gml_56_0"
))];
13
    if (convo_index == 4)
14
        convo = [new scr_parallel_convo_line("susie", stringsetloc(
Face K* Um,Delay 11 by all,Delay 11 I mean Ralsei too,Delay 11 obviously?Wait for inputClose Message
"\\EK* Um^1, by all^1, I mean Ralsei too^1, obviously?/%", "scr_parallel_convo_slash_scr_parallel_convo_gml_65_0"
)), new scr_parallel_convo_line("ralsei", stringsetloc(
Face Q* Susie,Delay 11 I...Delay 11 Um,Delay 11 I'd...Wait for inputClose Message
"\\EQ* Susie^1, I..^1. Um^1, I'd.../%", "scr_parallel_convo_slash_scr_parallel_convo_gml_66_0"
)), new scr_parallel_convo_line("ralsei", stringsetloc(
Face Q* I'd like nothing more!Wait for inputClose Message
"\\EQ* I'd like nothing more!/%", "scr_parallel_convo_slash_scr_parallel_convo_gml_67_0"
))];
15
    if (convo_index == 5)
16
        convo = [new scr_parallel_convo_line("ralsei", stringsetloc(
Face 5* I'd like nothing more than to go,Delay 11 Susie...Wait for inputClose Message
"\\E5* I'd like nothing more than to go^1, Susie.../%", "scr_parallel_convo_slash_scr_parallel_convo_gml_76_0"
)), new scr_parallel_convo_line("ralsei", stringsetloc(
Face 4* But...Delay 11 I...Wait for inputClose Message
"\\E4* But..^1. I.../%", "scr_parallel_convo_slash_scr_parallel_convo_gml_77_0"
)), new scr_parallel_convo_line("susie", stringsetloc(
Face 6* But you...Delay 11 what?Wait for inputClose Message
"\\E6* But you..^1. what?/%", "scr_parallel_convo_slash_scr_parallel_convo_gml_78_0"
))];
17
    return convo;
18
}
19
20
function scr_parallel_convo_line(arg0, arg1) constructor
21
{
22
    speaker = arg0;
23
    dialogue = arg1;
24
}
25
26
function scr_parallel_convo_get_side()
27
{
28
    var side = 0;
29
    if (room == room_dw_couch_overworld_02)
30
    {
31
        if (obj_mainchara.y >= 670)
32
            side = 1;
33
        if (obj_mainchara.y >= 830)
34
            side = 0;
35
        if (obj_mainchara.y >= 1500)
36
            side = 1;
37
        if (obj_mainchara.y >= 2070)
38
            side = 0;
39
        if (obj_mainchara.y >= 2300)
40
            side = 1;
41
    }
42
    if (room == room_dw_couch_overworld_03)
43
    {
44
        if (obj_mainchara.y >= 300)
45
            side = 0;
46
        if (obj_mainchara.y >= 740)
47
            side = 0;
48
        if (obj_mainchara.y >= 1040)
49
            side = 1;
50
    }
51
    if (room == room_dw_couch_overworld_04)
52
    {
53
        side = 1;
54
        if (obj_mainchara.y >= 4850)
55
            side = 0;
56
    }
57
    if (room == room_dw_couch_overworld_05)
58
    {
59
        side = 1;
60
        if (obj_mainchara.y >= 800)
61
            side = 0;
62
    }
63
    if (obj_mainchara.sliding == 1)
64
        side = 1;
65
    return side;
66
}