Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_b2bossencounterroom_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
susie = 0;
8
ralsei = 0;
9
kr_real = 0;
10
su_real = 0;
11
ra_real = 0;
12
tenna = 0;
13
suwalk = 0;
14
suwalktimer = 0;
15
visit = 0;
16
door = instance_create(x, y, obj_board_warptouch);
17
with (door)
18
{
19
    warpx = 896;
20
    warpy = 3392;
21
    playerX = 1024;
22
    playerY = 3552;
23
}
24
var displacex = -1536;
25
var displacey = 1552;
26
lefteye = 
scr_board_marker
scr_board_marker

function
scr_board_marker()
{ var _thismarker = instance_create(argument0, argument1, obj_board_marker); _thismarker.sprite_index = argument2; _thismarker.image_xscale = 2; _thismarker.image_yscale = 2; if (argument_count >= 4) _thismarker.image_speed = argument3; if (argument_count >= 5) { if (argument4 != -1) _thismarker.depth = argument4; } if (argument_count >= 6) _thismarker.image_xscale = argument5; if (argument_count >= 6) _thismarker.image_yscale = argument5; if (argument_count >= 7) _thismarker.animateonce = argument6; return _thismarker; }
(4062 + displacex, 150 + displacey, spr_board_shutta_eyeShape, 0, 998080);
27
with (lefteye)
28
    setxy_board(x, y);
29
righteye = 
scr_board_marker
scr_board_marker

function
scr_board_marker()
{ var _thismarker = instance_create(argument0, argument1, obj_board_marker); _thismarker.sprite_index = argument2; _thismarker.image_xscale = 2; _thismarker.image_yscale = 2; if (argument_count >= 4) _thismarker.image_speed = argument3; if (argument_count >= 5) { if (argument4 != -1) _thismarker.depth = argument4; } if (argument_count >= 6) _thismarker.image_xscale = argument5; if (argument_count >= 6) _thismarker.image_yscale = argument5; if (argument_count >= 7) _thismarker.animateonce = argument6; return _thismarker; }
(4222 + displacex, 150 + displacey, spr_board_shutta_eyeShape, 0, 998080);
30
with (righteye)
31
    setxy_board(x, y);
32
mouth = 
scr_board_marker
scr_board_marker

function
scr_board_marker()
{ var _thismarker = instance_create(argument0, argument1, obj_board_marker); _thismarker.sprite_index = argument2; _thismarker.image_xscale = 2; _thismarker.image_yscale = 2; if (argument_count >= 4) _thismarker.image_speed = argument3; if (argument_count >= 5) { if (argument4 != -1) _thismarker.depth = argument4; } if (argument_count >= 6) _thismarker.image_xscale = argument5; if (argument_count >= 6) _thismarker.image_yscale = argument5; if (argument_count >= 7) _thismarker.animateonce = argument6; return _thismarker; }
(4128 + displacex, 160 + displacey, spr_board_shutta_mouth, 0, 998160);
33
with (mouth)
34
    setxy_board(x, y);
35
mouth.depth = 998119;
36
leftsolid = instance_create(4064 + displacex, 160 + displacey, obj_board_solid);
37
with (leftsolid)
38
    setxy_board(x, y);
39
rightsolid = instance_create(4224 + displacex, 160 + displacey, obj_board_solid);
40
with (rightsolid)
41
    setxy_board(x, y);
42
mouthsolid = instance_create(4128 + displacex, 172 + displacey, obj_board_solid);
43
with (mouthsolid)
44
    setxy_board(x, y);
45
mouthsolid.image_xscale = 2;
46
shopwriter = 0;
47
doorhide = 0;
48
prebat = 0;
49
batcon = 0;
50
battimer = 0;
51
cleanup = 0;
52
lpupil = 0;
53
rpupil = 0;
54
retry = false;
55
rebuild = false;
56
rauhoh = 0;
57
eyemarker1 = instance_create(x + 80, y + 96, obj_board_b2entrance_animatecamera);
58
with (eyemarker1)
59
{
60
    type = 1;
61
    amount = 0;
62
    sprite_index = spr_board_shutta_pupil;
63
    
scr_size
scr_size

function
scr_size(arg0 = image_xscale, arg1 = image_yscale, arg2 = id)
{ with (arg2) { image_xscale = arg0; image_yscale = arg1; } }
(2, 2);
64
    depth = 999990;
65
}
66
eyemarker1 = instance_create(x + 240, y + 96, obj_board_b2entrance_animatecamera);
67
with (eyemarker1)
68
{
69
    type = 1;
70
    amount = 0;
71
    sprite_index = spr_board_shutta_pupil;
72
    
scr_size
scr_size

function
scr_size(arg0 = image_xscale, arg1 = image_yscale, arg2 = id)
{ with (arg2) { image_xscale = arg0; image_yscale = arg1; } }
(2, 2);
73
    depth = 999990;
74
}