Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_swordroute_consolestarter_Create_0

(view raw script w/o annotations or w/e)
1
audio_stop_all();
2
standalone = 0;
3
ver = 0;
4
if (global.flag[1007 swordroute_evict] == 0 && room != room_board_gsa02_b0)
5
{
6
    global.facing = 3;
7
    obj_mainchara.x = 576;
8
}
9
else
10
{
11
    global.flag[1007 swordroute_evict] = 0;
12
    global.facing = 0;
13
    global.swordscreencolor = c_black;
14
}
15
shinetimer = 0;
16
image_speed = 0;
17
depth = 99980;
18
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
();
19
buff = 0;
20
con = 0;
21
kris = 1185;
22
walktime = 999;
23
draw_blue = false;
24
draw_static = false;
25
statictimer = 0;
26
drawlogo = false;
27
controllerprompt = false;
28
controllertext = stringsetloc(
NO CONTROLLER
"NO CONTROLLER", "obj_swordroute_consolestarter_slash_Create_0_gml_42_0"
);
29
with (obj_mainchara_board)
30
{
31
    canfreemove = false;
32
    facing = 2;
33
    visible = false;
34
}
35
draw_green = false;
36
boxy = 0;
37
draw_green_intro = false;
38
screenlerp = false;
39
drawboxcolor = false;
40
drawcolor = c_black;
41
startimer = 0;
42
starindex = 0;
43
draw_stars = 0;
44
logoalpha = 0;
45
logocolor = 16777215;
46
bar1 = 0;
47
bar2 = 0;
48
specialskip = 0;
49
draw_heart = false;
50
roomtogoto = 136;
51
if (global.plot >= 130)
52
{
53
    roomtogoto = 148;
54
    if (global.flag[1055 sword_route_progress] == 1.5)
55
        roomtogoto = 115;
56
}
57
if (global.plot >= 180)
58
{
59
    roomtogoto = 186;
60
    if (global.flag[1055 sword_route_progress] == 4)
61
    {
62
        roomtogoto = 116;
63
        global.tempflag[52] = 1;
64
    }
65
    if (global.flag[1055 sword_route_progress] == 5)
66
    {
67
        roomtogoto = 134;
68
        global.tempflag[52] = 1;
69
        specialskip = 1;
70
    }
71
}
72
createstars = 0;
73
if (global.swordboardeath == 1)
74
    specialskip = 1;
75
if (global.flag[1103 ice_key_fail] == 1)
76
    con = 99999;