Undertale script viewer

← back to main script listing

gml_Object_obj_readable_modernbook_Step_1

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