Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_b3cactusflirt_Create_0

(view raw script w/o annotations or w/e)
1
image_speed = 0;
2
dir = 0;
3
con = 0;
4
timer = 0;
5
init = 0;
6
daddy = 0;
7
pushspeed = 8;
8
active = 0;
9
solved = 0;
10
grayed = 0;
11
mysolid = instance_create(x, y, obj_board_solid);
12
mysolid.sprite_index = sprite_index;
13
scr_darksize
scr_darksize

function
scr_darksize()
{ var inst = id; if (argument_count) inst = argument0; inst.image_xscale = 2; inst.image_yscale = 2; }
(mysolid);
14
if (image_xscale == 1)
15
    image_xscale = 2;
16
if (image_yscale == 1)
17
    image_yscale = 2;
18
scr_depth_board
scr_depth_board

function
scr_depth_board()
{ depth = 1000000 - ((y * 10) + ((sprite_height - sprite_yoffset) * 10)); } function scr_board_depth() {
scr_depth_board();
}
();
19
init = 0;
20
kr = 0;
21
pushed = false;
22
spineindex = 0;
23
spinetimer = 0;
24
fakeground = 
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; }
(x, y, spr_board_b3fakedirt, 0, 999999, 2);
25
blushamt = -20;