Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (!nomore) {
- anim += 1;
- if (anim mod 6 == 0) {
- if (sprite_num < 3) {
- sprite_num += 1;
- } else {
- nomore = true; // Stop on frame 3
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement