Undertale script viewer

← back to main script listing

gml_Script_scr_bwall

(view raw script w/o annotations or w/e)
1
for (i = 0; i < argument3; i += 1)
2
{
3
    bone = instance_create(900, 900, obj_bonewall);
4
    bone.y = global.idealborder[3] - argument0;
5
    bone.hspeed = argument1;
6
    bone.x = 320 - (argument2 * argument1);
7
    if (bone.x < 320)
8
        bone.x -= i * 15;
9
    if (bone.x > 320)
10
        bone.x += i * 15;
11
}