Undertale script viewer

← back to main script listing

gml_Object_obj_ladiesfishingrod_Create_0

(view raw script w/o annotations or w/e)
1
scr_depth
scr_depth

depth = 50000 - ((y * 10) + (sprite_height * 10));
(0, 0, 0, 0, 0);
2
myinteract = 0;
3
image_xscale = 1;
4
image_yscale = 1;
5
reeled = 0;
6
image_speed = 0;
7
orx = 0;
8
if (global.plot > 100 && global.flag[5 fun] == 65 && global.flag[7 true_pacifist] == 0)
9
{
10
    orx = 0;
11
    if (ossafe_file_exists("undertale.ini"))
12
    {
13
        ossafe_ini_open("undertale.ini");
14
        srx = ini_read_real("General", "fun", 0);
15
        var dosave = 0;
16
        if (srx == 65)
17
        {
18
            orx = 1;
19
            global.flag[5 fun] = 0;
20
            ini_write_real("General", "fun", 0);
21
            dosave = 1;
22
        }
23
        ossafe_ini_close();
24
        if (dosave)
25
            ossafe_savedata_save();
26
    }
27
    if (orx == 1)
28
        orx = choose(0, 1);
29
}
30
if (orx == 1)
31
    room_goto(room_soundtest Snowdin - Sound Test Room [Dogchecked]);