Ok, here is my code, its a little too long, but it may help
Sync on
Sync rate 60
Maximize window
Set display mode 1024, 768, 0
Load music "C:\Markus\Musica\The beatles\The Beetles - With A Little Help From My Friends.mp3",1
play music 1
Set music volume 1, 50
Load music "C:\Markus\online.wma",2
load image "C:\Markus\Imgenes\Pantalla de pikmin.bmp" ,19
Load image "C:\Markus\Imgenes\Wilson_Animacion_Corre1.png" ,1
Load image "C:\Markus\Imgenes\Wilson_Animacion_Corre1 izquierda.png" ,18
Load image "C:\Markus\Imgenes\Wilson_Animacion_Corre2.png" ,2
Load image "C:\Markus\Imgenes\Wilson_Animacion_Corre2 izquierda.png" ,10
Load image "C:\Markus\Imgenes\Wilson_Animacion_Corre3.png" ,3
Load image "C:\Markus\Imgenes\Wilson_Animacion_Corre3 izquierda.png" ,11
Load image "C:\Markus\Imgenes\Wilson_Animacion_Corre4.png" ,4
Load image "C:\Markus\Imgenes\Wilson_Animacion_Corre4 izquierda.png" ,12
Load image "C:\Markus\Imgenes\Wilson_Animacion_Corre5.png" ,5
Load image "C:\Markus\Imgenes\Wilson_Animacion_Corre5 izquierda.png" ,13
Load image "C:\Markus\Imgenes\Wilson_Animacion_Corre6.png" ,6
Load image "C:\Markus\Imgenes\Wilson_Animacion_Corre6 izquierda.png" ,14
Load image "C:\Markus\Imgenes\Wilson_Animacion_Cola1.png" ,7
Load image "C:\Markus\Imgenes\Wilson_Animacion_Cola1 izquierda.png" ,15
Load image "C:\Markus\Imgenes\Wilson_Animacion_Cola2.png" ,8
Load image "C:\Markus\Imgenes\Wilson_Animacion_Cola2 izquierda.png" ,16
Load image "C:\Markus\Imgenes\Wilson_Animacion_Cola3.png" ,9
Load image "C:\Markus\Imgenes\Wilson_Animacion_Cola3 izquierda.png" ,17
sprite 19, 0, 0, 19
Sprite 1, 100, 100, 1
hide sprite 1
Sprite 18, 100, 100, 18
hide sprite 18
Sprite 7, 100, 100, 7
hide sprite 7
Sprite 8, 100, 100, 8
hide sprite 8
Sprite 9, 100, 100, 9
hide sprite 9
Sprite 2, 100, 100, 2
hide sprite 2
Sprite 3, 100, 100, 3
hide sprite 3
Sprite 4, 100, 100, 4
hide sprite 4
Sprite 5, 100, 100, 5
hide sprite 5
Sprite 6, 100, 100, 6
hide sprite 6
Sprite 10, 100, 100, 10
hide sprite 10
Sprite 11, 100, 100, 11
hide sprite 11
Sprite 12, 100, 100, 12
hide sprite 12
Sprite 13, 100, 100, 13
hide sprite 13
Sprite 14, 100, 100, 14
hide sprite 14
Sprite 15, 100, 100, 15
hide sprite 15
Sprite 16, 100, 100, 16
hide sprite 16
Sprite 17, 100, 100, 17
hide sprite 17
Set sprite priority 19, 1
Set sprite priority 1, 2
Set sprite priority 2, 2
Set sprite priority 3, 2
Set sprite priority 4, 2
Set sprite priority 5, 2
Set sprite priority 6, 2
Set sprite priority 7, 2
Set sprite priority 8, 2
Set sprite priority 9, 2
Set sprite priority 10, 2
Set sprite priority 11, 2
Set sprite priority 12, 2
Set sprite priority 13, 2
Set sprite priority 14, 2
Set sprite priority 15, 2
Set sprite priority 16, 2
Set sprite priority 17, 2
Set sprite priority 18, 2
lol()
rem EMPIEZA LA FUNCION ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
function lol()
x=100
Inicio:
Goto Cola
Prueba3:
do
If leftkey()=1 then goto left
If spacekey()=1 then goto saltar
If rightkey()=0 then goto Prueba
If rightkey()=1
If leftkey()=1 then goto cola
endif
gosub kek
Prueba:
Do
If rightkey()=1
hide sprite 7
goto prueba2
else
If leftkey()=1 then goto left
If spacekey()=1 then goto saltar
Goto Cola
endif
sync
loop
kek:
If rightkey()=1
If leftkey()=1 then goto cola
endif
If rightkey()=0 then goto Prueba
If leftkey()=1 then goto left
If spacekey()=1 then goto saltar
inc X, 70
Sprite 2, X, 300, 2
Show sprite 2
wait 80
hide sprite 2
If rightkey()=1
If leftkey()=1 then goto cola
endif
If rightkey()=0 then goto Prueba
If leftkey()=1 then goto left
If spacekey()=1 then goto saltar
inc X, 70
Sprite 3, X, 300, 3
Show sprite 3
wait 80
hide sprite 3
If rightkey()=1
If leftkey()=1 then goto cola
endif
If rightkey()=0 then goto Prueba
If leftkey()=1 then goto left
If spacekey()=1 then goto saltar
inc X, 70
Sprite 4, X, 300, 4
Show sprite 4
wait 80
hide sprite 4
If rightkey()=1
If leftkey()=1 then goto cola
endif
If rightkey()=0 then goto Prueba
If leftkey()=1 then goto left
If spacekey()=1 then goto saltar
inc X, 70
Sprite 5, X, 300, 5
Show sprite 5
Wait 80
hide sprite 5
If rightkey()=1
If leftkey()=1 then goto cola
endif
If rightkey()=0 then goto Prueba
If leftkey()=1 then goto left
If spacekey()=1 then goto saltar
inc X, 70
Sprite 6, X, 300, 6
Show sprite 6
wait 80
hide sprite 6
If rightkey()=1
If leftkey()=1 then goto cola
endif
If rightkey()=0 then goto Prueba
If leftkey()=1 then goto left
If spacekey()=1 then goto saltar
Prueba2:
sync
loop
Cola:
Do
Sprite 7, X+75, 300, 7
Show sprite 7
Wait 120
Hide sprite 7
If rightkey()=1
If leftkey()=1 then goto cola
endif
If rightkey()=1 then goto Prueba2
If leftkey()=1 then goto left
If spacekey()=1 then goto saltar
Sprite 8, X+75, 300, 8
Show sprite 8
Wait 120
Hide sprite 8
If rightkey()=1
If leftkey()=1 then goto cola
endif
If rightkey()=1 then goto Prueba2
If leftkey()=1 then goto left
If spacekey()=1 then goto saltar
Sprite 7, X+75, 300, 7
Show sprite 7
Wait 120
Hide sprite 7
If rightkey()=1
If leftkey()=1 then goto cola
endif
If rightkey()=1 then goto Prueba2
If leftkey()=1 then goto left
If spacekey()=1 then goto saltar
Sprite 9, X+75, 300, 9
Show sprite 9
Wait 120
Hide sprite 9
If rightkey()=1
If leftkey()=1 then goto cola
endif
If rightkey()=1 then goto Prueba2
If leftkey()=1 then goto left
If spacekey()=1 then goto saltar
sync
loop
Left:
do
If rightkey()=1 then goto prueba3
If spacekey()=1 then goto saltar2
If leftkey()=0 then goto Izquierda
If leftkey()=1
If rightkey()=1 then goto cola2
endif
gosub kek2
Izquierda:
Do
If leftkey()=1
hide sprite 15
goto Izquierda2
else
If rightkey()=1 then goto prueba3
If spacekey()=1 then goto saltar2
Goto Cola2
endif
sync
loop
kek2:
If leftkey()=1
If rightkey()=1 then goto cola2
endif
If leftkey()=0 then goto Izquierda
If rightkey()=1 then goto prueba3
If spacekey()=1 then goto saltar2
dec X, 70
Sprite 10, X, 300, 10
Show sprite 10
wait 80
hide sprite 10
If leftkey()=1
If rightkey()=1 then goto cola2
endif
If leftkey()=0 then goto Izquierda
If rightkey()=1 then goto prueba3
If spacekey()=1 then goto saltar2
dec X, 70
Sprite 11, X, 300, 11
Show sprite 11
wait 80
hide sprite 11
If leftkey()=1
If rightkey()=1 then goto cola2
endif
If leftkey()=0 then goto Izquierda
If rightkey()=1 then goto prueba3
If spacekey()=1 then goto saltar2
dec X, 70
Sprite 12, X, 300, 12
Show sprite 12
wait 80
hide sprite 12
If leftkey()=1
If rightkey()=1 then goto cola2
endif
If leftkey()=0 then goto Izquierda
If rightkey()=1 then goto prueba3
If spacekey()=1 then goto saltar2
dec X, 70
Sprite 13, X, 300, 13
Show sprite 13
Wait 80
hide sprite 13
If leftkey()=1
If rightkey()=1 then goto cola2
endif
If leftkey()=0 then goto Izquierda
If rightkey()=1 then goto prueba3
If spacekey()=1 then goto saltar2
dec X, 70
Sprite 14, X, 300, 14
Show sprite 14
wait 80
hide sprite 14
If leftkey()=1
If rightkey()=1 then goto cola2
endif
If leftkey()=0 then goto Izquierda
If rightkey()=1 then goto prueba3
If spacekey()=1 then goto saltar2
Izquierda2:
sync
loop
Cola2:
Do
Sprite 15, X-75, 300, 15
Show sprite 15
Wait 120
Hide sprite 15
If leftkey()=1
If rightkey()=1 then goto cola2
endif
If leftkey()=1 then goto Izquierda2
If rightkey()=1 then goto prueba3
If spacekey()=1 then goto saltar2
Sprite 16, X-55, 300, 16
Show sprite 16
Wait 120
Hide sprite 16
If leftkey()=1
If rightkey()=1 then goto cola2
endif
If leftkey()=1 then goto Izquierda2
If rightkey()=1 then goto prueba3
If spacekey()=1 then goto saltar2
Sprite 15, X-75, 300, 15
Show sprite 15
Wait 120
Hide sprite 15
If leftkey()=1
If rightkey()=1 then goto cola2
endif
If leftkey()=1 then goto Izquierda2
If rightkey()=1 then goto prueba3
If spacekey()=1 then goto saltar2
Sprite 17, X-90, 300, 17
Show sprite 17
Wait 120
Hide sprite 17
If leftkey()=1
If rightkey()=1 then goto cola2
endif
If leftkey()=1 then goto Izquierda2
If rightkey()=1 then goto prueba3
If spacekey()=1 then goto saltar2
sync
loop
Saltar:
Y=300
If rightkey()=1
if leftkey()=1 then goto arriba4
endif
arriba4:
Sprite 1,X+50,Y,1
show sprite 1
Wait 120
hide sprite 1
Saltar4:
Do
If Y>100
If rightkey()=1
inc X, 70
If leftkey()=1 then goto arriba1
endif
If leftkey()=1 then goto Saltar3
arriba1:
Dec Y,50
Sprite 3,X+50,Y,3
Show sprite 3
wait 80
hide sprite 3
else
If Y<=100
If rightkey()=1
inc X, 70
If leftkey()=1 then goto arriba2
endif
If leftkey()=1 then goto Saltar3
arriba2:
Inc Y,50
Sprite 4,X+50,Y,4
Show sprite 4
Wait 80
Hide sprite 4
If rightkey()=1
inc X, 70
If leftkey()=1 then goto arriba3
endif
If leftkey()=1 then goto Saltar3
arriba3:
Inc Y,50
Sprite 4,X+50,Y,4
Show sprite 4
Wait 80
Hide sprite 4
If rightkey()=1
If leftkey()=1 then goto cola
endif
If rightkey()=1 then goto Prueba3
If leftkey()=1 then goto left
goto cola
endif
endif
loop
Saltar2:
Y=300
If leftkey()=1
If rightkey()=1 then goto arriba5
endif
arriba5:
Sprite 18,X-50,Y,18
show sprite 18
Wait 120
hide sprite 18
Saltar3:
Do
If Y>100
If leftkey()=1
dec X, 70
If rightkey()=1 then goto arriba6
endif
If rightkey()=1 then goto Saltar4
arriba6:
Dec Y,50
Sprite 11,X-50,Y,11
Show sprite 11
wait 80
hide sprite 11
else
If Y=100
If leftkey()=1
dec X, 70
If rightkey()=1 then goto arriba7
endif
If rightkey()=1 then goto Saltar4
Arriba7:
Inc Y,50
Sprite 12,X-50,Y,12
Show sprite 12
Wait 80
Hide sprite 12
If leftkey()=1
dec X, 70
If rightkey()=1 then goto arriba8
endif
If rightkey()=1 then goto Saltar4
arriba8:
Inc Y,50
Sprite 12,X-50,Y,12
Show sprite 12
Wait 80
Hide sprite 12
If leftkey()=1
If rightkey()=1 then goto cola2
endif
If rightkey()=1 then goto Prueba3
If leftkey()=1 then goto left
goto Cola2
else
endif
endif
sync
loop
endfunction
Soo, i dont see whats wrong with my syncs, idk maybe u guys know, the only sprite that appears is the 19, all the others dont.
But without the sync on command they all appear normaly, though i would like it to run more smoothly, so... what should i do?