Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- If (FrameCount==19)
- RewForw=1;
- PA_WaitForVBL();
- End If
- If (FrameCount==0)
- RewForw=0;
- End If
- If (RewForw==0)
- FrameCount=FrameCount+1;
- PA_WaitForVBL();
- End If
- If (RewForw==1)
- FrameCount=FrameCount-1;
- PA_WaitForVBL();
- End If
- switch(FrameCount){
- case 1:
- PA_LoadJpeg(1, (void*)OcarinaFrame1);
- break;
- case 2:
- PA_LoadJpeg(1, (void*)OcarinaFrame2);
- break;
- case 3:
- PA_LoadJpeg(1, (void*)OcarinaFrame3);
- break;
- case 4:
- PA_LoadJpeg(1, (void*)OcarinaFrame4);
- break;
- case 5:
- PA_LoadJpeg(1, (void*)OcarinaFrame5);
- break;
- case 6:
- PA_LoadJpeg(1, (void*)OcarinaFrame6);
- break;
- case 7:
- PA_LoadJpeg(1, (void*)OcarinaFrame7);
- break;
- case 8:
- PA_LoadJpeg(1, (void*)OcarinaFrame8);
- break;
- case 9:
- PA_LoadJpeg(1, (void*)OcarinaFrame9);
- break;
- case 10:
- PA_LoadJpeg(1, (void*)OcarinaFrame10);
- break;
- case 11:
- PA_LoadJpeg(1, (void*)OcarinaFrame11);
- break;
- case 12:
- PA_LoadJpeg(1, (void*)OcarinaFrame12);
- break;
- case 13:
- PA_LoadJpeg(1, (void*)OcarinaFrame13);
- break;
- case 14:
- PA_LoadJpeg(1, (void*)OcarinaFrame14);
- break;
- case 15:
- PA_LoadJpeg(1, (void*)OcarinaFrame15);
- break;
- case 16:
- PA_LoadJpeg(1, (void*)OcarinaFrame16);
- break;
- case 17:
- PA_LoadJpeg(1, (void*)OcarinaFrame17);
- break;
- case 18:
- PA_LoadJpeg(1, (void*)OcarinaFrame18);
- break;
- case 19:
- PA_LoadJpeg(1, (void*)OcarinaFrame19);
- break;
- case 20:
- PA_LoadJpeg(1, (void*)OcarinaFrame1);
- break;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement