#define INC_PER_FRAME_PRINT sprintf(global_temp_status_text, "%u", player[pn].enti.persist_aniframe);\\r
modexprint(&(pip->video->page[0]), player[pn].enti.x-(8*player[pn].enti.persist_aniframe), player[pn].enti.y-TILEWH-(8*player[pn].enti.persist_aniframe), 1, 20, 1, global_temp_status_text);\r
\r
-#define WALKTYPE_FRAM_PRINT INC_PER_FRAME_PRINT\r
+//#define WALKTYPE_FRAM_PRINT INC_PER_FRAME_PRINT\r
//walktypeinfo(player, pn);\r
//modexprint(&(pip->video->page[0]), player[pn].enti.x-(8*player[pn].enti.persist_aniframe)+8, player[pn].enti.y-TILEWH-(8*player[pn].enti.persist_aniframe), 1, 20, 1, global_temp_status_text);\r
\r
if(player[pn].enti.q<=player[pn].enti.spt)\r
{\r
INC_PER_FRAME;\r
- ANIMATESPRIFUN(pip, player, pn, 1);\r
+ ANIMATESPRIFUN(pip, player, pn, 2);\r
ScrollRight(pip, player, 3, pn);\r
ScrollRight(pip, player, 2, pn);\r
mapScrollRight(pip, player, (pip[0].video->p), pn);\r
{\r
INC_PER_FRAME;\r
player[pn].enti.x+=(player[pn].enti.speed);\r
- ANIMATESPRIFUN(pip, player, pn, 0);\r
+ ANIMATESPRIFUN(pip, player, pn, 1);\r
player[pn].enti.q++;\r
} else { player[pn].enti.q = Q_INIT; player[pn].enti.d = 2; player[pn].enti.tx++; }\r
}\r
if(player[pn].enti.q<=player[pn].enti.spt)\r
{\r
INC_PER_FRAME;\r
- ANIMATESPRIFUN(pip, player, pn, 1);\r
+ ANIMATESPRIFUN(pip, player, pn, 2);\r
ScrollLeft(pip, player, 3, pn);\r
ScrollLeft(pip, player, 2, pn);\r
mapScrollLeft(pip, player, (pip[0].video->p), pn);\r
{\r
INC_PER_FRAME;\r
player[pn].enti.x-=(player[pn].enti.speed);\r
- ANIMATESPRIFUN(pip, player, pn, 0);\r
+ ANIMATESPRIFUN(pip, player, pn, 1);\r
player[pn].enti.q++;\r
} else { player[pn].enti.q = Q_INIT; player[pn].enti.d = 2; player[pn].enti.tx--; }\r
}\r
if(player[pn].enti.q<=player[pn].enti.spt)\r
{\r
INC_PER_FRAME;\r
- ANIMATESPRIFUN(pip, player, pn, 1);\r
+ ANIMATESPRIFUN(pip, player, pn, 2);\r
ScrollDown(pip, player, 3, pn);\r
ScrollDown(pip, player, 2, pn);\r
mapScrollDown(pip, player, (pip[0].video->p), pn);\r
{\r
INC_PER_FRAME;\r
player[pn].enti.y+=(player[pn].enti.speed);\r
- ANIMATESPRIFUN(pip, player, pn, 0);\r
+ ANIMATESPRIFUN(pip, player, pn, 1);\r
player[pn].enti.q++;\r
} else { player[pn].enti.q = Q_INIT; player[pn].enti.d = 2; player[pn].enti.ty++; }\r
}\r
if(player[pn].enti.q<=player[pn].enti.spt)\r
{\r
INC_PER_FRAME;\r
- ANIMATESPRIFUN(pip, player, pn, 1);\r
+ ANIMATESPRIFUN(pip, player, pn, 2);\r
ScrollUp(pip, player, 3, pn);\r
ScrollUp(pip, player, 2, pn);\r
mapScrollUp(pip, player, (pip[0].video->p), pn);\r
{\r
INC_PER_FRAME;\r
player[pn].enti.y-=(player[pn].enti.speed);\r
- ANIMATESPRIFUN(pip, player, 0, pn);\r
+ ANIMATESPRIFUN(pip, player, pn, 1);\r
player[pn].enti.q++;\r
} else { player[pn].enti.q = Q_INIT; player[pn].enti.d = 2; player[pn].enti.ty--; }\r
}\r
{\r
INC_PER_FRAME;\r
player[pn].enti.y-=(player[pn].enti.speed);\r
- ANIMATESPRIFUN(pip, player, 0, pn);\r
+ ANIMATESPRIFUN(pip, player, pn, 0);\r
if(!pageflipflop) modexShowPage(pip[1].page);\r
player[pn].enti.q++;\r
} else { player[pn].enti.q = Q_INIT; player[pn].enti.d = 2; player[pn].enti.ty--; }\r
{\r
sword x = player[pn].enti.x;\r
sword y = player[pn].enti.y;\r
- sword qq; //scroll offset\r
+ sword qq,dd; //scroll offset\r
word ls = player[pn].enti.persist_aniframe;\r
player[pn].enti.dire=10; //direction\r
\r
switch(scrollswitch)\r
{\r
case 0:\r
+ dd = 0;\r
qq = 0;\r
break;\r
- default:\r
+ case 1:\r
+ dd = 1;\r
+ qq = 0;\r
+ break;\r
+ case 2:\r
+ dd = 1;\r
qq = ((player[pn].enti.q)*(player[pn].enti.speed));\r
break;\r
}\r
x-=qq;\r
break;\r
}\r
- player[pn].enti.dire++;\r
+ player[pn].enti.dire+=dd;\r
player[pn].ent->spri->delay=1;\r
if(player[pn].enti.q==1)\r
set_anim_by_id(player[pn].ent->spri, player[pn].enti.dire);\r