STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228087
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2561 · P5121

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/53258350?noj=FRM53258350-3DC" width="1" height="1"></div>

Sonic Xtreme.swf

This is the info page for
Flash #131919

(Click the ID number above for more basic data on this flash file.)


Text
<p align="center"><font face="Unreal Tournament" size="29" color="#ffffff" letterSpacing="0.000000" kerning="0"><a href="http://www.juegalmaximo.info"><b>www.juegalmaximo.info</b></a></font></p>

Cargando

www.juegosdiarios.com
presenta

www.juegosdiarios.com
presenta

www.juegalmaximo.info
presenta

www.juegalmaximo.info
presenta

sonic Xtreme

sonic Xtreme

sonic Xtreme

play

play

jugar

jugar

more games

more games

instrucciones

instrucciones

sonic xtreme

download this game

download this game


This is not an official sonic game
The game is not sponsored by sega or sonic-team
Go and buy the sonic in Nintendo ds, xbox etc
Sonic is the best game of the history


This is not an official sonic game
The game is not sponsored by sega or sonic-team
Go and buy the sonic in Nintendo ds, xbox etc
Sonic is the best game of the history

gameover

main menu

main menu

you make                 poiints

continue

continuar

LEVEL

TIME

SCORE

LEVEL

TIME

SCORE

LEVEL

TIME

SCORE

LEVEL

TIME

SCORE

LEVEL

TIME

POINTS

LEVEL

TIME

POINTS

VIDAS

NIVEL

TIEMPO

PUNTOS

NIVEL SUPERADO

NIVEL SUPERADO

siguiente nivel

siguiente nivel

siguiente nivel

fin

ActionScript [AS1/AS2]

