Undertale Yellow script viewer

← back to main script listing

gml_Object_obj_wild_east_hospital_controller_Create_0

(view raw script w/o annotations or w/e)
1
if (global.route == 3)
2
{
3
    instance_destroy()
4
    return;
5
}
6
instance_create(50, 150, obj_npc_doctor)
7
instance_create(222, 114, obj_npc_sleepo)
8
switch global.dunes_flag[20]
9
{
10
    case 1:
11
        instance_create(117, 114, obj_npc_karen)
12
        break
13
    case 3:
14
        instance_create(117, 114, obj_npc_owen)
15
        break
16
    case 5:
17
        instance_create(117, 112, obj_npc_marlyn)
18
        break
19
    case 7:
20
        instance_create(117, 114, obj_npc_train_bed)
21
        break
22
    case 9:
23
        instance_create(117, 112, obj_npc_blembino_break_6)
24
        break
25
}
26
27
instance_destroy()