Undertale script viewer

← back to main script listing

gml_Script_scr_edge

(view raw script w/o annotations or w/e)
1
if (x > (global.idealborder[1] - argument0))
2
    x -= argument0;
3
if (x < (global.idealborder[0] + argument1))
4
    x += argument1;