Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_ch2_rouxls_boat_Create_0

(view raw script w/o annotations or w/e)
1
image_xscale = 2;
2
image_yscale = 2;
3
image_speed = 0;
4
image_index = 0;
5
bumped = 0;
6
drawthrash = 0;
7
con = 0;
8
timer = 0;
9
fallnow = 0;
10
boatx = 90;
11
boaty = 60;
12
depth = 830000;
13
if (instance_number(object_index) == 1)
14
{
15
    boatfront = instance_create(x + boatx, y + boaty, object_index);
16
    with (object_index)
17
    {
18
        image_xscale = 2;
19
        image_yscale = 2;
20
        image_speed = 0;
21
        isrouxls = 0;
22
    }
23
    isrouxls = 1;
24
    boatfront.depth = depth - 50;
25
    boatfront.image_index = 1;
26
    boatfront.con = 5;
27
}