Undertale script viewer

← back to main script listing

gml_Object_obj_torielcall2_Collision_1576

(view raw script w/o annotations or w/e)
1
if (global.interact == 0)
2
{
3
    snd_play(snd_phone);
4
    global.typer = 5;
5
    global.facechoice = 0;
6
    global.faceemotion = 0;
7
    ossafe_ini_open("undertale.ini");
8
    bs = ini_read_real("Toriel", "Bscotch", 0);
9
    ossafe_ini_close();
10
    if (bs == 0)
11
        script_execute(scr_writetext, 222, "x", 0, 0);
12
    else
13
        script_execute(scr_writetext, 831, "x", 0, 0);
14
    global.interact = 1;
15
}