Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_controller_dw_mansion_potBalance_Create_0

(view raw script w/o annotations or w/e)
1
spawnVase = 0;
2
triggered = 0;
3
monsterCount = 0;
4
con = 0;
5
timer = 0;
6
init_butler = false;
7
readtrigger = 0;
8
readcount = 0;
9
if (global.flag[541 encount_butlers_many] != 0)
10
    global.flag[385 balance_pot_status] = 1;
11
if (global.flag[385 balance_pot_status] == 0)
12
{
13
    with (obj_queenvase)
14
    {
15
        if (y > 540)
16
            instance_destroy();
17
    }
18
}
19
if (global.flag[385 balance_pot_status] != 0)
20
{
21
    with (obj_npc_butler)
22
        instance_destroy();
23
    instance_create(0, 0, obj_controller_potparadise);
24
    instance_destroy();
25
}