When using setfocus, my equations didnt work perfectly at first to keep the screen from sticking off the edge of the levels.

...
My final equations:
viewy=screenheight/32-1.5
viewy=62.5-screenheight/32
viewx=screenwidth/32-1.5
viewx=62.5-screenwidth/32
Why is -1.5 involved with the equations for setfocus in scrolling the sides of the level? I only figured this out by tweaking. Is this a bug? Where does the -1.5 come from? It confuses me

...