]> 4ch.mooo.com Git - 16.git/blobdiff - 16/modex16/scroll.c
modified: 16/modex16/scroll.c
[16.git] / 16 / modex16 / scroll.c
index c64c810be7e9757c602835ae69b8b889e35a63b7..65d28d10d3d0752e1338e5fda85bb2138cf19420 100644 (file)
@@ -138,6 +138,7 @@ void main() {
 //                             modexDrawBmp(draw->page, player.x, player.y, &bmp);
                                animatePlayer(show, 1, 0, player.x, player.y, q, &ptmp);
                                modexShowPage(draw->page);
+                               SWAP(draw, show);
                        }
                        player.tx++;
                }\r
@@ -167,6 +168,7 @@ void main() {
 //                             modexDrawBmp(draw->page, player.x, player.y, &bmp);
                                animatePlayer(show, 3, 0, player.x, player.y, q, &ptmp);
                                modexShowPage(draw->page);
+                               SWAP(draw, show);
                        }
                        player.tx--;
                }
@@ -196,6 +198,7 @@ void main() {
 //                             modexDrawBmp(draw->page, player.x, player.y, &bmp);
                                animatePlayer(show, 2, 0, player.x, player.y, q, &ptmp);
                                modexShowPage(draw->page);
+                               SWAP(draw, show);
                        }
                        player.ty++;
                }\r
@@ -224,6 +227,7 @@ void main() {
 //                             modexDrawBmp(draw->page, player.x, player.y, &bmp);
                                animatePlayer(show, 0, 0, player.x, player.y, q, &ptmp);
                                modexShowPage(draw->page);
+                               SWAP(draw, show);
                        }
                        player.ty--;
                }\r