Undertale script viewer

← back to main script listing

gml_Object_obj_choicer_Create_0

(view raw script w/o annotations or w/e)
1
alarm[1] = 3;
2
canchoose = 0;
3
add = view_xview[view_current];
4
x0 = 89 + add;
5
x1 = 185 + add;
6
x = x0;
7
y = 210 + view_yview[view_current];
8
d = -1;
9
if (instance_exists(obj_dialoguer))
10
    d = obj_dialoguer.side;
11
if (room != room_fire_operatest)
12
{
13
    if (obj_mainchara.y > (view_yview[view_current] + 130) || d == 0)
14
        y -= 155;
15
}
16
mychoice = 0;
17
global.choice = -1;
18
choiced = 0;