Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_b3_tennablossom_Step_0

(view raw script w/o annotations or w/e)
1
if (active)
2
{
3
    if (con == 0)
4
    {
5
        if (i_ex(obj_board_grayregion))
6
        {
7
            if (place_meeting(x, y, obj_board_grayregion))
8
            {
9
                var rose = 
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, sprite_index, 0, 999999, 2);
10
                with (rose)
11
                {
12
                    var pointsDisplay = instance_create(x + 16, y + 32, obj_board_pointsGetDisplay);
13
                    pointsDisplay.amount = 100;
14
                    pointsDisplay.depth = depth - 1;
15
                    
scr_animate
scr_animate

function
scr_animate(arg0, arg1, arg2)
{ __animator = instance_create(x, y, obj_animator); __animator.target = id; __animator.initframe = arg0; __animator.endframe = arg1; __animator.fake_image_speed = arg2; return __animator; }
(0, 3, 0.25);
16
                }
17
                con = 1;
18
            }
19
        }
20
    }
21
}