Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let nimonodrawloopnextrect = 0; let nimonodrawlooprectsetnext = 0;
- let nimonodrawlooprectattackframe = 0;
- @DrawLoop {
- if(nimonodrawloopnextrect == 0){
- alternative(nimonorSGR)
- case(0, 2, 4, 6, 8) { SetGraphicRect(0, 0, 128, 128); }
- case(1, 5, 9) { SetGraphicRect(129, 0, 256, 128); }
- case(3, 7, 11) { SetGraphicRect(257, 0, 384, 128); }
- case(10) { SetGraphicRect(385, 0, 512, 128); }
- nimonoSGR++; nimonoSGR%=12;
- }
- nimonodrawloopnextrect++; nimonodrawloopnextrect%=nimonodrawlooprectsetnext;
- if(nimonodrawlooprectattackframe > 0) { nimonodrawlooprectattackframe--; }
- if(nimonodrawlooprectattackframe < 0) { nimonodrawlooprectattackframe = 0; }
- }
Advertisement
Add Comment
Please, Sign In to add comment