Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_controller_dw_mansion_bridges_Step_0

(view raw script w/o annotations or w/e)
1
if (!instance_exists(obj_chaseenemy) && chestSpawned == 0)
2
    timer++;
3
if (timer == 60)
4
{
5
    chest = instance_create(1160, 200, obj_treasure_room);
6
    chestSpawned = 1;
7
    global.flag[389 fought_bridge_werewire] = 1;
8
    timer = 0;
9
}