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

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

Sonic Xtreme.swf

This is the info page for
Flash #24759

(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

jugar

jugar

masjuegos

mas juegos

instrucciones

instrucciones

sonic xtreme

descargar juego

descargar juego

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

menu principal

menu principal

has hecho                puntos

continuar

NIVEL

TIEMPO

PUNTOS

NIVEL

TIEMPO

PUNTOS

NIVEL

TIEMPO

PUNTOS

NIVEL

TIEMPO

PUNTOS

NIVEL

TIEMPO

PUNTOS

NIVEL

TIEMPO

PUNTOS

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

Instance Names

"preloader"Frame 1Symbol 40 MovieClip
"pnconnector"Frame 101Symbol 12 MovieClip [pnFlashGames]
"fondo"Frame 103Symbol 92 MovieClip
"final1"Frame 103Symbol 95 MovieClip
"loop1"Frame 103Symbol 116 MovieClip
"sonic"Frame 103Symbol 201 MovieClip
"verde"Frame 103Symbol 204 MovieClip
"totem1"Frame 103Symbol 207 MovieClip
"arbol1"Frame 103Symbol 210 MovieClip
"arbolillo1"Frame 103Symbol 213 MovieClip
"flor1"Frame 103Symbol 216 MovieClip
"tumbao1"Frame 103Symbol 219 MovieClip
"rana1"Frame 103Symbol 257 MovieClip
"cocodrilo1"Frame 103Symbol 274 MovieClip
"ancho1"Frame 103Symbol 277 MovieClip
"alto1"Frame 103Symbol 280 MovieClip
"star1"Frame 103Symbol 297 MovieClip
"muevete1"Frame 103Symbol 204 MovieClip
"invisible1"Frame 103Symbol 299 MovieClip
"plataformak"Frame 103Symbol 306 MovieClip
"gordo1"Frame 103Symbol 331 MovieClip
"muelle1"Frame 103Symbol 337 MovieClip
"gusano1"Frame 103Symbol 346 MovieClip
"pincho1"Frame 103Symbol 349 MovieClip
"rokaloka1"Frame 103Symbol 354 MovieClip
"calabaza1"Frame 103Symbol 363 MovieClip
"cangrejo1"Frame 103Symbol 372 MovieClip
"rokalokaarriba1"Frame 103Symbol 354 MovieClip
"mariquita1"Frame 103Symbol 397 MovieClip
"life1"Frame 103Symbol 400 MovieClip
"burbuja1"Frame 103Symbol 403 MovieClip
"avispa1"Frame 103Symbol 414 MovieClip
"bala1"Frame 103Symbol 417 MovieClip
"moneda1"Frame 103Symbol 434 MovieClip
"tribal1"Frame 103Symbol 445 MovieClip
"pera1"Frame 103Symbol 454 MovieClip
"loop1"Frame 104Symbol 116 MovieClip
"gusano1"Frame 104Symbol 346 MovieClip
"rana1"Frame 106Symbol 257 MovieClip
"gordo1"Frame 106Symbol 331 MovieClip
"eggman"Frame 108Symbol 510 MovieClip
"bombas1"Frame 108Symbol 527 MovieClip
"loop1"Frame 109Symbol 116 MovieClip
"esce1"Frame 109Symbol 540 MovieClip
"esce2"Frame 109Symbol 543 MovieClip
"esce3"Frame 109Symbol 546 MovieClip
"esce4"Frame 109Symbol 549 MovieClip
"esce5"Frame 109Symbol 552 MovieClip
"esce7"Frame 109Symbol 556 MovieClip
"esce6"Frame 109Symbol 559 MovieClip
"deco10"Frame 109Symbol 565 MovieClip
"gusi1"Frame 109Symbol 590 MovieClip
"deco1"Frame 109Symbol 593 MovieClip
"deco2"Frame 109Symbol 596 MovieClip
"deco3"Frame 109Symbol 599 MovieClip
"deco4"Frame 109Symbol 602 MovieClip
"deco5"Frame 109Symbol 605 MovieClip
"deco6"Frame 109Symbol 608 MovieClip
"deco7"Frame 109Symbol 611 MovieClip
"deco8"Frame 109Symbol 614 MovieClip
"deco9"Frame 109Symbol 617 MovieClip
"loaderJD"Symbol 40 MovieClip Frame 61Symbol 39 MovieClip
"esferita"Symbol 115 MovieClip Frame 1Symbol 108 MovieClip
"salida"Symbol 116 MovieClip Frame 1Symbol 99 MovieClip
"entrada"Symbol 116 MovieClip Frame 1Symbol 99 MovieClip
"corre"Symbol 116 MovieClip Frame 3Symbol 115 MovieClip
"aba"Symbol 201 MovieClip Frame 1Symbol 120 MovieClip
"arr"Symbol 201 MovieClip Frame 1Symbol 120 MovieClip
"aba2"Symbol 201 MovieClip Frame 1Symbol 120 MovieClip
"dertok"Symbol 201 MovieClip Frame 1Symbol 124 MovieClip
"pluton"Symbol 201 MovieClip Frame 1Symbol 126 MovieClip
"esfera1"Symbol 201 MovieClip Frame 1Symbol 108 MovieClip
"izke"Symbol 257 MovieClip Frame 1Symbol 223 MovieClip
"izke"Symbol 274 MovieClip Frame 1Symbol 223 MovieClip
"cocotoko"Symbol 274 MovieClip Frame 1Symbol 261 MovieClip
"dere"Symbol 306 MovieClip Frame 1Symbol 303 MovieClip
"izki"Symbol 306 MovieClip Frame 1Symbol 303 MovieClip
"arr"Symbol 306 MovieClip Frame 1Symbol 305 MovieClip
"aba"Symbol 306 MovieClip Frame 1Symbol 305 MovieClip
"arriba"Symbol 337 MovieClip Frame 1Symbol 335 MovieClip
"arriba"Symbol 337 MovieClip Frame 3Symbol 335 MovieClip
"izke"Symbol 346 MovieClip Frame 1Symbol 223 MovieClip
"izke"Symbol 372 MovieClip Frame 1Symbol 223 MovieClip
"dere"Symbol 372 MovieClip Frame 1Symbol 223 MovieClip
"toka"Symbol 372 MovieClip Frame 1Symbol 367 MovieClip
"izke"Symbol 397 MovieClip Frame 1Symbol 223 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 39 MovieClip Frame 100
"cargado"Symbol 40 MovieClip Frame 62

Dynamic Text Variables

puntosSymbol 86 EditableText""
vidasSymbol 419 EditableText""
nivelSymbol 421 EditableText""
RestanteSymbol 423 EditableText""
puntosSymbol 425 EditableText""
vidasSymbol 473 EditableText""
nivelSymbol 475 EditableText""
RestanteSymbol 477 EditableText""
puntosSymbol 479 EditableText""
vidasSymbol 480 EditableText""
nivelSymbol 482 EditableText""
RestanteSymbol 484 EditableText""
puntosSymbol 486 EditableText""
vidasSymbol 487 EditableText""
nivelSymbol 489 EditableText""
RestanteSymbol 491 EditableText""
puntosSymbol 493 EditableText""
vidasSymbol 495 EditableText""
nivelSymbol 497 EditableText""
RestanteSymbol 499 EditableText""
puntosSymbol 501 EditableText""
vidasSymbol 529 EditableText""
nivelSymbol 531 EditableText""
RestanteSymbol 533 EditableText""
puntosSymbol 535 EditableText""
vidasSymbol 619 EditableText""
nivelSymbol 621 EditableText""
RestanteSymbol 623 EditableText""
puntosSymbol 625 EditableText""




http://swfchan.com/5/24759/info.shtml
Created: 24/5 -2019 13:52:23 Last modified: 24/5 -2019 13:52:23 Server time: 10/05 -2024 02:54:02