Undertale script viewer

← back to main script listing

gml_Object_obj_bigdog_Create_0

(view raw script w/o annotations or w/e)
1
if (global.flag[54 status_greaterdog] == 1)
2
    instance_destroy();
3
if (global.flag[52 status_doggo] == 1 && global.flag[53 status_dogcouple] == 1)
4
    sprite_index = spr_npc_saddog;
5
myinteract = 0;
6
image_speed = 0;
7
bluh = 0;
8
scr_depth
scr_depth

depth = 50000 - ((y * 10) + (sprite_height * 10));
();
9
if (global.flag[7 true_pacifist] == 1 && room == room_tundra_grillby)
10
    instance_destroy();
11
jeffrey = 0;
12
if (room == room_tundra_town)
13
{
14
    if (global.flag[7 true_pacifist] == 0)
15
        instance_destroy();
16
    alarm[1] = 1;
gml_Object_obj_bigdog_Alarm_1.gml

if (jeffrey == 0) { sprite_index = spr_bigdog_side; al = instance_create(x - 55, y + 4, object_index); al.jeffrey = 1; al.sprite_index = spr_amalgam_dognpc; }
17
}