Undertale script viewer

← back to main script listing

gml_Object_obj_papyrus5_Create_0

(view raw script w/o annotations or w/e)
1
xplot = 55;
2
if (global.plot >= xplot)
3
{
4
    instance_destroy();
5
}
6
else
7
{
8
    conversation = 0;
9
    image_yscale = 999;
10
    if (global.plot >= (xplot - 1))
11
    {
12
        papyrus = instance_create(300, 60, obj_papyrus_room);
13
        conversation = 7;
14
    }
15
    else
16
    {
17
        papyrus = instance_create(100, 60, obj_papyrus_room);
18
    }
19
    papyrus.sprite_index = spr_papyrus_dt;
20
    obj_mainchara.cutscene = 1;
21
}