Undertale script viewer

← back to main script listing

gml_Object_obj_latchkey_Create_0

(view raw script w/o annotations or w/e)
1
myinteract = 0;
2
image_xscale = 1;
3
image_yscale = 1;
4
if (room == room_kitchen_final)
5
{
6
    if (global.flag[452 have_castle_key1] == 1)
7
        instance_destroy();
8
}
9
if (room == room_asghouse3)
10
{
11
    if (global.flag[453 have_castle_key2] == 1)
12
        instance_destroy();
13
}
14
con = 0;