From 838f0512c4cc6c3c79241fcc971490c8f6eac5f3 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Sun, 23 Nov 2014 18:39:45 -0600 Subject: [PATCH] modified: scroll.c modified: scroll.exe --- scroll.c | 24 ++++++++++++++++++++++++ scroll.exe | Bin 19872 -> 20192 bytes 2 files changed, 24 insertions(+) diff --git a/scroll.c b/scroll.c index 0a6a8c33..24198a9f 100644 --- a/scroll.c +++ b/scroll.c @@ -138,6 +138,12 @@ void main() { } player.tx++; } + else + { + modexCopyPageRegion(bg->page, spri->page, player.x-4, player.y-TILEWH-2, player.x-4, player.y-TILEWH-2, 24, 36); + modexDrawSpriteRegion(spri->page, player.x-4, player.y-TILEWH, 24, 32, 24, 32, &ptmp); + modexShowPage(spri->page); + } } if(keyp(75)) @@ -164,6 +170,12 @@ void main() { } player.tx--; } + else + { + modexCopyPageRegion(bg->page, spri->page, player.x-4, player.y-TILEWH-2, player.x-4, player.y-TILEWH-2, 24, 36); + modexDrawSpriteRegion(spri->page, player.x-4, player.y-TILEWH, 24, 96, 24, 32, &ptmp); + modexShowPage(spri->page); + } } if(keyp(80)) @@ -189,6 +201,12 @@ void main() { } player.ty++; } + else + { + modexCopyPageRegion(bg->page, spri->page, player.x-4, player.y-TILEWH-2, player.x-4, player.y-TILEWH-2, 24, 36); + modexDrawSpriteRegion(spri->page, player.x-4, player.y-TILEWH, 24, 64, 24, 32, &ptmp); + modexShowPage(spri->page); + } } if(keyp(72)) @@ -214,6 +232,12 @@ void main() { } player.ty--; } + else + { + modexCopyPageRegion(bg->page, spri->page, player.x-4, player.y-TILEWH-2, player.x-4, player.y-TILEWH-2, 24, 36); + modexDrawSpriteRegion(spri->page, player.x-4, player.y-TILEWH, 24, 0, 24, 32, &ptmp); + modexShowPage(spri->page); + } } } diff --git a/scroll.exe b/scroll.exe index a57e9dde17221231b80b6f945d20d25375bec60f..2bc2e623dc3b8470149270bfeee218945a34def7 100644 GIT binary patch delta 1554 zcmZ{ke@t6d6vxlI@3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