From 55f1d8b750825230ebf9f705131699e5bab2d8d6 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Mon, 23 Jan 2017 08:58:17 -0600 Subject: [PATCH] dang it./wbuild.sh vga_state.vga_graphics_ram = video->omemptr; causes it to not have sprite in right spot! itis disabled wwww this is hard just to get it right wwww --- src/lib/scroll16.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/scroll16.c b/src/lib/scroll16.c index 07ee2714..082e48eb 100755 --- a/src/lib/scroll16.c +++ b/src/lib/scroll16.c @@ -50,6 +50,9 @@ void ZC_walk(map_view_t *pip, player_t *player, word pn) mapScrollRight(pip, player, (pip[0].video->p), pn); player[pn].enti.q++; //0000pip[0].video->clk = ((*clockw)-pip[0].video->startclk)/18.2; + sprintf(global_temp_status_text, "%u", player[pn].enti.persist_aniframe); + modexprint(&(pip[0].video->page[0]), player[pn].enti.x+(8*player[pn].enti.persist_aniframe), player[pn].enti.y-TILEWH-8, 1, 8, 1, global_temp_status_text); + sleep(1); } else { player[pn].enti.q = 1; player[pn].enti.d = 2; player[pn].enti.tx++; } } else if(player[pn].enti.tx < pip[0].map->width && !(pip[0].map->data[(player[pn].enti.tx)+(pip[0].map->width*(player[pn].enti.ty-1))] == 0))//!(player[pn].enti.tx+1 == TRIGGX && player[pn].enti.ty == TRIGGY)) @@ -60,6 +63,7 @@ void ZC_walk(map_view_t *pip, player_t *player, word pn) player[pn].enti.x+=(player[pn].enti.speed); ANIMATESPRIFUN(pip, player, pn, 0); player[pn].enti.q++; + sleep(1); } else { player[pn].enti.q = 1; player[pn].enti.d = 2; player[pn].enti.tx++; } } else -- 2.39.5