From 3475e3aaac07233e0ff303da947d4781d08b8f94 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Sun, 23 Nov 2014 20:13:54 -0600 Subject: [PATCH] modified: scroll.c modified: scroll.exe --- scroll.c | 8 ++++---- scroll.exe | Bin 20192 -> 20224 bytes 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scroll.c b/scroll.c index 38240627..ecbab564 100644 --- a/scroll.c +++ b/scroll.c @@ -115,7 +115,7 @@ void main() { //TODO: render the player properly with animation and sprite sheet //TODO: fexible speeds - if(keyp(77)) + if(keyp(77) && !keyp(75)) { if(bg->tx >= 0 && bg->tx+20 < MAPX && player.tx == bg->tx + 10) { @@ -146,7 +146,7 @@ void main() { } } - if(keyp(75)) + if(keyp(75) && !keyp(77)) { if(bg->tx > 0 && bg->tx+20 <= MAPX && player.tx == bg->tx + 10) { @@ -178,7 +178,7 @@ void main() { } } - if(keyp(80)) + if(keyp(80) && !keyp(72)) { if(bg->ty >= 0 && bg->ty+15 < MAPY && player.ty == bg->ty + 8) { @@ -209,7 +209,7 @@ void main() { } } - if(keyp(72)) + if(keyp(72) && !keyp(80)) { if(bg->ty > 0 && bg->ty+15 <= MAPY && player.ty == bg->ty + 8) { diff --git a/scroll.exe b/scroll.exe index 3d167c87f8f84006672bd51d65a87da98f43b430..151d21bad8f267127e4b3ab48d1ef94f9b220c63 100644 GIT binary patch delta 1449 zcmY*Z2}~4c6#n1L?y?6g3of#Uz_P-Y2v#mBMRtn^gVwd8c%XRn(l**AO$BKxsL4v2 zaa|jH(X^O0MNPD+Es4|CabwDr)`QwuJcCW871DpZ)T3GzrMvw{sK%N6Z@%}w`QCf~ z%b&mh6WIDGxaTb=kVUjaMfylIDySJG$1Q|7$mruRvu_e1^R0wjVQYbnkXE+7XX}2m zJ9+WmZ@4*G^>$Ux{T=3pw3vq)g$U0SFP2zTjgiWP<5Md70CWby0tSQ34x z_X~IE{BePer>SHJ2&YA1z$f%N0vo@hwE6Q1u{kk$SMquT!bR$gY5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