Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_choicer_neo_Create_0

(view raw script w/o annotations or w/e)
1
alarm[1]
 = 3;
gml_Object_obj_choicer_neo_Alarm_1.gml

canchoose = 1;
2
canchoose = 0;
3
dar = global.darkzone + 1;
4
global.flag[33 choice_time_taken] = 0;
5
image_xscale = dar;
6
image_yscale = dar;
7
remfc = global.fc;
8
global.fc = 0;
9
xx = __view_get(e__VW.XView, view_current);
10
yy = __view_get(e__VW.YView, view_current);
11
d = -1;
12
if (instance_exists(obj_dialoguer))
13
    d = obj_dialoguer.side;
14
d_add = 0;
15
if (d == -1)
16
{
17
    if (obj_mainchara.y <= (__view_get(e__VW.YView, view_current) + (130 * dar)))
18
        d_add = 155;
19
}
20
else if (d != 0)
21
{
22
    d_add = 155;
23
}
24
chx = (140 * dar) + xx;
25
chy = ((36 + d_add) * dar) + yy;
26
hx = chx;
27
hy = chy;
28
mychoice = -1;
29
global.choice = -1;
30
choiced = 0;
31
choicetotal = 3;
32
textposx[0] = 0;
33
textposy[0] = 0;
34
textposx[1] = 0;
35
textposy[1] = 0;
36
textposx[2] = 0;
37
textposy[2] = 0;
38
textposx[3] = 0;
39
textposy[3] = 0;
40
candraw = 0;
41
42
enum e__VW
43
{
44
    XView,
45
    YView,
46
    WView,
47
    HView,
48
    Angle,
49
    HBorder,
50
    VBorder,
51
    HSpeed,
52
    VSpeed,
53
    Object,
54
    Visible,
55
    XPort,
56
    YPort,
57
    WPort,
58
    HPort,
59
    Camera,
60
    SurfaceID
61
}