Undertale script viewer

← back to main script listing

gml_Object_obj_asgore_prebarrier_event_Create_0

(view raw script w/o annotations or w/e)
1
con = 0;
2
if (global.plot > 207 || global.flag[7 true_pacifist] == 1)
3
{
4
    instance_destroy();
5
}
6
else if (global.plot == 207)
7
{
8
    y = -100;
9
    con = 50;
10
    asg = instance_create(580, 120, obj_asgore_actor);
11
}
12
else
13
{
14
    asg = instance_create(180, 120, obj_asgore_actor);
15
    asg.sprite_index = asg.dtsprite;
16
}
17
image_xscale = 3;