Undertale script viewer

← back to main script listing

gml_Object_obj_greenarmor_Step_0

(view raw script w/o annotations or w/e)
1
image_blend = make_color_rgb(r, g, b);
2
y += (sin(siner / 20) * 2);
3
x += (cos(siner / 10) * 6);
4
siner += 1;
5
if (global.turntimer < 3)
6
{
7
    if (instance_exists(obj_bara02))
8
        obj_bara02.armor = g;
9
    if (instance_exists(obj_bara03))
10
        obj_bara03.armor = g;
11
    if (r > 99)
12
    {
13
        global.mnfight = 5;
14
        global.border = 0;
15
    }
16
    instance_destroy();
17
}
18
inv -= 1;