Undertale script viewer

← back to main script listing

gml_Script_scr_enemynpc3

(view raw script w/o annotations or w/e)
1
if (global.plot > 191)
2
{
3
    if (global.flag[7 true_pacifist] == 1 || global.flag[8 disable_random_encounters] == 1)
4
    {
5
        if (global.flag[205 kills_hotland] == 0 && global.flag[206 hide_hotland_npcs] == 0)
6
            return 1;
7
        else
8
            return 0;
9
    }
10
    else
11
    {
12
        return 0;
13
    }
14
}
15
else
16
{
17
    return 0;
18
}