Frame 1
function cargando() { var _local2; var _local3; var _local4; _local2 = _root.getBytesTotal(); _local3 = _root.getBytesLoaded(); _local4 = Math.floor((_local3 * 100) / _local2); porcentaje_txt.text = _local4 + " %"; barra_mc.gotoAndStop(_local4); if (_local3 == _local2) { clearInterval(hiloPrecarga); gotoAndPlay (99); } } stop();
Frame 61
gotoAndPlay (99);
Frame 99
_root.vidas = 3; _root.puntos = 0; _root.numplataformas = 0; _root.numgusanos = 0; _root.nummonedas = 0; _root.nummuelles = 0; _root.numtotems = 0; _root.numflors = 0; _root.numgordos = 0; _root.numarbols = 0; _root.numarbolillos = 0; _root.numpinchos = 0; _root.numranas = 0; _root.numcocodrilos = 0; _root.numrokalokas = 0; _root.numcalabazas = 0; _root.numbatmans = 0; _root.numcangrejos = 0; _root.numperas = 0; _root.numstars = 0; _root.numloops = 0; _root.nummariquitas = 0; _root.numlifes = 0; _root.numburbujas = 0; _root.numavispas = 0; stop();
Frame 100
stop();
Frame 101
if (numplataformas != 0) { i = 1; while (i <= numplataformas) { _root["plataforma2" + i].swapDepths(1); _root["plataforma2" + i].removeMovieClip(); i++; } } if (numcalabazas != 0) { i = 1; while (i <= numcalabazas) { _root["calabaza" + i].swapDepths(1); _root["calabza" + i].removeMovieClip(); i++; } } if (numloops != 0) { i = 1; while (i <= numloops) { _root["loop" + i].swapDepths(1); _root["loop" + i].removeMovieClip(); i++; } } if (nummariquitas != 0) { i = 1; while (i <= nummariquitas) { _root["mariquita" + i].swapDepths(1); _root["mariquita" + i].removeMovieClip(); i++; } } if (numlifes != 0) { i = 1; while (i <= numlifes) { _root["life" + i].swapDepths(1); _root["life" + i].removeMovieClip(); i++; } } if (numburbujas != 0) { i = 1; while (i <= numburbujas) { _root["burbuja" + i].swapDepths(1); _root["burbuja" + i].removeMovieClip(); i++; } } if (numavispas != 0) { i = 1; while (i <= numavispas) { _root["avispa" + i].swapDepths(1); _root["avispa" + i].removeMovieClip(); i++; } } if (numgordos != 0) { i = 1; while (i <= numgordos) { _root["gordo" + i].removeMovieClip(); i++; } } if (nummonedas != 0) { i = 1; while (i <= nummonedas) { _root["moneda" + i].removeMovieClip(); i++; } } if (numarbols != 0) { i = 1; while (i <= numarbols) { _root["arbol" + i].removeMovieClip(); i++; } } if (numgusanos != 0) { i = 1; while (i <= numgusanos) { _root["gusano" + i].removeMovieClip(); i++; } } if (nummuelles != 0) { i = 1; while (i <= nummuelles) { _root["muelle" + i].removeMovieClip(); i++; } } if (numtotems != 0) { i = 1; while (i <= numtotems) { _root["totem" + i].removeMovieClip(); i++; } } if (numflors != 0) { i = 1; while (i <= numflors) { _root["flor" + i].removeMovieClip(); i++; } } if (numarbolillos != 0) { i = 1; while (i <= numarbolillos) { _root["arbolillo" + i].removeMovieClip(); i++; } } if (numpinchos != 0) { i = 1; while (i <= numpinchos) { _root["pincho" + i].removeMovieClip(); i++; } } if (numranas != 0) { i = 1; while (i <= numranas) { _root["rana" + i].removeMovieClip(); i++; } } if (numcocodrilos != 0) { i = 1; while (i <= numcocodrilos) { _root["cocodrilo" + i].removeMovieClip(); i++; } } if (numrokalokas != 0) { i = 1; while (i <= numrokalokas) { _root["rokaloka" + i].removeMovieClip(); i++; } } if (numbatmans != 0) { i = 1; while (i <= numbatmans) { _root["batman" + i].removeMovieClip(); i++; } } if (numcangrejos != 0) { i = 1; while (i <= numcangrejos) { _root["cangrejo" + i].removeMovieClip(); i++; } } if (numperas != 0) { i = 1; while (i <= numperas) { _root["pera" + i].removeMovieClip(); i++; } } if (numstars != 0) { i = 1; while (i <= numstars) { _root["star" + i].removeMovieClip(); i++; } } stopAllSounds(); if (numplataformas != 0) { i = 1; while (i <= numplataformas) { _root["plataforma2" + i].swapDepths(1); _root["plataforma2" + i].removeMovieClip(); i++; } } if (numcalabazas != 0) { i = 1; while (i <= numcalabazas) { _root["calabaza" + i].swapDepths(1); _root["calabza" + i].removeMovieClip(); i++; } } if (numloops != 0) { i = 1; while (i <= numloops) { _root["loop" + i].swapDepths(1); _root["loop" + i].removeMovieClip(); i++; } } if (nummariquitas != 0) { i = 1; while (i <= nummariquitas) { _root["mariquita" + i].swapDepths(1); _root["mariquita" + i].removeMovieClip(); i++; } } if (numlifes != 0) { i = 1; while (i <= numlifes) { _root["life" + i].swapDepths(1); _root["life" + i].removeMovieClip(); i++; } } if (numburbujas != 0) { i = 1; while (i <= numburbujas) { _root["burbuja" + i].swapDepths(1); _root["burbuja" + i].removeMovieClip(); i++; } } if (numavispas != 0) { i = 1; while (i <= numavispas) { _root["avispa" + i].swapDepths(1); _root["avispa" + i].removeMovieClip(); i++; } } if (numgordos != 0) { i = 1; while (i <= numgordos) { _root["gordo" + i].removeMovieClip(); i++; } } if (nummonedas != 0) { i = 1; while (i <= nummonedas) { _root["moneda" + i].removeMovieClip(); i++; } } if (numarbols != 0) { i = 1; while (i <= numarbols) { _root["arbol" + i].removeMovieClip(); i++; } } if (numgusanos != 0) { i = 1; while (i <= numgusanos) { _root["gusano" + i].removeMovieClip(); i++; } } if (nummuelles != 0) { i = 1; while (i <= nummuelles) { _root["muelle" + i].removeMovieClip(); i++; } } if (numtotems != 0) { i = 1; while (i <= numtotems) { _root["totem" + i].removeMovieClip(); i++; } } if (numflors != 0) { i = 1; while (i <= numflors) { _root["flor" + i].removeMovieClip(); i++; } } if (numarbolillos != 0) { i = 1; while (i <= numarbolillos) { _root["arbolillo" + i].removeMovieClip(); i++; } } if (numpinchos != 0) { i = 1; while (i <= numpinchos) { _root["pincho" + i].removeMovieClip(); i++; } } if (numranas != 0) { i = 1; while (i <= numranas) { _root["rana" + i].removeMovieClip(); i++; } } if (numcocodrilos != 0) { i = 1; while (i <= numcocodrilos) { _root["cocodrilo" + i].removeMovieClip(); i++; } } if (numrokalokas != 0) { i = 1; while (i <= numrokalokas) { _root["rokaloka" + i].removeMovieClip(); i++; } } if (numbatmans != 0) { i = 1; while (i <= numbatmans) { _root["batman" + i].removeMovieClip(); i++; } } if (numcangrejos != 0) { i = 1; while (i <= numcangrejos) { _root["cangrejo" + i].removeMovieClip(); i++; } } if (numperas != 0) { i = 1; while (i <= numperas) { _root["pera" + i].removeMovieClip(); i++; } } if (numstars != 0) { i = 1; while (i <= numstars) { _root["star" + i].removeMovieClip(); i++; } } _root.final2.removeMovieClip(); stop();
Frame 102
stopAllSounds(); if (numplataformas != 0) { i = 1; while (i <= numplataformas) { _root["plataforma2" + i].swapDepths(1); _root["plataforma2" + i].removeMovieClip(); i++; } } if (numcalabazas != 0) { i = 1; while (i <= numcalabazas) { _root["calabaza" + i].swapDepths(1); _root["calabaza" + i].removeMovieClip(); i++; } } if (numloops != 0) { i = 1; while (i <= numloops) { _root["loop" + i].swapDepths(1); _root["loop" + i].removeMovieClip(); i++; } } if (nummariquitas != 0) { i = 1; while (i <= nummariquitas) { _root["mariquita" + i].swapDepths(1); _root["mariquita" + i].removeMovieClip(); i++; } } if (numlifes != 0) { i = 1; while (i <= numlifes) { _root["life" + i].swapDepths(1); _root["life" + i].removeMovieClip(); i++; } } if (numburbujas != 0) { i = 1; while (i <= numburbujas) { _root["burbuja" + i].swapDepths(1); _root["burbuja" + i].removeMovieClip(); i++; } } if (numavispas != 0) { i = 1; while (i <= numavispas) { _root["avispa" + i].swapDepths(1); _root["avispa" + i].removeMovieClip(); i++; } } if (numgordos != 0) { i = 1; while (i <= numgordos) { _root["gordo" + i].swapDepths(1); _root["gordo" + i].removeMovieClip(); i++; } } if (nummonedas != 0) { i = 1; while (i <= nummonedas) { _root["moneda" + i].swapDepths(1); _root["moneda" + i].removeMovieClip(); i++; } } if (numarbols != 0) { i = 1; while (i <= numarbols) { _root["arbol" + i].swapDepths(1); _root["arbol" + i].removeMovieClip(); i++; } } if (numgusanos != 0) { i = 1; while (i <= numgusanos) { _root["gusano" + i].swapDepths(1); _root["gusano" + i].removeMovieClip(); i++; } } if (nummuelles != 0) { i = 1; while (i <= nummuelles) { _root["muelle" + i].swapDepths(1); _root["muelle" + i].removeMovieClip(); i++; } } if (numtotems != 0) { i = 1; while (i <= numtotems) { _root["totem" + i].swapDepths(1); _root["totem" + i].removeMovieClip(); i++; } } if (numflors != 0) { i = 1; while (i <= numflors) { _root["flor" + i].swapDepths(1); _root["flor" + i].removeMovieClip(); i++; } } if (numarbolillos != 0) { i = 1; while (i <= numarbolillos) { _root["arbolillo" + i].swapDepths(1); _root["arbolillo" + i].removeMovieClip(); i++; } } if (numpinchos != 0) { i = 1; while (i <= numpinchos) { _root["pincho" + i].swapDepths(1); _root["pincho" + i].removeMovieClip(); i++; } } if (numranas != 0) { i = 1; while (i <= numranas) { _root["rana" + i].swapDepths(1); _root["rana" + i].removeMovieClip(); i++; } } if (numcocodrilos != 0) { i = 1; while (i <= numcocodrilos) { _root["cocodrilo" + i].swapDepths(1); _root["cocodrilo" + i].removeMovieClip(); i++; } } if (numrokalokas != 0) { i = 1; while (i <= numrokalokas) { _root["rokaloka" + i].swapDepths(1); _root["rokaloka" + i].removeMovieClip(); i++; } } if (numbatmans != 0) { i = 1; while (i <= numbatmans) { _root["barman" + i].swapDepths(1); _root["batman" + i].removeMovieClip(); i++; } } if (numcangrejos != 0) { i = 1; while (i <= numcangrejos) { _root["cangrejo" + i].swapDepths(1); _root["cangrejo" + i].removeMovieClip(); i++; } } if (numperas != 0) { i = 1; while (i <= numperas) { _root["pera" + i].swapDepths(1); _root["pera" + i].removeMovieClip(); i++; } } if (numstars != 0) { i = 1; while (i <= numstars) { _root["star" + i].removeMovieClip(); i++; } } _root.final2.removeMovieClip(); if (_root.vidas < 0) { gotoAndPlay ("gameover"); } else { stop(); }
Frame 103
_root.profundidad = 0; _root.frame = 103; _root.siguiente = 104; _root.temp = 100; _root.movimiento = 0; _root.gravedad = 1; _root.balas = 1; _root.nivel = 1; final = "5900:100"; var mapa = new Array(); var gusanos = new Array(); var monedas = new Array(); var muelles = new Array(); var totems = new Array(); var flors = new Array(); var gordos = new Array(); var arbols = new Array(); var arbolillos = new Array(); var pinchos = new Array(); var ranas = new Array(); var cocodrilos = new Array(); var rokalokas = new Array(); var batmans = new Array(); var calabazas = new Array(); var cangrejos = new Array(); var peras = new Array(); var stars = new Array(); var loops = new Array(); var mariquitas = new Array(); var lifes = new Array(); var burbujas = new Array(); var avispas = new Array(); final = "5900:100"; mapa.push("320:82:-2360:50:5"); mapa.push("320:82:-2360:50:7"); mapa.push("320:82:-2360:50:5"); mapa.push("320:82:-2000:0:4"); mapa.push("320:82:-2360:50:3"); mapa.push("320:82:-2360:50:2"); mapa.push("320:82:-2360:50:1"); mariquitas.push("-2000:20"); gusanos.push("-2000:20"); avispas.push("-2000:300"); muelles.push("-2000:-10"); totems.push("-2000:-23"); flors.push("-2000:100"); cocodrilos.push("-2000:100"); rokalokas.push("-2000:200"); arbols.push("-2000:-80"); arbolillos.push("-2000:-100"); batmans.push("-2000:400"); cangrejos.push("-2000:100"); burbujas.push("-2000:0"); lifes.push("-2000:0"); monedas.push("-3000:10"); peras.push("-800:280"); pinchos.push("-2000:0"); lifes.push("-780:30"); burbujas.push("-780:30"); flors.push("-5000:250"); arbolillos.push("-3700:200"); monedas.push("3910:180"); loops.push("3500:-137"); mapa.push("224.0:46.5:602.5:404.5:3"); mapa.push("224.0:46.5:1247.5:404.5:3"); mapa.push("320:82:4164.5:357.75:5"); mapa.push("320:82:4479.5:357.75:5"); mapa.push("320:82:2084.5:412.75:5"); mapa.push("320:82:2404.5:412.75:5"); mapa.push("320:82:2704.5:412.75:5"); mapa.push("320:82:2994.5:412.75:5"); mapa.push("320:82:3789.5:412.75:5"); mapa.push("320:82:4074.5:412.75:5"); mapa.push("320:82:4354.5:412.75:5"); mapa.push("320:82:4659.5:412.75:5"); mapa.push("320:82:4959.5:412.75:5"); mapa.push("320:36:113.75:438.5:4"); mapa.push("320:36:423.75:438.5:4"); mapa.push("320:36:723.75:438.5:4"); mapa.push("320:36:968.75:438.5:4"); mapa.push("320:36:1253.75:438.5:4"); mapa.push("320:36:1538.75:438.5:4"); mapa.push("320:36:1813.75:438.5:4"); mapa.push("320:36:2103.75:438.5:4"); mapa.push("320:36:2393.75:438.5:4"); mapa.push("320:36:2698.75:438.5:4"); mapa.push("320:36:3003.75:438.5:4"); mapa.push("320:36:3318.75:438.5:4"); mapa.push("320:36:3568.75:438.5:4"); mapa.push("320:36:3848.75:438.5:4"); mapa.push("320:36:4153.75:438.5:4"); mapa.push("320:36:4383.75:438.5:4"); mapa.push("320:36:4638.75:438.5:4"); mapa.push("320:36:4883.75:438.5:4"); mapa.push("320:36:5193.75:438.5:4"); mapa.push("320:36:5493.75:438.5:4"); mapa.push("320:36:5768.75:438.5:4"); mapa.push("320:36:5968.75:438.5:4"); gusanos.push("4516.5:262.5"); gusanos.push("3106.5:322.5"); gusanos.push("2491.5:317.5"); gusanos.push("1831.5:377.5"); gusanos.push("1326.5:347.5"); gusanos.push("701.5:332.5"); arbolillos.push("62.75:362"); arbolillos.push("197.75:362"); arbolillos.push("337.75:362"); arbolillos.push("542.75:317"); arbolillos.push("657.75:317"); arbolillos.push("817.75:357"); arbolillos.push("947.75:367"); arbolillos.push("1057.75:367"); arbolillos.push("1202.75:322"); arbolillos.push("1322.75:322"); arbolillos.push("1472.75:357"); arbolillos.push("1697.75:357"); arbolillos.push("1827.75:407"); arbolillos.push("2032.75:307"); arbolillos.push("2202.75:362"); arbolillos.push("2412.75:307"); arbolillos.push("2682.75:352"); arbolillos.push("2932.75:312"); arbolillos.push("3087.75:307"); arbolillos.push("3337.75:352"); arbolillos.push("3507.75:372"); arbolillos.push("3722.75:322"); arbolillos.push("3877.75:372"); arbolillos.push("4102.75:272"); arbolillos.push("4287.75:272"); arbolillos.push("4492.75:272"); arbolillos.push("4732.75:322"); arbolillos.push("4872.75:347"); arbolillos.push("5042.75:327"); arbolillos.push("5252.75:372"); arbolillos.push("5517.75:347"); arbolillos.push("5742.75:387"); flors.push("135.75:395.25"); flors.push("270.75:410.25"); flors.push("435.75:400.25"); flors.push("740.75:400.25"); flors.push("880.75:400.25"); flors.push("1560.75:400.25"); flors.push("1615.75:400.25"); flors.push("2115.75:360.25"); flors.push("2285.75:355.25"); flors.push("2345.75:350.25"); flors.push("2505.75:365.25"); flors.push("2595.75:360.25"); flors.push("2775.75:350.25"); flors.push("2860.75:355.25"); flors.push("3010.75:340.25"); flors.push("3195.75:400.25"); flors.push("3255.75:400.25"); flors.push("3430.75:400.25"); flors.push("3590.75:400.25"); flors.push("3800.75:360.25"); flors.push("3955.75:365.25"); flors.push("4030.75:310.25"); flors.push("4190.75:305.25"); flors.push("4375.75:300.25"); flors.push("4600.75:305.25"); flors.push("4960.75:345.25"); flors.push("5175.75:405.25"); flors.push("5355.75:405.25"); flors.push("5445.75:400.25"); flors.push("5600.75:395.25"); flors.push("5670.75:390.25"); flors.push("5830.75:400.25"); flors.push("5915.75:400.25"); flors.push("5975.75:400.25"); totems.push("1398.5:401.75"); totems.push("1768.5:406.75"); totems.push("1963.5:366.75"); totems.push("2558.5:356.75"); totems.push("2633.5:366.75"); totems.push("2828.5:366.75"); totems.push("3658.5:366.75"); totems.push("4428.5:396.75"); totems.push("4673.5:351.75"); totems.push("4798.5:351.75"); totems.push("5108.5:356.75"); totems.push("5403.5:396.75"); totems.push("6033.5:396.75"); monedas.push("493:328.5"); monedas.push("523:328.5"); monedas.push("553:328.5"); monedas.push("583:328.5"); monedas.push("613:328.5"); monedas.push("643:328.5"); monedas.push("673:328.5"); monedas.push("703:328.5"); monedas.push("1148:333.5"); monedas.push("1178:333.5"); monedas.push("1208:333.5"); monedas.push("1238:333.5"); monedas.push("1268:333.5"); monedas.push("1298:333.5"); monedas.push("1328:333.5"); monedas.push("1358:333.5"); monedas.push("1943:303.5"); monedas.push("1973:303.5"); monedas.push("2003:303.5"); monedas.push("2033:303.5"); monedas.push("2063:303.5"); monedas.push("2093:303.5"); monedas.push("2123:303.5"); monedas.push("2153:303.5"); monedas.push("2183:303.5"); monedas.push("2213:303.5"); monedas.push("2243:303.5"); monedas.push("2773:298.5"); monedas.push("2803:298.5"); monedas.push("2833:298.5"); monedas.push("2863:298.5"); monedas.push("2893:298.5"); monedas.push("2923:298.5"); monedas.push("2953:298.5"); monedas.push("2983:298.5"); monedas.push("3013:298.5"); monedas.push("3043:298.5"); monedas.push("3073:298.5"); monedas.push("3648:308.5"); monedas.push("3678:308.5"); monedas.push("3708:308.5"); monedas.push("3738:308.5"); monedas.push("3768:308.5"); monedas.push("3798:308.5"); monedas.push("3828:308.5"); monedas.push("3858:308.5"); monedas.push("3888:308.5"); monedas.push("3918:308.5"); monedas.push("3948:308.5"); monedas.push("4023:248.5"); monedas.push("4053:248.5"); monedas.push("4083:248.5"); monedas.push("4113:248.5"); monedas.push("4143:248.5"); monedas.push("4173:248.5"); monedas.push("4203:248.5"); monedas.push("4233:248.5"); monedas.push("4263:248.5"); monedas.push("4293:248.5"); monedas.push("4323:248.5"); monedas.push("4928:293.5"); monedas.push("4958:293.5"); monedas.push("4988:293.5"); monedas.push("5018:293.5"); monedas.push("5048:293.5"); monedas.push("5078:293.5"); monedas.push("5108:293.5"); monedas.push("5138:293.5"); monedas.push("5168:293.5"); monedas.push("5198:293.5"); monedas.push("5228:293.5"); _root.fondo._x = -2.4; _root.fondo._y = 1.4; _root.sonic._x = 77.3; _root.sonic._y = 222.3; _root.numplataformas = mapa.length; mapainfo = mapa[0].split(":"); i = 1; _root["plataforma2" + i]._width = mapainfo[0]; _root["plataforma2" + i]._height = mapainfo[1]; _root["plataforma2" + i]._x = mapainfo[2]; _root["plataforma2" + i]._y = mapainfo[3]; _root.profundidad = _root.profundidad + 1; i = 2; while (i <= numplataformas) { _root.profundidad = _root.profundidad + 1; mapainfo[3] = 0; mapainfo = mapa[i - 1].split(":"); if (mapainfo[4] == 1) { plataformak.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 2) { verde.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 3) { tumbao1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 4) { ancho1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 5) { alto1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 6) { muevete1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); _root["plataforma2" + i].maximo = mapainfo[5]; _root["plataforma2" + i].n = mapainfo[6]; } else if (mapainfo[4] == 7) { invisible1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } _root["plataforma2" + i]._width = mapainfo[0]; _root["plataforma2" + i]._height = mapainfo[1]; _root["plataforma2" + i]._x = mapainfo[2]; _root["plataforma2" + i]._y = mapainfo[3]; _root["plataforma2" + i].numero = i - 1; i++; } final1.duplicateMovieClip("final2", _root.profundidad + 17500); i = 1; final = final.split(":"); _root.final2._x = final[0]; _root.final2._y = (421 - _root.final1._height) - final[1]; _root.numgusanos = gusanos.length; if (_root.numgusanos == 0) { gusano1.swapDepths(1); gusano1.removeMovieClip(); } else if (_root.numgusanos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gusanos[i - 1].split(":"); _root["gusano" + i]._x = mapainfo[0]; _root["gusano" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gusanos[i - 1].split(":"); _root["gusano" + i]._x = mapainfo[0]; _root["gusano" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numgusanos) { _root.profundidad = _root.profundidad + 1; gusano1.duplicateMovieClip("gusano" + i, _root.profundidad); mapainfo = gusanos[i - 1].split(":"); _root["gusano" + i]._x = mapainfo[0]; _root["gusano" + i]._y = mapainfo[1]; i++; } } _root.nummonedas = monedas.length; if (_root.nummonedas == 0) { moneda1.swapDepths(1); moneda1.removeMovieClip(); } else if (_root.nummonedas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = monedas[i - 1].split(":"); _root["moneda" + i]._x = mapainfo[0]; _root["moneda" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = monedas[i - 1].split(":"); _root["moneda" + i]._x = mapainfo[0]; _root["moneda" + i]._y = mapainfo[1]; i = 2; while (i <= _root.nummonedas) { _root.profundidad = _root.profundidad + 1; moneda1.duplicateMovieClip("moneda" + i, _root.profundidad); mapainfo = monedas[i - 1].split(":"); _root["moneda" + i]._x = mapainfo[0]; _root["moneda" + i]._y = mapainfo[1]; i++; } } _root.nummuelles = muelles.length; if (_root.nummuelles == 0) { muelle1.swapDepths(1); muelle1.removeMovieClip(); } else if (_root.nummuelles == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = muelles[i - 1].split(":"); _root["muelle" + i]._x = mapainfo[0]; _root["muelle" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = muelles[i - 1].split(":"); _root["muelle" + i]._x = mapainfo[0]; _root["muelle" + i]._y = mapainfo[1]; i = 2; while (i <= _root.nummuelles) { _root.profundidad = _root.profundidad + 1; muelle1.duplicateMovieClip("muelle" + i, _root.profundidad); mapainfo = muelles[i - 1].split(":"); _root["muelle" + i]._x = mapainfo[0]; _root["muelle" + i]._y = -mapainfo[1]; i++; } } _root.numtotems = totems.length; if (_root.numtotems == 0) { totem1.swapDepths(1); totem1.removeMovieClip(); } else if (_root.numtotems == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = totems[i - 1].split(":"); _root["totem" + i]._x = mapainfo[0]; _root["totem" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = totems[i - 1].split(":"); _root["totem" + i]._x = mapainfo[0]; _root["totem" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numtotems) { _root.profundidad = _root.profundidad + 1; totem1.duplicateMovieClip("totem" + i, _root.profundidad); mapainfo = totems[i - 1].split(":"); _root["totem" + i]._x = mapainfo[0]; _root["totem" + i]._y = mapainfo[1]; i++; } } _root.numflors = flors.length; if (_root.numflors == 0) { flor1.swapDepths(1); flor1.removeMovieClip(); } else if (_root.numflors == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = flors[i - 1].split(":"); _root["flor" + i]._x = mapainfo[0]; _root["flor" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = flors[i - 1].split(":"); _root["flor" + i]._x = mapainfo[0]; _root["flor" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numflors) { _root.profundidad = _root.profundidad + 1; flor1.duplicateMovieClip("flor" + i, _root.profundidad); mapainfo = flors[i - 1].split(":"); _root["flor" + i]._x = mapainfo[0]; _root["flor" + i]._y = mapainfo[1]; i++; } } _root.numgordos = gordos.length; if (_root.numgordos == 0) { gordo1.swapDepths(1); gordo1.removeMovieClip(); } else if (_root.numgordos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gordos[i - 1].split(":"); _root["gordo" + i]._x = mapainfo[0]; _root["gordo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gordos[i - 1].split(":"); _root["gordo" + i]._x = mapainfo[0]; _root["gordo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numgordos) { _root.profundidad = _root.profundidad + 1; gordo1.duplicateMovieClip("gordo" + i, _root.profundidad); mapainfo = gordos[i - 1].split(":"); _root["gordo" + i]._x = mapainfo[0]; _root["gordo" + i]._y = mapainfo[1]; i++; } } _root.numarbols = arbols.length; if (_root.numarbols == 0) { arbol1.swapDepths(1); arbol1.removeMovieClip(); } else if (_root.numarbols == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbols[i - 1].split(":"); _root["arbol" + i]._x = mapainfo[0]; _root["arbol" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbols[i - 1].split(":"); _root["arbol" + i]._x = mapainfo[0]; _root["arbol" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numarbols) { _root.profundidad = _root.profundidad + 1; arbol1.duplicateMovieClip("arbol" + i, _root.profundidad); mapainfo = arbols[i - 1].split(":"); _root["arbol" + i]._x = mapainfo[0]; _root["arbol" + i]._y = mapainfo[1]; i++; } } _root.numarbolillos = arbolillos.length; if (_root.numarbolillos == 0) { arbolillo1.swapDepths(1); arbolillo1.removeMovieClip(); } else if (_root.numarbolillos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbolillos[i - 1].split(":"); _root["arbolillo" + i]._x = mapainfo[0]; _root["arbolillo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbolillos[i - 1].split(":"); _root["arbolillo" + i]._x = mapainfo[0]; _root["arbolillo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numarbolillos) { _root.profundidad = _root.profundidad + 1; arbolillo1.duplicateMovieClip("arbolillo" + i, _root.profundidad); mapainfo = arbolillos[i - 1].split(":"); _root["arbolillo" + i]._x = mapainfo[0]; _root["arbolillo" + i]._y = mapainfo[1]; i++; } } _root.numpinchos = pinchos.length; if (_root.numpinchos == 0) { pincho1.swapDepths(1); pincho1.removeMovieClip(); } else if (_root.numpinchos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = pinchos[i - 1].split(":"); _root["pincho" + i]._x = mapainfo[0]; _root["pincho" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = pinchos[i - 1].split(":"); _root["pincho" + i]._x = mapainfo[0]; _root["pincho" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numpinchos) { _root.profundidad = _root.profundidad + 1; pincho1.duplicateMovieClip("pincho" + i, _root.profundidad); mapainfo = pinchos[i - 1].split(":"); _root["pincho" + i]._x = mapainfo[0]; _root["pincho" + i]._y = mapainfo[1]; i++; } } _root.numranas = ranas.length; if (_root.numranas == 0) { rana1.swapDepths(1); rana1.removeMovieClip(); } else if (_root.numranas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = ranas[i - 1].split(":"); _root["rana" + i]._x = mapainfo[0]; _root["rana" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = ranas[i - 1].split(":"); _root["rana" + i]._x = mapainfo[0]; _root["rana" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numranas) { _root.profundidad = _root.profundidad + 1; rana1.duplicateMovieClip("rana" + i, _root.profundidad); mapainfo = ranas[i - 1].split(":"); _root["rana" + i]._x = mapainfo[0]; _root["rana" + i]._y = mapainfo[1]; i++; } } _root.numcocodrilos = cocodrilos.length; if (_root.numcocodrilos == 0) { cocodrilo1.swapDepths(1); cocodrilo1.removeMovieClip(); } else if (_root.numcocodrilos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cocodrilos[i - 1].split(":"); _root["cocodrilo" + i]._x = mapainfo[0]; _root["cocodrilo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cocodrilos[i - 1].split(":"); _root["cocodrilo" + i]._x = mapainfo[0]; _root["cocodrilo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numcocodrilos) { _root.profundidad = _root.profundidad + 1; cocodrilo1.duplicateMovieClip("cocodrilo" + i, _root.profundidad); mapainfo = cocodrilos[i - 1].split(":"); _root["cocodrilo" + i]._x = mapainfo[0]; _root["cocodrilo" + i]._y = mapainfo[1]; i++; } } _root.numrokalokas = rokalokas.length; if (_root.numrokalokas == 0) { rokaloka1.swapDepths(1); rokaloka1.removeMovieClip(); } else if (_root.numrokalokas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = rokalokas[i - 1].split(":"); _root["rokaloka" + i]._x = mapainfo[0]; _root["rokaloka" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = rokalokas[i - 1].split(":"); _root["rokaloka" + i]._x = mapainfo[0]; _root["rokaloka" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numrokalokas) { _root.profundidad = _root.profundidad + 1; mapainfo = rokalokas[i - 1].split(":"); if (mapainfo[2] == 1) { rokaloka1.duplicateMovieClip("rokaloka" + i, _root.profundidad); } else { rokalokaarriba1.duplicateMovieClip("rokaloka" + i, _root.profundidad); } _root["rokaloka" + i]._x = mapainfo[0]; _root["rokaloka" + i]._y = mapainfo[1]; i++; } } _root.numcalabazas = calabazas.length; if (_root.numcalabazas == 0) { calabaza1.swapDepths(1); calabaza1.removeMovieClip(); } else if (_root.numcalabazas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = calabazas[i - 1].split(":"); _root["calabaza" + i]._x = mapainfo[0]; _root["calabaza" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = calabazas[i - 1].split(":"); _root["calabaza" + i]._x = mapainfo[0]; _root["calabaza" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numcalabazas) { _root.profundidad = _root.profundidad + 1; calabaza1.duplicateMovieClip("calabaza" + i, _root.profundidad); mapainfo = calabazas[i - 1].split(":"); _root["calabaza" + i]._x = mapainfo[0]; _root["calabaza" + i]._y = mapainfo[1]; i++; } } _root.numbatmans = batmans.length; if (_root.numbatmans == 0) { batman1.swapDepths(1); batman1.removeMovieClip(); } else if (_root.numbatmans == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = batmans[i - 1].split(":"); _root["batman" + i]._x = mapainfo[0]; _root["batman" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = batmans[i - 1].split(":"); _root["batman" + i]._x = mapainfo[0]; _root["batman" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numbatmans) { _root.profundidad = _root.profundidad + 1; batman1.duplicateMovieClip("batman" + i, _root.profundidad); mapainfo = batmans[i - 1].split(":"); _root["batman" + i]._x = mapainfo[0]; _root["batman" + i]._y = mapainfo[1]; i++; } } _root.numcangrejos = cangrejos.length; if (_root.numcangrejos == 0) { cangrejo1.swapDepths(1); cangrejo1.removeMovieClip(); } else if (_root.numcangrejos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cangrejos[i - 1].split(":"); _root["cangrejo" + i]._x = mapainfo[0]; _root["cangrejo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cangrejos[i - 1].split(":"); _root["cangrejo" + i]._x = mapainfo[0]; _root["cangrejo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numcangrejos) { _root.profundidad = _root.profundidad + 1; cangrejo1.duplicateMovieClip("cangrejo" + i, _root.profundidad); mapainfo = cangrejos[i - 1].split(":"); _root["cangrejo" + i]._x = mapainfo[0]; _root["cangrejo" + i]._y = mapainfo[1]; i++; } } _root.numperas = peras.length; if (_root.numperas == 0) { pera1.swapDepths(1); pera1.removeMovieClip(); } else if (_root.numperas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = peras[i - 1].split(":"); _root["pera" + i]._x = mapainfo[0]; _root["pera" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = peras[i - 1].split(":"); _root["pera" + i]._x = mapainfo[0]; _root["pera" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numperas) { _root.profundidad = _root.profundidad + 1; pera1.duplicateMovieClip("pera" + i, _root.profundidad); mapainfo = peras[i - 1].split(":"); _root["pera" + i]._x = mapainfo[0]; _root["pera" + i]._y = mapainfo[1]; i++; } } _root.numstars = stars.length; if (_root.numstars == 0) { star1.swapDepths(1); star1.removeMovieClip(); } else if (_root.numstars == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = stars[i - 1].split(":"); _root["star" + i]._x = mapainfo[0]; _root["star" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = stars[i - 1].split(":"); _root["star" + i]._x = mapainfo[0]; _root["star" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numstars) { _root.profundidad = _root.profundidad + 1; star1.duplicateMovieClip("star" + i, _root.profundidad); mapainfo = stars[i - 1].split(":"); _root["star" + i]._x = mapainfo[0]; _root["star" + i]._y = mapainfo[1]; i++; } } _root.numloops = loops.length; if (_root.numloops == 0) { loop1.swapDepths(1); loop1.removeMovieClip(); } else if (_root.numloops == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = loops[i - 1].split(":"); _root["loop" + i]._x = mapainfo[0]; _root["loop" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = loops[i - 1].split(":"); _root["loop" + i]._x = mapainfo[0]; _root["loop" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numloops) { _root.profundidad = _root.profundidad + 1; loop1.duplicateMovieClip("loop" + i, _root.profundidad); mapainfo = loops[i - 1].split(":"); _root["loop" + i]._x = mapainfo[0]; _root["loop" + i]._y = mapainfo[1]; i++; } } _root.nummariquitas = mariquitas.length; if (_root.nummariquitas == 0) { mariquita1.swapDepths(1); mariquita1.removeMovieClip(); } else if (_root.nummariquitas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = mariquitas[i - 1].split(":"); _root["mariquita" + i]._x = mapainfo[0]; _root["mariquita" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = mariquitas[i - 1].split(":"); _root["mariquita" + i]._x = mapainfo[0]; _root["mariquita" + i]._y = mapainfo[1]; i = 2; while (i <= _root.nummariquitas) { _root.profundidad = _root.profundidad + 1; mariquita1.duplicateMovieClip("mariquita" + i, _root.profundidad); mapainfo = mariquitas[i - 1].split(":"); _root["mariquita" + i]._x = mapainfo[0]; _root["mariquita" + i]._y = mapainfo[1]; i++; } } _root.numlifes = lifes.length; if (_root.numlifes == 0) { life1.swapDepths(1); life1.removeMovieClip(); } else if (_root.numlifes == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = lifes[i - 1].split(":"); _root["life" + i]._x = mapainfo[0]; _root["life" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = lifes[i - 1].split(":"); _root["life" + i]._x = mapainfo[0]; _root["life" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numlifes) { _root.profundidad = _root.profundidad + 1; life1.duplicateMovieClip("life" + i, _root.profundidad); mapainfo = lifes[i - 1].split(":"); _root["life" + i]._x = mapainfo[0]; _root["life" + i]._y = mapainfo[1]; i++; } } _root.numburbujas = burbujas.length; if (_root.numburbujas == 0) { burbuja1.swapDepths(1); burbuja1.removeMovieClip(); } else if (_root.numburbujas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = burbujas[i - 1].split(":"); _root["burbuja" + i]._x = mapainfo[0]; _root["burbuja" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = burbujas[i - 1].split(":"); _root["burbuja" + i]._x = mapainfo[0]; _root["burbuja" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numburbujas) { _root.profundidad = _root.profundidad + 1; burbuja1.duplicateMovieClip("burbuja" + i, _root.profundidad); mapainfo = burbujas[i - 1].split(":"); _root["burbuja" + i]._x = mapainfo[0]; _root["burbuja" + i]._y = mapainfo[1]; i++; } } _root.numavispas = avispas.length; if (_root.numavispas == 0) { avispa1.swapDepths(1); avispa1.removeMovieClip(); } else if (_root.numavispas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = avispas[i - 1].split(":"); _root["avispa" + i]._x = mapainfo[0]; _root["avispa" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = avispas[i - 1].split(":"); _root["avispa" + i]._x = mapainfo[0]; _root["avispa" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numavispas) { _root.profundidad = _root.profundidad + 1; avispa1.duplicateMovieClip("avispa" + i, _root.profundidad); mapainfo = avispas[i - 1].split(":"); _root["avispa" + i]._x = mapainfo[0]; _root["avispa" + i]._y = mapainfo[1]; i++; } } CuentaAtras = Math.round(getTimer() / 1000) + temp; _root.onEnterFrame = function () { Tiempo = Math.round(getTimer() / 1000); Restante = CuentaAtras - Tiempo; if (Restante < 0) { _root.sonic.reset(); } }; stop();
Instance of Symbol 94 MovieClip "fondo" in Frame 103
onClipEvent (enterFrame) { this._x = this._x - (_root.movimiento / 10); }
Instance of Symbol 97 MovieClip "final1" in Frame 103
onClipEvent (enterFrame) { if (this.hitTest(_root.sonic.pluton)) { misonidoa = new Sound(); misonidoa.attachSound("final"); misonidoa.start(); _root.puntos = _root.puntos + 300; _root.nivel = _root.nivel + 1; _root.gotoAndPlay(375); } this._x = this._x - _root.movimiento; this.x = this._x; this.y = this._y; }
Instance of Symbol 118 MovieClip "loop1" in Frame 103
onClipEvent (load) { this.estado = "esperando"; } onClipEvent (enterFrame) { if ((this.entrada.hitTest(_root.sonic.pluton) && (_root.sonic.estado == "corriendo")) && (_root.sonic.lado == "derecha")) { this.estado = "dentro"; this.lado = "izkierda"; _root.sonic._visible = 0; _root.sonic.gira = 1; _root.movimiento = 150; _root.sonic._x = 100; } if ((this.salida.hitTest(_root.sonic.pluton) && (_root.sonic.estado == "corriendo")) && (_root.sonic.lado == "izquierda")) { this.estado = "dentro"; this.lado = "derecha"; _root.sonic._visible = 0; _root.sonic.gira = 1; _root.movimiento = -200; _root.sonic._x = 300; } this._x = this._x - _root.movimiento; }
Instance of Symbol 118 MovieClip in Frame 103
onClipEvent (load) { this.estado = "esperando"; } onClipEvent (enterFrame) { if (this.estado == "fuera") { this.stop(); } if ((this.entrada.hitTest(_root.sonic.pluton) && (_root.sonic.estado == "corriendo")) && (_root.sonic.lado == "derecha")) { this.estado = "dentro"; this.play(); _root.sonic._visible = 0; _root.sonic.gira = 1; } this._x = this._x - _root.movimiento; }
Instance of Symbol 203 MovieClip "sonic" in Frame 103
onClipEvent (load) { function rebota(pot) { this.estado = "saltando"; this.gravedad = 2; this.potencia = -pot; this.gotoAndPlay(59); } function reset() { if (this.burbu == 0) { _root.vidas = _root.vidas - 1; _root.gotoAndPlay("continuar"); } else { this.burbu = 0; this.esfera1._alpha = 0; this.rebota("20"); } } this.gira = 0; suena = 0; this.imposible = "ninguno"; this.vel = 0; this.estado = "saltando"; this.lado = "derecha"; this.gravedad = 2; this.burbu = 0; this.potencia = 0; xcorrect = this._width / 2; ycorrect = this._height / 2; this.caida = 2; } onClipEvent (enterFrame) { if (this.gira != 1) { this.tocando = 0; this.colapso = 0; this.quiero = this._y; this.cayendo = true; if (Key.isDown(37)) { if (this.imposible != "izquierda") { this.vel = this.vel - 10; } } else if (Key.isDown(39)) { if (this.imposible != "derecha") { this.vel = this.vel + 10; } } else if (this.vel > 0) { this.vel = this.vel - 5; } else if (this.vel < 0) { this.vel = this.vel + 5; } if (this.vel > 20) { this.vel = 20; } if (this.vel < -20) { this.vel = -20; } if (this.potencia > 30) { this.potencia = 30; } if (this.estado == "saltando") { this._y = this._y + this.potencia; this.potencia = this.potencia + this.gravedad; } else { if ((this.vel < 20) || (this.vel > -20)) { this.estado = "andando"; } if (this.vel == 20) { this.estado = "corriendo"; } if (this.vel == -20) { this.estado = "corriendo"; } if (this.vel == 0) { this.estado = "parado"; } } if ((this.vel < 0) && (this.lado == "derecha")) { if (this.imposible == "derecha") { this.imposible = "ninguno"; } this._xscale = -100; this._x = this._x + (this._width / 2); this.lado = "izquierda"; } if ((this.vel > 0) && (this.lado == "izquierda")) { if (this.imposible == "izquierda") { this.imposible = "ninguno"; } this._xscale = 100; this._x = this._x - (this._width / 2); this.lado = "derecha"; } if (this.vel > 0) { if (this.imposible != "derecha") { this._x = this._x + this.vel; } } else if (this.vel < 0) { if (this.imposible != "izquierda") { this._x = this._x + this.vel; } } if (((this._x > 300) && (this.lado == "derecha")) || ((this._x < 200) && (this.lado == "izquierda"))) { this._x = this._x - this.vel; _root.movimiento = this.vel; } else { _root.movimiento = 0; } this.pisando = 0; this.pisando2 = 0; i = 1; while (i <= _root.numplataformas) { while (this.arr.hitTest(_root["plataforma2" + i])) { this._y = this._y + 1; this.potencia = 3; } while (this.aba.hitTest(_root["plataforma2" + i])) { this._y = this._y - 1; this.potencia = 0; this.pisando = 1; this.estado = "parado"; } if (this.aba2.hitTest(_root["plataforma2" + i])) { this.pisando2 = 1; } if (this.lado == "derecha") { while (this.dertok.hitTest(_root["plataforma2" + i])) { this._x = this._x - 1; this.vel = 0; } } else { while (this.dertok.hitTest(_root["plataforma2" + i])) { this._x = this._x + 1; this.vel = 0; } } i++; } if (Key.isDown(32) && (this.pisando2 == "1")) { if ((this.imposible == "derecha") || (this.imposible == "izquierda")) { this.imposible = "ninguno"; } this.estado = "saltando"; this.gravedad = 2; this.potencia = -25; misonido = new Sound(); misonido.attachSound("salta"); misonido.start(); } if ((this.pisando2 == 0) && (this.estado != "saltando")) { this.estado = "saltando"; this.potencia = 3; } if (this._y > 450) { this.burbu = 0; if (suena == 0) { misonidoa = new Sound(); misonidoa.attachSound("cae"); misonidoa.start(); } suena = 1; } if (this._y > 800) { this.reset(); } this.muevete = 0; } else { if (((this._x > 300) && (this.lado == "derecha")) || ((this._x < 200) && (this.lado == "izquierda"))) { if (this.lado == "derecha") { this.ping = this._x - 300; } else { this.ping = this._x - 200; } this._x = this._x - this.ping; _root.movimiento = this.ping; } else { _root.movimiento = 0; } this._x = this._x + this.muevete; } this.y = this._y; this.x = this._x; this.height = this._height; this.width = this._width; }
Instance of Symbol 206 MovieClip "verde" in Frame 103
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 209 MovieClip "totem1" in Frame 103
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 212 MovieClip "arbol1" in Frame 103
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 215 MovieClip "arbolillo1" in Frame 103
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; this.y = this._y; this.height = this._height; }
Instance of Symbol 218 MovieClip "flor1" in Frame 103
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 221 MovieClip "tumbao1" in Frame 103
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 259 MovieClip "rana1" in Frame 103
onClipEvent (load) { n = 4; count = 0; tocandosuelo = 0; puntos = 30 + random(10); bajada = 2; max = 5000 + random(30); lado = "izquierda"; } onClipEvent (enterFrame) { tocandosuelo = 0; i = 1; while (i <= _root.numplataformas) { if (this.hitTest(_root["plataforma2" + i])) { tocandosuelo = 1; } if (this.izke.hitTest(_root["plataforma2" + i])) { while (this.izke.hitTest(_root["plataforma2" + i])) { if (this.lado == "izquierda") { this._x = this._x + 1; } else { this._x = this._x - 1; } } count = max - 1; } i++; } if (tocandosuelo == 0) { bajada = bajada + _root.gravedad; this._y = this._y + bajada; } else { $salta = random(5); bajada = -20; this._y = this._y + bajada; } this._x = this._x - n; count++; if (count == max) { if (this.lado == "izquierda") { this.lado = "derecha"; } else { this.lado = "izquierda"; } count = 0; n = -n; this._xscale = -this._xscale; } if (this.hitTest(_root.sonic.pluton)) { if (_root.sonic.estado == "saltando") { misonidoa = new Sound(); misonidoa.attachSound("boink"); misonidoa.start(); _root.puntos = _root.puntos + puntos; _root.sonic.rebota(20); this.gotoAndStop(3); } else { _root.sonic.reset(); } } this._x = this._x - _root.movimiento; }
Instance of Symbol 276 MovieClip "cocodrilo1" in Frame 103
onClipEvent (load) { tocandosuelo = 0; bajada = 2; puntos = 30 + random(10); max = 50; distance = 300; vel = 10; this.estado = "andando"; this.direccion = "izquierda"; this.movimiento = 400 + random(100); this.dist = this.movimiento; this.muerdo = 0; } onClipEvent (enterFrame) { tocandosuelo = 0; this.tocandoyo = 0; i = 1; while (i <= _root.numplataformas) { if (this.hitTest(_root["plataforma2" + i])) { tocandosuelo = 1; } if (this.izke.hitTest(_root["plataforma2" + i])) { while (this.izke.hitTest(_root["plataforma2" + i])) { if (this.direccion == "izquierda") { this._x = this._x + 1; } else { this._x = this._x - 1; } } this.tocandoyo = 1; } i++; } if (tocandosuelo == 0) { bajada = bajada + _root.gravedad; this._y = this._y + bajada; } else { bajada = 0; } personx = _root.sonic._x + (_root.sonic._width / 2); thisx = this._x; if (this.estado == "andando") { this.direccion = "izquierda"; if (((thisx - personx) <= distance) && ((thisx - personx) >= 0)) { if (this.tocandoyo != 1) { this._x = this._x - vel; muerdo = 1; } else { this.movimiento = 0; } } else if (this.tocandoyo != 1) { this._x = this._x - vel; this.movimiento = this.movimiento - vel; muerdo = 0; } else { this.movimiento = 0; } if (this.movimiento <= 0) { muerdo = 0; this.estado = "andy"; this.movimiento = -this.dist; this._xscale = -this._xscale; this._x = this._x + this._width; } } if (this.estado == "andy") { this.direccion = "derecha"; if (((personx - thisx) <= distance) && ((personx - thisx) >= 0)) { if (this.tocandoyo != 2) { this._x = this._x + vel; muerdo = 1; } else { this.movimiento = 0; } } else if (this.tocandoyo != 2) { this._x = this._x + vel; this.movimiento = this.movimiento + vel; muerdo = 0; } else { this.movimiento = 0; } if (this.movimiento >= 0) { muerdo = 0; this.estado = "andando"; this.movimiento = this.dist; this._xscale = -this._xscale; this._x = this._x - this._width; } } if (this.cocotoko.hitTest(_root.sonic.pluton)) { if (_root.sonic.estado == "saltando") { misonidoa = new Sound(); misonidoa.attachSound("boink"); misonidoa.start(); _root.puntos = _root.puntos + puntos; _root.sonic.rebota(20); this.gotoAndStop(26); } else { _root.sonic.reset(); } } this._x = this._x - _root.movimiento; }
Instance of Symbol 279 MovieClip "ancho1" in Frame 103
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 282 MovieClip "alto1" in Frame 103
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 299 MovieClip "star1" in Frame 103
onClipEvent (enterFrame) { if (this.hitTest(_root.sonic.pluton)) { misonidoa = new Sound(); misonidoa.attachSound("manzana"); misonidoa.start(); _root.puntos = _root.puntos + 5; this.swapDepths(1); this.removeMovieClip(); } this._x = this._x - _root.movimiento; }
Instance of Symbol 206 MovieClip "muevete1" in Frame 103
onClipEvent (load) { maximo = 50; n = 5; count = 0; start = 0; } onClipEvent (enterFrame) { if (start == 0) { rand = random(40); if (rand == 5) { start = 1; } } else { count++; if (count == maximo) { count = 0; n = -n; } if (this.hitTest(_root.sonic.aba2)) { this._x = this._x + n; _root.sonic._x = _root.sonic._x + n; } else { this._x = this._x + n; } } this._x = this._x - _root.movimiento; }
Instance of Symbol 301 MovieClip "invisible1" in Frame 103
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 308 MovieClip "plataformak" in Frame 103
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 333 MovieClip "gordo1" in Frame 103
onClipEvent (load) { n = 4; count = 0; tocandosuelo = 0; puntos = 35; bajada = 2; max = 30 + random(30); } onClipEvent (enterFrame) { tocandosuelo = 0; i = 1; while (i <= _root.numplataformas) { if (this.hitTest(_root["plataforma2" + i])) { tocandosuelo = 1; } i++; } if (tocandosuelo == 0) { bajada = bajada + _root.gravedad; this._y = this._y + bajada; } else { $salta = random(5); if ($salta == 4) { bajada = -20; this._y = this._y + bajada; } else { bajada = 0; } } this._x = this._x - n; count++; if (count == max) { count = 0; n = -n; this._xscale = -this._xscale; } if (this.hitTest(_root.sonic.pluton)) { if (_root.sonic.estado == "saltando") { misonidoa = new Sound(); misonidoa.attachSound("boink"); misonidoa.start(); _root.puntos = _root.puntos + puntos; _root.sonic.rebota(20); this.gotoAndStop(14); } else { _root.sonic.reset(); } } this._x = this._x - _root.movimiento; }
Instance of Symbol 339 MovieClip "muelle1" in Frame 103
onClipEvent (enterFrame) { if (this.hitTest(_root.sonic)) { _root.sonic.rebota(30); this.gotoAndPlay(2); } this._x = this._x - _root.movimiento; }
Instance of Symbol 348 MovieClip "gusano1" in Frame 103
onClipEvent (load) { puntos = 50; n = 4; count = 0; tocandosuelo = 0; bajada = 2; max = 50; this.direccion = "izquierda"; if (this._xscale < 0) { this._xscale = -this._xscale; } } onClipEvent (enterFrame) { tocandosuelo = 0; this.tocandoyo = 0; i = 1; while (i <= _root.numplataformas) { if (this.hitTest(_root["plataforma2" + i])) { tocandosuelo = 1; } if (this.izke.hitTest(_root["plataforma2" + i])) { while (this.izke.hitTest(_root["plataforma2" + i])) { if (this.direccion == "izquierda") { this._x = this._x + 1; } else { this._x = this._x - 1; } } this.tocandoyo = 1; } i++; } if (tocandosuelo == 0) { bajada = bajada + _root.gravedad; this._y = this._y + bajada; } else { bajada = 0; } if (this.tocandoyo != "1") { this._x = this._x - n; } else { count = max - 1; } count++; if (count == max) { count = 0; n = -n; this._xscale = -this._xscale; if (this.direccion == "izquierda") { this._x = this._x + this._width; } else { this._x = this._x - this._width; } if (this.direccion == "izquierda") { this.direccion = "derecha"; } else { this.direccion = "izquierda"; } } if (this.hitTest(_root.sonic.pluton)) { if (_root.sonic.estado == "saltando") { misonidoa = new Sound(); misonidoa.attachSound("flip"); misonidoa.start(); _root.puntos = _root.puntos + puntos; _root.sonic.rebota(20); this.gotoAndStop(13); } else { _root.sonic.reset(); } } this._x = this._x - _root.movimiento; }
Instance of Symbol 351 MovieClip "pincho1" in Frame 103
onClipEvent (enterFrame) { if (this.hitTest(_root.sonic.pluton)) { _root.sonic.reset(); } this._x = this._x - _root.movimiento; }
Instance of Symbol 356 MovieClip "rokaloka1" in Frame 103
onClipEvent (load) { n = 4; count = 0; max = 50; start = 0; } onClipEvent (enterFrame) { if (start == 0) { rand = random(40); if (rand == 5) { start = 1; } } else { if (this.hitTest(_root.sonic.pluton)) { _root.sonic.reset(); } this._x = this._x - n; count++; if (count == max) { count = 0; n = -n; } } this._x = this._x - _root.movimiento; }
Instance of Symbol 365 MovieClip "calabaza1" in Frame 103
onClipEvent (enterFrame) { if (this.hitTest(_root.sonic.pluton)) { _root.sonic.reset(); } this._x = this._x - _root.movimiento; }
Instance of Symbol 374 MovieClip "cangrejo1" in Frame 103
onClipEvent (load) { puntos = 25 + random(19); n = 4; vel = 10; tocandosuelo = 0; bajada = 2; } onClipEvent (enterFrame) { tocandosuelo = 0; this.tocandoder = 0; this.tocandoizk = 0; rando = Math.floor(Math.random() * 100) + 0; if (rando < 20) { vel = -vel; } this._x = this._x + vel; i = 1; while (i <= _root.numplataformas) { if (this.toka.hitTest(_root["plataforma2" + i])) { tocandosuelo = 1; } if (this.izke.hitTest(_root["plataforma2" + i])) { while (this.izke.hitTest(_root["plataforma2" + i])) { this._x = this._x + 1; this.tocandoizk = 1; } } if (this.dere.hitTest(_root["plataforma2" + i])) { while (this.dere.hitTest(_root["plataforma2" + i])) { this._x = this._x - 1; this.tocandoder = 1; } } i++; } if ((this.tocandoder == 1) || (this.tocandoizk == 1)) { vel = -vel; } if (tocandosuelo == 0) { bajada = bajada + _root.gravedad; this._y = this._y + bajada; } else { bajada = 0; } if (this.toka.hitTest(_root.sonic.pluton)) { if (_root.sonic.estado == "saltando") { misonidoa = new Sound(); misonidoa.attachSound("boink"); misonidoa.start(); _root.puntos = _root.puntos + puntos; _root.sonic.rebota(20); this.gotoAndStop(10); } else { _root.sonic.reset(); } } this._x = this._x - _root.movimiento; }
Instance of Symbol 356 MovieClip "rokalokaarriba1" in Frame 103
onClipEvent (load) { n = 4; count = 0; max = 50; start = 0; } onClipEvent (enterFrame) { if (start == 0) { rand = random(40); if (rand == 5) { start = 1; } } else { if (this.hitTest(_root.sonic.pluton)) { _root.sonic.reset(); } this._y = this._y - n; count++; if (count == max) { count = 0; n = -n; } } this._x = this._x - _root.movimiento; }
Instance of Symbol 399 MovieClip "mariquita1" in Frame 103
onClipEvent (load) { puntos = 60; n = 10; count = 0; tocandosuelo = 0; bajada = 2; max = 30; this.direccion = "izquierda"; } onClipEvent (enterFrame) { if (this.estado != "muerto") { tocandosuelo = 0; this.tocandoyo = 0; i = 1; while (i <= _root.numplataformas) { if (this.hitTest(_root["plataforma2" + i])) { tocandosuelo = 1; } if (this.izke.hitTest(_root["plataforma2" + i])) { while (this.izke.hitTest(_root["plataforma2" + i])) { if (this.direccion == "izquierda") { this._x = this._x + 1; } else { this._x = this._x - 1; } } this.tocandoyo = 1; } i++; } if (tocandosuelo == 0) { bajada = bajada + _root.gravedad; this._y = this._y + bajada; } else { bajada = 0; } if (this.tocandoyo != "1") { this._x = this._x - n; } else { count = max - 1; } count++; if (count == max) { count = 0; n = -n; this._xscale = -this._xscale; if (this.direccion == "izquierda") { this._x = this._x + this._width; } else { this._x = this._x - this._width; } if (this.direccion == "izquierda") { this.direccion = "derecha"; } else { this.direccion = "izquierda"; } } if (this.hitTest(_root.sonic.pluton)) { if (_root.sonic.estado == "saltando") { misonidoa = new Sound(); misonidoa.attachSound("flip"); misonidoa.start(); _root.puntos = _root.puntos + puntos; _root.sonic.rebota(20); this.estado = muerto; this.gotoAndStop(14); } else { _root.sonic.reset(); } } } this._x = this._x - _root.movimiento; }
Instance of Symbol 402 MovieClip "life1" in Frame 103
onClipEvent (enterFrame) { if (this.hitTest(_root.sonic.pluton)) { misonidoa = new Sound(); misonidoa.attachSound("tv"); misonidoa.start(); _root.vidas = _root.vidas + 1; _root.sonic.rebota(20); this.swapDepths(1); this.removeMovieClip(); } this._x = this._x - _root.movimiento; }
Instance of Symbol 405 MovieClip "burbuja1" in Frame 103
onClipEvent (enterFrame) { if (this.hitTest(_root.sonic.pluton)) { misonidoa = new Sound(); misonidoa.attachSound("tv"); misonidoa.start(); _root.sonic.burbu = 1; _root.sonic.esfera1._alpha = 50; _root.sonic.rebota(20); this.swapDepths(1); this.removeMovieClip(); } this._x = this._x - _root.movimiento; }
Instance of Symbol 416 MovieClip "avispa1" in Frame 103
onClipEvent (load) { puntos = 60; n = 10; count = 0; bajada = 2; max = 30; this.tocandoyo = 0; this.direccion = "izquierda"; this.atacando = 0; } onClipEvent (enterFrame) { xDest = _root.sonic._x + (_root.sonic._width / 2); difx = Math.abs(this._x - xDest); if (difx < 200) { rando = Math.floor(Math.random() * 100) + 0; if (rando < 3) { this.atacando = 1; } } if (this.atacando == 0) { if (this.tocandoyo != "1") { this._x = this._x - n; } else { count = max - 1; } count++; if (count == max) { count = 0; n = -n; this._xscale = -this._xscale; if (this.direccion == "izquierda") { this._x = this._x + this._width; } else { this._x = this._x - this._width; } if (this.direccion == "izquierda") { this.direccion = "derecha"; } else { this.direccion = "izquierda"; } } if (this.hitTest(_root.sonic.pluton)) { if (_root.sonic.estado == "saltando") { misonidoa = new Sound(); misonidoa.attachSound("flip"); misonidoa.start(); _root.puntos = _root.puntos + puntos; _root.sonic.rebota(20); this.gotoAndStop(12); } else { _root.sonic.reset(); } } } this._x = this._x - _root.movimiento; }
Instance of Symbol 419 MovieClip "bala1" in Frame 103
onClipEvent (load) { xDest = _root.sonic._x + (_root.sonic._width / 2); yDest = (_root.sonic._y + _root.sonic._height) - 20; difx = this._x - xDest; dify = this._y - yDest; velx = difx / 12; vely = dify / 12; this.activo = 1; } onClipEvent (enterFrame) { if (this._y < 0) { this.activo = 0; } if (this.activo == 1) { this._x = this._x - velx; this._y = this._y - vely; if (this.hitTest(_root.sonic.pluton)) { _root.sonic.reset(); } if ((((this._x < 0) || (this._x > 600)) || (this._y > 600)) || (this._y < -100)) { this.swapDepths(1); this.removeMovieClip(); } } this._x = this._x - _root.movimiento; }
Instance of Symbol 436 MovieClip "moneda1" in Frame 103
onClipEvent (enterFrame) { if (this.hitTest(_root.sonic.pluton)) { misonidoa = new Sound(); misonidoa.attachSound("moneda"); misonidoa.start(); _root.puntos = _root.puntos + 1; this.swapDepths(1); this.removeMovieClip(); } this._x = this._x - _root.movimiento; }
Instance of Symbol 456 MovieClip "pera1" in Frame 103
onClipEvent (enterFrame) { if (this.hitTest(_root.sonic.pluton)) { misonidoa = new Sound(); misonidoa.attachSound("manzana"); misonidoa.start(); _root.puntos = _root.puntos + 2; this.swapDepths(1); this.removeMovieClip(); } this._x = this._x - _root.movimiento; }
Frame 104
if (_root.vidas < 0) { gotoAndPlay ("gameover"); } else { stop(); } _root.fondo._x = -2.4; _root.fondo._y = 1.4; _root.sonic._x = 77.3; _root.sonic._y = 222.3; _root.profundidad = 0; _root.frame = 104; _root.siguiente = 105; _root.temp = 100; _root.movimiento = 0; _root.gravedad = 1; _root.balas = 1; _root.nivel = 2; final = "5900:100"; var mapa = new Array(); var gusanos = new Array(); var monedas = new Array(); var muelles = new Array(); var totems = new Array(); var flors = new Array(); var gordos = new Array(); var arbols = new Array(); var arbolillos = new Array(); var pinchos = new Array(); var ranas = new Array(); var cocodrilos = new Array(); var rokalokas = new Array(); var batmans = new Array(); var calabazas = new Array(); var cangrejos = new Array(); var peras = new Array(); var stars = new Array(); var loops = new Array(); var mariquitas = new Array(); var lifes = new Array(); var burbujas = new Array(); var avispas = new Array(); final = "5900:100"; mapa.push("320:82:-2360:50:5"); mapa.push("320:82:-2360:50:7"); mapa.push("320:82:-2360:50:5"); mapa.push("320:82:-2000:0:4"); mapa.push("320:82:-2360:50:3"); mapa.push("320:82:-2360:50:2"); mapa.push("320:82:-2360:50:1"); mariquitas.push("-2000:20"); gusanos.push("-2000:20"); avispas.push("-2000:300"); muelles.push("-2000:-10"); totems.push("-2000:-23"); flors.push("-2000:100"); cocodrilos.push("-2000:100"); rokalokas.push("-2000:200"); arbols.push("-2000:-80"); arbolillos.push("-2000:-100"); batmans.push("-2000:400"); cangrejos.push("-2000:100"); burbujas.push("-2000:0"); lifes.push("-2000:0"); monedas.push("-3000:10"); peras.push("-800:280"); pinchos.push("-2000:0"); lifes.push("-780:30"); burbujas.push("-780:30"); flors.push("-5000:250"); arbolillos.push("-3700:200"); monedas.push("-3910:180"); loops.push("3500:-137"); stars.push("-3500:-137"); mapa.push("224.0:46.5:4757.5:339.5:3"); mapa.push("320:82:594.5:247.75:5"); mapa.push("320:82:901.5:247.75:5"); mapa.push("320:82:4034.5:287.75:5"); mapa.push("320:82:379.5:322.75:5"); mapa.push("320:82:694.5:322.75:5"); mapa.push("320:82:1009.5:322.75:5"); mapa.push("64:29:1927:341.25:2"); mapa.push("320:82:2429.5:352.75:5"); mapa.push("320:82:2739.5:352.75:5"); mapa.push("320:82:3714.5:352.75:5"); mapa.push("320:82:4034.5:352.75:5"); mapa.push("64:29:3312:366.25:2"); mapa.push("64:29:1837:366.25:2"); mapa.push("320:82:4349.5:367.75:5"); mapa.push("320:82:5349.5:402.75:5"); mapa.push("320:82:354.5:402.75:5"); mapa.push("320:82:669.5:402.75:5"); mapa.push("320:82:984.5:402.75:5"); mapa.push("320:82:94.5:402.75:5"); mapa.push("320:82:1299.5:402.75:5"); mapa.push("320:82:3604.5:407.75:5"); mapa.push("320:82:3859.5:407.75:5"); mapa.push("320:82:4114.5:407.75:5"); mapa.push("320:82:4409.5:407.75:5"); mapa.push("320:82:2149.5:412.75:5"); mapa.push("320:82:2444.5:412.75:5"); mapa.push("320:82:2719.5:412.75:5"); mapa.push("320:82:3019.5:412.75:5"); mapa.push("320:36:138.75:438.5:4"); mapa.push("320:36:443.75:438.5:4"); mapa.push("320:36:713.75:438.5:4"); mapa.push("320:36:1023.75:438.5:4"); mapa.push("320:36:1328.75:438.5:4"); mapa.push("320:36:1623.75:438.5:4"); mapa.push("320:36:5068.75:443.5:4"); mapa.push("320:36:5298.75:443.5:4"); mapa.push("320:36:5568.75:443.5:4"); mapa.push("320:36:5788.75:443.5:4"); mapa.push("320:36:6018.75:443.5:4"); gusanos.push("2851.5:287.5"); gusanos.push("3136.5:347.5"); gusanos.push("3796.5:272.5"); gusanos.push("4461.5:297.5"); gusanos.push("4831.5:282.5"); gusanos.push("5461.5:327.5"); gusanos.push("5971.5:392.5"); gusanos.push("1416.5:322.5"); gusanos.push("906.5:177.5"); gusanos.push("2216.5:342.5"); burbujas.push("3322.5:345"); lifes.push("-48.25:347"); arbolillos.push("7.75:317"); arbolillos.push("152.75:287"); arbolillos.push("292.75:222"); arbolillos.push("512.75:152"); arbolillos.push("762.75:147"); arbolillos.push("947.75:137"); arbolillos.push("1132.75:202"); arbolillos.push("1272.75:302"); arbolillos.push("1567.75:347"); arbolillos.push("1712.75:382"); arbolillos.push("2042.75:292"); arbolillos.push("2192.75:317"); arbolillos.push("2337.75:257"); arbolillos.push("2512.75:247"); arbolillos.push("2697.75:262"); arbolillos.push("2837.75:242"); arbolillos.push("2992.75:317"); arbolillos.push("3492.75:297"); arbolillos.push("3657.75:277"); arbolillos.push("3802.75:232"); arbolillos.push("3972.75:182"); arbolillos.push("4102.75:167"); arbolillos.push("4277.75:257"); arbolillos.push("4407.75:247"); arbolillos.push("4692.75:242"); arbolillos.push("4817.75:232"); arbolillos.push("4987.75:347"); arbolillos.push("5122.75:347"); arbolillos.push("5277.75:307"); arbolillos.push("5422.75:292"); arbolillos.push("5597.75:347"); arbolillos.push("5747.75:377"); arbolillos.push("5987.75:367"); stars.push("6090:389"); stars.push("6090:334"); stars.push("6090:279"); stars.push("6135:279"); stars.push("6135:334"); stars.push("6140:389"); flors.push("375.75:270.25"); flors.push("600.75:200.25"); flors.push("670.75:200.25"); flors.push("840.75:195.25"); flors.push("1030.75:205.25"); flors.push("1200.75:360.25"); flors.push("1340.75:355.25"); flors.push("1405.75:360.25"); flors.push("1645.75:415.25"); flors.push("1850.75:345.25"); flors.push("1935.75:325.25"); flors.push("2120.75:350.25"); flors.push("2425.75:290.25"); flors.push("2585.75:285.25"); flors.push("2640.75:295.25"); flors.push("2770.75:290.25"); flors.push("2930.75:350.25"); flors.push("3080.75:355.25"); flors.push("3145.75:355.25"); flors.push("3590.75:285.25"); flors.push("3730.75:295.25"); flors.push("3910.75:230.25"); flors.push("4035.75:205.25"); flors.push("4215.75:295.25"); flors.push("4345.75:310.25"); flors.push("4760.75:290.25"); flors.push("5060.75:415.25"); flors.push("5360.75:350.25"); flors.push("5675.75:420.25"); flors.push("5840.75:420.25"); flors.push("5895.75:420.25"); totems.push("343.5:266.75"); totems.push("458.5:196.75"); totems.push("708.5:191.75"); totems.push("2393.5:291.75"); totems.push("3320.5:346.75"); totems.push("3858.5:301.75"); totems.push("5213.5:341.75"); totems.push("5543.5:406.75"); pinchos.push("1803.25:436.5"); pinchos.push("1833.25:436.5"); pinchos.push("1865.75:436.5"); pinchos.push("1898.25:436.5"); pinchos.push("1930.75:436.5"); pinchos.push("1960.75:436.5"); pinchos.push("1973.25:436.5"); pinchos.push("4585.75:436.5"); pinchos.push("4620.75:436.5"); pinchos.push("4653.25:436.5"); pinchos.push("4685.75:436.5"); pinchos.push("4720.75:436.5"); pinchos.push("4755.75:436.5"); pinchos.push("4788.25:436.5"); pinchos.push("4820.75:436.5"); pinchos.push("4855.75:436.5"); pinchos.push("4890.75:436.5"); monedas.push("1802.5:276.75"); monedas.push("1832.5:276.75"); monedas.push("1862.5:276.75"); monedas.push("1892.5:276.75"); monedas.push("1922.5:276.75"); monedas.push("1952.5:276.75"); monedas.push("1982.5:276.75"); monedas.push("2012.5:276.75"); monedas.push("2042.5:276.75"); monedas.push("2072.5:276.75"); monedas.push("2102.5:276.75"); arbolillos.push("524:159.5"); monedas.push("674.25:128.75"); monedas.push("704.25:128.75"); monedas.push("734.25:128.75"); monedas.push("764.25:128.75"); monedas.push("794.25:128.75"); monedas.push("824.25:128.75"); monedas.push("854.25:128.75"); monedas.push("884.25:128.75"); monedas.push("914.25:128.75"); monedas.push("944.25:128.75"); monedas.push("974.25:128.75"); monedas.push("3894.25:173.75"); monedas.push("3924.25:173.75"); monedas.push("3954.25:173.75"); monedas.push("3984.25:173.75"); monedas.push("4014.25:173.75"); monedas.push("4044.25:173.75"); monedas.push("4074.25:173.75"); monedas.push("4104.25:173.75"); monedas.push("4134.25:173.75"); monedas.push("4164.25:173.75"); monedas.push("4194.25:173.75"); monedas.push("4639.25:248.75"); monedas.push("4669.25:248.75"); monedas.push("4699.25:248.75"); monedas.push("4729.25:248.75"); monedas.push("4759.25:248.75"); monedas.push("4789.25:248.75"); monedas.push("4819.25:248.75"); monedas.push("4849.25:248.75"); monedas.push("4879.25:248.75"); monedas.push("4909.25:248.75"); monedas.push("4939.25:248.75"); monedas.push("5204.25:248.75"); monedas.push("5234.25:248.75"); monedas.push("5264.25:248.75"); monedas.push("5294.25:248.75"); monedas.push("5324.25:248.75"); monedas.push("5354.25:248.75"); monedas.push("5384.25:248.75"); monedas.push("5414.25:248.75"); monedas.push("5444.25:248.75"); monedas.push("5474.25:248.75"); monedas.push("5504.25:248.75"); monedas.push("229.25:243.75"); monedas.push("259.25:243.75"); monedas.push("289.25:243.75"); monedas.push("319.25:243.75"); monedas.push("349.25:243.75"); monedas.push("379.25:243.75"); monedas.push("409.25:243.75"); monedas.push("439.25:243.75"); monedas.push("469.25:243.75"); monedas.push("499.25:243.75"); monedas.push("529.25:243.75"); _root.numplataformas = mapa.length; mapainfo = mapa[0].split(":"); i = 1; _root["plataforma2" + i]._width = mapainfo[0]; _root["plataforma2" + i]._height = mapainfo[1]; _root["plataforma2" + i]._x = mapainfo[2]; _root["plataforma2" + i]._y = mapainfo[3]; _root.profundidad = _root.profundidad + 1; i = 2; while (i <= numplataformas) { _root.profundidad = _root.profundidad + 1; mapainfo[3] = 0; mapainfo = mapa[i - 1].split(":"); if (mapainfo[4] == 1) { plataformak.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 2) { verde.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 3) { tumbao1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 4) { ancho1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 5) { alto1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 6) { muevete1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); _root["plataforma2" + i].maximo = mapainfo[5]; _root["plataforma2" + i].n = mapainfo[6]; } else if (mapainfo[4] == 7) { invisible1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } _root["plataforma2" + i]._width = mapainfo[0]; _root["plataforma2" + i]._height = mapainfo[1]; _root["plataforma2" + i]._x = mapainfo[2]; _root["plataforma2" + i]._y = mapainfo[3]; _root["plataforma2" + i].numero = i - 1; i++; } final1.duplicateMovieClip("final2", _root.profundidad + 17500); i = 1; final = final.split(":"); _root.final2._x = final[0]; _root.final2._y = (421 - _root.final1._height) - final[1]; _root.numgusanos = gusanos.length; if (_root.numgusanos == 0) { gusano1.swapDepths(1); gusano1.removeMovieClip(); } else if (_root.numgusanos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gusanos[i - 1].split(":"); _root["gusano" + i]._x = mapainfo[0]; _root["gusano" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gusanos[i - 1].split(":"); _root["gusano" + i]._x = mapainfo[0]; _root["gusano" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numgusanos) { _root.profundidad = _root.profundidad + 1; gusano1.duplicateMovieClip("gusano" + i, _root.profundidad); mapainfo = gusanos[i - 1].split(":"); _root["gusano" + i]._x = mapainfo[0]; _root["gusano" + i]._y = mapainfo[1]; i++; } } _root.nummonedas = monedas.length; if (_root.nummonedas == 0) { moneda1.swapDepths(1); moneda1.removeMovieClip(); } else if (_root.nummonedas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = monedas[i - 1].split(":"); _root["moneda" + i]._x = mapainfo[0]; _root["moneda" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = monedas[i - 1].split(":"); _root["moneda" + i]._x = mapainfo[0]; _root["moneda" + i]._y = mapainfo[1]; i = 2; while (i <= _root.nummonedas) { _root.profundidad = _root.profundidad + 1; moneda1.duplicateMovieClip("moneda" + i, _root.profundidad); mapainfo = monedas[i - 1].split(":"); _root["moneda" + i]._x = mapainfo[0]; _root["moneda" + i]._y = mapainfo[1]; i++; } } _root.nummuelles = muelles.length; if (_root.nummuelles == 0) { muelle1.swapDepths(1); muelle1.removeMovieClip(); } else if (_root.nummuelles == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = muelles[i - 1].split(":"); _root["muelle" + i]._x = mapainfo[0]; _root["muelle" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = muelles[i - 1].split(":"); _root["muelle" + i]._x = mapainfo[0]; _root["muelle" + i]._y = mapainfo[1]; i = 2; while (i <= _root.nummuelles) { _root.profundidad = _root.profundidad + 1; muelle1.duplicateMovieClip("muelle" + i, _root.profundidad); mapainfo = muelles[i - 1].split(":"); _root["muelle" + i]._x = mapainfo[0]; _root["muelle" + i]._y = -mapainfo[1]; i++; } } _root.numtotems = totems.length; if (_root.numtotems == 0) { totem1.swapDepths(1); totem1.removeMovieClip(); } else if (_root.numtotems == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = totems[i - 1].split(":"); _root["totem" + i]._x = mapainfo[0]; _root["totem" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = totems[i - 1].split(":"); _root["totem" + i]._x = mapainfo[0]; _root["totem" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numtotems) { _root.profundidad = _root.profundidad + 1; totem1.duplicateMovieClip("totem" + i, _root.profundidad); mapainfo = totems[i - 1].split(":"); _root["totem" + i]._x = mapainfo[0]; _root["totem" + i]._y = mapainfo[1]; i++; } } _root.numflors = flors.length; if (_root.numflors == 0) { flor1.swapDepths(1); flor1.removeMovieClip(); } else if (_root.numflors == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = flors[i - 1].split(":"); _root["flor" + i]._x = mapainfo[0]; _root["flor" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = flors[i - 1].split(":"); _root["flor" + i]._x = mapainfo[0]; _root["flor" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numflors) { _root.profundidad = _root.profundidad + 1; flor1.duplicateMovieClip("flor" + i, _root.profundidad); mapainfo = flors[i - 1].split(":"); _root["flor" + i]._x = mapainfo[0]; _root["flor" + i]._y = mapainfo[1]; i++; } } _root.numgordos = gordos.length; if (_root.numgordos == 0) { gordo1.swapDepths(1); gordo1.removeMovieClip(); } else if (_root.numgordos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gordos[i - 1].split(":"); _root["gordo" + i]._x = mapainfo[0]; _root["gordo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gordos[i - 1].split(":"); _root["gordo" + i]._x = mapainfo[0]; _root["gordo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numgordos) { _root.profundidad = _root.profundidad + 1; gordo1.duplicateMovieClip("gordo" + i, _root.profundidad); mapainfo = gordos[i - 1].split(":"); _root["gordo" + i]._x = mapainfo[0]; _root["gordo" + i]._y = mapainfo[1]; i++; } } _root.numarbols = arbols.length; if (_root.numarbols == 0) { arbol1.swapDepths(1); arbol1.removeMovieClip(); } else if (_root.numarbols == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbols[i - 1].split(":"); _root["arbol" + i]._x = mapainfo[0]; _root["arbol" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbols[i - 1].split(":"); _root["arbol" + i]._x = mapainfo[0]; _root["arbol" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numarbols) { _root.profundidad = _root.profundidad + 1; arbol1.duplicateMovieClip("arbol" + i, _root.profundidad); mapainfo = arbols[i - 1].split(":"); _root["arbol" + i]._x = mapainfo[0]; _root["arbol" + i]._y = mapainfo[1]; i++; } } _root.numarbolillos = arbolillos.length; if (_root.numarbolillos == 0) { arbolillo1.swapDepths(1); arbolillo1.removeMovieClip(); } else if (_root.numarbolillos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbolillos[i - 1].split(":"); _root["arbolillo" + i]._x = mapainfo[0]; _root["arbolillo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbolillos[i - 1].split(":"); _root["arbolillo" + i]._x = mapainfo[0]; _root["arbolillo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numarbolillos) { _root.profundidad = _root.profundidad + 1; arbolillo1.duplicateMovieClip("arbolillo" + i, _root.profundidad); mapainfo = arbolillos[i - 1].split(":"); _root["arbolillo" + i]._x = mapainfo[0]; _root["arbolillo" + i]._y = mapainfo[1]; i++; } } _root.numpinchos = pinchos.length; if (_root.numpinchos == 0) { pincho1.swapDepths(1); pincho1.removeMovieClip(); } else if (_root.numpinchos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = pinchos[i - 1].split(":"); _root["pincho" + i]._x = mapainfo[0]; _root["pincho" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = pinchos[i - 1].split(":"); _root["pincho" + i]._x = mapainfo[0]; _root["pincho" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numpinchos) { _root.profundidad = _root.profundidad + 1; pincho1.duplicateMovieClip("pincho" + i, _root.profundidad); mapainfo = pinchos[i - 1].split(":"); _root["pincho" + i]._x = mapainfo[0]; _root["pincho" + i]._y = mapainfo[1]; i++; } } _root.numranas = ranas.length; if (_root.numranas == 0) { rana1.swapDepths(1); rana1.removeMovieClip(); } else if (_root.numranas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = ranas[i - 1].split(":"); _root["rana" + i]._x = mapainfo[0]; _root["rana" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = ranas[i - 1].split(":"); _root["rana" + i]._x = mapainfo[0]; _root["rana" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numranas) { _root.profundidad = _root.profundidad + 1; rana1.duplicateMovieClip("rana" + i, _root.profundidad); mapainfo = ranas[i - 1].split(":"); _root["rana" + i]._x = mapainfo[0]; _root["rana" + i]._y = mapainfo[1]; i++; } } _root.numcocodrilos = cocodrilos.length; if (_root.numcocodrilos == 0) { cocodrilo1.swapDepths(1); cocodrilo1.removeMovieClip(); } else if (_root.numcocodrilos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cocodrilos[i - 1].split(":"); _root["cocodrilo" + i]._x = mapainfo[0]; _root["cocodrilo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cocodrilos[i - 1].split(":"); _root["cocodrilo" + i]._x = mapainfo[0]; _root["cocodrilo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numcocodrilos) { _root.profundidad = _root.profundidad + 1; cocodrilo1.duplicateMovieClip("cocodrilo" + i, _root.profundidad); mapainfo = cocodrilos[i - 1].split(":"); _root["cocodrilo" + i]._x = mapainfo[0]; _root["cocodrilo" + i]._y = mapainfo[1]; i++; } } _root.numrokalokas = rokalokas.length; if (_root.numrokalokas == 0) { rokaloka1.swapDepths(1); rokaloka1.removeMovieClip(); } else if (_root.numrokalokas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = rokalokas[i - 1].split(":"); _root["rokaloka" + i]._x = mapainfo[0]; _root["rokaloka" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = rokalokas[i - 1].split(":"); _root["rokaloka" + i]._x = mapainfo[0]; _root["rokaloka" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numrokalokas) { _root.profundidad = _root.profundidad + 1; mapainfo = rokalokas[i - 1].split(":"); if (mapainfo[2] == 1) { rokaloka1.duplicateMovieClip("rokaloka" + i, _root.profundidad); } else { rokalokaarriba1.duplicateMovieClip("rokaloka" + i, _root.profundidad); } _root["rokaloka" + i]._x = mapainfo[0]; _root["rokaloka" + i]._y = mapainfo[1]; i++; } } _root.numcalabazas = calabazas.length; if (_root.numcalabazas == 0) { calabaza1.swapDepths(1); calabaza1.removeMovieClip(); } else if (_root.numcalabazas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = calabazas[i - 1].split(":"); _root["calabaza" + i]._x = mapainfo[0]; _root["calabaza" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = calabazas[i - 1].split(":"); _root["calabaza" + i]._x = mapainfo[0]; _root["calabaza" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numcalabazas) { _root.profundidad = _root.profundidad + 1; calabaza1.duplicateMovieClip("calabaza" + i, _root.profundidad); mapainfo = calabazas[i - 1].split(":"); _root["calabaza" + i]._x = mapainfo[0]; _root["calabaza" + i]._y = mapainfo[1]; i++; } } _root.numbatmans = batmans.length; if (_root.numbatmans == 0) { batman1.swapDepths(1); batman1.removeMovieClip(); } else if (_root.numbatmans == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = batmans[i - 1].split(":"); _root["batman" + i]._x = mapainfo[0]; _root["batman" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = batmans[i - 1].split(":"); _root["batman" + i]._x = mapainfo[0]; _root["batman" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numbatmans) { _root.profundidad = _root.profundidad + 1; batman1.duplicateMovieClip("batman" + i, _root.profundidad); mapainfo = batmans[i - 1].split(":"); _root["batman" + i]._x = mapainfo[0]; _root["batman" + i]._y = mapainfo[1]; i++; } } _root.numcangrejos = cangrejos.length; if (_root.numcangrejos == 0) { cangrejo1.swapDepths(1); cangrejo1.removeMovieClip(); } else if (_root.numcangrejos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cangrejos[i - 1].split(":"); _root["cangrejo" + i]._x = mapainfo[0]; _root["cangrejo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cangrejos[i - 1].split(":"); _root["cangrejo" + i]._x = mapainfo[0]; _root["cangrejo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numcangrejos) { _root.profundidad = _root.profundidad + 1; cangrejo1.duplicateMovieClip("cangrejo" + i, _root.profundidad); mapainfo = cangrejos[i - 1].split(":"); _root["cangrejo" + i]._x = mapainfo[0]; _root["cangrejo" + i]._y = mapainfo[1]; i++; } } _root.numperas = peras.length; if (_root.numperas == 0) { pera1.swapDepths(1); pera1.removeMovieClip(); } else if (_root.numperas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = peras[i - 1].split(":"); _root["pera" + i]._x = mapainfo[0]; _root["pera" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = peras[i - 1].split(":"); _root["pera" + i]._x = mapainfo[0]; _root["pera" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numperas) { _root.profundidad = _root.profundidad + 1; pera1.duplicateMovieClip("pera" + i, _root.profundidad); mapainfo = peras[i - 1].split(":"); _root["pera" + i]._x = mapainfo[0]; _root["pera" + i]._y = mapainfo[1]; i++; } } _root.numstars = stars.length; if (_root.numstars == 0) { star1.swapDepths(1); star1.removeMovieClip(); } else if (_root.numstars == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = stars[i - 1].split(":"); _root["star" + i]._x = mapainfo[0]; _root["star" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = stars[i - 1].split(":"); _root["star" + i]._x = mapainfo[0]; _root["star" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numstars) { _root.profundidad = _root.profundidad + 1; star1.duplicateMovieClip("star" + i, _root.profundidad); mapainfo = stars[i - 1].split(":"); _root["star" + i]._x = mapainfo[0]; _root["star" + i]._y = mapainfo[1]; i++; } } _root.numloops = loops.length; if (_root.numloops == 0) { loop1.swapDepths(1); loop1.removeMovieClip(); } else if (_root.numloops == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = loops[i - 1].split(":"); _root["loop" + i]._x = mapainfo[0]; _root["loop" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = loops[i - 1].split(":"); _root["loop" + i]._x = mapainfo[0]; _root["loop" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numloops) { _root.profundidad = _root.profundidad + 1; loop1.duplicateMovieClip("loop" + i, _root.profundidad); mapainfo = loops[i - 1].split(":"); _root["loop" + i]._x = mapainfo[0]; _root["loop" + i]._y = mapainfo[1]; i++; } } _root.nummariquitas = mariquitas.length; if (_root.nummariquitas == 0) { mariquita1.swapDepths(1); mariquita1.removeMovieClip(); } else if (_root.nummariquitas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = mariquitas[i - 1].split(":"); _root["mariquita" + i]._x = mapainfo[0]; _root["mariquita" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = mariquitas[i - 1].split(":"); _root["mariquita" + i]._x = mapainfo[0]; _root["mariquita" + i]._y = mapainfo[1]; i = 2; while (i <= _root.nummariquitas) { _root.profundidad = _root.profundidad + 1; mariquita1.duplicateMovieClip("mariquita" + i, _root.profundidad); mapainfo = mariquitas[i - 1].split(":"); _root["mariquita" + i]._x = mapainfo[0]; _root["mariquita" + i]._y = mapainfo[1]; i++; } } _root.numlifes = lifes.length; if (_root.numlifes == 0) { life1.swapDepths(1); life1.removeMovieClip(); } else if (_root.numlifes == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = lifes[i - 1].split(":"); _root["life" + i]._x = mapainfo[0]; _root["life" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = lifes[i - 1].split(":"); _root["life" + i]._x = mapainfo[0]; _root["life" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numlifes) { _root.profundidad = _root.profundidad + 1; life1.duplicateMovieClip("life" + i, _root.profundidad); mapainfo = lifes[i - 1].split(":"); _root["life" + i]._x = mapainfo[0]; _root["life" + i]._y = mapainfo[1]; i++; } } _root.numburbujas = burbujas.length; if (_root.numburbujas == 0) { burbuja1.swapDepths(1); burbuja1.removeMovieClip(); } else if (_root.numburbujas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = burbujas[i - 1].split(":"); _root["burbuja" + i]._x = mapainfo[0]; _root["burbuja" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = burbujas[i - 1].split(":"); _root["burbuja" + i]._x = mapainfo[0]; _root["burbuja" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numburbujas) { _root.profundidad = _root.profundidad + 1; burbuja1.duplicateMovieClip("burbuja" + i, _root.profundidad); mapainfo = burbujas[i - 1].split(":"); _root["burbuja" + i]._x = mapainfo[0]; _root["burbuja" + i]._y = mapainfo[1]; i++; } } _root.numavispas = avispas.length; if (_root.numavispas == 0) { avispa1.swapDepths(1); avispa1.removeMovieClip(); } else if (_root.numavispas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = avispas[i - 1].split(":"); _root["avispa" + i]._x = mapainfo[0]; _root["avispa" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = avispas[i - 1].split(":"); _root["avispa" + i]._x = mapainfo[0]; _root["avispa" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numavispas) { _root.profundidad = _root.profundidad + 1; avispa1.duplicateMovieClip("avispa" + i, _root.profundidad); mapainfo = avispas[i - 1].split(":"); _root["avispa" + i]._x = mapainfo[0]; _root["avispa" + i]._y = mapainfo[1]; i++; } } CuentaAtras = Math.round(getTimer() / 1000) + temp; _root.onEnterFrame = function () { Tiempo = Math.round(getTimer() / 1000); Restante = CuentaAtras - Tiempo; if (Restante < 0) { _root.sonic.reset(); } }; stop();
Instance of Symbol 118 MovieClip "loop1" in Frame 104
onClipEvent (load) { this.estado = "esperando"; } onClipEvent (enterFrame) { if ((this.entrada.hitTest(_root.sonic.pluton) && (_root.sonic.estado == "corriendo")) && (_root.sonic.lado == "derecha")) { this.estado = "dentro"; this.lado = "izkierda"; _root.sonic._visible = 0; _root.sonic.gira = 1; _root.movimiento = 150; _root.sonic._x = 100; } if ((this.salida.hitTest(_root.sonic.pluton) && (_root.sonic.estado == "corriendo")) && (_root.sonic.lado == "izquierda")) { this.estado = "dentro"; this.lado = "derecha"; _root.sonic._visible = 0; _root.sonic.gira = 1; _root.movimiento = -200; _root.sonic._x = 300; } this._x = this._x - _root.movimiento; }
Instance of Symbol 118 MovieClip in Frame 104
onClipEvent (load) { this.estado = "esperando"; } onClipEvent (enterFrame) { if (this.estado == "fuera") { this.stop(); } if ((this.entrada.hitTest(_root.sonic.pluton) && (_root.sonic.estado == "corriendo")) && (_root.sonic.lado == "derecha")) { this.estado = "dentro"; this.play(); _root.sonic._visible = 0; _root.sonic.gira = 1; } this._x = this._x - _root.movimiento; }
Instance of Symbol 348 MovieClip "gusano1" in Frame 104
onClipEvent (load) { puntos = 50; n = 4; count = 0; tocandosuelo = 0; bajada = 2; max = 50; this.direccion = "izquierda"; if (this._xscale < 0) { this._xscale = -this._xscale; } } onClipEvent (enterFrame) { tocandosuelo = 0; this.tocandoyo = 0; i = 1; while (i <= _root.numplataformas) { if (this.hitTest(_root["plataforma2" + i])) { tocandosuelo = 1; } if (this.izke.hitTest(_root["plataforma2" + i])) { while (this.izke.hitTest(_root["plataforma2" + i])) { if (this.direccion == "izquierda") { this._x = this._x + 1; } else { this._x = this._x - 1; } } this.tocandoyo = 1; } i++; } if (tocandosuelo == 0) { bajada = bajada + _root.gravedad; this._y = this._y + bajada; } else { bajada = 0; } if (this.tocandoyo != "1") { this._x = this._x - n; } else { count = max - 1; } count++; if (count == max) { count = 0; n = -n; this._xscale = -this._xscale; if (this.direccion == "izquierda") { this._x = this._x + this._width; } else { this._x = this._x - this._width; } if (this.direccion == "izquierda") { this.direccion = "derecha"; } else { this.direccion = "izquierda"; } } if (this.hitTest(_root.sonic.pluton)) { if (_root.sonic.estado == "saltando") { misonidoa = new Sound(); misonidoa.attachSound("flip"); misonidoa.start(); _root.puntos = _root.puntos + puntos; _root.sonic.rebota(20); this.gotoAndStop(13); } else { _root.sonic.reset(); } } this._x = this._x - _root.movimiento; }
Frame 105
if (_root.vidas < 0) { gotoAndPlay ("gameover"); } else { stop(); } _root.fondo._x = -2.4; _root.fondo._y = 1.4; _root.sonic._x = 77.3; _root.sonic._y = 222.3; _root.profundidad = 0; _root.frame = 105; _root.siguiente = 106; _root.temp = 100; _root.movimiento = 0; _root.gravedad = 1; _root.balas = 1; _root.nivel = 3; final = "5900:100"; var mapa = new Array(); var gusanos = new Array(); var monedas = new Array(); var muelles = new Array(); var totems = new Array(); var flors = new Array(); var gordos = new Array(); var arbols = new Array(); var arbolillos = new Array(); var pinchos = new Array(); var ranas = new Array(); var cocodrilos = new Array(); var rokalokas = new Array(); var batmans = new Array(); var calabazas = new Array(); var cangrejos = new Array(); var peras = new Array(); var stars = new Array(); var loops = new Array(); var mariquitas = new Array(); var lifes = new Array(); var burbujas = new Array(); var avispas = new Array(); final = "5900:100"; mapa.push("320:82:-2360:50:5"); mapa.push("320:82:-2360:50:7"); mapa.push("320:82:-2360:50:5"); mapa.push("320:82:-2000:0:4"); mapa.push("320:82:-2360:50:3"); mapa.push("320:82:-2360:50:2"); mapa.push("320:82:-2360:50:1"); mariquitas.push("-2000:20"); gusanos.push("-2000:20"); avispas.push("-2000:300"); muelles.push("-2000:-10"); totems.push("-2000:-23"); flors.push("-2000:100"); cocodrilos.push("-2000:100"); rokalokas.push("-2000:200:1"); rokalokas.push("-2000:200:2"); arbols.push("-2000:-80"); arbolillos.push("-2000:-100"); batmans.push("-2000:400"); cangrejos.push("-2000:100"); burbujas.push("-2000:0"); lifes.push("-2000:0"); monedas.push("-3000:10"); peras.push("-800:280"); pinchos.push("-2000:0"); lifes.push("-780:30"); burbujas.push("-780:30"); flors.push("-5000:250"); arbolillos.push("-3700:200"); monedas.push("-3910:180"); loops.push("3500:-137"); stars.push("-3500:-137"); mapa.push("320:82:1124.5:212.75:5"); mapa.push("64:29:5757:271.25:2"); mapa.push("64:29:5252:281.25:2"); mapa.push("64:29:5512:281.25:2"); mapa.push("320:82:809.5:282.75:5"); mapa.push("320:82:1124.5:282.75:5"); mapa.push("320:82:1439.5:282.75:5"); mapa.push("320:82:3494.5:332.75:5"); mapa.push("320:82:4654.5:332.75:5"); mapa.push("64:29:5902:336.25:2"); mapa.push("64:29:5642:341.25:2"); mapa.push("64:29:5127:351.25:2"); mapa.push("64:29:5387:351.25:2"); mapa.push("320:82:484.5:352.75:5"); mapa.push("320:82:804.5:352.75:5"); mapa.push("320:82:1114.5:352.75:5"); mapa.push("320:82:1369.5:352.75:5"); mapa.push("320:82:1664.5:352.75:5"); mapa.push("64:29:2352:371.25:2"); mapa.push("64:29:2482:371.25:2"); mapa.push("64:29:2602:371.25:2"); mapa.push("64:29:2722:371.25:2"); mapa.push("64:29:2842:371.25:2"); mapa.push("64:29:2952:371.25:2"); mapa.push("320:82:3164.5:407.75:5"); mapa.push("320:82:3464.5:407.75:5"); mapa.push("320:82:3734.5:407.75:5"); mapa.push("320:82:4019.5:407.75:5"); mapa.push("320:82:4319.5:407.75:5"); mapa.push("320:82:4584.5:407.75:5"); mapa.push("320:82:4879.5:407.75:5"); mapa.push("320:82:94.5:412.75:5"); mapa.push("320:82:384.5:412.75:5"); mapa.push("320:82:649.5:412.75:5"); mapa.push("320:82:954.5:412.75:5"); mapa.push("320:82:1229.5:412.75:5"); mapa.push("320:82:1514.5:412.75:5"); mapa.push("320:82:1804.5:412.75:5"); mapa.push("320:82:2099.5:412.75:5"); mariquitas.push("4103.75:290.75"); gusanos.push("2191.5:312.5"); gusanos.push("3586.5:242.5"); gusanos.push("4766.5:257.5"); gusanos.push("1256.5:137.5"); gusanos.push("591.5:277.5"); monedas.push("973:128.5"); monedas.push("1003:128.5"); monedas.push("1033:128.5"); monedas.push("1063:128.5"); monedas.push("1093:128.5"); monedas.push("1123:128.5"); monedas.push("1153:128.5"); monedas.push("1183:128.5"); monedas.push("1213:128.5"); monedas.push("1243:128.5"); monedas.push("1273:128.5"); monedas.push("2328:298.5"); monedas.push("2358:298.5"); monedas.push("2388:298.5"); monedas.push("2418:298.5"); monedas.push("2448:298.5"); monedas.push("2478:298.5"); monedas.push("2508:298.5"); monedas.push("2538:298.5"); monedas.push("2568:298.5"); monedas.push("2598:298.5"); monedas.push("2628:298.5"); monedas.push("2698:288.5"); monedas.push("2728:288.5"); monedas.push("2758:288.5"); monedas.push("2788:288.5"); monedas.push("2818:288.5"); monedas.push("2848:288.5"); monedas.push("2878:288.5"); monedas.push("2908:288.5"); monedas.push("2938:288.5"); monedas.push("2968:288.5"); monedas.push("2998:288.5"); monedas.push("3333:228.5"); monedas.push("3363:228.5"); monedas.push("3393:228.5"); monedas.push("3423:228.5"); monedas.push("3453:228.5"); monedas.push("3483:228.5"); monedas.push("3513:228.5"); monedas.push("3543:228.5"); monedas.push("3573:228.5"); monedas.push("3603:228.5"); monedas.push("3633:228.5"); monedas.push("4498:228.5"); monedas.push("4528:228.5"); monedas.push("4558:228.5"); monedas.push("4588:228.5"); monedas.push("4618:228.5"); monedas.push("4648:228.5"); monedas.push("4678:228.5"); monedas.push("4708:228.5"); monedas.push("4738:228.5"); monedas.push("4768:228.5"); monedas.push("4798:228.5"); monedas.push("1998:193.5"); monedas.push("2028:193.5"); monedas.push("2058:193.5"); monedas.push("2088:193.5"); monedas.push("2118:193.5"); monedas.push("2148:193.5"); monedas.push("2178:193.5"); monedas.push("2208:193.5"); monedas.push("2238:193.5"); monedas.push("2268:193.5"); monedas.push("2298:193.5"); stars.push("3940:334"); stars.push("3965:334"); stars.push("3990:334"); stars.push("4015:334"); stars.push("4040:334"); stars.push("4065:334"); stars.push("4090:334"); stars.push("4115:334"); stars.push("4140:334"); stars.push("4265:334"); stars.push("4290:334"); peras.push("5131.5:299"); peras.push("5251.5:224"); peras.push("5381.5:304"); peras.push("5381.5:304"); peras.push("5516.5:224"); peras.push("5651.5:289"); peras.push("5756.5:204"); peras.push("5906.5:279"); pinchos.push("1613.25:301.5"); pinchos.push("1643.25:301.5"); pinchos.push("1675.75:301.5"); pinchos.push("1708.25:301.5"); pinchos.push("1740.75:301.5"); pinchos.push("1773.25:301.5"); pinchos.push("1805.75:301.5"); mapa.push("64:29:1817:236.25:2"); mapa.push("224.0:46.5:2107.5:244.5:3"); gusanos.push("2186.5:182.5"); arbolillos.push("17.75:327"); arbolillos.push("177.75:362"); arbolillos.push("392.75:257"); arbolillos.push("537.75:292"); arbolillos.push("722.75:197"); arbolillos.push("852.75:222"); arbolillos.push("1012.75:127"); arbolillos.push("1097.75:127"); arbolillos.push("1192.75:127"); arbolillos.push("1352.75:192"); arbolillos.push("1462.75:167"); arbolillos.push("1557.75:222"); arbolillos.push("1887.75:327"); arbolillos.push("1977.75:327"); arbolillos.push("2107.75:357"); arbolillos.push("2222.75:352"); arbolillos.push("2057.75:157"); arbolillos.push("2162.75:157"); arbolillos.push("3057.75:327"); arbolillos.push("3152.75:302"); arbolillos.push("3262.75:302"); arbolillos.push("3397.75:227"); arbolillos.push("3502.75:267"); arbolillos.push("3612.75:212"); arbolillos.push("3742.75:327"); arbolillos.push("3852.75:297"); arbolillos.push("3977.75:327"); arbolillos.push("4082.75:297"); arbolillos.push("4202.75:327"); arbolillos.push("4317.75:302"); arbolillos.push("4427.75:312"); arbolillos.push("4567.75:232"); arbolillos.push("4762.75:237"); arbolillos.push("4887.75:322"); arbolillos.push("4997.75:317"); flors.push("90.75:345.25"); flors.push("265.75:350.25"); flors.push("470.75:285.25"); flors.push("785.75:220.25"); flors.push("930.75:210.25"); flors.push("1260.75:165.25"); flors.push("2045.75:350.25"); flors.push("3680.75:340.25"); flors.push("4260.75:340.25"); flors.push("4140.75:355.25"); flors.push("4030.75:345.25"); flors.push("3915.75:350.25"); flors.push("4630.75:275.25"); flors.push("4685.75:270.25"); flors.push("4945.75:340.25"); flors.push("4835.75:345.25"); flors.push("3205.75:340.25"); totems.push("613.5:301.75"); totems.push("128.5:356.75"); totems.push("3558.5:281.75"); totems.push("4378.5:351.75"); totems.push("4518.5:281.75"); burbujas.push("2491.75:352"); _root.numplataformas = mapa.length; mapainfo = mapa[0].split(":"); i = 1; _root["plataforma2" + i]._width = mapainfo[0]; _root["plataforma2" + i]._height = mapainfo[1]; _root["plataforma2" + i]._x = mapainfo[2]; _root["plataforma2" + i]._y = mapainfo[3]; _root.profundidad = _root.profundidad + 1; i = 2; while (i <= numplataformas) { _root.profundidad = _root.profundidad + 1; mapainfo[3] = 0; mapainfo = mapa[i - 1].split(":"); if (mapainfo[4] == 1) { plataformak.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 2) { verde.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 3) { tumbao1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 4) { ancho1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 5) { alto1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 6) { muevete1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); _root["plataforma2" + i].maximo = mapainfo[5]; _root["plataforma2" + i].n = mapainfo[6]; } else if (mapainfo[4] == 7) { invisible1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } _root["plataforma2" + i]._width = mapainfo[0]; _root["plataforma2" + i]._height = mapainfo[1]; _root["plataforma2" + i]._x = mapainfo[2]; _root["plataforma2" + i]._y = mapainfo[3]; _root["plataforma2" + i].numero = i - 1; i++; } final1.duplicateMovieClip("final2", _root.profundidad + 17500); i = 1; final = final.split(":"); _root.final2._x = final[0]; _root.final2._y = (421 - _root.final1._height) - final[1]; _root.numgusanos = gusanos.length; if (_root.numgusanos == 0) { gusano1.swapDepths(1); gusano1.removeMovieClip(); } else if (_root.numgusanos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gusanos[i - 1].split(":"); _root["gusano" + i]._x = mapainfo[0]; _root["gusano" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gusanos[i - 1].split(":"); _root["gusano" + i]._x = mapainfo[0]; _root["gusano" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numgusanos) { _root.profundidad = _root.profundidad + 1; gusano1.duplicateMovieClip("gusano" + i, _root.profundidad); mapainfo = gusanos[i - 1].split(":"); _root["gusano" + i]._x = mapainfo[0]; _root["gusano" + i]._y = mapainfo[1]; i++; } } _root.nummonedas = monedas.length; if (_root.nummonedas == 0) { moneda1.swapDepths(1); moneda1.removeMovieClip(); } else if (_root.nummonedas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = monedas[i - 1].split(":"); _root["moneda" + i]._x = mapainfo[0]; _root["moneda" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = monedas[i - 1].split(":"); _root["moneda" + i]._x = mapainfo[0]; _root["moneda" + i]._y = mapainfo[1]; i = 2; while (i <= _root.nummonedas) { _root.profundidad = _root.profundidad + 1; moneda1.duplicateMovieClip("moneda" + i, _root.profundidad); mapainfo = monedas[i - 1].split(":"); _root["moneda" + i]._x = mapainfo[0]; _root["moneda" + i]._y = mapainfo[1]; i++; } } _root.nummuelles = muelles.length; if (_root.nummuelles == 0) { muelle1.swapDepths(1); muelle1.removeMovieClip(); } else if (_root.nummuelles == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = muelles[i - 1].split(":"); _root["muelle" + i]._x = mapainfo[0]; _root["muelle" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = muelles[i - 1].split(":"); _root["muelle" + i]._x = mapainfo[0]; _root["muelle" + i]._y = mapainfo[1]; i = 2; while (i <= _root.nummuelles) { _root.profundidad = _root.profundidad + 1; muelle1.duplicateMovieClip("muelle" + i, _root.profundidad); mapainfo = muelles[i - 1].split(":"); _root["muelle" + i]._x = mapainfo[0]; _root["muelle" + i]._y = -mapainfo[1]; i++; } } _root.numtotems = totems.length; if (_root.numtotems == 0) { totem1.swapDepths(1); totem1.removeMovieClip(); } else if (_root.numtotems == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = totems[i - 1].split(":"); _root["totem" + i]._x = mapainfo[0]; _root["totem" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = totems[i - 1].split(":"); _root["totem" + i]._x = mapainfo[0]; _root["totem" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numtotems) { _root.profundidad = _root.profundidad + 1; totem1.duplicateMovieClip("totem" + i, _root.profundidad); mapainfo = totems[i - 1].split(":"); _root["totem" + i]._x = mapainfo[0]; _root["totem" + i]._y = mapainfo[1]; i++; } } _root.numflors = flors.length; if (_root.numflors == 0) { flor1.swapDepths(1); flor1.removeMovieClip(); } else if (_root.numflors == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = flors[i - 1].split(":"); _root["flor" + i]._x = mapainfo[0]; _root["flor" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = flors[i - 1].split(":"); _root["flor" + i]._x = mapainfo[0]; _root["flor" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numflors) { _root.profundidad = _root.profundidad + 1; flor1.duplicateMovieClip("flor" + i, _root.profundidad); mapainfo = flors[i - 1].split(":"); _root["flor" + i]._x = mapainfo[0]; _root["flor" + i]._y = mapainfo[1]; i++; } } _root.numgordos = gordos.length; if (_root.numgordos == 0) { gordo1.swapDepths(1); gordo1.removeMovieClip(); } else if (_root.numgordos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gordos[i - 1].split(":"); _root["gordo" + i]._x = mapainfo[0]; _root["gordo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gordos[i - 1].split(":"); _root["gordo" + i]._x = mapainfo[0]; _root["gordo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numgordos) { _root.profundidad = _root.profundidad + 1; gordo1.duplicateMovieClip("gordo" + i, _root.profundidad); mapainfo = gordos[i - 1].split(":"); _root["gordo" + i]._x = mapainfo[0]; _root["gordo" + i]._y = mapainfo[1]; i++; } } _root.numarbols = arbols.length; if (_root.numarbols == 0) { arbol1.swapDepths(1); arbol1.removeMovieClip(); } else if (_root.numarbols == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbols[i - 1].split(":"); _root["arbol" + i]._x = mapainfo[0]; _root["arbol" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbols[i - 1].split(":"); _root["arbol" + i]._x = mapainfo[0]; _root["arbol" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numarbols) { _root.profundidad = _root.profundidad + 1; arbol1.duplicateMovieClip("arbol" + i, _root.profundidad); mapainfo = arbols[i - 1].split(":"); _root["arbol" + i]._x = mapainfo[0]; _root["arbol" + i]._y = mapainfo[1]; i++; } } _root.numarbolillos = arbolillos.length; if (_root.numarbolillos == 0) { arbolillo1.swapDepths(1); arbolillo1.removeMovieClip(); } else if (_root.numarbolillos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbolillos[i - 1].split(":"); _root["arbolillo" + i]._x = mapainfo[0]; _root["arbolillo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbolillos[i - 1].split(":"); _root["arbolillo" + i]._x = mapainfo[0]; _root["arbolillo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numarbolillos) { _root.profundidad = _root.profundidad + 1; arbolillo1.duplicateMovieClip("arbolillo" + i, _root.profundidad); mapainfo = arbolillos[i - 1].split(":"); _root["arbolillo" + i]._x = mapainfo[0]; _root["arbolillo" + i]._y = mapainfo[1]; i++; } } _root.numpinchos = pinchos.length; if (_root.numpinchos == 0) { pincho1.swapDepths(1); pincho1.removeMovieClip(); } else if (_root.numpinchos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = pinchos[i - 1].split(":"); _root["pincho" + i]._x = mapainfo[0]; _root["pincho" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = pinchos[i - 1].split(":"); _root["pincho" + i]._x = mapainfo[0]; _root["pincho" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numpinchos) { _root.profundidad = _root.profundidad + 1; pincho1.duplicateMovieClip("pincho" + i, _root.profundidad); mapainfo = pinchos[i - 1].split(":"); _root["pincho" + i]._x = mapainfo[0]; _root["pincho" + i]._y = mapainfo[1]; i++; } } _root.numranas = ranas.length; if (_root.numranas == 0) { rana1.swapDepths(1); rana1.removeMovieClip(); } else if (_root.numranas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = ranas[i - 1].split(":"); _root["rana" + i]._x = mapainfo[0]; _root["rana" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = ranas[i - 1].split(":"); _root["rana" + i]._x = mapainfo[0]; _root["rana" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numranas) { _root.profundidad = _root.profundidad + 1; rana1.duplicateMovieClip("rana" + i, _root.profundidad); mapainfo = ranas[i - 1].split(":"); _root["rana" + i]._x = mapainfo[0]; _root["rana" + i]._y = mapainfo[1]; i++; } } _root.numcocodrilos = cocodrilos.length; if (_root.numcocodrilos == 0) { cocodrilo1.swapDepths(1); cocodrilo1.removeMovieClip(); } else if (_root.numcocodrilos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cocodrilos[i - 1].split(":"); _root["cocodrilo" + i]._x = mapainfo[0]; _root["cocodrilo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cocodrilos[i - 1].split(":"); _root["cocodrilo" + i]._x = mapainfo[0]; _root["cocodrilo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numcocodrilos) { _root.profundidad = _root.profundidad + 1; cocodrilo1.duplicateMovieClip("cocodrilo" + i, _root.profundidad); mapainfo = cocodrilos[i - 1].split(":"); _root["cocodrilo" + i]._x = mapainfo[0]; _root["cocodrilo" + i]._y = mapainfo[1]; i++; } } _root.numrokalokas = rokalokas.length; if (_root.numrokalokas == 0) { rokaloka1.swapDepths(1); rokaloka1.removeMovieClip(); } else if (_root.numrokalokas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = rokalokas[i - 1].split(":"); _root["rokaloka" + i]._x = mapainfo[0]; _root["rokaloka" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = rokalokas[i - 1].split(":"); _root["rokaloka" + i]._x = mapainfo[0]; _root["rokaloka" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numrokalokas) { _root.profundidad = _root.profundidad + 1; mapainfo = rokalokas[i - 1].split(":"); if (mapainfo[2] == 1) { rokaloka1.duplicateMovieClip("rokaloka" + i, _root.profundidad); } else { rokalokaarriba1.duplicateMovieClip("rokaloka" + i, _root.profundidad); } _root["rokaloka" + i]._x = mapainfo[0]; _root["rokaloka" + i]._y = mapainfo[1]; i++; } } _root.numcalabazas = calabazas.length; if (_root.numcalabazas == 0) { calabaza1.swapDepths(1); calabaza1.removeMovieClip(); } else if (_root.numcalabazas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = calabazas[i - 1].split(":"); _root["calabaza" + i]._x = mapainfo[0]; _root["calabaza" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = calabazas[i - 1].split(":"); _root["calabaza" + i]._x = mapainfo[0]; _root["calabaza" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numcalabazas) { _root.profundidad = _root.profundidad + 1; calabaza1.duplicateMovieClip("calabaza" + i, _root.profundidad); mapainfo = calabazas[i - 1].split(":"); _root["calabaza" + i]._x = mapainfo[0]; _root["calabaza" + i]._y = mapainfo[1]; i++; } } _root.numbatmans = batmans.length; if (_root.numbatmans == 0) { batman1.swapDepths(1); batman1.removeMovieClip(); } else if (_root.numbatmans == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = batmans[i - 1].split(":"); _root["batman" + i]._x = mapainfo[0]; _root["batman" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = batmans[i - 1].split(":"); _root["batman" + i]._x = mapainfo[0]; _root["batman" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numbatmans) { _root.profundidad = _root.profundidad + 1; batman1.duplicateMovieClip("batman" + i, _root.profundidad); mapainfo = batmans[i - 1].split(":"); _root["batman" + i]._x = mapainfo[0]; _root["batman" + i]._y = mapainfo[1]; i++; } } _root.numcangrejos = cangrejos.length; if (_root.numcangrejos == 0) { cangrejo1.swapDepths(1); cangrejo1.removeMovieClip(); } else if (_root.numcangrejos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cangrejos[i - 1].split(":"); _root["cangrejo" + i]._x = mapainfo[0]; _root["cangrejo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cangrejos[i - 1].split(":"); _root["cangrejo" + i]._x = mapainfo[0]; _root["cangrejo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numcangrejos) { _root.profundidad = _root.profundidad + 1; cangrejo1.duplicateMovieClip("cangrejo" + i, _root.profundidad); mapainfo = cangrejos[i - 1].split(":"); _root["cangrejo" + i]._x = mapainfo[0]; _root["cangrejo" + i]._y = mapainfo[1]; i++; } } _root.numperas = peras.length; if (_root.numperas == 0) { pera1.swapDepths(1); pera1.removeMovieClip(); } else if (_root.numperas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = peras[i - 1].split(":"); _root["pera" + i]._x = mapainfo[0]; _root["pera" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = peras[i - 1].split(":"); _root["pera" + i]._x = mapainfo[0]; _root["pera" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numperas) { _root.profundidad = _root.profundidad + 1; pera1.duplicateMovieClip("pera" + i, _root.profundidad); mapainfo = peras[i - 1].split(":"); _root["pera" + i]._x = mapainfo[0]; _root["pera" + i]._y = mapainfo[1]; i++; } } _root.numstars = stars.length; if (_root.numstars == 0) { star1.swapDepths(1); star1.removeMovieClip(); } else if (_root.numstars == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = stars[i - 1].split(":"); _root["star" + i]._x = mapainfo[0]; _root["star" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = stars[i - 1].split(":"); _root["star" + i]._x = mapainfo[0]; _root["star" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numstars) { _root.profundidad = _root.profundidad + 1; star1.duplicateMovieClip("star" + i, _root.profundidad); mapainfo = stars[i - 1].split(":"); _root["star" + i]._x = mapainfo[0]; _root["star" + i]._y = mapainfo[1]; i++; } } _root.numloops = loops.length; if (_root.numloops == 0) { loop1.swapDepths(1); loop1.removeMovieClip(); } else if (_root.numloops == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = loops[i - 1].split(":"); _root["loop" + i]._x = mapainfo[0]; _root["loop" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = loops[i - 1].split(":"); _root["loop" + i]._x = mapainfo[0]; _root["loop" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numloops) { _root.profundidad = _root.profundidad + 1; loop1.duplicateMovieClip("loop" + i, _root.profundidad); mapainfo = loops[i - 1].split(":"); _root["loop" + i]._x = mapainfo[0]; _root["loop" + i]._y = mapainfo[1]; i++; } } _root.nummariquitas = mariquitas.length; if (_root.nummariquitas == 0) { mariquita1.swapDepths(1); mariquita1.removeMovieClip(); } else if (_root.nummariquitas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = mariquitas[i - 1].split(":"); _root["mariquita" + i]._x = mapainfo[0]; _root["mariquita" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = mariquitas[i - 1].split(":"); _root["mariquita" + i]._x = mapainfo[0]; _root["mariquita" + i]._y = mapainfo[1]; i = 2; while (i <= _root.nummariquitas) { _root.profundidad = _root.profundidad + 1; mariquita1.duplicateMovieClip("mariquita" + i, _root.profundidad); mapainfo = mariquitas[i - 1].split(":"); _root["mariquita" + i]._x = mapainfo[0]; _root["mariquita" + i]._y = mapainfo[1]; i++; } } _root.numlifes = lifes.length; if (_root.numlifes == 0) { life1.swapDepths(1); life1.removeMovieClip(); } else if (_root.numlifes == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = lifes[i - 1].split(":"); _root["life" + i]._x = mapainfo[0]; _root["life" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = lifes[i - 1].split(":"); _root["life" + i]._x = mapainfo[0]; _root["life" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numlifes) { _root.profundidad = _root.profundidad + 1; life1.duplicateMovieClip("life" + i, _root.profundidad); mapainfo = lifes[i - 1].split(":"); _root["life" + i]._x = mapainfo[0]; _root["life" + i]._y = mapainfo[1]; i++; } } _root.numburbujas = burbujas.length; if (_root.numburbujas == 0) { burbuja1.swapDepths(1); burbuja1.removeMovieClip(); } else if (_root.numburbujas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = burbujas[i - 1].split(":"); _root["burbuja" + i]._x = mapainfo[0]; _root["burbuja" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = burbujas[i - 1].split(":"); _root["burbuja" + i]._x = mapainfo[0]; _root["burbuja" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numburbujas) { _root.profundidad = _root.profundidad + 1; burbuja1.duplicateMovieClip("burbuja" + i, _root.profundidad); mapainfo = burbujas[i - 1].split(":"); _root["burbuja" + i]._x = mapainfo[0]; _root["burbuja" + i]._y = mapainfo[1]; i++; } } _root.numavispas = avispas.length; if (_root.numavispas == 0) { avispa1.swapDepths(1); avispa1.removeMovieClip(); } else if (_root.numavispas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = avispas[i - 1].split(":"); _root["avispa" + i]._x = mapainfo[0]; _root["avispa" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = avispas[i - 1].split(":"); _root["avispa" + i]._x = mapainfo[0]; _root["avispa" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numavispas) { _root.profundidad = _root.profundidad + 1; avispa1.duplicateMovieClip("avispa" + i, _root.profundidad); mapainfo = avispas[i - 1].split(":"); _root["avispa" + i]._x = mapainfo[0]; _root["avispa" + i]._y = mapainfo[1]; i++; } } CuentaAtras = Math.round(getTimer() / 1000) + temp; _root.onEnterFrame = function () { Tiempo = Math.round(getTimer() / 1000); Restante = CuentaAtras - Tiempo; if (Restante < 0) { _root.sonic.reset(); } }; stop();
Frame 106
if (_root.vidas < 0) { gotoAndPlay ("gameover"); } else { stop(); } _root.fondo._x = -2.4; _root.fondo._y = 1.4; _root.sonic._x = 77.3; _root.sonic._y = 222.3; _root.profundidad = 0; _root.frame = 106; _root.siguiente = 107; _root.temp = 100; _root.movimiento = 0; _root.gravedad = 1; _root.balas = 1; _root.nivel = 4; final = "5900:100"; var mapa = new Array(); var gusanos = new Array(); var monedas = new Array(); var muelles = new Array(); var totems = new Array(); var flors = new Array(); var gordos = new Array(); var arbols = new Array(); var arbolillos = new Array(); var pinchos = new Array(); var ranas = new Array(); var cocodrilos = new Array(); var rokalokas = new Array(); var batmans = new Array(); var calabazas = new Array(); var cangrejos = new Array(); var peras = new Array(); var stars = new Array(); var loops = new Array(); var mariquitas = new Array(); var lifes = new Array(); var burbujas = new Array(); var avispas = new Array(); final = "5900:100"; mapa.push("320:82:-2360:50:5"); mapa.push("320:82:-2360:50:7"); mapa.push("320:82:-2360:50:5"); mapa.push("320:82:-2000:0:4"); mapa.push("320:82:-2360:50:3"); mapa.push("320:82:-2360:50:2"); mapa.push("320:82:-2360:50:1"); mariquitas.push("-2000:20"); gusanos.push("-2000:20"); avispas.push("-2000:300"); muelles.push("-2000:-10"); totems.push("-2000:-23"); flors.push("-2000:100"); cocodrilos.push("-2000:100"); rokalokas.push("-2000:200:1"); rokalokas.push("-2000:200:2"); arbols.push("-2000:-80"); arbolillos.push("-2000:-100"); batmans.push("-2000:400"); cangrejos.push("-2000:100"); burbujas.push("-2000:0"); lifes.push("-2000:0"); monedas.push("-3000:10"); peras.push("-800:280"); pinchos.push("-2000:0"); lifes.push("-780:30"); burbujas.push("-780:30"); flors.push("-5000:250"); arbolillos.push("-3700:200"); monedas.push("-3910:180"); loops.push("3500:-137"); stars.push("-3500:-137"); mapa.push("320:82:4929.5:257.75:5"); mapa.push("320:82:1769.5:337.75:5"); mapa.push("320:82:4784.5:332.75:5"); mapa.push("320:82:5104.5:332.75:5"); mapa.push("320:82:1454.5:392.75:5"); mapa.push("320:82:1774.5:392.75:5"); mapa.push("320:82:2089.5:392.75:5"); mapa.push("320:82:2844.5:392.75:5"); mapa.push("320:82:4464.5:402.75:5"); mapa.push("320:82:4784.5:402.75:5"); mapa.push("320:82:5104.5:402.75:5"); mapa.push("320:82:5424.5:402.75:5"); mapa.push("320:36:123.75:438.5:4"); mapa.push("320:36:438.75:438.5:4"); mapa.push("320:36:753.75:438.5:4"); mapa.push("320:36:1023.75:438.5:4"); mapa.push("320:36:1318.75:438.5:4"); mapa.push("320:36:1638.75:438.5:4"); mapa.push("320:36:1948.75:438.5:4"); mapa.push("320:36:2253.75:438.5:4"); mapa.push("320:36:2543.75:438.5:4"); mapa.push("320:36:2848.75:438.5:4"); mapa.push("320:36:3148.75:438.5:4"); mapa.push("320:36:3458.75:438.5:4"); mapa.push("320:36:3733.75:438.5:4"); mapa.push("320:36:4013.75:438.5:4"); mapa.push("320:36:4323.75:438.5:4"); mapa.push("320:36:4628.75:438.5:4"); mapa.push("320:36:4903.75:438.5:4"); mapa.push("320:36:5213.75:438.5:4"); mapa.push("320:36:5528.75:438.5:4"); mapa.push("320:36:5833.75:438.5:4"); mapa.push("320:36:6023.75:438.5:4"); mapa.push("255:36:788:208.75:4"); mapa.push("34:123:690:215:7"); loops.push("801.5:334.75"); mapa.push("34:123:850:215:7"); arbolillos.push("760:145"); arbolillos.push("800:135"); arbolillos.push("900:125"); flors.push("870:195"); mapa.push("255:36:3598:208.75:4"); mapa.push("34:123:3500:215:7"); loops.push("3611.5:334.75"); mapa.push("34:123:3661:215:7"); arbolillos.push("3532:135"); arbolillos.push("3632:125"); flors.push("3600:195"); ranas.push("2564.5:393.75"); gusanos.push("5046.5:191.75"); mariquitas.push("2978.75:305.75"); mariquitas.push("1893.75:245.75"); mariquitas.push("4563.75:315.75"); mariquitas.push("5533.75:330.75"); mapa.push("64:29:4187:256.25:2"); mapa.push("64:29:3992:241.25:2"); mapa.push("64:29:3832:176.25:2"); burbujas.push("3532.5:185"); ranas.push("5989.5:383.75"); gordos.push("2225.75:298.25"); arbolillos.push("107.75:337"); arbolillos.push("212.75:337"); monedas.push("1618:238.5"); monedas.push("1648:238.5"); monedas.push("1678:238.5"); monedas.push("1708:238.5"); monedas.push("1738:238.5"); monedas.push("1768:238.5"); monedas.push("1798:238.5"); monedas.push("1828:238.5"); monedas.push("1858:238.5"); monedas.push("1888:238.5"); monedas.push("1918:238.5"); monedas.push("4778:173.5"); monedas.push("4808:173.5"); monedas.push("4838:173.5"); monedas.push("4868:173.5"); monedas.push("4898:173.5"); monedas.push("4928:173.5"); monedas.push("4958:173.5"); monedas.push("4988:173.5"); monedas.push("5018:173.5"); monedas.push("5048:173.5"); monedas.push("5078:173.5"); monedas.push("3833:388.5"); monedas.push("3863:388.5"); monedas.push("3893:388.5"); monedas.push("3923:388.5"); monedas.push("3953:388.5"); monedas.push("3983:388.5"); monedas.push("4013:388.5"); monedas.push("4043:388.5"); monedas.push("4073:388.5"); monedas.push("4103:388.5"); monedas.push("4133:388.5"); monedas.push("2318:388.5"); monedas.push("2348:388.5"); monedas.push("2378:388.5"); monedas.push("2408:388.5"); monedas.push("2438:388.5"); monedas.push("2468:388.5"); monedas.push("2498:388.5"); monedas.push("2528:388.5"); monedas.push("2558:388.5"); monedas.push("2588:388.5"); monedas.push("2618:388.5"); monedas.push("5303:313.5"); monedas.push("5333:313.5"); monedas.push("5363:313.5"); monedas.push("5393:313.5"); monedas.push("5423:313.5"); monedas.push("5453:313.5"); monedas.push("5483:313.5"); monedas.push("5513:313.5"); monedas.push("5543:313.5"); monedas.push("5573:313.5"); monedas.push("5603:313.5"); arbolillos.push("447.75:347"); arbolillos.push("1042.75:347"); arbolillos.push("1187.75:342"); arbolillos.push("1372.75:272"); arbolillos.push("1517.75:307"); arbolillos.push("1677.75:212"); arbolillos.push("1792.75:267"); arbolillos.push("2027.75:297"); arbolillos.push("2147.75:317"); arbolillos.push("2752.75:267"); arbolillos.push("2362.75:362"); arbolillos.push("2457.75:357"); arbolillos.push("2602.75:432"); arbolillos.push("2862.75:317"); arbolillos.push("3112.75:362"); arbolillos.push("3217.75:402"); arbolillos.push("3302.75:367"); arbolillos.push("3397.75:337"); arbolillos.push("3872.75:332"); arbolillos.push("3987.75:362"); arbolillos.push("4102.75:352"); arbolillos.push("4247.75:347"); arbolillos.push("4377.75:307"); arbolillos.push("4477.75:342"); arbolillos.push("4677.75:252"); arbolillos.push("4827.75:172"); arbolillos.push("4922.75:207"); arbolillos.push("5012.75:172"); arbolillos.push("5177.75:232"); arbolillos.push("5322.75:307"); arbolillos.push("5427.75:307"); arbolillos.push("5677.75:337"); arbolillos.push("5827.75:367"); arbolillos.push("5952.75:347"); arbolillos.push("6087.75:387"); flors.push("300.75:390.25"); flors.push("355.75:405.25"); flors.push("555.75:400.25"); flors.push("1260.75:400.25"); flors.push("1440.75:335.25"); flors.push("1590.75:330.25"); flors.push("1965.75:325.25"); flors.push("1860.75:270.25"); flors.push("2215.75:325.25"); flors.push("2290.75:420.25"); flors.push("2530.75:410.25"); flors.push("3800.75:415.25"); flors.push("3845.75:145.25"); flors.push("4575.75:345.25"); flors.push("4740.75:280.25"); flors.push("5115.75:275.25"); flors.push("5510.75:345.25"); flors.push("5560.75:355.25"); flors.push("5760.75:415.25"); flors.push("6165.75:405.25"); totems.push("628.5:401.75"); totems.push("1903.5:276.75"); totems.push("2938.5:336.75"); totems.push("4005.5:221.75"); totems.push("5253.5:276.75"); totems.push("5898.5:411.75"); peras.push("3806.5:124"); peras.push("3971.5:174"); peras.push("4186.5:209"); _root.numplataformas = mapa.length; mapainfo = mapa[0].split(":"); i = 1; _root["plataforma2" + i]._width = mapainfo[0]; _root["plataforma2" + i]._height = mapainfo[1]; _root["plataforma2" + i]._x = mapainfo[2]; _root["plataforma2" + i]._y = mapainfo[3]; _root.profundidad = _root.profundidad + 1; i = 2; while (i <= numplataformas) { _root.profundidad = _root.profundidad + 1; mapainfo[3] = 0; mapainfo = mapa[i - 1].split(":"); if (mapainfo[4] == 1) { plataformak.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 2) { verde.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 3) { tumbao1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 4) { ancho1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 5) { alto1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 6) { muevete1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); _root["plataforma2" + i].maximo = mapainfo[5]; _root["plataforma2" + i].n = mapainfo[6]; } else if (mapainfo[4] == 7) { invisible1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } _root["plataforma2" + i]._width = mapainfo[0]; _root["plataforma2" + i]._height = mapainfo[1]; _root["plataforma2" + i]._x = mapainfo[2]; _root["plataforma2" + i]._y = mapainfo[3]; _root["plataforma2" + i].numero = i - 1; i++; } final1.duplicateMovieClip("final2", _root.profundidad + 17500); i = 1; final = final.split(":"); _root.final2._x = final[0]; _root.final2._y = (421 - _root.final1._height) - final[1]; _root.numgusanos = gusanos.length; if (_root.numgusanos == 0) { gusano1.swapDepths(1); gusano1.removeMovieClip(); } else if (_root.numgusanos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gusanos[i - 1].split(":"); _root["gusano" + i]._x = mapainfo[0]; _root["gusano" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gusanos[i - 1].split(":"); _root["gusano" + i]._x = mapainfo[0]; _root["gusano" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numgusanos) { _root.profundidad = _root.profundidad + 1; gusano1.duplicateMovieClip("gusano" + i, _root.profundidad); mapainfo = gusanos[i - 1].split(":"); _root["gusano" + i]._x = mapainfo[0]; _root["gusano" + i]._y = mapainfo[1]; i++; } } _root.nummonedas = monedas.length; if (_root.nummonedas == 0) { moneda1.swapDepths(1); moneda1.removeMovieClip(); } else if (_root.nummonedas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = monedas[i - 1].split(":"); _root["moneda" + i]._x = mapainfo[0]; _root["moneda" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = monedas[i - 1].split(":"); _root["moneda" + i]._x = mapainfo[0]; _root["moneda" + i]._y = mapainfo[1]; i = 2; while (i <= _root.nummonedas) { _root.profundidad = _root.profundidad + 1; moneda1.duplicateMovieClip("moneda" + i, _root.profundidad); mapainfo = monedas[i - 1].split(":"); _root["moneda" + i]._x = mapainfo[0]; _root["moneda" + i]._y = mapainfo[1]; i++; } } _root.nummuelles = muelles.length; if (_root.nummuelles == 0) { muelle1.swapDepths(1); muelle1.removeMovieClip(); } else if (_root.nummuelles == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = muelles[i - 1].split(":"); _root["muelle" + i]._x = mapainfo[0]; _root["muelle" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = muelles[i - 1].split(":"); _root["muelle" + i]._x = mapainfo[0]; _root["muelle" + i]._y = mapainfo[1]; i = 2; while (i <= _root.nummuelles) { _root.profundidad = _root.profundidad + 1; muelle1.duplicateMovieClip("muelle" + i, _root.profundidad); mapainfo = muelles[i - 1].split(":"); _root["muelle" + i]._x = mapainfo[0]; _root["muelle" + i]._y = -mapainfo[1]; i++; } } _root.numtotems = totems.length; if (_root.numtotems == 0) { totem1.swapDepths(1); totem1.removeMovieClip(); } else if (_root.numtotems == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = totems[i - 1].split(":"); _root["totem" + i]._x = mapainfo[0]; _root["totem" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = totems[i - 1].split(":"); _root["totem" + i]._x = mapainfo[0]; _root["totem" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numtotems) { _root.profundidad = _root.profundidad + 1; totem1.duplicateMovieClip("totem" + i, _root.profundidad); mapainfo = totems[i - 1].split(":"); _root["totem" + i]._x = mapainfo[0]; _root["totem" + i]._y = mapainfo[1]; i++; } } _root.numflors = flors.length; if (_root.numflors == 0) { flor1.swapDepths(1); flor1.removeMovieClip(); } else if (_root.numflors == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = flors[i - 1].split(":"); _root["flor" + i]._x = mapainfo[0]; _root["flor" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = flors[i - 1].split(":"); _root["flor" + i]._x = mapainfo[0]; _root["flor" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numflors) { _root.profundidad = _root.profundidad + 1; flor1.duplicateMovieClip("flor" + i, _root.profundidad); mapainfo = flors[i - 1].split(":"); _root["flor" + i]._x = mapainfo[0]; _root["flor" + i]._y = mapainfo[1]; i++; } } _root.numgordos = gordos.length; if (_root.numgordos == 0) { gordo1.swapDepths(1); gordo1.removeMovieClip(); } else if (_root.numgordos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gordos[i - 1].split(":"); _root["gordo" + i]._x = mapainfo[0]; _root["gordo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gordos[i - 1].split(":"); _root["gordo" + i]._x = mapainfo[0]; _root["gordo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numgordos) { _root.profundidad = _root.profundidad + 1; gordo1.duplicateMovieClip("gordo" + i, _root.profundidad); mapainfo = gordos[i - 1].split(":"); _root["gordo" + i]._x = mapainfo[0]; _root["gordo" + i]._y = mapainfo[1]; i++; } } _root.numarbols = arbols.length; if (_root.numarbols == 0) { arbol1.swapDepths(1); arbol1.removeMovieClip(); } else if (_root.numarbols == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbols[i - 1].split(":"); _root["arbol" + i]._x = mapainfo[0]; _root["arbol" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbols[i - 1].split(":"); _root["arbol" + i]._x = mapainfo[0]; _root["arbol" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numarbols) { _root.profundidad = _root.profundidad + 1; arbol1.duplicateMovieClip("arbol" + i, _root.profundidad); mapainfo = arbols[i - 1].split(":"); _root["arbol" + i]._x = mapainfo[0]; _root["arbol" + i]._y = mapainfo[1]; i++; } } _root.numarbolillos = arbolillos.length; if (_root.numarbolillos == 0) { arbolillo1.swapDepths(1); arbolillo1.removeMovieClip(); } else if (_root.numarbolillos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbolillos[i - 1].split(":"); _root["arbolillo" + i]._x = mapainfo[0]; _root["arbolillo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbolillos[i - 1].split(":"); _root["arbolillo" + i]._x = mapainfo[0]; _root["arbolillo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numarbolillos) { _root.profundidad = _root.profundidad + 1; arbolillo1.duplicateMovieClip("arbolillo" + i, _root.profundidad); mapainfo = arbolillos[i - 1].split(":"); _root["arbolillo" + i]._x = mapainfo[0]; _root["arbolillo" + i]._y = mapainfo[1]; i++; } } _root.numpinchos = pinchos.length; if (_root.numpinchos == 0) { pincho1.swapDepths(1); pincho1.removeMovieClip(); } else if (_root.numpinchos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = pinchos[i - 1].split(":"); _root["pincho" + i]._x = mapainfo[0]; _root["pincho" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = pinchos[i - 1].split(":"); _root["pincho" + i]._x = mapainfo[0]; _root["pincho" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numpinchos) { _root.profundidad = _root.profundidad + 1; pincho1.duplicateMovieClip("pincho" + i, _root.profundidad); mapainfo = pinchos[i - 1].split(":"); _root["pincho" + i]._x = mapainfo[0]; _root["pincho" + i]._y = mapainfo[1]; i++; } } _root.numranas = ranas.length; if (_root.numranas == 0) { rana1.swapDepths(1); rana1.removeMovieClip(); } else if (_root.numranas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = ranas[i - 1].split(":"); _root["rana" + i]._x = mapainfo[0]; _root["rana" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = ranas[i - 1].split(":"); _root["rana" + i]._x = mapainfo[0]; _root["rana" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numranas) { _root.profundidad = _root.profundidad + 1; rana1.duplicateMovieClip("rana" + i, _root.profundidad); mapainfo = ranas[i - 1].split(":"); _root["rana" + i]._x = mapainfo[0]; _root["rana" + i]._y = mapainfo[1]; i++; } } _root.numcocodrilos = cocodrilos.length; if (_root.numcocodrilos == 0) { cocodrilo1.swapDepths(1); cocodrilo1.removeMovieClip(); } else if (_root.numcocodrilos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cocodrilos[i - 1].split(":"); _root["cocodrilo" + i]._x = mapainfo[0]; _root["cocodrilo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cocodrilos[i - 1].split(":"); _root["cocodrilo" + i]._x = mapainfo[0]; _root["cocodrilo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numcocodrilos) { _root.profundidad = _root.profundidad + 1; cocodrilo1.duplicateMovieClip("cocodrilo" + i, _root.profundidad); mapainfo = cocodrilos[i - 1].split(":"); _root["cocodrilo" + i]._x = mapainfo[0]; _root["cocodrilo" + i]._y = mapainfo[1]; i++; } } _root.numrokalokas = rokalokas.length; if (_root.numrokalokas == 0) { rokaloka1.swapDepths(1); rokaloka1.removeMovieClip(); } else if (_root.numrokalokas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = rokalokas[i - 1].split(":"); _root["rokaloka" + i]._x = mapainfo[0]; _root["rokaloka" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = rokalokas[i - 1].split(":"); _root["rokaloka" + i]._x = mapainfo[0]; _root["rokaloka" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numrokalokas) { _root.profundidad = _root.profundidad + 1; mapainfo = rokalokas[i - 1].split(":"); if (mapainfo[2] == 1) { rokaloka1.duplicateMovieClip("rokaloka" + i, _root.profundidad); } else { rokalokaarriba1.duplicateMovieClip("rokaloka" + i, _root.profundidad); } _root["rokaloka" + i]._x = mapainfo[0]; _root["rokaloka" + i]._y = mapainfo[1]; i++; } } _root.numcalabazas = calabazas.length; if (_root.numcalabazas == 0) { calabaza1.swapDepths(1); calabaza1.removeMovieClip(); } else if (_root.numcalabazas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = calabazas[i - 1].split(":"); _root["calabaza" + i]._x = mapainfo[0]; _root["calabaza" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = calabazas[i - 1].split(":"); _root["calabaza" + i]._x = mapainfo[0]; _root["calabaza" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numcalabazas) { _root.profundidad = _root.profundidad + 1; calabaza1.duplicateMovieClip("calabaza" + i, _root.profundidad); mapainfo = calabazas[i - 1].split(":"); _root["calabaza" + i]._x = mapainfo[0]; _root["calabaza" + i]._y = mapainfo[1]; i++; } } _root.numbatmans = batmans.length; if (_root.numbatmans == 0) { batman1.swapDepths(1); batman1.removeMovieClip(); } else if (_root.numbatmans == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = batmans[i - 1].split(":"); _root["batman" + i]._x = mapainfo[0]; _root["batman" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = batmans[i - 1].split(":"); _root["batman" + i]._x = mapainfo[0]; _root["batman" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numbatmans) { _root.profundidad = _root.profundidad + 1; batman1.duplicateMovieClip("batman" + i, _root.profundidad); mapainfo = batmans[i - 1].split(":"); _root["batman" + i]._x = mapainfo[0]; _root["batman" + i]._y = mapainfo[1]; i++; } } _root.numcangrejos = cangrejos.length; if (_root.numcangrejos == 0) { cangrejo1.swapDepths(1); cangrejo1.removeMovieClip(); } else if (_root.numcangrejos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cangrejos[i - 1].split(":"); _root["cangrejo" + i]._x = mapainfo[0]; _root["cangrejo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cangrejos[i - 1].split(":"); _root["cangrejo" + i]._x = mapainfo[0]; _root["cangrejo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numcangrejos) { _root.profundidad = _root.profundidad + 1; cangrejo1.duplicateMovieClip("cangrejo" + i, _root.profundidad); mapainfo = cangrejos[i - 1].split(":"); _root["cangrejo" + i]._x = mapainfo[0]; _root["cangrejo" + i]._y = mapainfo[1]; i++; } } _root.numperas = peras.length; if (_root.numperas == 0) { pera1.swapDepths(1); pera1.removeMovieClip(); } else if (_root.numperas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = peras[i - 1].split(":"); _root["pera" + i]._x = mapainfo[0]; _root["pera" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = peras[i - 1].split(":"); _root["pera" + i]._x = mapainfo[0]; _root["pera" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numperas) { _root.profundidad = _root.profundidad + 1; pera1.duplicateMovieClip("pera" + i, _root.profundidad); mapainfo = peras[i - 1].split(":"); _root["pera" + i]._x = mapainfo[0]; _root["pera" + i]._y = mapainfo[1]; i++; } } _root.numstars = stars.length; if (_root.numstars == 0) { star1.swapDepths(1); star1.removeMovieClip(); } else if (_root.numstars == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = stars[i - 1].split(":"); _root["star" + i]._x = mapainfo[0]; _root["star" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = stars[i - 1].split(":"); _root["star" + i]._x = mapainfo[0]; _root["star" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numstars) { _root.profundidad = _root.profundidad + 1; star1.duplicateMovieClip("star" + i, _root.profundidad); mapainfo = stars[i - 1].split(":"); _root["star" + i]._x = mapainfo[0]; _root["star" + i]._y = mapainfo[1]; i++; } } _root.numloops = loops.length; if (_root.numloops == 0) { loop1.swapDepths(1); loop1.removeMovieClip(); } else if (_root.numloops == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = loops[i - 1].split(":"); _root["loop" + i]._x = mapainfo[0]; _root["loop" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = loops[i - 1].split(":"); _root["loop" + i]._x = mapainfo[0]; _root["loop" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numloops) { _root.profundidad = _root.profundidad + 1; loop1.duplicateMovieClip("loop" + i, _root.profundidad); mapainfo = loops[i - 1].split(":"); _root["loop" + i]._x = mapainfo[0]; _root["loop" + i]._y = mapainfo[1]; i++; } } _root.nummariquitas = mariquitas.length; if (_root.nummariquitas == 0) { mariquita1.swapDepths(1); mariquita1.removeMovieClip(); } else if (_root.nummariquitas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = mariquitas[i - 1].split(":"); _root["mariquita" + i]._x = mapainfo[0]; _root["mariquita" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = mariquitas[i - 1].split(":"); _root["mariquita" + i]._x = mapainfo[0]; _root["mariquita" + i]._y = mapainfo[1]; i = 2; while (i <= _root.nummariquitas) { _root.profundidad = _root.profundidad + 1; mariquita1.duplicateMovieClip("mariquita" + i, _root.profundidad); mapainfo = mariquitas[i - 1].split(":"); _root["mariquita" + i]._x = mapainfo[0]; _root["mariquita" + i]._y = mapainfo[1]; i++; } } _root.numlifes = lifes.length; if (_root.numlifes == 0) { life1.swapDepths(1); life1.removeMovieClip(); } else if (_root.numlifes == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = lifes[i - 1].split(":"); _root["life" + i]._x = mapainfo[0]; _root["life" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = lifes[i - 1].split(":"); _root["life" + i]._x = mapainfo[0]; _root["life" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numlifes) { _root.profundidad = _root.profundidad + 1; life1.duplicateMovieClip("life" + i, _root.profundidad); mapainfo = lifes[i - 1].split(":"); _root["life" + i]._x = mapainfo[0]; _root["life" + i]._y = mapainfo[1]; i++; } } _root.numburbujas = burbujas.length; if (_root.numburbujas == 0) { burbuja1.swapDepths(1); burbuja1.removeMovieClip(); } else if (_root.numburbujas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = burbujas[i - 1].split(":"); _root["burbuja" + i]._x = mapainfo[0]; _root["burbuja" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = burbujas[i - 1].split(":"); _root["burbuja" + i]._x = mapainfo[0]; _root["burbuja" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numburbujas) { _root.profundidad = _root.profundidad + 1; burbuja1.duplicateMovieClip("burbuja" + i, _root.profundidad); mapainfo = burbujas[i - 1].split(":"); _root["burbuja" + i]._x = mapainfo[0]; _root["burbuja" + i]._y = mapainfo[1]; i++; } } _root.numavispas = avispas.length; if (_root.numavispas == 0) { avispa1.swapDepths(1); avispa1.removeMovieClip(); } else if (_root.numavispas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = avispas[i - 1].split(":"); _root["avispa" + i]._x = mapainfo[0]; _root["avispa" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = avispas[i - 1].split(":"); _root["avispa" + i]._x = mapainfo[0]; _root["avispa" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numavispas) { _root.profundidad = _root.profundidad + 1; avispa1.duplicateMovieClip("avispa" + i, _root.profundidad); mapainfo = avispas[i - 1].split(":"); _root["avispa" + i]._x = mapainfo[0]; _root["avispa" + i]._y = mapainfo[1]; i++; } } CuentaAtras = Math.round(getTimer() / 1000) + temp; _root.onEnterFrame = function () { Tiempo = Math.round(getTimer() / 1000); Restante = CuentaAtras - Tiempo; if (Restante < 0) { _root.sonic.reset(); } }; stop();
Instance of Symbol 259 MovieClip "rana1" in Frame 106
onClipEvent (load) { n = 4; count = 0; tocandosuelo = 0; puntos = 30 + random(10); bajada = 2; max = 5000 + random(30); lado = "izquierda"; } onClipEvent (enterFrame) { tocandosuelo = 0; i = 1; while (i <= _root.numplataformas) { if (this.hitTest(_root["plataforma2" + i])) { tocandosuelo = 1; } if (this.izke.hitTest(_root["plataforma2" + i])) { while (this.izke.hitTest(_root["plataforma2" + i])) { if (this.lado == "izquierda") { this._x = this._x + 1; } else { this._x = this._x - 1; } } count = max - 1; } i++; } if (tocandosuelo == 0) { bajada = bajada + _root.gravedad; this._y = this._y + bajada; } else { salta = random(5); bajada = -10; this._y = this._y + bajada; } this._x = this._x - n; count++; if (count == max) { if (this.lado == "izquierda") { this.lado = "derecha"; } else { this.lado = "izquierda"; } count = 0; n = -n; this._xscale = -this._xscale; } if (this.hitTest(_root.sonic.pluton)) { if (_root.sonic.estado == "saltando") { misonidoa = new Sound(); misonidoa.attachSound("flip"); misonidoa.start(); _root.puntos = _root.puntos + puntos; _root.sonic.rebota(20); this.gotoAndStop(2); } else { _root.sonic.reset(); } } this._x = this._x - _root.movimiento; }
Instance of Symbol 333 MovieClip "gordo1" in Frame 106
onClipEvent (load) { n = 4; count = 0; tocandosuelo = 0; puntos = 35; bajada = 2; max = 50 + random(30); } onClipEvent (enterFrame) { tocandosuelo = 0; i = 1; while (i <= _root.numplataformas) { if (this.hitTest(_root["plataforma2" + i])) { tocandosuelo = 1; } i++; } if (tocandosuelo == 0) { bajada = bajada + _root.gravedad; this._y = this._y + bajada; } else { $salta = random(5); if ($salta == 4) { bajada = -10; this._y = this._y + bajada; } else { bajada = 0; } } this._x = this._x - n; count++; if (count == max) { count = 0; n = -n; this._xscale = -this._xscale; } if (this.hitTest(_root.sonic.pluton)) { if (_root.sonic.estado == "saltando") { misonidoa = new Sound(); misonidoa.attachSound("flip"); misonidoa.start(); _root.puntos = _root.puntos + puntos; _root.sonic.rebota(20); this.gotoAndStop(14); } else { _root.sonic.reset(); } } this._x = this._x - _root.movimiento; }
Frame 107
if (_root.vidas < 0) { gotoAndPlay ("gameover"); } else { stop(); } _root.fondo._x = -2.4; _root.fondo._y = 1.4; _root.sonic._x = 77.3; _root.sonic._y = 300.3; _root.profundidad = 0; _root.frame = 107; _root.siguiente = 108; _root.temp = 100; _root.movimiento = 0; _root.gravedad = 1; _root.balas = 1; _root.nivel = 5; final = "5900:100"; var mapa = new Array(); var gusanos = new Array(); var monedas = new Array(); var muelles = new Array(); var totems = new Array(); var flors = new Array(); var gordos = new Array(); var arbols = new Array(); var arbolillos = new Array(); var pinchos = new Array(); var ranas = new Array(); var cocodrilos = new Array(); var rokalokas = new Array(); var batmans = new Array(); var calabazas = new Array(); var cangrejos = new Array(); var peras = new Array(); var stars = new Array(); var loops = new Array(); var mariquitas = new Array(); var lifes = new Array(); var burbujas = new Array(); var avispas = new Array(); final = "5900:100"; mapa.push("320:82:-2360:50:5"); mapa.push("320:82:-2360:50:7"); mapa.push("320:82:-2360:50:5"); mapa.push("320:82:-2000:0:4"); mapa.push("320:82:-2360:50:3"); mapa.push("320:82:-2360:50:2"); mapa.push("320:82:-2360:50:1"); mariquitas.push("-2000:20"); gusanos.push("-2000:20"); avispas.push("-2000:300"); muelles.push("-2000:-10"); totems.push("-2000:-23"); flors.push("-2000:100"); cocodrilos.push("-2000:100"); rokalokas.push("-2000:200:1"); rokalokas.push("-2000:200:2"); arbols.push("-2000:-80"); arbolillos.push("-2000:-100"); batmans.push("-2000:400"); cangrejos.push("-2000:100"); burbujas.push("-2000:0"); lifes.push("-2000:0"); monedas.push("-3000:10"); peras.push("-800:280"); pinchos.push("-2000:0"); lifes.push("-780:30"); burbujas.push("-780:30"); flors.push("-5000:250"); arbolillos.push("-3700:200"); monedas.push("-3910:180"); loops.push("-3500:-137"); stars.push("-3500:-137"); mapa.push("320:82:3454.5:262.75:5"); mapa.push("320:82:4719.5:262.75:5"); mapa.push("320:82:3454.5:327.75:5"); mapa.push("320:82:5024.5:337.75:5"); mapa.push("320:82:4404.5:337.75:5"); mapa.push("320:82:4719.5:337.75:5"); mapa.push("320:82:3454.5:402.75:5"); mapa.push("320:82:3779.5:402.75:5"); mapa.push("320:82:4099.5:402.75:5"); mapa.push("320:82:4404.5:402.75:5"); mapa.push("320:82:4709.5:402.75:5"); mapa.push("320:82:5009.5:402.75:5"); mapa.push("320:82:5329.5:402.75:5"); mapa.push("320:36:108.75:438.5:4"); mapa.push("320:36:413.75:438.5:4"); mapa.push("320:36:723.75:438.5:4"); mapa.push("320:36:1028.75:438.5:4"); mapa.push("320:36:1338.75:438.5:4"); mapa.push("320:36:1658.75:438.5:4"); mapa.push("320:36:1978.75:438.5:4"); mapa.push("320:36:2293.75:438.5:4"); mapa.push("320:36:2578.75:438.5:4"); mapa.push("320:36:2888.75:438.5:4"); mapa.push("320:36:3158.75:438.5:4"); mapa.push("320:36:3453.75:438.5:4"); mapa.push("320:36:3763.75:438.5:4"); mapa.push("320:36:4053.75:438.5:4"); mapa.push("320:36:4368.75:438.5:4"); mapa.push("320:36:4683.75:438.5:4"); mapa.push("320:36:4993.75:438.5:4"); mapa.push("320:36:5303.75:438.5:4"); mapa.push("320:36:5613.75:438.5:4"); mapa.push("320:36:5923.75:438.5:4"); mapa.push("224.0:46.5:57.5:264.5:3"); mapa.push("224.0:46.5:467.5:259.5:3"); mapa.push("224.0:46.5:862.5:259.5:3"); mapa.push("224.0:46.5:1222.5:259.5:3"); mapa.push("224.0:46.5:1612.5:254.5:3"); mapa.push("224.0:46.5:2007.5:254.5:3"); mapa.push("224.0:46.5:2382.5:254.5:3"); mapa.push("224.0:46.5:2777.5:249.5:3"); mapa.push("64:29:3057:306.25:2"); lifes.push("-43.25:227"); stars.push("-45:189"); stars.push("-45:129"); stars.push("-15:129"); stars.push("-15:164"); stars.push("-15:199"); stars.push("-15:224"); stars.push("-45:159"); cangrejos.push("705.25:300"); cangrejos.push("1320.25:300"); cangrejos.push("2050.25:300"); gusanos.push("2466.5:206.75"); gusanos.push("2083.75:200.75"); gusanos.push("1296.5:211.75"); gusanos.push("938.75:205.75"); gusanos.push("136.5:221.75"); ranas.push("3994.5:333.75"); gusanos.push("4843.75:200.75"); rokalokas.push("1803.75:176:2"); monedas.push("358:208.5"); monedas.push("388:208.5"); monedas.push("418:208.5"); monedas.push("448:208.5"); monedas.push("478:208.5"); monedas.push("508:208.5"); monedas.push("538:208.5"); monedas.push("568:208.5"); monedas.push("598:208.5"); monedas.push("753:208.5"); monedas.push("783:208.5"); monedas.push("813:208.5"); monedas.push("843:208.5"); monedas.push("873:208.5"); monedas.push("903:208.5"); monedas.push("933:208.5"); monedas.push("963:208.5"); monedas.push("993:208.5"); monedas.push("1113:203.5"); monedas.push("1143:203.5"); monedas.push("1173:203.5"); monedas.push("1203:203.5"); monedas.push("1233:203.5"); monedas.push("1263:203.5"); monedas.push("1293:203.5"); monedas.push("1323:203.5"); monedas.push("1353:203.5"); monedas.push("1503:203.5"); monedas.push("1533:203.5"); monedas.push("1563:203.5"); monedas.push("1593:203.5"); monedas.push("1623:203.5"); monedas.push("1653:203.5"); monedas.push("1683:203.5"); monedas.push("1713:203.5"); monedas.push("1743:203.5"); monedas.push("1903:208.5"); monedas.push("1933:208.5"); monedas.push("1963:208.5"); monedas.push("1993:208.5"); monedas.push("2023:208.5"); monedas.push("2053:208.5"); monedas.push("2083:208.5"); monedas.push("2113:208.5"); monedas.push("2143:208.5"); monedas.push("2278:208.5"); monedas.push("2308:208.5"); monedas.push("2338:208.5"); monedas.push("2368:208.5"); monedas.push("2398:208.5"); monedas.push("2428:208.5"); monedas.push("2458:208.5"); monedas.push("2488:208.5"); monedas.push("2518:208.5"); monedas.push("2668:208.5"); monedas.push("2698:208.5"); monedas.push("2728:208.5"); monedas.push("2758:208.5"); monedas.push("2788:208.5"); monedas.push("2818:208.5"); monedas.push("2848:208.5"); monedas.push("2878:208.5"); monedas.push("2908:208.5"); monedas.push("3298:168.5"); monedas.push("3328:168.5"); monedas.push("3358:168.5"); monedas.push("3388:168.5"); monedas.push("3418:168.5"); monedas.push("3448:168.5"); monedas.push("3478:168.5"); monedas.push("3508:168.5"); monedas.push("3538:168.5"); monedas.push("4568:183.5"); monedas.push("4598:183.5"); monedas.push("4628:183.5"); monedas.push("4658:183.5"); monedas.push("4688:183.5"); monedas.push("4718:183.5"); monedas.push("4748:183.5"); monedas.push("4778:183.5"); monedas.push("4808:183.5"); peras.push("581.5:394"); peras.push("1221.5:394"); peras.push("1961.5:384"); arbolillos.push("7.75:387"); arbolillos.push("147.75:382"); arbolillos.push("287.75:362"); arbolillos.push("417.75:402"); arbolillos.push("547.75:382"); arbolillos.push("662.75:342"); arbolillos.push("802.75:397"); arbolillos.push("962.75:382"); arbolillos.push("1067.75:357"); arbolillos.push("1182.75:392"); arbolillos.push("1337.75:377"); arbolillos.push("1442.75:352"); arbolillos.push("1612.75:392"); arbolillos.push("1792.75:357"); arbolillos.push("1917.75:402"); arbolillos.push("2082.75:392"); arbolillos.push("2182.75:347"); arbolillos.push("2342.75:397"); arbolillos.push("2472.75:392"); arbolillos.push("2592.75:357"); arbolillos.push("2717.75:387"); arbolillos.push("2862.75:382"); arbolillos.push("2977.75:347"); arbolillos.push("3107.75:352"); arbolillos.push("3212.75:347"); arbolillos.push("3332.75:152"); arbolillos.push("3482.75:182"); arbolillos.push("3732.75:297"); arbolillos.push("3867.75:327"); arbolillos.push("4012.75:312"); arbolillos.push("4172.75:297"); arbolillos.push("4317.75:232"); arbolillos.push("4442.75:277"); arbolillos.push("4647.75:177"); arbolillos.push("4757.75:192"); arbolillos.push("4967.75:257"); arbolillos.push("5092.75:257"); arbolillos.push("5242.75:317"); arbolillos.push("5372.75:327"); arbolillos.push("5567.75:377"); arbolillos.push("5722.75:387"); arbolillos.push("5882.75:362"); arbolillos.push("57.75:177"); arbolillos.push("412.75:172"); arbolillos.push("527.75:177"); arbolillos.push("812.75:162"); arbolillos.push("907.75:187"); arbolillos.push("1177.75:182"); arbolillos.push("1277.75:162"); arbolillos.push("1552.75:172"); arbolillos.push("1677.75:177"); arbolillos.push("1942.75:157"); arbolillos.push("2047.75:167"); arbolillos.push("2337.75:157"); arbolillos.push("2707.75:152"); arbolillos.push("2822.75:157"); flors.push("140.75:215.25"); flors.push("1125.75:230.25"); flors.push("1615.75:220.25"); flors.push("2425.75:215.25"); flors.push("3405.75:195.25"); flors.push("3650.75:340.25"); flors.push("4100.75:335.25"); flors.push("4380.75:280.25"); flors.push("4235.75:340.25"); flors.push("4510.75:275.25"); flors.push("5030.75:275.25"); flors.push("5160.75:285.25"); flors.push("5450.75:340.25"); flors.push("5315.75:335.25"); flors.push("5640.75:415.25"); flors.push("5805.75:410.25"); flors.push("5955.75:395.25"); flors.push("6015.75:395.25"); flors.push("6065.75:395.25"); flors.push("220.75:395.25"); flors.push("80.75:400.25"); flors.push("485.75:410.25"); flors.push("355.75:405.25"); flors.push("875.75:410.25"); flors.push("1255.75:415.25"); flors.push("1545.75:415.25"); flors.push("1685.75:415.25"); flors.push("1730.75:415.25"); flors.push("2000.75:425.25"); flors.push("2250.75:405.25"); flors.push("2405.75:410.25"); flors.push("2655.75:420.25"); flors.push("2785.75:420.25"); flors.push("3045.75:385.25"); flors.push("3060.75:280.25"); flors.push("3275.75:400.25"); _root.numplataformas = mapa.length; mapainfo = mapa[0].split(":"); i = 1; _root["plataforma2" + i]._width = mapainfo[0]; _root["plataforma2" + i]._height = mapainfo[1]; _root["plataforma2" + i]._x = mapainfo[2]; _root["plataforma2" + i]._y = mapainfo[3]; _root.profundidad = _root.profundidad + 1; i = 2; while (i <= numplataformas) { _root.profundidad = _root.profundidad + 1; mapainfo[3] = 0; mapainfo = mapa[i - 1].split(":"); if (mapainfo[4] == 1) { plataformak.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 2) { verde.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 3) { tumbao1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 4) { ancho1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 5) { alto1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 6) { muevete1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); _root["plataforma2" + i].maximo = mapainfo[5]; _root["plataforma2" + i].n = mapainfo[6]; } else if (mapainfo[4] == 7) { invisible1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } _root["plataforma2" + i]._width = mapainfo[0]; _root["plataforma2" + i]._height = mapainfo[1]; _root["plataforma2" + i]._x = mapainfo[2]; _root["plataforma2" + i]._y = mapainfo[3]; _root["plataforma2" + i].numero = i - 1; i++; } final1.duplicateMovieClip("final2", _root.profundidad + 17500); i = 1; final = final.split(":"); _root.final2._x = final[0]; _root.final2._y = (421 - _root.final1._height) - final[1]; _root.numgusanos = gusanos.length; if (_root.numgusanos == 0) { gusano1.swapDepths(1); gusano1.removeMovieClip(); } else if (_root.numgusanos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gusanos[i - 1].split(":"); _root["gusano" + i]._x = mapainfo[0]; _root["gusano" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gusanos[i - 1].split(":"); _root["gusano" + i]._x = mapainfo[0]; _root["gusano" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numgusanos) { _root.profundidad = _root.profundidad + 1; gusano1.duplicateMovieClip("gusano" + i, _root.profundidad); mapainfo = gusanos[i - 1].split(":"); _root["gusano" + i]._x = mapainfo[0]; _root["gusano" + i]._y = mapainfo[1]; i++; } } _root.nummonedas = monedas.length; if (_root.nummonedas == 0) { moneda1.swapDepths(1); moneda1.removeMovieClip(); } else if (_root.nummonedas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = monedas[i - 1].split(":"); _root["moneda" + i]._x = mapainfo[0]; _root["moneda" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = monedas[i - 1].split(":"); _root["moneda" + i]._x = mapainfo[0]; _root["moneda" + i]._y = mapainfo[1]; i = 2; while (i <= _root.nummonedas) { _root.profundidad = _root.profundidad + 1; moneda1.duplicateMovieClip("moneda" + i, _root.profundidad); mapainfo = monedas[i - 1].split(":"); _root["moneda" + i]._x = mapainfo[0]; _root["moneda" + i]._y = mapainfo[1]; i++; } } _root.nummuelles = muelles.length; if (_root.nummuelles == 0) { muelle1.swapDepths(1); muelle1.removeMovieClip(); } else if (_root.nummuelles == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = muelles[i - 1].split(":"); _root["muelle" + i]._x = mapainfo[0]; _root["muelle" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = muelles[i - 1].split(":"); _root["muelle" + i]._x = mapainfo[0]; _root["muelle" + i]._y = mapainfo[1]; i = 2; while (i <= _root.nummuelles) { _root.profundidad = _root.profundidad + 1; muelle1.duplicateMovieClip("muelle" + i, _root.profundidad); mapainfo = muelles[i - 1].split(":"); _root["muelle" + i]._x = mapainfo[0]; _root["muelle" + i]._y = -mapainfo[1]; i++; } } _root.numtotems = totems.length; if (_root.numtotems == 0) { totem1.swapDepths(1); totem1.removeMovieClip(); } else if (_root.numtotems == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = totems[i - 1].split(":"); _root["totem" + i]._x = mapainfo[0]; _root["totem" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = totems[i - 1].split(":"); _root["totem" + i]._x = mapainfo[0]; _root["totem" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numtotems) { _root.profundidad = _root.profundidad + 1; totem1.duplicateMovieClip("totem" + i, _root.profundidad); mapainfo = totems[i - 1].split(":"); _root["totem" + i]._x = mapainfo[0]; _root["totem" + i]._y = mapainfo[1]; i++; } } _root.numflors = flors.length; if (_root.numflors == 0) { flor1.swapDepths(1); flor1.removeMovieClip(); } else if (_root.numflors == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = flors[i - 1].split(":"); _root["flor" + i]._x = mapainfo[0]; _root["flor" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = flors[i - 1].split(":"); _root["flor" + i]._x = mapainfo[0]; _root["flor" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numflors) { _root.profundidad = _root.profundidad + 1; flor1.duplicateMovieClip("flor" + i, _root.profundidad); mapainfo = flors[i - 1].split(":"); _root["flor" + i]._x = mapainfo[0]; _root["flor" + i]._y = mapainfo[1]; i++; } } _root.numgordos = gordos.length; if (_root.numgordos == 0) { gordo1.swapDepths(1); gordo1.removeMovieClip(); } else if (_root.numgordos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gordos[i - 1].split(":"); _root["gordo" + i]._x = mapainfo[0]; _root["gordo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gordos[i - 1].split(":"); _root["gordo" + i]._x = mapainfo[0]; _root["gordo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numgordos) { _root.profundidad = _root.profundidad + 1; gordo1.duplicateMovieClip("gordo" + i, _root.profundidad); mapainfo = gordos[i - 1].split(":"); _root["gordo" + i]._x = mapainfo[0]; _root["gordo" + i]._y = mapainfo[1]; i++; } } _root.numarbols = arbols.length; if (_root.numarbols == 0) { arbol1.swapDepths(1); arbol1.removeMovieClip(); } else if (_root.numarbols == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbols[i - 1].split(":"); _root["arbol" + i]._x = mapainfo[0]; _root["arbol" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbols[i - 1].split(":"); _root["arbol" + i]._x = mapainfo[0]; _root["arbol" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numarbols) { _root.profundidad = _root.profundidad + 1; arbol1.duplicateMovieClip("arbol" + i, _root.profundidad); mapainfo = arbols[i - 1].split(":"); _root["arbol" + i]._x = mapainfo[0]; _root["arbol" + i]._y = mapainfo[1]; i++; } } _root.numarbolillos = arbolillos.length; if (_root.numarbolillos == 0) { arbolillo1.swapDepths(1); arbolillo1.removeMovieClip(); } else if (_root.numarbolillos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbolillos[i - 1].split(":"); _root["arbolillo" + i]._x = mapainfo[0]; _root["arbolillo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbolillos[i - 1].split(":"); _root["arbolillo" + i]._x = mapainfo[0]; _root["arbolillo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numarbolillos) { _root.profundidad = _root.profundidad + 1; arbolillo1.duplicateMovieClip("arbolillo" + i, _root.profundidad); mapainfo = arbolillos[i - 1].split(":"); _root["arbolillo" + i]._x = mapainfo[0]; _root["arbolillo" + i]._y = mapainfo[1]; i++; } } _root.numpinchos = pinchos.length; if (_root.numpinchos == 0) { pincho1.swapDepths(1); pincho1.removeMovieClip(); } else if (_root.numpinchos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = pinchos[i - 1].split(":"); _root["pincho" + i]._x = mapainfo[0]; _root["pincho" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = pinchos[i - 1].split(":"); _root["pincho" + i]._x = mapainfo[0]; _root["pincho" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numpinchos) { _root.profundidad = _root.profundidad + 1; pincho1.duplicateMovieClip("pincho" + i, _root.profundidad); mapainfo = pinchos[i - 1].split(":"); _root["pincho" + i]._x = mapainfo[0]; _root["pincho" + i]._y = mapainfo[1]; i++; } } _root.numranas = ranas.length; if (_root.numranas == 0) { rana1.swapDepths(1); rana1.removeMovieClip(); } else if (_root.numranas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = ranas[i - 1].split(":"); _root["rana" + i]._x = mapainfo[0]; _root["rana" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = ranas[i - 1].split(":"); _root["rana" + i]._x = mapainfo[0]; _root["rana" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numranas) { _root.profundidad = _root.profundidad + 1; rana1.duplicateMovieClip("rana" + i, _root.profundidad); mapainfo = ranas[i - 1].split(":"); _root["rana" + i]._x = mapainfo[0]; _root["rana" + i]._y = mapainfo[1]; i++; } } _root.numcocodrilos = cocodrilos.length; if (_root.numcocodrilos == 0) { cocodrilo1.swapDepths(1); cocodrilo1.removeMovieClip(); } else if (_root.numcocodrilos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cocodrilos[i - 1].split(":"); _root["cocodrilo" + i]._x = mapainfo[0]; _root["cocodrilo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cocodrilos[i - 1].split(":"); _root["cocodrilo" + i]._x = mapainfo[0]; _root["cocodrilo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numcocodrilos) { _root.profundidad = _root.profundidad + 1; cocodrilo1.duplicateMovieClip("cocodrilo" + i, _root.profundidad); mapainfo = cocodrilos[i - 1].split(":"); _root["cocodrilo" + i]._x = mapainfo[0]; _root["cocodrilo" + i]._y = mapainfo[1]; i++; } } _root.numrokalokas = rokalokas.length; if (_root.numrokalokas == 0) { rokaloka1.swapDepths(1); rokaloka1.removeMovieClip(); } else if (_root.numrokalokas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = rokalokas[i - 1].split(":"); _root["rokaloka" + i]._x = mapainfo[0]; _root["rokaloka" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = rokalokas[i - 1].split(":"); _root["rokaloka" + i]._x = mapainfo[0]; _root["rokaloka" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numrokalokas) { _root.profundidad = _root.profundidad + 1; mapainfo = rokalokas[i - 1].split(":"); if (mapainfo[2] == 1) { rokaloka1.duplicateMovieClip("rokaloka" + i, _root.profundidad); } else { rokalokaarriba1.duplicateMovieClip("rokaloka" + i, _root.profundidad); } _root["rokaloka" + i]._x = mapainfo[0]; _root["rokaloka" + i]._y = mapainfo[1]; i++; } } _root.numcalabazas = calabazas.length; if (_root.numcalabazas == 0) { calabaza1.swapDepths(1); calabaza1.removeMovieClip(); } else if (_root.numcalabazas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = calabazas[i - 1].split(":"); _root["calabaza" + i]._x = mapainfo[0]; _root["calabaza" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = calabazas[i - 1].split(":"); _root["calabaza" + i]._x = mapainfo[0]; _root["calabaza" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numcalabazas) { _root.profundidad = _root.profundidad + 1; calabaza1.duplicateMovieClip("calabaza" + i, _root.profundidad); mapainfo = calabazas[i - 1].split(":"); _root["calabaza" + i]._x = mapainfo[0]; _root["calabaza" + i]._y = mapainfo[1]; i++; } } _root.numbatmans = batmans.length; if (_root.numbatmans == 0) { batman1.swapDepths(1); batman1.removeMovieClip(); } else if (_root.numbatmans == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = batmans[i - 1].split(":"); _root["batman" + i]._x = mapainfo[0]; _root["batman" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = batmans[i - 1].split(":"); _root["batman" + i]._x = mapainfo[0]; _root["batman" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numbatmans) { _root.profundidad = _root.profundidad + 1; batman1.duplicateMovieClip("batman" + i, _root.profundidad); mapainfo = batmans[i - 1].split(":"); _root["batman" + i]._x = mapainfo[0]; _root["batman" + i]._y = mapainfo[1]; i++; } } _root.numcangrejos = cangrejos.length; if (_root.numcangrejos == 0) { cangrejo1.swapDepths(1); cangrejo1.removeMovieClip(); } else if (_root.numcangrejos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cangrejos[i - 1].split(":"); _root["cangrejo" + i]._x = mapainfo[0]; _root["cangrejo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cangrejos[i - 1].split(":"); _root["cangrejo" + i]._x = mapainfo[0]; _root["cangrejo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numcangrejos) { _root.profundidad = _root.profundidad + 1; cangrejo1.duplicateMovieClip("cangrejo" + i, _root.profundidad); mapainfo = cangrejos[i - 1].split(":"); _root["cangrejo" + i]._x = mapainfo[0]; _root["cangrejo" + i]._y = mapainfo[1]; i++; } } _root.numperas = peras.length; if (_root.numperas == 0) { pera1.swapDepths(1); pera1.removeMovieClip(); } else if (_root.numperas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = peras[i - 1].split(":"); _root["pera" + i]._x = mapainfo[0]; _root["pera" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = peras[i - 1].split(":"); _root["pera" + i]._x = mapainfo[0]; _root["pera" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numperas) { _root.profundidad = _root.profundidad + 1; pera1.duplicateMovieClip("pera" + i, _root.profundidad); mapainfo = peras[i - 1].split(":"); _root["pera" + i]._x = mapainfo[0]; _root["pera" + i]._y = mapainfo[1]; i++; } } _root.numstars = stars.length; if (_root.numstars == 0) { star1.swapDepths(1); star1.removeMovieClip(); } else if (_root.numstars == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = stars[i - 1].split(":"); _root["star" + i]._x = mapainfo[0]; _root["star" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = stars[i - 1].split(":"); _root["star" + i]._x = mapainfo[0]; _root["star" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numstars) { _root.profundidad = _root.profundidad + 1; star1.duplicateMovieClip("star" + i, _root.profundidad); mapainfo = stars[i - 1].split(":"); _root["star" + i]._x = mapainfo[0]; _root["star" + i]._y = mapainfo[1]; i++; } } _root.numloops = loops.length; if (_root.numloops == 0) { loop1.swapDepths(1); loop1.removeMovieClip(); } else if (_root.numloops == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = loops[i - 1].split(":"); _root["loop" + i]._x = mapainfo[0]; _root["loop" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = loops[i - 1].split(":"); _root["loop" + i]._x = mapainfo[0]; _root["loop" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numloops) { _root.profundidad = _root.profundidad + 1; loop1.duplicateMovieClip("loop" + i, _root.profundidad); mapainfo = loops[i - 1].split(":"); _root["loop" + i]._x = mapainfo[0]; _root["loop" + i]._y = mapainfo[1]; i++; } } _root.nummariquitas = mariquitas.length; if (_root.nummariquitas == 0) { mariquita1.swapDepths(1); mariquita1.removeMovieClip(); } else if (_root.nummariquitas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = mariquitas[i - 1].split(":"); _root["mariquita" + i]._x = mapainfo[0]; _root["mariquita" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = mariquitas[i - 1].split(":"); _root["mariquita" + i]._x = mapainfo[0]; _root["mariquita" + i]._y = mapainfo[1]; i = 2; while (i <= _root.nummariquitas) { _root.profundidad = _root.profundidad + 1; mariquita1.duplicateMovieClip("mariquita" + i, _root.profundidad); mapainfo = mariquitas[i - 1].split(":"); _root["mariquita" + i]._x = mapainfo[0]; _root["mariquita" + i]._y = mapainfo[1]; i++; } } _root.numlifes = lifes.length; if (_root.numlifes == 0) { life1.swapDepths(1); life1.removeMovieClip(); } else if (_root.numlifes == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = lifes[i - 1].split(":"); _root["life" + i]._x = mapainfo[0]; _root["life" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = lifes[i - 1].split(":"); _root["life" + i]._x = mapainfo[0]; _root["life" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numlifes) { _root.profundidad = _root.profundidad + 1; life1.duplicateMovieClip("life" + i, _root.profundidad); mapainfo = lifes[i - 1].split(":"); _root["life" + i]._x = mapainfo[0]; _root["life" + i]._y = mapainfo[1]; i++; } } _root.numburbujas = burbujas.length; if (_root.numburbujas == 0) { burbuja1.swapDepths(1); burbuja1.removeMovieClip(); } else if (_root.numburbujas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = burbujas[i - 1].split(":"); _root["burbuja" + i]._x = mapainfo[0]; _root["burbuja" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = burbujas[i - 1].split(":"); _root["burbuja" + i]._x = mapainfo[0]; _root["burbuja" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numburbujas) { _root.profundidad = _root.profundidad + 1; burbuja1.duplicateMovieClip("burbuja" + i, _root.profundidad); mapainfo = burbujas[i - 1].split(":"); _root["burbuja" + i]._x = mapainfo[0]; _root["burbuja" + i]._y = mapainfo[1]; i++; } } _root.numavispas = avispas.length; if (_root.numavispas == 0) { avispa1.swapDepths(1); avispa1.removeMovieClip(); } else if (_root.numavispas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = avispas[i - 1].split(":"); _root["avispa" + i]._x = mapainfo[0]; _root["avispa" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = avispas[i - 1].split(":"); _root["avispa" + i]._x = mapainfo[0]; _root["avispa" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numavispas) { _root.profundidad = _root.profundidad + 1; avispa1.duplicateMovieClip("avispa" + i, _root.profundidad); mapainfo = avispas[i - 1].split(":"); _root["avispa" + i]._x = mapainfo[0]; _root["avispa" + i]._y = mapainfo[1]; i++; } } CuentaAtras = Math.round(getTimer() / 1000) + temp; _root.onEnterFrame = function () { Tiempo = Math.round(getTimer() / 1000); Restante = CuentaAtras - Tiempo; if (Restante < 0) { _root.sonic.reset(); } }; stop();
Frame 108
if (_root.vidas < 0) { gotoAndPlay ("gameover"); } else { stop(); } _root.fondo._x = -2.4; _root.fondo._y = 1.4; _root.sonic._x = 77.3; _root.sonic._y = 300.3; _root.profundidad = 0; _root.frame = 108; _root.siguiente = 376; _root.temp = 100; _root.movimiento = 0; _root.gravedad = 1; _root.balas = 1; _root.nivel = 6; final = "5900:100"; var mapa = new Array(); var gusanos = new Array(); var monedas = new Array(); var muelles = new Array(); var totems = new Array(); var flors = new Array(); var gordos = new Array(); var arbols = new Array(); var arbolillos = new Array(); var pinchos = new Array(); var ranas = new Array(); var cocodrilos = new Array(); var rokalokas = new Array(); var batmans = new Array(); var calabazas = new Array(); var cangrejos = new Array(); var peras = new Array(); var stars = new Array(); var loops = new Array(); var mariquitas = new Array(); var lifes = new Array(); var burbujas = new Array(); var avispas = new Array(); final = "5900:100"; mapa.push("320:82:-2360:50:5"); mapa.push("320:82:-2360:50:7"); mapa.push("320:82:-2360:50:5"); mapa.push("320:82:-2000:0:4"); mapa.push("320:82:-2360:50:3"); mapa.push("320:82:-2360:50:2"); mapa.push("320:82:-2360:50:1"); mariquitas.push("-2000:20"); gusanos.push("-2000:20"); avispas.push("-2000:300"); muelles.push("-2000:-10"); totems.push("-2000:-23"); flors.push("-2000:100"); cocodrilos.push("-2000:100"); rokalokas.push("-2000:200:1"); rokalokas.push("-2000:200:2"); arbols.push("-2000:-80"); arbolillos.push("-2000:-100"); batmans.push("-2000:400"); cangrejos.push("-2000:100"); burbujas.push("-2000:0"); lifes.push("-2000:0"); monedas.push("-3000:10"); peras.push("-800:280"); pinchos.push("-2000:0"); lifes.push("-780:30"); burbujas.push("-780:30"); flors.push("-5000:250"); arbolillos.push("-3700:200"); monedas.push("-3910:180"); loops.push("-3500:-137"); stars.push("-3500:-137"); mapa.push("320:36:123.75:438.5:4"); mapa.push("320:36:438.75:438.5:4"); burbujas.push("0:415"); _root.numplataformas = mapa.length; mapainfo = mapa[0].split(":"); i = 1; _root["plataforma2" + i]._width = mapainfo[0]; _root["plataforma2" + i]._height = mapainfo[1]; _root["plataforma2" + i]._x = mapainfo[2]; _root["plataforma2" + i]._y = mapainfo[3]; _root.profundidad = _root.profundidad + 1; i = 2; while (i <= numplataformas) { _root.profundidad = _root.profundidad + 1; mapainfo[3] = 0; mapainfo = mapa[i - 1].split(":"); if (mapainfo[4] == 1) { plataformak.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 2) { verde.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 3) { tumbao1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 4) { ancho1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 5) { alto1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } else if (mapainfo[4] == 6) { muevete1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); _root["plataforma2" + i].maximo = mapainfo[5]; _root["plataforma2" + i].n = mapainfo[6]; } else if (mapainfo[4] == 7) { invisible1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 15000); } _root["plataforma2" + i]._width = mapainfo[0]; _root["plataforma2" + i]._height = mapainfo[1]; _root["plataforma2" + i]._x = mapainfo[2]; _root["plataforma2" + i]._y = mapainfo[3]; _root["plataforma2" + i].numero = i - 1; i++; } final1.duplicateMovieClip("final2", _root.profundidad + 17500); i = 1; final = final.split(":"); _root.final2._x = final[0]; _root.final2._y = (421 - _root.final1._height) - final[1]; _root.numgusanos = gusanos.length; if (_root.numgusanos == 0) { gusano1.swapDepths(1); gusano1.removeMovieClip(); } else if (_root.numgusanos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gusanos[i - 1].split(":"); _root["gusano" + i]._x = mapainfo[0]; _root["gusano" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gusanos[i - 1].split(":"); _root["gusano" + i]._x = mapainfo[0]; _root["gusano" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numgusanos) { _root.profundidad = _root.profundidad + 1; gusano1.duplicateMovieClip("gusano" + i, _root.profundidad); mapainfo = gusanos[i - 1].split(":"); _root["gusano" + i]._x = mapainfo[0]; _root["gusano" + i]._y = mapainfo[1]; i++; } } _root.nummonedas = monedas.length; if (_root.nummonedas == 0) { moneda1.swapDepths(1); moneda1.removeMovieClip(); } else if (_root.nummonedas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = monedas[i - 1].split(":"); _root["moneda" + i]._x = mapainfo[0]; _root["moneda" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = monedas[i - 1].split(":"); _root["moneda" + i]._x = mapainfo[0]; _root["moneda" + i]._y = mapainfo[1]; i = 2; while (i <= _root.nummonedas) { _root.profundidad = _root.profundidad + 1; moneda1.duplicateMovieClip("moneda" + i, _root.profundidad); mapainfo = monedas[i - 1].split(":"); _root["moneda" + i]._x = mapainfo[0]; _root["moneda" + i]._y = mapainfo[1]; i++; } } _root.nummuelles = muelles.length; if (_root.nummuelles == 0) { muelle1.swapDepths(1); muelle1.removeMovieClip(); } else if (_root.nummuelles == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = muelles[i - 1].split(":"); _root["muelle" + i]._x = mapainfo[0]; _root["muelle" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = muelles[i - 1].split(":"); _root["muelle" + i]._x = mapainfo[0]; _root["muelle" + i]._y = mapainfo[1]; i = 2; while (i <= _root.nummuelles) { _root.profundidad = _root.profundidad + 1; muelle1.duplicateMovieClip("muelle" + i, _root.profundidad); mapainfo = muelles[i - 1].split(":"); _root["muelle" + i]._x = mapainfo[0]; _root["muelle" + i]._y = -mapainfo[1]; i++; } } _root.numtotems = totems.length; if (_root.numtotems == 0) { totem1.swapDepths(1); totem1.removeMovieClip(); } else if (_root.numtotems == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = totems[i - 1].split(":"); _root["totem" + i]._x = mapainfo[0]; _root["totem" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = totems[i - 1].split(":"); _root["totem" + i]._x = mapainfo[0]; _root["totem" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numtotems) { _root.profundidad = _root.profundidad + 1; totem1.duplicateMovieClip("totem" + i, _root.profundidad); mapainfo = totems[i - 1].split(":"); _root["totem" + i]._x = mapainfo[0]; _root["totem" + i]._y = mapainfo[1]; i++; } } _root.numflors = flors.length; if (_root.numflors == 0) { flor1.swapDepths(1); flor1.removeMovieClip(); } else if (_root.numflors == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = flors[i - 1].split(":"); _root["flor" + i]._x = mapainfo[0]; _root["flor" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = flors[i - 1].split(":"); _root["flor" + i]._x = mapainfo[0]; _root["flor" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numflors) { _root.profundidad = _root.profundidad + 1; flor1.duplicateMovieClip("flor" + i, _root.profundidad); mapainfo = flors[i - 1].split(":"); _root["flor" + i]._x = mapainfo[0]; _root["flor" + i]._y = mapainfo[1]; i++; } } _root.numgordos = gordos.length; if (_root.numgordos == 0) { gordo1.swapDepths(1); gordo1.removeMovieClip(); } else if (_root.numgordos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gordos[i - 1].split(":"); _root["gordo" + i]._x = mapainfo[0]; _root["gordo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gordos[i - 1].split(":"); _root["gordo" + i]._x = mapainfo[0]; _root["gordo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numgordos) { _root.profundidad = _root.profundidad + 1; gordo1.duplicateMovieClip("gordo" + i, _root.profundidad); mapainfo = gordos[i - 1].split(":"); _root["gordo" + i]._x = mapainfo[0]; _root["gordo" + i]._y = mapainfo[1]; i++; } } _root.numarbols = arbols.length; if (_root.numarbols == 0) { arbol1.swapDepths(1); arbol1.removeMovieClip(); } else if (_root.numarbols == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbols[i - 1].split(":"); _root["arbol" + i]._x = mapainfo[0]; _root["arbol" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbols[i - 1].split(":"); _root["arbol" + i]._x = mapainfo[0]; _root["arbol" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numarbols) { _root.profundidad = _root.profundidad + 1; arbol1.duplicateMovieClip("arbol" + i, _root.profundidad); mapainfo = arbols[i - 1].split(":"); _root["arbol" + i]._x = mapainfo[0]; _root["arbol" + i]._y = mapainfo[1]; i++; } } _root.numarbolillos = arbolillos.length; if (_root.numarbolillos == 0) { arbolillo1.swapDepths(1); arbolillo1.removeMovieClip(); } else if (_root.numarbolillos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbolillos[i - 1].split(":"); _root["arbolillo" + i]._x = mapainfo[0]; _root["arbolillo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbolillos[i - 1].split(":"); _root["arbolillo" + i]._x = mapainfo[0]; _root["arbolillo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numarbolillos) { _root.profundidad = _root.profundidad + 1; arbolillo1.duplicateMovieClip("arbolillo" + i, _root.profundidad); mapainfo = arbolillos[i - 1].split(":"); _root["arbolillo" + i]._x = mapainfo[0]; _root["arbolillo" + i]._y = mapainfo[1]; i++; } } _root.numpinchos = pinchos.length; if (_root.numpinchos == 0) { pincho1.swapDepths(1); pincho1.removeMovieClip(); } else if (_root.numpinchos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = pinchos[i - 1].split(":"); _root["pincho" + i]._x = mapainfo[0]; _root["pincho" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = pinchos[i - 1].split(":"); _root["pincho" + i]._x = mapainfo[0]; _root["pincho" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numpinchos) { _root.profundidad = _root.profundidad + 1; pincho1.duplicateMovieClip("pincho" + i, _root.profundidad); mapainfo = pinchos[i - 1].split(":"); _root["pincho" + i]._x = mapainfo[0]; _root["pincho" + i]._y = mapainfo[1]; i++; } } _root.numranas = ranas.length; if (_root.numranas == 0) { rana1.swapDepths(1); rana1.removeMovieClip(); } else if (_root.numranas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = ranas[i - 1].split(":"); _root["rana" + i]._x = mapainfo[0]; _root["rana" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = ranas[i - 1].split(":"); _root["rana" + i]._x = mapainfo[0]; _root["rana" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numranas) { _root.profundidad = _root.profundidad + 1; rana1.duplicateMovieClip("rana" + i, _root.profundidad); mapainfo = ranas[i - 1].split(":"); _root["rana" + i]._x = mapainfo[0]; _root["rana" + i]._y = mapainfo[1]; i++; } } _root.numcocodrilos = cocodrilos.length; if (_root.numcocodrilos == 0) { cocodrilo1.swapDepths(1); cocodrilo1.removeMovieClip(); } else if (_root.numcocodrilos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cocodrilos[i - 1].split(":"); _root["cocodrilo" + i]._x = mapainfo[0]; _root["cocodrilo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cocodrilos[i - 1].split(":"); _root["cocodrilo" + i]._x = mapainfo[0]; _root["cocodrilo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numcocodrilos) { _root.profundidad = _root.profundidad + 1; cocodrilo1.duplicateMovieClip("cocodrilo" + i, _root.profundidad); mapainfo = cocodrilos[i - 1].split(":"); _root["cocodrilo" + i]._x = mapainfo[0]; _root["cocodrilo" + i]._y = mapainfo[1]; i++; } } _root.numrokalokas = rokalokas.length; if (_root.numrokalokas == 0) { rokaloka1.swapDepths(1); rokaloka1.removeMovieClip(); } else if (_root.numrokalokas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = rokalokas[i - 1].split(":"); _root["rokaloka" + i]._x = mapainfo[0]; _root["rokaloka" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = rokalokas[i - 1].split(":"); _root["rokaloka" + i]._x = mapainfo[0]; _root["rokaloka" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numrokalokas) { _root.profundidad = _root.profundidad + 1; mapainfo = rokalokas[i - 1].split(":"); if (mapainfo[2] == 1) { rokaloka1.duplicateMovieClip("rokaloka" + i, _root.profundidad); } else { rokalokaarriba1.duplicateMovieClip("rokaloka" + i, _root.profundidad); } _root["rokaloka" + i]._x = mapainfo[0]; _root["rokaloka" + i]._y = mapainfo[1]; i++; } } _root.numcalabazas = calabazas.length; if (_root.numcalabazas == 0) { calabaza1.swapDepths(1); calabaza1.removeMovieClip(); } else if (_root.numcalabazas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = calabazas[i - 1].split(":"); _root["calabaza" + i]._x = mapainfo[0]; _root["calabaza" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = calabazas[i - 1].split(":"); _root["calabaza" + i]._x = mapainfo[0]; _root["calabaza" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numcalabazas) { _root.profundidad = _root.profundidad + 1; calabaza1.duplicateMovieClip("calabaza" + i, _root.profundidad); mapainfo = calabazas[i - 1].split(":"); _root["calabaza" + i]._x = mapainfo[0]; _root["calabaza" + i]._y = mapainfo[1]; i++; } } _root.numbatmans = batmans.length; if (_root.numbatmans == 0) { batman1.swapDepths(1); batman1.removeMovieClip(); } else if (_root.numbatmans == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = batmans[i - 1].split(":"); _root["batman" + i]._x = mapainfo[0]; _root["batman" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = batmans[i - 1].split(":"); _root["batman" + i]._x = mapainfo[0]; _root["batman" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numbatmans) { _root.profundidad = _root.profundidad + 1; batman1.duplicateMovieClip("batman" + i, _root.profundidad); mapainfo = batmans[i - 1].split(":"); _root["batman" + i]._x = mapainfo[0]; _root["batman" + i]._y = mapainfo[1]; i++; } } _root.numcangrejos = cangrejos.length; if (_root.numcangrejos == 0) { cangrejo1.swapDepths(1); cangrejo1.removeMovieClip(); } else if (_root.numcangrejos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cangrejos[i - 1].split(":"); _root["cangrejo" + i]._x = mapainfo[0]; _root["cangrejo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cangrejos[i - 1].split(":"); _root["cangrejo" + i]._x = mapainfo[0]; _root["cangrejo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numcangrejos) { _root.profundidad = _root.profundidad + 1; cangrejo1.duplicateMovieClip("cangrejo" + i, _root.profundidad); mapainfo = cangrejos[i - 1].split(":"); _root["cangrejo" + i]._x = mapainfo[0]; _root["cangrejo" + i]._y = mapainfo[1]; i++; } } _root.numperas = peras.length; if (_root.numperas == 0) { pera1.swapDepths(1); pera1.removeMovieClip(); } else if (_root.numperas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = peras[i - 1].split(":"); _root["pera" + i]._x = mapainfo[0]; _root["pera" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = peras[i - 1].split(":"); _root["pera" + i]._x = mapainfo[0]; _root["pera" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numperas) { _root.profundidad = _root.profundidad + 1; pera1.duplicateMovieClip("pera" + i, _root.profundidad); mapainfo = peras[i - 1].split(":"); _root["pera" + i]._x = mapainfo[0]; _root["pera" + i]._y = mapainfo[1]; i++; } } _root.numstars = stars.length; if (_root.numstars == 0) { star1.swapDepths(1); star1.removeMovieClip(); } else if (_root.numstars == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = stars[i - 1].split(":"); _root["star" + i]._x = mapainfo[0]; _root["star" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = stars[i - 1].split(":"); _root["star" + i]._x = mapainfo[0]; _root["star" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numstars) { _root.profundidad = _root.profundidad + 1; star1.duplicateMovieClip("star" + i, _root.profundidad); mapainfo = stars[i - 1].split(":"); _root["star" + i]._x = mapainfo[0]; _root["star" + i]._y = mapainfo[1]; i++; } } _root.numloops = loops.length; if (_root.numloops == 0) { loop1.swapDepths(1); loop1.removeMovieClip(); } else if (_root.numloops == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = loops[i - 1].split(":"); _root["loop" + i]._x = mapainfo[0]; _root["loop" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = loops[i - 1].split(":"); _root["loop" + i]._x = mapainfo[0]; _root["loop" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numloops) { _root.profundidad = _root.profundidad + 1; loop1.duplicateMovieClip("loop" + i, _root.profundidad); mapainfo = loops[i - 1].split(":"); _root["loop" + i]._x = mapainfo[0]; _root["loop" + i]._y = mapainfo[1]; i++; } } _root.nummariquitas = mariquitas.length; if (_root.nummariquitas == 0) { mariquita1.swapDepths(1); mariquita1.removeMovieClip(); } else if (_root.nummariquitas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = mariquitas[i - 1].split(":"); _root["mariquita" + i]._x = mapainfo[0]; _root["mariquita" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = mariquitas[i - 1].split(":"); _root["mariquita" + i]._x = mapainfo[0]; _root["mariquita" + i]._y = mapainfo[1]; i = 2; while (i <= _root.nummariquitas) { _root.profundidad = _root.profundidad + 1; mariquita1.duplicateMovieClip("mariquita" + i, _root.profundidad); mapainfo = mariquitas[i - 1].split(":"); _root["mariquita" + i]._x = mapainfo[0]; _root["mariquita" + i]._y = mapainfo[1]; i++; } } _root.numlifes = lifes.length; if (_root.numlifes == 0) { life1.swapDepths(1); life1.removeMovieClip(); } else if (_root.numlifes == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = lifes[i - 1].split(":"); _root["life" + i]._x = mapainfo[0]; _root["life" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = lifes[i - 1].split(":"); _root["life" + i]._x = mapainfo[0]; _root["life" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numlifes) { _root.profundidad = _root.profundidad + 1; life1.duplicateMovieClip("life" + i, _root.profundidad); mapainfo = lifes[i - 1].split(":"); _root["life" + i]._x = mapainfo[0]; _root["life" + i]._y = mapainfo[1]; i++; } } _root.numburbujas = burbujas.length; if (_root.numburbujas == 0) { burbuja1.swapDepths(1); burbuja1.removeMovieClip(); } else if (_root.numburbujas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = burbujas[i - 1].split(":"); _root["burbuja" + i]._x = mapainfo[0]; _root["burbuja" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = burbujas[i - 1].split(":"); _root["burbuja" + i]._x = mapainfo[0]; _root["burbuja" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numburbujas) { _root.profundidad = _root.profundidad + 1; burbuja1.duplicateMovieClip("burbuja" + i, _root.profundidad); mapainfo = burbujas[i - 1].split(":"); _root["burbuja" + i]._x = mapainfo[0]; _root["burbuja" + i]._y = mapainfo[1]; i++; } } _root.numavispas = avispas.length; if (_root.numavispas == 0) { avispa1.swapDepths(1); avispa1.removeMovieClip(); } else if (_root.numavispas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = avispas[i - 1].split(":"); _root["avispa" + i]._x = mapainfo[0]; _root["avispa" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = avispas[i - 1].split(":"); _root["avispa" + i]._x = mapainfo[0]; _root["avispa" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numavispas) { _root.profundidad = _root.profundidad + 1; avispa1.duplicateMovieClip("avispa" + i, _root.profundidad); mapainfo = avispas[i - 1].split(":"); _root["avispa" + i]._x = mapainfo[0]; _root["avispa" + i]._y = mapainfo[1]; i++; } } CuentaAtras = Math.round(getTimer() / 1000) + temp; _root.onEnterFrame = function () { Tiempo = Math.round(getTimer() / 1000); Restante = CuentaAtras - Tiempo; if (Restante < 0) { _root.sonic.reset(); } }; stop();
Instance of Symbol 512 MovieClip "eggman" in Frame 108
onClipEvent (load) { puntos = 50; n = 8; count = 0; tocandosuelo = 0; bajada = 2; max = 70; this.direccion = "izquierda"; contador = 0; r = 1; vida = 100; } onClipEvent (enterFrame) { contador++; tocandosuelo = 0; this.tocandoyo = 0; if (contador == 10) { _root.profundidad++; r++; _root.bombas1.duplicateMovieClip("bombas" + r, _root.profundidad); _root["bombas" + r]._x = this._x + (this._width / 2); _root["bombas" + r]._y = this._y + (this._height / 2); contador = 0; } if (this.tocandoyo != "1") { this._x = this._x - n; } else { count = max - 1; } count++; if (count == max) { count = 0; n = -n; this._xscale = -this._xscale; if (this.direccion == "izquierda") { this._x = this._x + this._width; } else { this._x = this._x - this._width; } if (this.direccion == "izquierda") { this.direccion = "derecha"; } else { this.direccion = "izquierda"; } } if (this.hitTest(_root.sonic.pluton)) { if (_root.sonic.estado == "saltando") { misonidoa = new Sound(); misonidoa.attachSound("robo"); misonidoa.start(); vida = vida - 10; _root.sonic.rebota(-20); } else { _root.sonic.reset(); } } if (vida == 0) { _root.gotoAndPlay(375); } this._x = this._x - _root.movimiento; }
Instance of Symbol 529 MovieClip "bombas1" in Frame 108
onClipEvent (load) { tocandosuelo = 0; bajada = 3; } onClipEvent (enterFrame) { tocandosuelo = 0; i = 1; while (i <= _root.numplataformas) { if (this.hitTest(_root["plataforma2" + i])) { tocandosuelo = 1; } i++; } if (tocandosuelo == 0) { bajada = bajada + _root.gravedad; this._y = this._y + bajada; } else { bajada = 0; this.gotoAndStop(2); misonidoa = new Sound(); misonidoa.attachSound("esplosion"); misonidoa.start(); } if (this.hitTest(_root.sonic.pluton)) { _root.sonic.reset(); } this._x = this._x - _root.movimiento; }
Instance of Symbol 539 MovieClip in Frame 108
onClipEvent (enterFrame) { this._width = _root.eggman.vida; }
Frame 109
if (_root.vidas < 0) { gotoAndPlay ("gameover"); } else { stop(); } _root.fondo2._x = -2.4; _root.fondo2._y = 1.4; _root.sonic._x = 77.3; _root.sonic._y = 300.3; _root.profundidad = 0; _root.frame = 109; _root.siguiente = 110; _root.temp = 100; _root.movimiento = 0; _root.gravedad = 1; _root.balas = 1; _root.nivel = 7; final = "5900:100"; var mapa = new Array(); var decos = new Array(); var gusanos = new Array(); var monedas = new Array(); var muelles = new Array(); var totems = new Array(); var flors = new Array(); var gordos = new Array(); var arbols = new Array(); var arbolillos = new Array(); var pinchos = new Array(); var ranas = new Array(); var cocodrilos = new Array(); var rokalokas = new Array(); var batmans = new Array(); var calabazas = new Array(); var cangrejos = new Array(); var peras = new Array(); var stars = new Array(); var loops = new Array(); var mariquitas = new Array(); var lifes = new Array(); var burbujas = new Array(); var avispas = new Array(); var gusis = new Array(); final = "5900:100"; mapa.push("-2360:50:7"); mapa.push("-2360:50:6"); mapa.push("-2360:50:5"); mapa.push("-2000:0:4"); mapa.push("-2360:50:3"); mapa.push("-2360:50:2"); mapa.push("-2360:50:1"); mariquitas.push("-2000:20"); gusanos.push("-2000:20"); avispas.push("-2000:300"); muelles.push("-2000:-10"); totems.push("-2000:-23"); flors.push("-2000:100"); cocodrilos.push("-2000:100"); rokalokas.push("-2000:200:1"); rokalokas.push("-2000:200:2"); arbols.push("-2000:-80"); arbolillos.push("-2000:-100"); batmans.push("-2000:400"); cangrejos.push("-2000:100"); burbujas.push("-2000:0"); lifes.push("-2000:0"); monedas.push("-3000:10"); peras.push("-800:280"); pinchos.push("-2000:0"); lifes.push("-780:30"); burbujas.push("-780:30"); flors.push("-5000:250"); arbolillos.push("-3700:200"); monedas.push("-3910:180"); loops.push("-3500:-137"); stars.push("-3500:-137"); gusis.push("-3500:-137"); mapa.push("36.25:349:4"); mapa.push("163.75:349:4"); mapa.push("291.25:349:4"); mapa.push("418.75:349:4"); mapa.push("546.25:349:4"); mapa.push("673.75:349:4"); mapa.push("801.25:349:4"); mapa.push("926.25:349:4"); mapa.push("1053.75:349:4"); mapa.push("1181.25:349:4"); mapa.push("1308.75:349:4"); mapa.push("1436.25:349:4"); decos.push("33.5:256.25:7"); decos.push("35.75:436.75:8"); decos.push("218.25:402.75:9"); decos.push("463.25:407.75:9"); decos.push("703.25:407.75:9"); decos.push("923.25:407.75:9"); decos.push("1148.25:407.75:9"); decos.push("1378.25:407.75:9"); decos.push("33.5:256.25:7"); decos.push("159:259.25:4"); decos.push("285:259.25:6"); decos.push("453.5:-146.25:7"); decos.push("411.5:259.25:4"); decos.push("651:-138.75:7"); decos.push("537.5:259.25:2"); decos.push("661.5:259.25:4"); decos.push("785:259.25:6"); decos.push("910:259.25:2"); decos.push("1036.5:259.25:4"); decos.push("1160:259.25:2"); decos.push("1289:259.25:4"); decos.push("1412.5:259.25:2"); decos.push("1412.5:259.25:2"); decos.push("161.5:136.75:4"); decos.push("282.5:136.75:2"); decos.push("410:136.75:2"); decos.push("532.5:136.75:2"); decos.push("654:136.75:4"); decos.push("777.5:136.75:2"); decos.push("900:136.75:2"); decos.push("1025:136.75:6"); decos.push("1151.5:136.75:4"); decos.push("1275:136.75:2"); decos.push("1400:136.75:6"); decos.push("1436.5:136.75:4"); decos.push("161.5:9.25:4"); decos.push("287.5:9.25:2"); decos.push("409:9.25:4"); decos.push("534:9.25:4"); decos.push("660:9.25:6"); decos.push("786.5:11.75:4"); decos.push("907.5:11.75:2"); decos.push("1030:11.75:6"); decos.push("1156.5:11.75:4"); decos.push("1282.5:9.25:2"); decos.push("1407.5:11.75:6"); decos.push("1439:11.75:4"); decos.push("34:9.25:4"); decos.push("40:136.75:2"); decos.push("40:261.75:2"); mapa.push("1951.5:165.25:7"); mapa.push("2075.5:165.25:7"); mapa.push("2200.75:165.25:7"); mapa.push("2319.25:165.25:7"); mapa.push("2441:165.25:7"); mapa.push("2560.25:165.25:7"); mapa.push("2683.75:165.25:7"); mapa.push("2808.25:165.25:7"); mapa.push("2931.75:165.25:7"); mapa.push("3053.25:165.25:7"); mapa.push("3181:165.25:7"); mapa.push("1771.25:400.25:7"); mapa.push("1892.5:400.75:7"); mapa.push("2010:400.75:7"); mapa.push("2135.25:400.75:7"); mapa.push("2260.75:400.75:7"); mapa.push("2372.25:401.25:7"); mapa.push("2495.75:401.25:7"); mapa.push("2619:401.25:7"); mapa.push("2738.25:401.25:7"); mapa.push("2854.5:401.25:7"); mapa.push("2980:401.25:7"); mapa.push("3108.25:401.25:7"); mapa.push("3229:401.25:7"); mapa.push("3332.5:401.25:7"); mapa.push("2066.75:-170.75:6"); mapa.push("1522.5:330.5:6"); mapa.push("1555.25:319.25:6"); mapa.push("1589.5:305.75:6"); mapa.push("1621.25:289.75:6"); mapa.push("1651.25:271.75:6"); mapa.push("1685.75:256:6"); mapa.push("1720:240:6"); mapa.push("1749.75:222:6"); mapa.push("1782:205.75:6"); mapa.push("1814.25:190:6"); mapa.push("1846.25:176.5:6"); mapa.push("1878.25:165.25:6"); decos.push("2030:-487:1"); decos.push("1921.5:98.25:3"); decos.push("1921.5:-19:3"); decos.push("2044.75:97:3"); decos.push("2044.75:-19:3"); decos.push("2172.25:96.25:3"); decos.push("2170:-19:3"); decos.push("2293.75:96.25:3"); decos.push("2294:-17.25:3"); decos.push("2418.25:99.75:3"); decos.push("2418.25:-18.75:3"); decos.push("2545.5:97.5:3"); decos.push("2545.5:-18.25:3"); decos.push("2671.5:96:3"); decos.push("2671.5:-17.25:3"); decos.push("2796.5:95.5:3"); decos.push("2796.5:-17.25:3"); decos.push("2921.75:96.25:3"); decos.push("2921.75:-18:3"); decos.push("3046.5:96.25:3"); decos.push("3048.75:-17:3"); decos.push("3173.5:95:3"); decos.push("3173.5:-17.5:3"); decos.push("3182.5:94.5:3"); decos.push("3182.5:-18.75:3"); decos.push("1985.75:202:9"); decos.push("2131.5:204.25:9"); decos.push("2373.25:202:9"); decos.push("2617:202:9"); decos.push("2787.75:202:9"); decos.push("2987:202.25:9"); decos.push("3121:202.25:9"); decos.push("1925:273:1"); decos.push("2045:273:1"); decos.push("1937.5:-292:1"); decos.push("2045:371.75:6"); decos.push("2167.5:279.25:6"); decos.push("2165:391.75:2"); decos.push("2045:371.75:6"); decos.push("1925:406.75:6"); decos.push("2285:276.75:6"); decos.push("2285:276.75:6"); decos.push("2285:394.25:2"); decos.push("2285:394.25:2"); decos.push("2412.5:290.5:1"); decos.push("2412.5:290.5:1"); decos.push("2410:411.75:6"); decos.push("2534:276.75:4"); decos.push("2322.5:775.5:1"); decos.push("2535:396.75:2"); decos.push("2660:274.25:2"); decos.push("2660:399.25:6"); decos.push("2785:401.75:2"); decos.push("2785:274.25:6"); decos.push("2910:274.25:2"); decos.push("2910:401.75:6"); decos.push("3037.5:274.25:6"); decos.push("3160:273:1"); decos.push("3035:401.75:2"); decos.push("3160:399.25:6"); mapa.push("3597.5:391.5:2"); mapa.push("3722.5:391.5:2"); mapa.push("3845:391.5:2"); mapa.push("3962.5:391.5:2"); _root.numplataformas = mapa.length; mapainfo = mapa[0].split(":"); i = 1; _root["plataforma2" + i]._width = mapainfo[0]; _root["plataforma2" + i]._height = mapainfo[1]; _root["plataforma2" + i]._x = mapainfo[2]; _root["plataforma2" + i]._y = mapainfo[3]; _root.profundidad = _root.profundidad + 1; i = 2; while (i <= numplataformas) { _root.profundidad = _root.profundidad + 1; mapainfo = mapa[i - 1].split(":"); if (mapainfo[2] == 1) { esce1.duplicateMovieClip("plataforma2" + i, _root.profundidad + 6000); } else if (mapainfo[2] == 2) { esce2.duplicateMovieClip("plataforma2" + i, _root.profundidad + 6000); } else if (mapainfo[2] == 3) { esce3.duplicateMovieClip("plataforma2" + i, _root.profundidad + 6000); } else if (mapainfo[2] == 4) { esce4.duplicateMovieClip("plataforma2" + i, _root.profundidad + 6000); } else if (mapainfo[2] == 5) { esce5.duplicateMovieClip("plataforma2" + i, _root.profundidad + 6000); } else if (mapainfo[2] == 6) { esce6.duplicateMovieClip("plataforma2" + i, _root.profundidad + 6000); } else if (mapainfo[2] == 7) { esce7.duplicateMovieClip("plataforma2" + i, _root.profundidad + 6000); } _root["plataforma2" + i]._x = mapainfo[0]; _root["plataforma2" + i]._y = mapainfo[1]; i++; } _root.sonic.swapDepths(-1); _root.numdecos = decos.length; mapainfo = decos[0].split(":"); i = 1; _root["deco2" + i]._x = mapainfo[0]; _root["deco2" + i]._y = mapainfo[1]; _root.profundidad = _root.profundidad + 1; i = 2; while (i <= numplataformas) { _root.profundidad = _root.profundidad + 1; mapainfo = decos[i - 1].split(":"); if (mapainfo[2] == 1) { deco1.duplicateMovieClip("deco2" + i, _root.profundidad - 1000); } else if (mapainfo[2] == 2) { deco2.duplicateMovieClip("deco2" + i, _root.profundidad - 1000); } else if (mapainfo[2] == 3) { deco3.duplicateMovieClip("deco2" + i, _root.profundidad - 1000); } else if (mapainfo[2] == 4) { deco4.duplicateMovieClip("deco2" + i, _root.profundidad - 1000); } else if (mapainfo[2] == 5) { deco5.duplicateMovieClip("deco2" + i, _root.profundidad - 1000); } else if (mapainfo[2] == 6) { deco6.duplicateMovieClip("deco2" + i, _root.profundidad - 1000); } else if (mapainfo[2] == 7) { deco7.duplicateMovieClip("deco2" + i, _root.profundidad - 1000); } else if (mapainfo[2] == 8) { deco8.duplicateMovieClip("deco2" + i, _root.profundidad - 1000); } else if (mapainfo[2] == 9) { deco9.duplicateMovieClip("deco2" + i, _root.profundidad - 1000); } else if (mapainfo[2] == 10) { deco10.duplicateMovieClip("deco2" + i, _root.profundidad + 8900); } _root["deco2" + i]._x = mapainfo[0]; _root["deco2" + i]._y = mapainfo[1]; i++; } final1.duplicateMovieClip("final2", _root.profundidad + 17500); i = 1; final = final.split(":"); _root.final2._x = final[0]; _root.final2._y = (421 - _root.final1._height) - final[1]; _root.numgusanos = gusanos.length; if (_root.numgusanos == 0) { gusano1.swapDepths(1); gusano1.removeMovieClip(); } else if (_root.numgusanos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gusanos[i - 1].split(":"); _root["gusano" + i]._x = mapainfo[0]; _root["gusano" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gusanos[i - 1].split(":"); _root["gusano" + i]._x = mapainfo[0]; _root["gusano" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numgusanos) { _root.profundidad = _root.profundidad + 1; gusano1.duplicateMovieClip("gusano" + i, _root.profundidad); mapainfo = gusanos[i - 1].split(":"); _root["gusano" + i]._x = mapainfo[0]; _root["gusano" + i]._y = mapainfo[1]; i++; } } _root.nummonedas = monedas.length; if (_root.nummonedas == 0) { moneda1.swapDepths(1); moneda1.removeMovieClip(); } else if (_root.nummonedas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = monedas[i - 1].split(":"); _root["moneda" + i]._x = mapainfo[0]; _root["moneda" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = monedas[i - 1].split(":"); _root["moneda" + i]._x = mapainfo[0]; _root["moneda" + i]._y = mapainfo[1]; i = 2; while (i <= _root.nummonedas) { _root.profundidad = _root.profundidad + 1; moneda1.duplicateMovieClip("moneda" + i, _root.profundidad); mapainfo = monedas[i - 1].split(":"); _root["moneda" + i]._x = mapainfo[0]; _root["moneda" + i]._y = mapainfo[1]; i++; } } _root.nummuelles = muelles.length; if (_root.nummuelles == 0) { muelle1.swapDepths(1); muelle1.removeMovieClip(); } else if (_root.nummuelles == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = muelles[i - 1].split(":"); _root["muelle" + i]._x = mapainfo[0]; _root["muelle" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = muelles[i - 1].split(":"); _root["muelle" + i]._x = mapainfo[0]; _root["muelle" + i]._y = mapainfo[1]; i = 2; while (i <= _root.nummuelles) { _root.profundidad = _root.profundidad + 1; muelle1.duplicateMovieClip("muelle" + i, _root.profundidad); mapainfo = muelles[i - 1].split(":"); _root["muelle" + i]._x = mapainfo[0]; _root["muelle" + i]._y = -mapainfo[1]; i++; } } _root.numtotems = totems.length; if (_root.numtotems == 0) { totem1.swapDepths(1); totem1.removeMovieClip(); } else if (_root.numtotems == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = totems[i - 1].split(":"); _root["totem" + i]._x = mapainfo[0]; _root["totem" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = totems[i - 1].split(":"); _root["totem" + i]._x = mapainfo[0]; _root["totem" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numtotems) { _root.profundidad = _root.profundidad + 1; totem1.duplicateMovieClip("totem" + i, _root.profundidad); mapainfo = totems[i - 1].split(":"); _root["totem" + i]._x = mapainfo[0]; _root["totem" + i]._y = mapainfo[1]; i++; } } _root.numflors = flors.length; if (_root.numflors == 0) { flor1.swapDepths(1); flor1.removeMovieClip(); } else if (_root.numflors == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = flors[i - 1].split(":"); _root["flor" + i]._x = mapainfo[0]; _root["flor" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = flors[i - 1].split(":"); _root["flor" + i]._x = mapainfo[0]; _root["flor" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numflors) { _root.profundidad = _root.profundidad + 1; flor1.duplicateMovieClip("flor" + i, _root.profundidad); mapainfo = flors[i - 1].split(":"); _root["flor" + i]._x = mapainfo[0]; _root["flor" + i]._y = mapainfo[1]; i++; } } _root.numgordos = gordos.length; if (_root.numgordos == 0) { gordo1.swapDepths(1); gordo1.removeMovieClip(); } else if (_root.numgordos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gordos[i - 1].split(":"); _root["gordo" + i]._x = mapainfo[0]; _root["gordo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gordos[i - 1].split(":"); _root["gordo" + i]._x = mapainfo[0]; _root["gordo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numgordos) { _root.profundidad = _root.profundidad + 1; gordo1.duplicateMovieClip("gordo" + i, _root.profundidad); mapainfo = gordos[i - 1].split(":"); _root["gordo" + i]._x = mapainfo[0]; _root["gordo" + i]._y = mapainfo[1]; i++; } } _root.numarbols = arbols.length; if (_root.numarbols == 0) { arbol1.swapDepths(1); arbol1.removeMovieClip(); } else if (_root.numarbols == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbols[i - 1].split(":"); _root["arbol" + i]._x = mapainfo[0]; _root["arbol" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbols[i - 1].split(":"); _root["arbol" + i]._x = mapainfo[0]; _root["arbol" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numarbols) { _root.profundidad = _root.profundidad + 1; arbol1.duplicateMovieClip("arbol" + i, _root.profundidad); mapainfo = arbols[i - 1].split(":"); _root["arbol" + i]._x = mapainfo[0]; _root["arbol" + i]._y = mapainfo[1]; i++; } } _root.numarbolillos = arbolillos.length; if (_root.numarbolillos == 0) { arbolillo1.swapDepths(1); arbolillo1.removeMovieClip(); } else if (_root.numarbolillos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbolillos[i - 1].split(":"); _root["arbolillo" + i]._x = mapainfo[0]; _root["arbolillo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = arbolillos[i - 1].split(":"); _root["arbolillo" + i]._x = mapainfo[0]; _root["arbolillo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numarbolillos) { _root.profundidad = _root.profundidad + 1; arbolillo1.duplicateMovieClip("arbolillo" + i, _root.profundidad); mapainfo = arbolillos[i - 1].split(":"); _root["arbolillo" + i]._x = mapainfo[0]; _root["arbolillo" + i]._y = mapainfo[1]; i++; } } _root.numpinchos = pinchos.length; if (_root.numpinchos == 0) { pincho1.swapDepths(1); pincho1.removeMovieClip(); } else if (_root.numpinchos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = pinchos[i - 1].split(":"); _root["pincho" + i]._x = mapainfo[0]; _root["pincho" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = pinchos[i - 1].split(":"); _root["pincho" + i]._x = mapainfo[0]; _root["pincho" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numpinchos) { _root.profundidad = _root.profundidad + 1; pincho1.duplicateMovieClip("pincho" + i, _root.profundidad); mapainfo = pinchos[i - 1].split(":"); _root["pincho" + i]._x = mapainfo[0]; _root["pincho" + i]._y = mapainfo[1]; i++; } } _root.numranas = ranas.length; if (_root.numranas == 0) { rana1.swapDepths(1); rana1.removeMovieClip(); } else if (_root.numranas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = ranas[i - 1].split(":"); _root["rana" + i]._x = mapainfo[0]; _root["rana" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = ranas[i - 1].split(":"); _root["rana" + i]._x = mapainfo[0]; _root["rana" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numranas) { _root.profundidad = _root.profundidad + 1; rana1.duplicateMovieClip("rana" + i, _root.profundidad); mapainfo = ranas[i - 1].split(":"); _root["rana" + i]._x = mapainfo[0]; _root["rana" + i]._y = mapainfo[1]; i++; } } _root.numcocodrilos = cocodrilos.length; if (_root.numcocodrilos == 0) { cocodrilo1.swapDepths(1); cocodrilo1.removeMovieClip(); } else if (_root.numcocodrilos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cocodrilos[i - 1].split(":"); _root["cocodrilo" + i]._x = mapainfo[0]; _root["cocodrilo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cocodrilos[i - 1].split(":"); _root["cocodrilo" + i]._x = mapainfo[0]; _root["cocodrilo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numcocodrilos) { _root.profundidad = _root.profundidad + 1; cocodrilo1.duplicateMovieClip("cocodrilo" + i, _root.profundidad); mapainfo = cocodrilos[i - 1].split(":"); _root["cocodrilo" + i]._x = mapainfo[0]; _root["cocodrilo" + i]._y = mapainfo[1]; i++; } } _root.numrokalokas = rokalokas.length; if (_root.numrokalokas == 0) { rokaloka1.swapDepths(1); rokaloka1.removeMovieClip(); } else if (_root.numrokalokas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = rokalokas[i - 1].split(":"); _root["rokaloka" + i]._x = mapainfo[0]; _root["rokaloka" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = rokalokas[i - 1].split(":"); _root["rokaloka" + i]._x = mapainfo[0]; _root["rokaloka" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numrokalokas) { _root.profundidad = _root.profundidad + 1; mapainfo = rokalokas[i - 1].split(":"); if (mapainfo[2] == 1) { rokaloka1.duplicateMovieClip("rokaloka" + i, _root.profundidad); } else { rokalokaarriba1.duplicateMovieClip("rokaloka" + i, _root.profundidad); } _root["rokaloka" + i]._x = mapainfo[0]; _root["rokaloka" + i]._y = mapainfo[1]; i++; } } _root.numcalabazas = calabazas.length; if (_root.numcalabazas == 0) { calabaza1.swapDepths(1); calabaza1.removeMovieClip(); } else if (_root.numcalabazas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = calabazas[i - 1].split(":"); _root["calabaza" + i]._x = mapainfo[0]; _root["calabaza" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = calabazas[i - 1].split(":"); _root["calabaza" + i]._x = mapainfo[0]; _root["calabaza" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numcalabazas) { _root.profundidad = _root.profundidad + 1; calabaza1.duplicateMovieClip("calabaza" + i, _root.profundidad); mapainfo = calabazas[i - 1].split(":"); _root["calabaza" + i]._x = mapainfo[0]; _root["calabaza" + i]._y = mapainfo[1]; i++; } } _root.numbatmans = batmans.length; if (_root.numbatmans == 0) { batman1.swapDepths(1); batman1.removeMovieClip(); } else if (_root.numbatmans == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = batmans[i - 1].split(":"); _root["batman" + i]._x = mapainfo[0]; _root["batman" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = batmans[i - 1].split(":"); _root["batman" + i]._x = mapainfo[0]; _root["batman" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numbatmans) { _root.profundidad = _root.profundidad + 1; batman1.duplicateMovieClip("batman" + i, _root.profundidad); mapainfo = batmans[i - 1].split(":"); _root["batman" + i]._x = mapainfo[0]; _root["batman" + i]._y = mapainfo[1]; i++; } } _root.numcangrejos = cangrejos.length; if (_root.numcangrejos == 0) { cangrejo1.swapDepths(1); cangrejo1.removeMovieClip(); } else if (_root.numcangrejos == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cangrejos[i - 1].split(":"); _root["cangrejo" + i]._x = mapainfo[0]; _root["cangrejo" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = cangrejos[i - 1].split(":"); _root["cangrejo" + i]._x = mapainfo[0]; _root["cangrejo" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numcangrejos) { _root.profundidad = _root.profundidad + 1; cangrejo1.duplicateMovieClip("cangrejo" + i, _root.profundidad); mapainfo = cangrejos[i - 1].split(":"); _root["cangrejo" + i]._x = mapainfo[0]; _root["cangrejo" + i]._y = mapainfo[1]; i++; } } _root.numperas = peras.length; if (_root.numperas == 0) { pera1.swapDepths(1); pera1.removeMovieClip(); } else if (_root.numperas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = peras[i - 1].split(":"); _root["pera" + i]._x = mapainfo[0]; _root["pera" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = peras[i - 1].split(":"); _root["pera" + i]._x = mapainfo[0]; _root["pera" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numperas) { _root.profundidad = _root.profundidad + 1; pera1.duplicateMovieClip("pera" + i, _root.profundidad); mapainfo = peras[i - 1].split(":"); _root["pera" + i]._x = mapainfo[0]; _root["pera" + i]._y = mapainfo[1]; i++; } } _root.numstars = stars.length; if (_root.numstars == 0) { star1.swapDepths(1); star1.removeMovieClip(); } else if (_root.numstars == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = stars[i - 1].split(":"); _root["star" + i]._x = mapainfo[0]; _root["star" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = stars[i - 1].split(":"); _root["star" + i]._x = mapainfo[0]; _root["star" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numstars) { _root.profundidad = _root.profundidad + 1; star1.duplicateMovieClip("star" + i, _root.profundidad); mapainfo = stars[i - 1].split(":"); _root["star" + i]._x = mapainfo[0]; _root["star" + i]._y = mapainfo[1]; i++; } } _root.numloops = loops.length; if (_root.numloops == 0) { loop1.swapDepths(1); loop1.removeMovieClip(); } else if (_root.numloops == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = loops[i - 1].split(":"); _root["loop" + i]._x = mapainfo[0]; _root["loop" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = loops[i - 1].split(":"); _root["loop" + i]._x = mapainfo[0]; _root["loop" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numloops) { _root.profundidad = _root.profundidad + 1; loop1.duplicateMovieClip("loop" + i, _root.profundidad); mapainfo = loops[i - 1].split(":"); _root["loop" + i]._x = mapainfo[0]; _root["loop" + i]._y = mapainfo[1]; i++; } } _root.nummariquitas = mariquitas.length; if (_root.nummariquitas == 0) { mariquita1.swapDepths(1); mariquita1.removeMovieClip(); } else if (_root.nummariquitas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = mariquitas[i - 1].split(":"); _root["mariquita" + i]._x = mapainfo[0]; _root["mariquita" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = mariquitas[i - 1].split(":"); _root["mariquita" + i]._x = mapainfo[0]; _root["mariquita" + i]._y = mapainfo[1]; i = 2; while (i <= _root.nummariquitas) { _root.profundidad = _root.profundidad + 1; mariquita1.duplicateMovieClip("mariquita" + i, _root.profundidad); mapainfo = mariquitas[i - 1].split(":"); _root["mariquita" + i]._x = mapainfo[0]; _root["mariquita" + i]._y = mapainfo[1]; i++; } } _root.numlifes = lifes.length; if (_root.numlifes == 0) { life1.swapDepths(1); life1.removeMovieClip(); } else if (_root.numlifes == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = lifes[i - 1].split(":"); _root["life" + i]._x = mapainfo[0]; _root["life" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = lifes[i - 1].split(":"); _root["life" + i]._x = mapainfo[0]; _root["life" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numlifes) { _root.profundidad = _root.profundidad + 1; life1.duplicateMovieClip("life" + i, _root.profundidad); mapainfo = lifes[i - 1].split(":"); _root["life" + i]._x = mapainfo[0]; _root["life" + i]._y = mapainfo[1]; i++; } } _root.numburbujas = burbujas.length; if (_root.numburbujas == 0) { burbuja1.swapDepths(1); burbuja1.removeMovieClip(); } else if (_root.numburbujas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = burbujas[i - 1].split(":"); _root["burbuja" + i]._x = mapainfo[0]; _root["burbuja" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = burbujas[i - 1].split(":"); _root["burbuja" + i]._x = mapainfo[0]; _root["burbuja" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numburbujas) { _root.profundidad = _root.profundidad + 1; burbuja1.duplicateMovieClip("burbuja" + i, _root.profundidad); mapainfo = burbujas[i - 1].split(":"); _root["burbuja" + i]._x = mapainfo[0]; _root["burbuja" + i]._y = mapainfo[1]; i++; } } _root.numgusis = gusis.length; if (_root.numgusis == 0) { gusi1.swapDepths(1); gusi1.removeMovieClip(); } else if (_root.numgusis == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gusis[i - 1].split(":"); _root["gusi" + i]._x = mapainfo[0]; _root["gusi" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = gusis[i - 1].split(":"); _root["gusi" + i]._x = mapainfo[0]; _root["gusi" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numgusis) { _root.profundidad = _root.profundidad + 1; gusi1.duplicateMovieClip("gusi" + i, _root.profundidad); mapainfo = gusis[i - 1].split(":"); _root["gusi" + i]._x = mapainfo[0]; _root["gusi" + i]._y = mapainfo[1]; i++; } } _root.numavispas = avispas.length; if (_root.numavispas == 0) { avispa1.swapDepths(1); avispa1.removeMovieClip(); } else if (_root.numavispas == 1) { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = avispas[i - 1].split(":"); _root["avispa" + i]._x = mapainfo[0]; _root["avispa" + i]._y = mapainfo[1]; } else { _root.profundidad = _root.profundidad + 1; i = 1; mapainfo = avispas[i - 1].split(":"); _root["avispa" + i]._x = mapainfo[0]; _root["avispa" + i]._y = mapainfo[1]; i = 2; while (i <= _root.numavispas) { _root.profundidad = _root.profundidad + 1; avispa1.duplicateMovieClip("avispa" + i, _root.profundidad); mapainfo = avispas[i - 1].split(":"); _root["avispa" + i]._x = mapainfo[0]; _root["avispa" + i]._y = mapainfo[1]; i++; } } CuentaAtras = Math.round(getTimer() / 1000) + temp; _root.onEnterFrame = function () { Tiempo = Math.round(getTimer() / 1000); Restante = CuentaAtras - Tiempo; if (Restante < 0) { _root.sonic.reset(); } }; stop();
Instance of Symbol 118 MovieClip "loop1" in Frame 109
onClipEvent (load) { this.estado = "esperando"; } onClipEvent (enterFrame) { if ((this.entrada.hitTest(_root.sonic.pluton) && (_root.sonic.estado == "corriendo")) && (_root.sonic.lado == "derecha")) { this.estado = "dentro"; this.lado = "izkierda"; _root.sonic._visible = 0; _root.sonic.gira = 1; } if ((this.salida.hitTest(_root.sonic.pluton) && (_root.sonic.estado == "corriendo")) && (_root.sonic.lado == "izquierda")) { this.estado = "dentro"; this.lado = "derecha"; _root.sonic._visible = 0; _root.sonic.gira = 1; } this._x = this._x - _root.movimiento; }
Instance of Symbol 542 MovieClip "esce1" in Frame 109
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 545 MovieClip "esce2" in Frame 109
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 548 MovieClip "esce3" in Frame 109
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 551 MovieClip "esce4" in Frame 109
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 554 MovieClip "esce5" in Frame 109
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 558 MovieClip "esce7" in Frame 109
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 561 MovieClip "esce6" in Frame 109
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 564 MovieClip in Frame 109
onClipEvent (enterFrame) { this._x = this._x - (_root.movimiento / 10); }
Instance of Symbol 567 MovieClip "deco10" in Frame 109
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 592 MovieClip "gusi1" in Frame 109
onClipEvent (load) { puntos = 50; n = -4; count = 0; tocandosuelo = 0; bajada = 2; max = 50; this.direccion = "derecha"; if (this._xscale < 0) { this._xscale = -this._xscale; } } onClipEvent (enterFrame) { tocandosuelo = 0; this.tocandoyo = 0; i = 1; while (i <= _root.numplataformas) { if (this.hitTest(_root["plataforma2" + i])) { tocandosuelo = 1; } if (this.izke.hitTest(_root["plataforma2" + i])) { while (this.izke.hitTest(_root["plataforma2" + i])) { if (this.direccion == "izquierda") { this._x = this._x + 1; } else { this._x = this._x - 1; } } this.tocandoyo = 1; } i++; } if (tocandosuelo == 0) { bajada = bajada + _root.gravedad; this._y = this._y + bajada; } else { bajada = 0; } if (this.tocandoyo != "1") { this._x = this._x - n; } else { count = max - 1; } count++; if (count == max) { count = 0; n = -n; this._xscale = -this._xscale; if (this.direccion == "izquierda") { this._x = this._x + this._width; } else { this._x = this._x - this._width; } if (this.direccion == "izquierda") { this.direccion = "derecha"; } else { this.direccion = "izquierda"; } } if (this.hitTest(_root.sonic.pluton)) { if (_root.sonic.estado == "saltando") { misonidoa = new Sound(); misonidoa.attachSound("flip"); misonidoa.start(); _root.puntos = _root.puntos + puntos; _root.sonic.rebota(20); this.gotoAndStop(2); } else { _root.sonic.reset(); } } this._x = this._x - _root.movimiento; }
Instance of Symbol 595 MovieClip "deco1" in Frame 109
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 598 MovieClip "deco2" in Frame 109
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 601 MovieClip "deco3" in Frame 109
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 604 MovieClip "deco4" in Frame 109
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 607 MovieClip "deco5" in Frame 109
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 610 MovieClip "deco6" in Frame 109
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 613 MovieClip "deco7" in Frame 109
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 616 MovieClip "deco8" in Frame 109
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Instance of Symbol 619 MovieClip "deco9" in Frame 109
onClipEvent (enterFrame) { this._x = this._x - _root.movimiento; }
Frame 375
trace(_root.siguiente); stopAllSounds(); _root.final1.swapDepths(1); _root.final1.removeMovieClip(); if (numplataformas != 0) { i = 1; while (i <= numplataformas) { _root["plataforma2" + i].swapDepths(1); _root["plataforma2" + i].removeMovieClip(); i++; } } if (numcalabazas != 0) { i = 1; while (i <= numcalabazas) { _root["calabaza" + i].swapDepths(1); _root["calabza" + i].removeMovieClip(); i++; } } if (numloops != 0) { i = 1; while (i <= numloops) { _root["loop" + i].swapDepths(1); _root["loop" + i].removeMovieClip(); i++; } } if (nummariquitas != 0) { i = 1; while (i <= nummariquitas) { _root["mariquita" + i].swapDepths(1); _root["mariquita" + i].removeMovieClip(); i++; } } if (numlifes != 0) { i = 1; while (i <= numlifes) { _root["life" + i].swapDepths(1); _root["life" + i].removeMovieClip(); i++; } } if (numburbujas != 0) { i = 1; while (i <= numburbujas) { _root["burbuja" + i].swapDepths(1); _root["burbuja" + i].removeMovieClip(); i++; } } if (numavispas != 0) { i = 1; while (i <= numavispas) { _root["avispa" + i].swapDepths(1); _root["avispa" + i].removeMovieClip(); i++; } } if (numgordos != 0) { i = 1; while (i <= numgordos) { _root["gordo" + i].removeMovieClip(); i++; } } if (nummonedas != 0) { i = 1; while (i <= nummonedas) { _root["moneda" + i].removeMovieClip(); i++; } } if (numarbols != 0) { i = 1; while (i <= numarbols) { _root["arbol" + i].removeMovieClip(); i++; } } if (numgusanos != 0) { i = 1; while (i <= numgusanos) { _root["gusano" + i].removeMovieClip(); i++; } } if (nummuelles != 0) { i = 1; while (i <= nummuelles) { _root["muelle" + i].removeMovieClip(); i++; } } if (numtotems != 0) { i = 1; while (i <= numtotems) { _root["totem" + i].removeMovieClip(); i++; } } if (numflors != 0) { i = 1; while (i <= numflors) { _root["flor" + i].removeMovieClip(); i++; } } if (numarbolillos != 0) { i = 1; while (i <= numarbolillos) { _root["arbolillo" + i].removeMovieClip(); i++; } } if (numpinchos != 0) { i = 1; while (i <= numpinchos) { _root["pincho" + i].removeMovieClip(); i++; } } if (numranas != 0) { i = 1; while (i <= numranas) { _root["rana" + i].removeMovieClip(); i++; } } if (numcocodrilos != 0) { i = 12; while (i <= numcocodrilos) { _root["cocodrilo" + i].removeMovieClip(); i++; } } if (numrokalokas != 0) { i = 1; while (i <= numrokalokas) { _root["rokaloka" + i].removeMovieClip(); i++; } } if (numbatmans != 0) { i = 1; while (i <= numbatmans) { _root["batman" + i].removeMovieClip(); i++; } } if (numcangrejos != 0) { i = 1; while (i <= numcangrejos) { _root["cangrejo" + i].removeMovieClip(); i++; } } if (numperas != 0) { i = 1; while (i <= numperas) { _root["pera" + i].removeMovieClip(); i++; } } if (numstars != 0) { i = 1; while (i <= numstars) { _root["star" + i].removeMovieClip(); i++; } } _root.final2.removeMovieClip(); stop();
Frame 376
stopAllSounds(); _root.final1.swapDepths(1); _root.final1.removeMovieClip(); if (numplataformas != 0) { i = 1; while (i <= numplataformas) { _root["plataforma2" + i].swapDepths(1); _root["plataforma2" + i].removeMovieClip(); i++; } } if (numcalabazas != 0) { i = 1; while (i <= numcalabazas) { _root["calabaza" + i].swapDepths(1); _root["calabza" + i].removeMovieClip(); i++; } } if (numloops != 0) { i = 1; while (i <= numloops) { _root["loop" + i].swapDepths(1); _root["loop" + i].removeMovieClip(); i++; } } if (nummariquitas != 0) { i = 1; while (i <= nummariquitas) { _root["mariquita" + i].swapDepths(1); _root["mariquita" + i].removeMovieClip(); i++; } } if (numlifes != 0) { i = 1; while (i <= numlifes) { _root["life" + i].swapDepths(1); _root["life" + i].removeMovieClip(); i++; } } if (numburbujas != 0) { i = 1; while (i <= numburbujas) { _root["burbuja" + i].swapDepths(1); _root["burbuja" + i].removeMovieClip(); i++; } } if (numavispas != 0) { i = 1; while (i <= numavispas) { _root["avispa" + i].swapDepths(1); _root["avispa" + i].removeMovieClip(); i++; } } if (numgordos != 0) { i = 1; while (i <= numgordos) { _root["gordo" + i].removeMovieClip(); i++; } } if (nummonedas != 0) { i = 1; while (i <= nummonedas) { _root["moneda" + i].removeMovieClip(); i++; } } if (numarbols != 0) { i = 1; while (i <= numarbols) { _root["arbol" + i].removeMovieClip(); i++; } } if (numgusanos != 0) { i = 1; while (i <= numgusanos) { _root["gusano" + i].removeMovieClip(); i++; } } if (nummuelles != 0) { i = 1; while (i <= nummuelles) { _root["muelle" + i].removeMovieClip(); i++; } } if (numtotems != 0) { i = 1; while (i <= numtotems) { _root["totem" + i].removeMovieClip(); i++; } } if (numflors != 0) { i = 1; while (i <= numflors) { _root["flor" + i].removeMovieClip(); i++; } } if (numarbolillos != 0) { i = 1; while (i <= numarbolillos) { _root["arbolillo" + i].removeMovieClip(); i++; } } if (numpinchos != 0) { i = 1; while (i <= numpinchos) { _root["pincho" + i].removeMovieClip(); i++; } } if (numranas != 0) { i = 1; while (i <= numranas) { _root["rana" + i].removeMovieClip(); i++; } } if (numcocodrilos != 0) { i = 12; while (i <= numcocodrilos) { _root["cocodrilo" + i].removeMovieClip(); i++; } } if (numrokalokas != 0) { i = 1; while (i <= numrokalokas) { _root["rokaloka" + i].removeMovieClip(); i++; } } if (numbatmans != 0) { i = 1; while (i <= numbatmans) { _root["batman" + i].removeMovieClip(); i++; } } if (numcangrejos != 0) { i = 1; while (i <= numcangrejos) { _root["cangrejo" + i].removeMovieClip(); i++; } } if (numperas != 0) { i = 1; while (i <= numperas) { _root["pera" + i].removeMovieClip(); i++; } } if (numstars != 0) { i = 1; while (i <= numstars) { _root["star" + i].removeMovieClip(); i++; } } _root.final2.removeMovieClip(); stop();
Symbol 12 MovieClip [pnFlashGames] Frame 1
#initclip 1 pnFlashGames = function () { this.gid = _root.pn_gid; this.uname = _root.pn_uname; this.busy = false; this.gameSaved = null; this.gameLoaded = null; this.scoreStored = null; this.gameData = ""; }; pnFlashGames.prototype.saveGame = function (gameData) { this.busy = true; varsObj = new LoadVars(); varsObj.func = "saveGame"; varsObj.gid = this.gid; varsObj.gameData = gameData; varsObj.type = "user"; varsObj.module = "pnFlashGames"; varsObj.parent = this; varsObj.onLoad = this.saveGame_Result; varsObj.sendAndLoad("index.php", varsObj, "POST"); }; pnFlashGames.prototype.saveGame_Result = function (success) { this.parent._parent.incoming = this.opSuccess; if (this.opSuccess == "true") { this.parent.gameSaved = true; } else { this.parent.gameSaved = false; } this.parent.busy = false; }; pnFlashGames.prototype.loadGame = function () { this.busy = true; varsObj = new LoadVars(); varsObj.func = "loadGame"; varsObj.gid = this.gid; varsObj.type = "user"; varsObj.module = "pnFlashGames"; varsObj.parent = this; varsObj.onLoad = this.loadGame_Result; varsObj.sendAndLoad("index.php", varsObj, "POST"); }; pnFlashGames.prototype.loadGame_Result = function (success) { if (this.opSuccess == "true") { this.parent.gameLoaded = true; this.parent.gameData = gameData; } else { this.parent.gameLoaded = false; } if (this.parent.onLoadGame != null) { this.parent.onLoadGame(this.gameData); } this.parent.busy = false; }; pnFlashGames.prototype.storeScore = function (score) { this.busy = true; varsObj = new LoadVars(); varsObj.score = score; varsObj.func = "storeScore"; varsObj.gid = this.gid; varsObj.type = "user"; varsObj.module = "pnFlashGames"; varsObj.parent = this; varsObj.onLoad = this.storeScore_Result; varsObj.sendAndLoad("index.php", varsObj, "POST"); }; pnFlashGames.prototype.storeScore_Result = function (success) { if (this.opSuccess == "true") { this.parent.scoreStored = true; } else { this.parent.scoreStored = false; } this.parent.busy = false; }; Object.registerClass("pnFlashGames", pnFlashGames); #endinitclip
Symbol 27 Button
on (release) { getURL ("http://www.dailygames.com/", "_blank"); }
Symbol 40 MovieClip Frame 122
_parent.gotoAndPlay("cargado"); stop();
Symbol 41 MovieClip Frame 61
function cargando() { var _local2; var _local3; var _local4; _local2 = _root.getBytesTotal(); _local3 = _root.getBytesLoaded(); _local4 = Math.floor((_local3 * 100) / _local2); porcentaje_txt.text = _local4 + " %"; loaderJD.gotoAndStop(_local4); if (_local3 == _local2) { clearInterval(hiloPrecarga); play(); } } var hiloPrecarga = setInterval(cargando, 1); stop();
Symbol 41 MovieClip Frame 120
_parent.gotoAndPlay(2);
Symbol 42 MovieClip Frame 50
stop();
Symbol 52 Button
on (release) { getURL ("http://www.juegalmaximo.info", "_blank"); }
Symbol 62 Button
on (release) { gotoAndPlay (45); }
Symbol 70 Button
on (release) { gotoAndPlay (103); }
Symbol 71 Button
on (press) { getURL ("http://www.dailygames.com", "_blank"); }
Symbol 75 Button
on (press) { getURL ("http://www.dailygames.com/sonicxtreme.zip", "_blank"); }
Symbol 78 Button
on (release) { getURL ("http://www.juegosdiarios.com", "_blank"); }
Symbol 79 Button
on (release) { gotoAndPlay (103); }
Symbol 80 Button
on (press) { getURL ("http://www.juegosdiarios.com", "_blank"); }
Symbol 85 Button
on (release) { gotoAndPlay (1); }
Symbol 91 Button
on (release) { gotoAndPlay(_root.frame); }
Symbol 118 MovieClip Frame 2
if ((estado == "dentro") && (lado == "izkierda")) { gotoAndPlay (3); } else if ((estado == "dentro") && (lado == "derecha")) { gotoAndPlay (19); } else { gotoAndPlay (1); }
Symbol 118 MovieClip Frame 3
if (_root.sonic.burbu == 1) { corre.esferita._alpha = 50; }
Symbol 118 MovieClip Frame 15
_root.sonic.muevete = 200;
Symbol 118 MovieClip Frame 16
corre.esferita._alpha = 0; estado = "esperando"; _root.sonic._visible = 1; _root.sonic.muevete = 0; _root.sonic.gira = 0; if ((estado == "dentro") && (lado == "izkierda")) { gotoAndPlay (3); } else if ((estado == "dentro") && (lado == "derecha")) { gotoAndPlay (19); } else { gotoAndPlay (1); }
Symbol 118 MovieClip Frame 17
stop();
Symbol 118 MovieClip Frame 18
if (_root.sonic.burbu == 1) { corre.esferita._alpha = 50; }
Symbol 118 MovieClip Frame 19
if (_root.sonic.burbu == 1) { corre.esferita._alpha = 50; }
Symbol 118 MovieClip Frame 34
_root.sonic.muevete = -200;
Symbol 118 MovieClip Frame 35
corre.esferita._alpha = 0; estado = "esperando"; _root.sonic.muevete = 0; _root.sonic._visible = 1; _root.sonic.gira = 0; if ((estado == "dentro") && (lado == "izkierda")) { gotoAndPlay (3); } else if ((estado == "dentro") && (lado == "derecha")) { gotoAndPlay (19); } else { gotoAndPlay (1); }
Symbol 203 MovieClip Frame 1
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 3
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 5
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 7
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 9
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 11
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 13
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 15
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 17
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 19
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 21
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 23
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 25
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 27
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 29
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 31
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 33
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 37
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 42
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 46
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 54
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 58
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 203 MovieClip Frame 63
if (this.estado == "parado") { gotoAndPlay (1); } else if (this.estado == "andando") { gotoAndPlay (46); } else if (this.estado == "corriendo") { gotoAndPlay (55); } else if (this.estado == "saltando") { gotoAndPlay (59); } else { stop(); }
Symbol 258 MovieClip Frame 16
_parent.swapDepths(1); _parent.removeMovieClip();
Symbol 259 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 2
stop();
Symbol 276 MovieClip Frame 25
gotoAndPlay (1);
Instance of Symbol 305 MovieClip "dere" in Symbol 308 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 305 MovieClip "izki" in Symbol 308 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 307 MovieClip "aba" in Symbol 308 MovieClip Frame 1
/* no clip actions */
Symbol 333 MovieClip Frame 13
gotoAndPlay (1);
Symbol 339 MovieClip Frame 1
stop();
Symbol 348 MovieClip Frame 12
gotoAndPlay (1);
Symbol 374 MovieClip Frame 9
gotoAndPlay (1);
Symbol 399 MovieClip Frame 13
gotoAndPlay (1);
Symbol 416 MovieClip Frame 5
if (this.atacando == 1) { gotoAndPlay (10); } else { gotoAndPlay (1); }
Symbol 416 MovieClip Frame 10
_root.balas++; _root.bala1.duplicateMovieClip("bala" + _root.balas, _root.balas + 8000); _root["bala" + _root.balas]._x = this._x; _root["bala" + _root.balas]._y = this._y + this._height; _root["bala" + _root.balas].activo = 1;
Symbol 416 MovieClip Frame 11
this.atacando = 0; gotoAndPlay (1);
Symbol 512 MovieClip Frame 4
gotoAndPlay (1);
Symbol 528 MovieClip Frame 3
_parent.removeMovieClip();
Symbol 529 MovieClip Frame 1
stop();
Symbol 529 MovieClip Frame 2
stop();
Symbol 592 MovieClip Frame 1
stop();
Symbol 592 MovieClip Frame 2
stop();
Symbol 633 Button
on (release) { _root.gotoAndPlay(_root.siguiente); }

Library Items

Symbol 1 Sound [flip]
Symbol 2 Sound [tv]
Symbol 3 Sound [final]
Symbol 4 Sound [salta]
Symbol 5 Sound [moneda]
Symbol 6 Sound [manzana]
Symbol 7 Sound [cae]
Symbol 8 Sound [esplosion]
Symbol 9 Sound [brip]
Symbol 10 Sound [robo]
Symbol 11 Sound [boink]
Symbol 12 MovieClip [pnFlashGames]Used by:Timeline
Symbol 13 FontUsed by:14
Symbol 14 EditableTextUses:13Used by:Timeline
Symbol 15 GraphicUsed by:41 42
Symbol 16 BitmapUsed by:17
Symbol 17 GraphicUses:16Used by:18
Symbol 18 MovieClipUses:17Used by:41
Symbol 19 GraphicUsed by:41 42
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:20Used by:41
Symbol 22 BitmapUsed by:23
Symbol 23 GraphicUses:22Used by:41
Symbol 24 GraphicUsed by:27
Symbol 25 GraphicUsed by:27
Symbol 26 GraphicUsed by:27
Symbol 27 ButtonUses:24 25 26Used by:41
Symbol 28 GraphicUsed by:40
Symbol 29 FontUsed by:30
Symbol 30 TextUses:29Used by:31
Symbol 31 MovieClipUses:30Used by:40
Symbol 32 GraphicUsed by:40
Symbol 33 GraphicUsed by:38
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:34Used by:38
Symbol 36 BitmapUsed by:37
Symbol 37 GraphicUses:36Used by:38
Symbol 38 MovieClipUses:33 35 37Used by:39
Symbol 39 MovieClipUses:38Used by:40
Symbol 40 MovieClipUses:28 31 32 39Used by:41
Symbol 41 MovieClipUses:15 18 19 21 23 27 40Used by:Timeline
Symbol 42 MovieClipUses:19 15Used by:Timeline
Symbol 43 GraphicUsed by:Timeline
Symbol 44 BitmapUsed by:45
Symbol 45 GraphicUses:44Used by:Timeline
Symbol 46 FontUsed by:47 48 49 50 53 54 55 57 58 59 61 63 64 65 66 69 72 73 82 83 84 86 87 88 89 630 631 632 634
Symbol 47 TextUses:46Used by:52 78
Symbol 48 TextUses:46Used by:52 78
Symbol 49 TextUses:46Used by:52 78
Symbol 50 TextUses:46Used by:52 78
Symbol 51 GraphicUsed by:52 78
Symbol 52 ButtonUses:47 48 49 50 51Used by:Timeline
Symbol 53 TextUses:46Used by:56
Symbol 54 TextUses:46Used by:56
Symbol 55 TextUses:46Used by:56
Symbol 56 MovieClipUses:53 54 55Used by:Timeline
Symbol 57 TextUses:46Used by:62 70 79
Symbol 58 TextUses:46Used by:62 70 79
Symbol 59 TextUses:46Used by:62 70 79
Symbol 60 GraphicUsed by:62 70 79
Symbol 61 TextUses:46Used by:62 70 79
Symbol 62 ButtonUses:57 58 59 60 61Used by:Timeline
Symbol 63 TextUses:46Used by:68 71 80
Symbol 64 TextUses:46Used by:68 71 80
Symbol 65 TextUses:46Used by:68 71 80
Symbol 66 TextUses:46Used by:68 71 80
Symbol 67 GraphicUsed by:68 71 80
Symbol 68 ButtonUses:63 64 65 66 67Used by:Timeline
Symbol 69 EditableTextUses:46Used by:Timeline
Symbol 70 ButtonUses:57 58 59 60 61Used by:Timeline
Symbol 71 ButtonUses:63 64 65 66 67Used by:Timeline
Symbol 72 TextUses:46Used by:75
Symbol 73 TextUses:46Used by:75
Symbol 74 GraphicUsed by:75
Symbol 75 ButtonUses:72 73 74Used by:Timeline
Symbol 76 FontUsed by:77 81 628 629
Symbol 77 EditableTextUses:76Used by:Timeline
Symbol 78 ButtonUses:47 48 49 50 51Used by:Timeline
Symbol 79 ButtonUses:57 58 59 60 61Used by:Timeline
Symbol 80 ButtonUses:63 64 65 66 67Used by:Timeline
Symbol 81 EditableTextUses:76Used by:Timeline
Symbol 82 TextUses:46Used by:Timeline
Symbol 83 TextUses:46Used by:85
Symbol 84 TextUses:46Used by:85
Symbol 85 ButtonUses:83 84Used by:Timeline
Symbol 86 TextUses:46Used by:Timeline
Symbol 87 EditableTextUses:46Used by:Timeline
Symbol 88 TextUses:46Used by:91
Symbol 89 TextUses:46Used by:91
Symbol 90 GraphicUsed by:91
Symbol 91 ButtonUses:88 89 90Used by:Timeline
Symbol 92 BitmapUsed by:93
Symbol 93 GraphicUses:92Used by:94
Symbol 94 MovieClipUses:93Used by:Timeline
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:95Used by:97
Symbol 97 MovieClipUses:96Used by:Timeline
Symbol 98 BitmapUsed by:99
Symbol 99 GraphicUses:98Used by:118
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClipUses:100Used by:118
Symbol 102 BitmapUsed by:103
Symbol 103 GraphicUses:102Used by:117
Symbol 104 BitmapUsed by:105
Symbol 105 GraphicUses:104Used by:110
Symbol 106 BitmapUsed by:107
Symbol 107 GraphicUses:106Used by:110
Symbol 108 BitmapUsed by:109
Symbol 109 GraphicUses:108Used by:110
Symbol 110 MovieClipUses:105 107 109Used by:117 203
Symbol 111 BitmapUsed by:112
Symbol 112 GraphicUses:111Used by:117
Symbol 113 BitmapUsed by:114
Symbol 114 GraphicUses:113Used by:117
Symbol 115 BitmapUsed by:116
Symbol 116 GraphicUses:115Used by:117
Symbol 117 MovieClipUses:103 110 112 114 116Used by:118
Symbol 118 MovieClipUses:99 101 117Used by:Timeline
Symbol 119 BitmapUsed by:120
Symbol 120 GraphicUses:119Used by:203
Symbol 121 GraphicUsed by:122
Symbol 122 MovieClipUses:121Used by:203
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClipUses:123Used by:203
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClipUses:125Used by:203
Symbol 127 GraphicUsed by:128
Symbol 128 MovieClipUses:127Used by:203
Symbol 129 BitmapUsed by:130
Symbol 130 GraphicUses:129Used by:203
Symbol 131 BitmapUsed by:132
Symbol 132 GraphicUses:131Used by:203
Symbol 133 BitmapUsed by:134
Symbol 134 GraphicUses:133Used by:203
Symbol 135 BitmapUsed by:136
Symbol 136 GraphicUses:135Used by:203
Symbol 137 BitmapUsed by:138
Symbol 138 GraphicUses:137Used by:203
Symbol 139 BitmapUsed by:140
Symbol 140 GraphicUses:139Used by:203
Symbol 141 BitmapUsed by:142
Symbol 142 GraphicUses:141Used by:203
Symbol 143 BitmapUsed by:144
Symbol 144 GraphicUses:143Used by:203
Symbol 145 BitmapUsed by:146
Symbol 146 GraphicUses:145Used by:203
Symbol 147 BitmapUsed by:148
Symbol 148 GraphicUses:147Used by:203
Symbol 149 BitmapUsed by:150
Symbol 150 GraphicUses:149Used by:203
Symbol 151 BitmapUsed by:152
Symbol 152 GraphicUses:151Used by:203
Symbol 153 BitmapUsed by:154
Symbol 154 GraphicUses:153Used by:203
Symbol 155 BitmapUsed by:156
Symbol 156 GraphicUses:155Used by:203
Symbol 157 BitmapUsed by:158
Symbol 158 GraphicUses:157Used by:203
Symbol 159 BitmapUsed by:160
Symbol 160 GraphicUses:159Used by:203
Symbol 161 BitmapUsed by:162
Symbol 162 GraphicUses:161Used by:203
Symbol 163 BitmapUsed by:164
Symbol 164 GraphicUses:163Used by:203
Symbol 165 BitmapUsed by:166
Symbol 166 GraphicUses:165Used by:203
Symbol 167 BitmapUsed by:168
Symbol 168 GraphicUses:167Used by:203
Symbol 169 BitmapUsed by:170
Symbol 170 GraphicUses:169Used by:203
Symbol 171 BitmapUsed by:172
Symbol 172 GraphicUses:171Used by:203
Symbol 173 BitmapUsed by:174
Symbol 174 GraphicUses:173Used by:203
Symbol 175 BitmapUsed by:176
Symbol 176 GraphicUses:175Used by:203
Symbol 177 BitmapUsed by:178
Symbol 178 GraphicUses:177Used by:203
Symbol 179 BitmapUsed by:180
Symbol 180 GraphicUses:179Used by:203
Symbol 181 BitmapUsed by:182
Symbol 182 GraphicUses:181Used by:203
Symbol 183 BitmapUsed by:184
Symbol 184 GraphicUses:183Used by:203
Symbol 185 BitmapUsed by:186
Symbol 186 GraphicUses:185Used by:203
Symbol 187 BitmapUsed by:188
Symbol 188 GraphicUses:187Used by:203
Symbol 189 BitmapUsed by:190
Symbol 190 GraphicUses:189Used by:203
Symbol 191 BitmapUsed by:192
Symbol 192 GraphicUses:191Used by:203
Symbol 193 BitmapUsed by:194
Symbol 194 GraphicUses:193Used by:203
Symbol 195 BitmapUsed by:196
Symbol 196 GraphicUses:195Used by:203
Symbol 197 BitmapUsed by:198
Symbol 198 GraphicUses:197Used by:203
Symbol 199 BitmapUsed by:200
Symbol 200 GraphicUses:199Used by:203
Symbol 201 BitmapUsed by:202
Symbol 202 GraphicUses:201Used by:203
Symbol 203 MovieClipUses:120 122 124 126 128 110 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 178 180 182 184 186 188 190 192 194 196 198 200 202Used by:Timeline
Symbol 204 BitmapUsed by:205
Symbol 205 GraphicUses:204Used by:206
Symbol 206 MovieClipUses:205Used by:Timeline
Symbol 207 BitmapUsed by:208
Symbol 208 GraphicUses:207Used by:209
Symbol 209 MovieClipUses:208Used by:Timeline
Symbol 210 BitmapUsed by:211
Symbol 211 GraphicUses:210Used by:212
Symbol 212 MovieClipUses:211Used by:Timeline
Symbol 213 BitmapUsed by:214
Symbol 214 GraphicUses:213Used by:215
Symbol 215 MovieClipUses:214Used by:Timeline
Symbol 216 BitmapUsed by:217
Symbol 217 GraphicUses:216Used by:218
Symbol 218 MovieClipUses:217Used by:Timeline
Symbol 219 BitmapUsed by:220
Symbol 220 GraphicUses:219Used by:221
Symbol 221 MovieClipUses:220Used by:Timeline
Symbol 222 BitmapUsed by:223
Symbol 223 GraphicUses:222Used by:259
Symbol 224 GraphicUsed by:225
Symbol 225 MovieClipUses:224Used by:259 276 348 374 399
Symbol 226 BitmapUsed by:227
Symbol 227 GraphicUses:226Used by:258
Symbol 228 BitmapUsed by:229
Symbol 229 GraphicUses:228Used by:258
Symbol 230 BitmapUsed by:231
Symbol 231 GraphicUses:230Used by:258
Symbol 232 BitmapUsed by:233
Symbol 233 GraphicUses:232Used by:258
Symbol 234 BitmapUsed by:235
Symbol 235 GraphicUses:234Used by:258
Symbol 236 BitmapUsed by:237
Symbol 237 GraphicUses:236Used by:258
Symbol 238 BitmapUsed by:239
Symbol 239 GraphicUses:238Used by:258
Symbol 240 BitmapUsed by:241
Symbol 241 GraphicUses:240Used by:258
Symbol 242 BitmapUsed by:243
Symbol 243 GraphicUses:242Used by:258
Symbol 244 BitmapUsed by:245
Symbol 245 GraphicUses:244Used by:258
Symbol 246 BitmapUsed by:247
Symbol 247 GraphicUses:246Used by:258
Symbol 248 BitmapUsed by:249
Symbol 249 GraphicUses:248Used by:258
Symbol 250 BitmapUsed by:251
Symbol 251 GraphicUses:250Used by:258
Symbol 252 BitmapUsed by:253
Symbol 253 GraphicUses:252Used by:258
Symbol 254 BitmapUsed by:255
Symbol 255 GraphicUses:254Used by:258
Symbol 256 BitmapUsed by:257
Symbol 257 GraphicUses:256Used by:258
Symbol 258 MovieClipUses:227 229 231 233 235 237 239 241 243 245 247 249 251 253 255 257Used by:259 276 333 348 374 399 416 592
Symbol 259 MovieClipUses:223 225 258Used by:Timeline
Symbol 260 BitmapUsed by:261
Symbol 261 GraphicUses:260Used by:276
Symbol 262 GraphicUsed by:263
Symbol 263 MovieClipUses:262Used by:276
Symbol 264 BitmapUsed by:265
Symbol 265 GraphicUses:264Used by:276
Symbol 266 BitmapUsed by:267
Symbol 267 GraphicUses:266Used by:276
Symbol 268 BitmapUsed by:269
Symbol 269 GraphicUses:268Used by:276
Symbol 270 BitmapUsed by:271
Symbol 271 GraphicUses:270Used by:276
Symbol 272 BitmapUsed by:273
Symbol 273 GraphicUses:272Used by:276
Symbol 274 BitmapUsed by:275
Symbol 275 GraphicUses:274Used by:276
Symbol 276 MovieClipUses:261 225 263 265 267 269 271 273 275 258Used by:Timeline
Symbol 277 BitmapUsed by:278
Symbol 278 GraphicUses:277Used by:279
Symbol 279 MovieClipUses:278Used by:Timeline
Symbol 280 BitmapUsed by:281
Symbol 281 GraphicUses:280Used by:282
Symbol 282 MovieClipUses:281Used by:Timeline
Symbol 283 BitmapUsed by:284
Symbol 284 GraphicUses:283Used by:299
Symbol 285 BitmapUsed by:286
Symbol 286 GraphicUses:285Used by:299
Symbol 287 BitmapUsed by:288
Symbol 288 GraphicUses:287Used by:299
Symbol 289 BitmapUsed by:290
Symbol 290 GraphicUses:289Used by:299
Symbol 291 BitmapUsed by:292
Symbol 292 GraphicUses:291Used by:299
Symbol 293 BitmapUsed by:294
Symbol 294 GraphicUses:293Used by:299
Symbol 295 BitmapUsed by:296
Symbol 296 GraphicUses:295Used by:299
Symbol 297 BitmapUsed by:298
Symbol 298 GraphicUses:297Used by:299
Symbol 299 MovieClipUses:284 286 288 290 292 294 296 298Used by:Timeline
Symbol 300 GraphicUsed by:301
Symbol 301 MovieClipUses:300Used by:Timeline
Symbol 302 BitmapUsed by:303
Symbol 303 GraphicUses:302Used by:308
Symbol 304 GraphicUsed by:305
Symbol 305 MovieClipUses:304Used by:308
Symbol 306 GraphicUsed by:307
Symbol 307 MovieClipUses:306Used by:308
Symbol 308 MovieClipUses:303 305 307Used by:Timeline
Symbol 309 BitmapUsed by:310
Symbol 310 GraphicUses:309Used by:333
Symbol 311 BitmapUsed by:312
Symbol 312 GraphicUses:311Used by:333
Symbol 313 BitmapUsed by:314
Symbol 314 GraphicUses:313Used by:333
Symbol 315 BitmapUsed by:316
Symbol 316 GraphicUses:315Used by:333
Symbol 317 BitmapUsed by:318
Symbol 318 GraphicUses:317Used by:333
Symbol 319 BitmapUsed by:320
Symbol 320 GraphicUses:319Used by:333
Symbol 321 BitmapUsed by:322
Symbol 322 GraphicUses:321Used by:333
Symbol 323 BitmapUsed by:324
Symbol 324 GraphicUses:323Used by:333
Symbol 325 BitmapUsed by:326
Symbol 326 GraphicUses:325Used by:333
Symbol 327 BitmapUsed by:328
Symbol 328 GraphicUses:327Used by:333
Symbol 329 BitmapUsed by:330
Symbol 330 GraphicUses:329Used by:333
Symbol 331 BitmapUsed by:332
Symbol 332 GraphicUses:331Used by:333
Symbol 333 MovieClipUses:310 312 314 316 318 320 322 324 326 328 330 332 258Used by:Timeline
Symbol 334 BitmapUsed by:335 338
Symbol 335 GraphicUses:334Used by:339
Symbol 336 GraphicUsed by:337
Symbol 337 MovieClipUses:336Used by:339
Symbol 338 GraphicUses:334Used by:339
Symbol 339 MovieClipUses:335 337 338Used by:Timeline
Symbol 340 BitmapUsed by:341
Symbol 341 GraphicUses:340Used by:348
Symbol 342 BitmapUsed by:343
Symbol 343 GraphicUses:342Used by:348
Symbol 344 BitmapUsed by:345
Symbol 345 GraphicUses:344Used by:348
Symbol 346 BitmapUsed by:347
Symbol 347 GraphicUses:346Used by:348
Symbol 348 MovieClipUses:341 225 343 345 347 258Used by:Timeline
Symbol 349 BitmapUsed by:350
Symbol 350 GraphicUses:349Used by:351
Symbol 351 MovieClipUses:350Used by:Timeline
Symbol 352 BitmapUsed by:353
Symbol 353 GraphicUses:352Used by:356
Symbol 354 BitmapUsed by:355
Symbol 355 GraphicUses:354Used by:356
Symbol 356 MovieClipUses:353 355Used by:Timeline
Symbol 357 BitmapUsed by:358
Symbol 358 GraphicUses:357Used by:365
Symbol 359 BitmapUsed by:360
Symbol 360 GraphicUses:359Used by:365
Symbol 361 BitmapUsed by:362
Symbol 362 GraphicUses:361Used by:365
Symbol 363 BitmapUsed by:364
Symbol 364 GraphicUses:363Used by:365
Symbol 365 MovieClipUses:358 360 362 364Used by:Timeline
Symbol 366 BitmapUsed by:367
Symbol 367 GraphicUses:366Used by:374
Symbol 368 GraphicUsed by:369
Symbol 369 MovieClipUses:368Used by:374
Symbol 370 BitmapUsed by:371
Symbol 371 GraphicUses:370Used by:374
Symbol 372 BitmapUsed by:373
Symbol 373 GraphicUses:372Used by:374
Symbol 374 MovieClipUses:367 225 369 371 373 258Used by:Timeline
Symbol 375 BitmapUsed by:376
Symbol 376 GraphicUses:375Used by:399
Symbol 377 BitmapUsed by:378
Symbol 378 GraphicUses:377Used by:399
Symbol 379 BitmapUsed by:380
Symbol 380 GraphicUses:379Used by:399
Symbol 381 BitmapUsed by:382
Symbol 382 GraphicUses:381Used by:399
Symbol 383 BitmapUsed by:384
Symbol 384 GraphicUses:383Used by:399
Symbol 385 BitmapUsed by:386
Symbol 386 GraphicUses:385Used by:399
Symbol 387 BitmapUsed by:388
Symbol 388 GraphicUses:387Used by:399
Symbol 389 BitmapUsed by:390
Symbol 390 GraphicUses:389Used by:399
Symbol 391 BitmapUsed by:392
Symbol 392 GraphicUses:391Used by:399
Symbol 393 BitmapUsed by:394
Symbol 394 GraphicUses:393Used by:399
Symbol 395 BitmapUsed by:396
Symbol 396 GraphicUses:395Used by:399
Symbol 397 BitmapUsed by:398
Symbol 398 GraphicUses:397Used by:399
Symbol 399 MovieClipUses:376 225 378 380 382 384 386 388 390 392 394 396 398 258Used by:Timeline
Symbol 400 BitmapUsed by:401
Symbol 401 GraphicUses:400Used by:402
Symbol 402 MovieClipUses:401Used by:Timeline
Symbol 403 BitmapUsed by:404
Symbol 404 GraphicUses:403Used by:405
Symbol 405 MovieClipUses:404Used by:Timeline
Symbol 406 BitmapUsed by:407
Symbol 407 GraphicUses:406Used by:416
Symbol 408 BitmapUsed by:409
Symbol 409 GraphicUses:408Used by:416
Symbol 410 BitmapUsed by:411
Symbol 411 GraphicUses:410Used by:416
Symbol 412 BitmapUsed by:413
Symbol 413 GraphicUses:412Used by:416
Symbol 414 BitmapUsed by:415
Symbol 415 GraphicUses:414Used by:416
Symbol 416 MovieClipUses:407 409 411 413 415 258Used by:Timeline
Symbol 417 BitmapUsed by:418
Symbol 418 GraphicUses:417Used by:419
Symbol 419 MovieClipUses:418Used by:Timeline
Symbol 420 FontUsed by:421 422 423 424 425 426 427 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 497 498 499 500 501 502 503 531 532 533 534 535 536 537 620 621 622 623 624 625 626 627
Symbol 421 EditableTextUses:420Used by:Timeline
Symbol 422 EditableTextUses:420Used by:Timeline
Symbol 423 EditableTextUses:420Used by:Timeline
Symbol 424 EditableTextUses:420Used by:Timeline
Symbol 425 EditableTextUses:420Used by:Timeline
Symbol 426 EditableTextUses:420Used by:Timeline
Symbol 427 EditableTextUses:420Used by:Timeline
Symbol 428 BitmapUsed by:429
Symbol 429 GraphicUses:428Used by:436
Symbol 430 BitmapUsed by:431
Symbol 431 GraphicUses:430Used by:436
Symbol 432 BitmapUsed by:433
Symbol 433 GraphicUses:432Used by:436
Symbol 434 BitmapUsed by:435
Symbol 435 GraphicUses:434Used by:436
Symbol 436 MovieClipUses:429 431 433 435Used by:Timeline
Symbol 437 BitmapUsed by:438
Symbol 438 GraphicUses:437Used by:447
Symbol 439 BitmapUsed by:440
Symbol 440 GraphicUses:439Used by:447
Symbol 441 BitmapUsed by:442
Symbol 442 GraphicUses:441Used by:447
Symbol 443 BitmapUsed by:444
Symbol 444 GraphicUses:443Used by:447
Symbol 445 BitmapUsed by:446
Symbol 446 GraphicUses:445Used by:447
Symbol 447 MovieClipUses:438 440 442 444 446Used by:Timeline
Symbol 448 BitmapUsed by:449
Symbol 449 GraphicUses:448Used by:456
Symbol 450 BitmapUsed by:451
Symbol 451 GraphicUses:450Used by:456
Symbol 452 BitmapUsed by:453
Symbol 453 GraphicUses:452Used by:456
Symbol 454 BitmapUsed by:455
Symbol 455 GraphicUses:454Used by:456
Symbol 456 MovieClipUses:449 451 453 455Used by:Timeline
Symbol 457 BitmapUsed by:458
Symbol 458 GraphicUses:457Used by:473
Symbol 459 BitmapUsed by:460
Symbol 460 GraphicUses:459Used by:473
Symbol 461 BitmapUsed by:462
Symbol 462 GraphicUses:461Used by:473
Symbol 463 BitmapUsed by:464
Symbol 464 GraphicUses:463Used by:473
Symbol 465 BitmapUsed by:466
Symbol 466 GraphicUses:465Used by:473
Symbol 467 BitmapUsed by:468
Symbol 468 GraphicUses:467Used by:473
Symbol 469 BitmapUsed by:470
Symbol 470 GraphicUses:469Used by:473
Symbol 471 BitmapUsed by:472
Symbol 472 GraphicUses:471Used by:473
Symbol 473 MovieClipUses:458 460 462 464 466 468 470 472Used by:Timeline
Symbol 474 SoundUsed by:Timeline
Symbol 475 EditableTextUses:420Used by:Timeline
Symbol 476 EditableTextUses:420Used by:Timeline
Symbol 477 EditableTextUses:420Used by:Timeline
Symbol 478 EditableTextUses:420Used by:Timeline
Symbol 479 EditableTextUses:420Used by:Timeline
Symbol 480 EditableTextUses:420Used by:Timeline
Symbol 481 EditableTextUses:420Used by:Timeline
Symbol 482 EditableTextUses:420Used by:Timeline
Symbol 483 EditableTextUses:420Used by:Timeline
Symbol 484 EditableTextUses:420Used by:Timeline
Symbol 485 EditableTextUses:420Used by:Timeline
Symbol 486 EditableTextUses:420Used by:Timeline
Symbol 487 EditableTextUses:420Used by:Timeline
Symbol 488 EditableTextUses:420Used by:Timeline
Symbol 489 EditableTextUses:420Used by:Timeline
Symbol 490 EditableTextUses:420Used by:Timeline
Symbol 491 EditableTextUses:420Used by:Timeline
Symbol 492 EditableTextUses:420Used by:Timeline
Symbol 493 EditableTextUses:420Used by:Timeline
Symbol 494 EditableTextUses:420Used by:Timeline
Symbol 495 EditableTextUses:420Used by:Timeline
Symbol 496 SoundUsed by:Timeline
Symbol 497 EditableTextUses:420Used by:Timeline
Symbol 498 EditableTextUses:420Used by:Timeline
Symbol 499 EditableTextUses:420Used by:Timeline
Symbol 500 EditableTextUses:420Used by:Timeline
Symbol 501 EditableTextUses:420Used by:Timeline
Symbol 502 EditableTextUses:420Used by:Timeline
Symbol 503 EditableTextUses:420Used by:Timeline
Symbol 504 BitmapUsed by:505
Symbol 505 GraphicUses:504Used by:512
Symbol 506 BitmapUsed by:507
Symbol 507 GraphicUses:506Used by:512
Symbol 508 BitmapUsed by:509
Symbol 509 GraphicUses:508Used by:512
Symbol 510 BitmapUsed by:511
Symbol 511 GraphicUses:510Used by:512
Symbol 512 MovieClipUses:505 507 509 511Used by:Timeline
Symbol 513 BitmapUsed by:514
Symbol 514 GraphicUses:513Used by:521
Symbol 515 BitmapUsed by:516
Symbol 516 GraphicUses:515Used by:521
Symbol 517 BitmapUsed by:518
Symbol 518 GraphicUses:517Used by:521
Symbol 519 BitmapUsed by:520
Symbol 520 GraphicUses:519Used by:521
Symbol 521 MovieClipUses:514 516 518 520Used by:529
Symbol 522 BitmapUsed by:523
Symbol 523 GraphicUses:522Used by:528
Symbol 524 BitmapUsed by:525
Symbol 525 GraphicUses:524Used by:528
Symbol 526 BitmapUsed by:527
Symbol 527 GraphicUses:526Used by:528
Symbol 528 MovieClipUses:523 525 527Used by:529
Symbol 529 MovieClipUses:521 528Used by:Timeline
Symbol 530 GraphicUsed by:Timeline
Symbol 531 EditableTextUses:420Used by:Timeline
Symbol 532 EditableTextUses:420Used by:Timeline
Symbol 533 EditableTextUses:420Used by:Timeline
Symbol 534 EditableTextUses:420Used by:Timeline
Symbol 535 EditableTextUses:420Used by:Timeline
Symbol 536 EditableTextUses:420Used by:Timeline
Symbol 537 EditableTextUses:420Used by:Timeline
Symbol 538 GraphicUsed by:539
Symbol 539 MovieClipUses:538Used by:Timeline
Symbol 540 BitmapUsed by:541
Symbol 541 GraphicUses:540Used by:542
Symbol 542 MovieClipUses:541Used by:Timeline
Symbol 543 BitmapUsed by:544
Symbol 544 GraphicUses:543Used by:545
Symbol 545 MovieClipUses:544Used by:Timeline
Symbol 546 BitmapUsed by:547
Symbol 547 GraphicUses:546Used by:548
Symbol 548 MovieClipUses:547Used by:Timeline
Symbol 549 BitmapUsed by:550
Symbol 550 GraphicUses:549Used by:551
Symbol 551 MovieClipUses:550Used by:Timeline
Symbol 552 BitmapUsed by:553
Symbol 553 GraphicUses:552Used by:554
Symbol 554 MovieClipUses:553Used by:Timeline
Symbol 555 BitmapUsed by:556
Symbol 556 GraphicUses:555Used by:558
Symbol 557 GraphicUsed by:558
Symbol 558 MovieClipUses:556 557Used by:Timeline
Symbol 559 BitmapUsed by:560
Symbol 560 GraphicUses:559Used by:561
Symbol 561 MovieClipUses:560Used by:Timeline
Symbol 562 BitmapUsed by:563
Symbol 563 GraphicUses:562Used by:564
Symbol 564 MovieClipUses:563Used by:Timeline
Symbol 565 BitmapUsed by:566
Symbol 566 GraphicUses:565Used by:567  Timeline
Symbol 567 MovieClipUses:566Used by:Timeline
Symbol 568 GraphicUsed by:Timeline
Symbol 569 BitmapUsed by:570
Symbol 570 GraphicUses:569Used by:591
Symbol 571 BitmapUsed by:572
Symbol 572 GraphicUses:571Used by:591
Symbol 573 BitmapUsed by:574
Symbol 574 GraphicUses:573Used by:591
Symbol 575 BitmapUsed by:576
Symbol 576 GraphicUses:575Used by:591
Symbol 577 BitmapUsed by:578
Symbol 578 GraphicUses:577Used by:591
Symbol 579 BitmapUsed by:580
Symbol 580 GraphicUses:579Used by:591
Symbol 581 BitmapUsed by:582
Symbol 582 GraphicUses:581Used by:591
Symbol 583 BitmapUsed by:584
Symbol 584 GraphicUses:583Used by:591
Symbol 585 BitmapUsed by:586
Symbol 586 GraphicUses:585Used by:591
Symbol 587 BitmapUsed by:588
Symbol 588 GraphicUses:587Used by:591
Symbol 589 BitmapUsed by:590
Symbol 590 GraphicUses:589Used by:591
Symbol 591 MovieClipUses:570 572 574 576 578 580 582 584 586 588 590Used by:592
Symbol 592 MovieClipUses:591 258Used by:Timeline
Symbol 593 BitmapUsed by:594
Symbol 594 GraphicUses:593Used by:595
Symbol 595 MovieClipUses:594Used by:Timeline
Symbol 596 BitmapUsed by:597
Symbol 597 GraphicUses:596Used by:598
Symbol 598 MovieClipUses:597Used by:Timeline
Symbol 599 BitmapUsed by:600
Symbol 600 GraphicUses:599Used by:601
Symbol 601 MovieClipUses:600Used by:Timeline
Symbol 602 BitmapUsed by:603
Symbol 603 GraphicUses:602Used by:604
Symbol 604 MovieClipUses:603Used by:Timeline
Symbol 605 BitmapUsed by:606
Symbol 606 GraphicUses:605Used by:607
Symbol 607 MovieClipUses:606Used by:Timeline
Symbol 608 BitmapUsed by:609
Symbol 609 GraphicUses:608Used by:610
Symbol 610 MovieClipUses:609Used by:Timeline
Symbol 611 BitmapUsed by:612
Symbol 612 GraphicUses:611Used by:613
Symbol 613 MovieClipUses:612Used by:Timeline
Symbol 614 BitmapUsed by:615
Symbol 615 GraphicUses:614Used by:616
Symbol 616 MovieClipUses:615Used by:Timeline
Symbol 617 BitmapUsed by:618
Symbol 618 GraphicUses:617Used by:619
Symbol 619 MovieClipUses:618Used by:Timeline
Symbol 620 EditableTextUses:420Used by:Timeline
Symbol 621 EditableTextUses:420Used by:Timeline
Symbol 622 EditableTextUses:420Used by:Timeline
Symbol 623 EditableTextUses:420Used by:Timeline
Symbol 624 EditableTextUses:420Used by:Timeline
Symbol 625 EditableTextUses:420Used by:Timeline
Symbol 626 EditableTextUses:420Used by:Timeline
Symbol 627 EditableTextUses:420Used by:Timeline
Symbol 628 TextUses:76Used by:Timeline
Symbol 629 TextUses:76Used by:Timeline
Symbol 630 TextUses:46Used by:633
Symbol 631 TextUses:46Used by:633
Symbol 632 TextUses:46Used by:633
Symbol 633 ButtonUses:630 631 632Used by:Timeline
Symbol 634 EditableTextUses:46Used by:Timeline

Instance Names

"preloader"Frame 1Symbol 41 MovieClip
"pnconnector"Frame 101Symbol 12 MovieClip [pnFlashGames]
"fondo"Frame 103Symbol 94 MovieClip
"final1"Frame 103Symbol 97 MovieClip
"loop1"Frame 103Symbol 118 MovieClip
"sonic"Frame 103Symbol 203 MovieClip
"verde"Frame 103Symbol 206 MovieClip
"totem1"Frame 103Symbol 209 MovieClip
"arbol1"Frame 103Symbol 212 MovieClip
"arbolillo1"Frame 103Symbol 215 MovieClip
"flor1"Frame 103Symbol 218 MovieClip
"tumbao1"Frame 103Symbol 221 MovieClip
"rana1"Frame 103Symbol 259 MovieClip
"cocodrilo1"Frame 103Symbol 276 MovieClip
"ancho1"Frame 103Symbol 279 MovieClip
"alto1"Frame 103Symbol 282 MovieClip
"star1"Frame 103Symbol 299 MovieClip
"muevete1"Frame 103Symbol 206 MovieClip
"invisible1"Frame 103Symbol 301 MovieClip
"plataformak"Frame 103Symbol 308 MovieClip
"gordo1"Frame 103Symbol 333 MovieClip
"muelle1"Frame 103Symbol 339 MovieClip
"gusano1"Frame 103Symbol 348 MovieClip
"pincho1"Frame 103Symbol 351 MovieClip
"rokaloka1"Frame 103Symbol 356 MovieClip
"calabaza1"Frame 103Symbol 365 MovieClip
"cangrejo1"Frame 103Symbol 374 MovieClip
"rokalokaarriba1"Frame 103Symbol 356 MovieClip
"mariquita1"Frame 103Symbol 399 MovieClip
"life1"Frame 103Symbol 402 MovieClip
"burbuja1"Frame 103Symbol 405 MovieClip
"avispa1"Frame 103Symbol 416 MovieClip
"bala1"Frame 103Symbol 419 MovieClip
"moneda1"Frame 103Symbol 436 MovieClip
"tribal1"Frame 103Symbol 447 MovieClip
"pera1"Frame 103Symbol 456 MovieClip
"loop1"Frame 104Symbol 118 MovieClip
"gusano1"Frame 104Symbol 348 MovieClip
"rana1"Frame 106Symbol 259 MovieClip
"gordo1"Frame 106Symbol 333 MovieClip
"eggman"Frame 108Symbol 512 MovieClip
"bombas1"Frame 108Symbol 529 MovieClip
"loop1"Frame 109Symbol 118 MovieClip
"esce1"Frame 109Symbol 542 MovieClip
"esce2"Frame 109Symbol 545 MovieClip
"esce3"Frame 109Symbol 548 MovieClip
"esce4"Frame 109Symbol 551 MovieClip
"esce5"Frame 109Symbol 554 MovieClip
"esce7"Frame 109Symbol 558 MovieClip
"esce6"Frame 109Symbol 561 MovieClip
"deco10"Frame 109Symbol 567 MovieClip
"gusi1"Frame 109Symbol 592 MovieClip
"deco1"Frame 109Symbol 595 MovieClip
"deco2"Frame 109Symbol 598 MovieClip
"deco3"Frame 109Symbol 601 MovieClip
"deco4"Frame 109Symbol 604 MovieClip
"deco5"Frame 109Symbol 607 MovieClip
"deco6"Frame 109Symbol 610 MovieClip
"deco7"Frame 109Symbol 613 MovieClip
"deco8"Frame 109Symbol 616 MovieClip
"deco9"Frame 109Symbol 619 MovieClip
"loaderJD"Symbol 41 MovieClip Frame 61Symbol 40 MovieClip
"esferita"Symbol 117 MovieClip Frame 1Symbol 110 MovieClip
"salida"Symbol 118 MovieClip Frame 1Symbol 101 MovieClip
"entrada"Symbol 118 MovieClip Frame 1Symbol 101 MovieClip
"corre"Symbol 118 MovieClip Frame 3Symbol 117 MovieClip
"aba"Symbol 203 MovieClip Frame 1Symbol 122 MovieClip
"arr"Symbol 203 MovieClip Frame 1Symbol 122 MovieClip
"aba2"Symbol 203 MovieClip Frame 1Symbol 122 MovieClip
"dertok"Symbol 203 MovieClip Frame 1Symbol 126 MovieClip
"pluton"Symbol 203 MovieClip Frame 1Symbol 128 MovieClip
"esfera1"Symbol 203 MovieClip Frame 1Symbol 110 MovieClip
"izke"Symbol 259 MovieClip Frame 1Symbol 225 MovieClip
"izke"Symbol 276 MovieClip Frame 1Symbol 225 MovieClip
"cocotoko"Symbol 276 MovieClip Frame 1Symbol 263 MovieClip
"dere"Symbol 308 MovieClip Frame 1Symbol 305 MovieClip
"izki"Symbol 308 MovieClip Frame 1Symbol 305 MovieClip
"arr"Symbol 308 MovieClip Frame 1Symbol 307 MovieClip
"aba"Symbol 308 MovieClip Frame 1Symbol 307 MovieClip
"arriba"Symbol 339 MovieClip Frame 1Symbol 337 MovieClip
"arriba"Symbol 339 MovieClip Frame 3Symbol 337 MovieClip
"izke"Symbol 348 MovieClip Frame 1Symbol 225 MovieClip
"izke"Symbol 374 MovieClip Frame 1Symbol 225 MovieClip
"dere"Symbol 374 MovieClip Frame 1Symbol 225 MovieClip
"toka"Symbol 374 MovieClip Frame 1Symbol 369 MovieClip
"izke"Symbol 399 MovieClip Frame 1Symbol 225 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "flip"
ExportAssets (56)Timeline Frame 1Symbol 2 as "tv"
ExportAssets (56)Timeline Frame 1Symbol 3 as "final"
ExportAssets (56)Timeline Frame 1Symbol 4 as "salta"
ExportAssets (56)Timeline Frame 1Symbol 5 as "moneda"
ExportAssets (56)Timeline Frame 1Symbol 6 as "manzana"
ExportAssets (56)Timeline Frame 1Symbol 7 as "cae"
ExportAssets (56)Timeline Frame 1Symbol 8 as "esplosion"
ExportAssets (56)Timeline Frame 1Symbol 9 as "brip"
ExportAssets (56)Timeline Frame 1Symbol 10 as "robo"
ExportAssets (56)Timeline Frame 1Symbol 11 as "boink"
ExportAssets (56)Timeline Frame 1Symbol 12 as "pnFlashGames"

Labels

"instrucciones"Frame 100
"gameover"Frame 101
"continuar"Frame 102
"finLoader"Symbol 40 MovieClip Frame 100
"cargado"Symbol 41 MovieClip Frame 62

Dynamic Text Variables

puntosSymbol 87 EditableText""
vidasSymbol 421 EditableText""
nivelSymbol 423 EditableText""
RestanteSymbol 425 EditableText""
puntosSymbol 427 EditableText""
vidasSymbol 475 EditableText""
nivelSymbol 477 EditableText""
RestanteSymbol 479 EditableText""
puntosSymbol 481 EditableText""
vidasSymbol 482 EditableText""
nivelSymbol 484 EditableText""
RestanteSymbol 486 EditableText""
puntosSymbol 488 EditableText""
vidasSymbol 489 EditableText""
nivelSymbol 491 EditableText""
RestanteSymbol 493 EditableText""
puntosSymbol 495 EditableText""
vidasSymbol 497 EditableText""
nivelSymbol 499 EditableText""
RestanteSymbol 501 EditableText""
puntosSymbol 503 EditableText""
vidasSymbol 531 EditableText""
nivelSymbol 533 EditableText""
RestanteSymbol 535 EditableText""
puntosSymbol 537 EditableText""
vidasSymbol 621 EditableText""
nivelSymbol 623 EditableText""
RestanteSymbol 625 EditableText""
puntosSymbol 627 EditableText""




http://swfchan.com/27/131919/info.shtml
Created: 20/2 -2019 20:24:37 Last modified: 20/2 -2019 20:24:37 Server time: 03/05 -2024 06:14:39