Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sweet_dw_cyber_music_bullet_Create_0

(view raw script w/o annotations or w/e)
1
depth = 10000;
2
move = 0;
3
yy = y;
4
xx = x;
5
sweettimer = 0;
6
if (room == room_dw_cyber_music_bullet)
7
{
8
    if (global.plot >= 52)
9
    {
10
        if (global.flag[428 finished_sweet_dodging] > 0)
11
            instance_destroy();
12
    }
13
    else
14
    {
15
        global.plot = 52;
16
    }
17
}