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 | } |