Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_dojofx_Create_0

(view raw script w/o annotations or w/e)
1
siner = 0;
2
inbattle = 0;
3
ball = 
scr_dark_marker
scr_dark_marker

function
scr_dark_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(x, y, spr_dojo_discoball);
4
ball.depth = 5000;
5
ball.x = room_width / 2;
6
ball.y = 0;
7
ball.image_speed = 0.18;
8
ballback = 
scr_dark_marker
scr_dark_marker

function
scr_dark_marker(arg0, arg1, arg2)
{ thismarker = instance_create(arg0, arg1, obj_marker); with (thismarker) { sprite_index = arg2; image_speed = 0; image_xscale = 2; image_yscale = 2; } return thismarker; }
(x, y, spr_dojo_discoball_back);
9
if (global.chapter == 4)
10
    ball.sprite_index = spr_castle_dojo_discoball_heart;
11
drawalpha = 1;
12
depth = 1100000;
13
bsiner = 0;
14
instance_create(0, 0, obj_dojofx_front);