From: sparky4 Date: Sat, 22 Nov 2014 16:28:48 +0000 (-0600) Subject: modified: 16/modex16/scroll.c X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=092df3c756423869db765af38bd0736a91f12ec1;p=16.git modified: 16/modex16/scroll.c --- diff --git a/16/modex16/scroll.c b/16/modex16/scroll.c index 838ef4bf..49130bfc 100644 --- a/16/modex16/scroll.c +++ b/16/modex16/scroll.c @@ -114,7 +114,7 @@ void main() { //when player.tx or player.ty == 0 or player.tx == 20 or player.ty == 15 then stop because that is edge of map and you do not want to walk of the map if(keyp(77)){ if(draw->tx >= 0 && draw->tx+20 < MAPX) - for(q=0; q<16; q++) { + for(q=0; qpage); // mapScrollRight(draw, 1); @@ -125,7 +125,7 @@ void main() { if(keyp(75)){ if(draw->tx > 0 && draw->tx+20 <= MAPX) - for(q=0; q<16; q++) { + for(q=0; qpage); // mapScrollLeft(show, 1); @@ -136,7 +136,7 @@ void main() { if(keyp(80)){ if(draw->ty >= 0 && draw->ty+15 < MAPY) - for(q=0; q<16; q++) { + for(q=0; qpage); // mapScrollDown(show, 1); @@ -147,7 +147,7 @@ void main() { if(keyp(72)){ if(draw->ty > 0 && draw->ty+15 <= MAPY) - for(q=0; q<16; q++) { + for(q=0; qpage); // mapScrollUp(show, 1);