742mph
My work is never done yet
Is it possible to lengthen a loop of character frames to more than its current number? For example, if I wanted a character whose flight animation was a cycle of four frames instead of two, how would I do that? I tried this code, which was supposed to make the character's flight animation look like a cycle of its four jumping sprites, but the game refused to loop the code, so the flight period of the character was shortened to 8 tics. What's wrong with this?
Code:
FRAME 21
SPRITENUMBER = 0
SPRITESUBNUMBER = 12
DURATION = 2
NEXT = 22
ACTION None
VAR1 = 0
VAR2 = 0
FRAME 22
SPRITENUMBER = 0
SPRITESUBNUMBER = 13
DURATION = 2
NEXT = 1825
ACTION None
VAR1 = 0
VAR2 = 0
FRAME 1825
SPRITENUMBER = 0
SPRITESUBNUMBER = 14
DURATION = 2
NEXT = 1826
ACTION None
VAR1 = 0
VAR2 = 0
FRAME 1826
SPRITENUMBER = 0
SPRITESUBNUMBER = 15
DURATION = 2
NEXT = 21
ACTION None
VAR1 = 0
VAR2 = 0