Undertale script viewer

← back to main script listing

gml_Object_obj_grillbynpc_grillby_Step_1

(view raw script w/o annotations or w/e)
1
if (instance_exists(OBJ_WRITER) && myinteract == 3)
2
{
3
    if (OBJ_WRITER.stringno == 1)
4
        obj_grillbynpc_hot2.image_speed = 0.2;
5
}
6
else if (instance_exists(obj_grillbynpc_hot2))
7
{
8
    if (obj_grillbynpc_hot2.myinteract != 3)
9
    {
10
        obj_grillbynpc_hot2.image_speed = 0;
11
        obj_grillbynpc_hot2.image_index = 0;
12
    }
13
}