Deltarune (Chapter 5) script viewer

← back to main script listing

gml_Object_obj_ch5_LW21_darkness_Create_0

(view raw script w/o annotations or w/e)
1
_timer = 0;
2
_active = true;
3
depth = 400000;
4
_ballregionl = camerax() + 140;
5
_ballregionr = camerax() + 170;
6
_bally = cameray() + 70;
7
8
open_door = function()
9
{
10
    _active = true;
11
    _ballregionl = camerax() + 130;
12
    _ballregionr = camerax() + 90;
13
    _bally = cameray() + 70;
14
};
15
16
close_door = function()
17
{
18
    _active = false;
19
};