Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_b2s_swordmanager_Create_0

(view raw script w/o annotations or w/e)
1
image_alpha = 0;
2
active = false;
3
init = 0;
4
con = 0;
5
timer = 0;
6
kris = 0;
7
depth = 0;
8
if (
scr_debug
scr_debug

function
scr_debug()
{ if (global.debug == 1) return 1; }
())
9
{
10
    if (keyboard_check(ord("H")))
11
        global.swordboardeath = 1;
12
}
13
if (global.flag[1007 swordroute_evict] == 0 && global.swordboardeath == 0)
14
{
15
    transition = instance_create(x, y, obj_board_squaretransition);
16
    transition.depth = 100001;
17
    transition.special = "heart";
18
    obj_gameshow_swordroute.screencolor = c_black;
19
}
20
else
21
{
22
    con = 10;
23
}
24
scon = 0;
25
cskip = 0;