Undertale script viewer

← back to main script listing

gml_Object_obj_ratingsmaster_Create_0

(view raw script w/o annotations or w/e)
1
global.ratings = 4000;
2
for (i = 0; i < 6; i += 1)
3
{
4
    rq[i] = "";
5
    rq_v[i] = 0;
6
    rq_s[i] = 900;
7
}
8
curtype = 0;
9
thisi = floor(random(8));
10
for (i = 0; i < 10; i += 1)
11
{
12
    rp[i] = 4000 - random(500);
13
    if (i == thisi)
14
        rp[i] = global.ratings;
15
}
16
alarm[5] = 6;
gml_Object_obj_ratingsmaster_Alarm_5.gml

thisi = floor(random(10)); for (i = 9; i > 0; i -= 1) rp[i] = rp[i - 1]; rp[0] = global.ratings - random(global.ratings / 2); if (accu == 6) rp[0] = global.ratings; accu += 1; if (accu == 10) accu = 0; alarm[5] = 6;
17
accu = 0;
18
for (i = 0; i < 15; i += 1)
19
    typeuse[i] = 0;
20
boastmode = 0;
21
siner = 0;
22
heel = 0;
23
checkhp = global.hp;
24
thisarmor = global.armor;
25
for (i = 0; i < 9; i += 1)
26
    armor_worn[i] = 0;
27
event_user(1);
28
novel_armor = 0;
29
timeloss = 0;
30
o_o = 0;
31
o_ob = 0;
32
essay = 0;
33
active = 1;