Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_board_swordroute_treehelper_Other_4

(view raw script w/o annotations or w/e)
1
if (room == room_board_1_sword_trees)
2
{
3
    with (obj_mainchara_board)
4
    {
5
        sword = true;
6
        swordlv = other.swordlv;
7
        myhealth = other.myhealth;
8
        maxhealth = other.maxhealth;
9
        facing = other.facing;
10
    }
11
    for (var i = 0; i < 12; i++)
12
    {
13
        for (var ii = 0; ii < 8; ii++)
14
            var tree = instance_create_board(i, ii, obj_board_tree);
15
    }
16
    with (obj_board_tree)
17
    {
18
        image_index = 0;
19
        dir = 0;
20
    }
21
}