From 092df3c756423869db765af38bd0736a91f12ec1 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Sat, 22 Nov 2014 10:28:48 -0600 Subject: [PATCH] modified: 16/modex16/scroll.c --- 16/modex16/scroll.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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); -- 2.39.5