From: sparky4 Date: Mon, 24 Nov 2014 00:43:44 +0000 (-0600) Subject: modified: scroll.c X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=031d77be25b14eef6b6885523be3d17ffa47ca20;p=16.git modified: scroll.c modified: scroll.exe --- diff --git a/scroll.c b/scroll.c index 24198a9f..38240627 100644 --- a/scroll.c +++ b/scroll.c @@ -140,7 +140,7 @@ void main() { } else { - modexCopyPageRegion(bg->page, spri->page, player.x-4, player.y-TILEWH-2, player.x-4, player.y-TILEWH-2, 24, 36); + modexCopyPageRegion(spri->page, bg->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); } @@ -172,7 +172,7 @@ void main() { } else { - modexCopyPageRegion(bg->page, spri->page, player.x-4, player.y-TILEWH-2, player.x-4, player.y-TILEWH-2, 24, 36); + modexCopyPageRegion(spri->page, bg->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); } @@ -203,7 +203,7 @@ void main() { } else { - modexCopyPageRegion(bg->page, spri->page, player.x-4, player.y-TILEWH-2, player.x-4, player.y-TILEWH-2, 24, 36); + modexCopyPageRegion(spri->page, bg->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); } @@ -234,7 +234,7 @@ void main() { } else { - modexCopyPageRegion(bg->page, spri->page, player.x-4, player.y-TILEWH-2, player.x-4, player.y-TILEWH-2, 24, 36); + modexCopyPageRegion(spri->page, bg->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 2bc2e623..3d167c87 100644 Binary files a/scroll.exe and b/scroll.exe differ