Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. If (FrameCount==19)
  2. RewForw=1;
  3. PA_WaitForVBL();
  4. End If
  5.  
  6. If (FrameCount==0)
  7. RewForw=0;
  8. End If
  9.  
  10. If (RewForw==0)
  11. FrameCount=FrameCount+1;
  12. PA_WaitForVBL();
  13. End If
  14.  
  15. If (RewForw==1)
  16. FrameCount=FrameCount-1;
  17. PA_WaitForVBL();
  18. End If
  19.  
  20. switch(FrameCount){
  21. case 1:
  22. PA_LoadJpeg(1, (void*)OcarinaFrame1);
  23. break;
  24. case 2:
  25. PA_LoadJpeg(1, (void*)OcarinaFrame2);
  26. break;
  27. case 3:
  28. PA_LoadJpeg(1, (void*)OcarinaFrame3);
  29. break;
  30. case 4:
  31. PA_LoadJpeg(1, (void*)OcarinaFrame4);
  32. break;
  33. case 5:
  34. PA_LoadJpeg(1, (void*)OcarinaFrame5);
  35. break;
  36. case 6:
  37. PA_LoadJpeg(1, (void*)OcarinaFrame6);
  38. break;
  39. case 7:
  40. PA_LoadJpeg(1, (void*)OcarinaFrame7);
  41. break;
  42. case 8:
  43. PA_LoadJpeg(1, (void*)OcarinaFrame8);
  44. break;
  45. case 9:
  46. PA_LoadJpeg(1, (void*)OcarinaFrame9);
  47. break;
  48. case 10:
  49. PA_LoadJpeg(1, (void*)OcarinaFrame10);
  50. break;
  51. case 11:
  52. PA_LoadJpeg(1, (void*)OcarinaFrame11);
  53. break;
  54. case 12:
  55. PA_LoadJpeg(1, (void*)OcarinaFrame12);
  56. break;
  57. case 13:
  58. PA_LoadJpeg(1, (void*)OcarinaFrame13);
  59. break;
  60. case 14:
  61. PA_LoadJpeg(1, (void*)OcarinaFrame14);
  62. break;
  63. case 15:
  64. PA_LoadJpeg(1, (void*)OcarinaFrame15);
  65. break;
  66. case 16:
  67. PA_LoadJpeg(1, (void*)OcarinaFrame16);
  68. break;
  69. case 17:
  70. PA_LoadJpeg(1, (void*)OcarinaFrame17);
  71. break;
  72. case 18:
  73. PA_LoadJpeg(1, (void*)OcarinaFrame18);
  74. break;
  75. case 19:
  76. PA_LoadJpeg(1, (void*)OcarinaFrame19);
  77. break;
  78. case 20:
  79. PA_LoadJpeg(1, (void*)OcarinaFrame1);
  80. break;
  81. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement