home *** CD-ROM | disk | FTP | other *** search
- if(colision == 1)
- {
- _root.f_aciertos = _root.f_aciertos + 1;
- box_nombre = _root.id_piedras[cont];
- box_ang = eval("_root." + box_nombre + ".angulo");
- box_tipo = eval("_root." + box_nombre + ".tipo");
- duplica = 1 + box_tipo;
- box_x = eval("_root." + box_nombre)._x;
- box_y = eval("_root." + box_nombre)._y;
- _root.piedra(0,box_nombre,0,0,0,0);
- _root.interfaz.puntos += 8 * box_tipo;
- _root.puntuacion += 8 * box_tipo;
- if(0 < box_tipo and box_tipo < 4)
- {
- _root.piedra(2,0,duplica,box_ang - 25,box_x,box_y);
- _root.piedra(2,0,duplica,box_ang + 25,box_x,box_y);
- }
- if(box_tipo == 4)
- {
- _root.piedra(2,0,duplica,box_ang - 25,box_x,box_y);
- _root.piedra(2,0,duplica,box_ang,box_x,box_y);
- _root.piedra(2,0,duplica,box_ang + 25,box_x,box_y);
- }
- if(box_tipo == 5 and _root.id_piedras.length == 0)
- {
- _root.piedra(1,0,1,0,0,0);
- }
- if(3000 < _root.puntuacion)
- {
- with(_root.sonido2)
- {
- gotoAndPlay(2);
- }
- _root.puntuacion = 0;
- _root.interfaz.level = _root.interfaz.level + 1;
- }
- }
- else
- {
- _root.f_fallos = _root.f_fallos + 1;
- }
- _root.disparo(0,_name);
- removeMovieClip("");
-