Undertale script viewer

← back to main script listing

gml_Object_obj_paphouse_entrance_Step_0

(view raw script w/o annotations or w/e)
1
if (myinteract == 1)
2
{
3
    global.interact = 1;
4
    alarm[0]
 = 1;
gml_Object_obj_paphouse_entrance_Alarm_0.gml

myinteract = 3; global.msc = 0; global.typer = 5; global.facechoice = 0; global.faceemotion = 0; if (global.flag[88 dated_papyrus] == 0) global.msg[0] =
* (It's locked.)Wait for inputClose MessageClose Message
scr_gettext("obj_paphouse_entrance_91")
;
if (global.flag[88 dated_papyrus] == 1) {
scr_papface(0, 0);
if (global.flag[66 flirted_papyrus_fight] == 1) global.msg[1] =
WOW,Delay 11 YOU'RE SO
EAGER TO DATE
ME...Wait for input
scr_gettext("obj_paphouse_entrance_96")
;
if (global.flag[66 flirted_papyrus_fight] == 0) global.msg[1] =
WOW,Delay 11 YOU'RE SO
EAGER TO HANG
OUT...Wait for input
scr_gettext("obj_paphouse_entrance_97")
;
global.msg[2] =
YOU'RE TRYING TO
GO INTO MY HOUSE
WITHOUT ME!Wait for input
scr_gettext("obj_paphouse_entrance_98")
;
global.msg[3] =
THAT'S REALLY
WEIRD!!!Wait for inputClose MessageClose Message
scr_gettext("obj_paphouse_entrance_99")
;
} if (global.flag[88 dated_papyrus] > 1) global.msg[0] =
* (It's unlocked.)Wait for inputClose MessageClose Message
scr_gettext("obj_paphouse_entrance_103")
;
mydialoguer = instance_create(0, 0, obj_dialoguer);
5
    myinteract = 2;
6
}
7
if (myinteract == 3)
8
{
9
    if (instance_exists(mydialoguer) == 0 && global.interact != 3)
10
    {
11
        global.interact = 0;
12
        myinteract = 0;
13
    }
14
}