Undertale script viewer

← back to main script listing

gml_Object_obj_lazyencounterer_Create_0

(view raw script w/o annotations or w/e)
1
instance_destroy();
2
cl = 0;
3
if (room == room_fire5 && global.flag[408 progress_hotland_battles] > 0)
4
    instance_destroy();
5
if (room == room_fire7 && global.flag[408 progress_hotland_battles] > 1)
6
    instance_destroy();
7
if (room == room_fire_walkandbranch && global.flag[408 progress_hotland_battles] > 2)
8
    instance_destroy();
9
if (room == room_fire_walkandbranch2 && global.flag[408 progress_hotland_battles] > 3)
10
    instance_destroy();
11
if (room == room_fire_preshootguy4 && global.flag[408 progress_hotland_battles] > 4)
12
    instance_destroy();
13
if (global.flag[8 disable_random_encounters] == 1 || global.flag[7 true_pacifist] == 1)
14
    instance_destroy();