Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_rndenc_Other_5

(view raw script w/o annotations or w/e)
1
var specific_encounter = "null";
2
switch (room)
3
{
4
    case rm_darkruins_13:
5
        specific_encounter = "flier trio";
6
        if (global.flag[17 Dalv fate] != 0)
7
            specific_encounter = "null";
8
        break;
9
}
10
if (specific_encounter != "null")
11
{
12
    var pos = ds_list_find_index(global.encounter_list, specific_encounter);
13
    ds_list_delete(global.encounter_list, pos);
14
}