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
11
if (specific_encounter != "null")
12
{
13
    var pos = ds_list_find_index(global.encounter_list, specific_encounter)
14
    ds_list_delete(global.encounter_list, pos)
15
}