Advertisement
3Dchomper

Untitled

Jun 3rd, 2025
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (!nomore) {
  2.     anim += 1;
  3.  
  4.     if (anim mod 6 == 0) {
  5.         if (sprite_num < 3) {
  6.             sprite_num += 1;
  7.         } else {
  8.             nomore = true; // Stop on frame 3
  9.         }
  10.     }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement