Symbol 2 MovieClip [Comet] Frame 1
#initclip 6
Object.registerClass("Comet", Comet);
#endinitclip
Symbol 4 MovieClip [Fallen] Frame 1
#initclip 4
Object.registerClass("Fallen", Fallen);
#endinitclip
Symbol 6 MovieClip [Panty] Frame 1
#initclip 5
Object.registerClass("Panty", Start);
#endinitclip
Symbol 137 MovieClip [__Packages.Fallen] Frame 0
class Fallen extends MovieClip
{
var _alpha, removeMovieClip;
function Fallen () {
super();
}
function onLoad() {
Span = 6 + Math.round(Math.random() * 4);
}
function onEnterFrame() {
_alpha = _alpha - Span;
Life = Life - Span;
if (Life < 0) {
removeMovieClip();
}
}
var Life = 100;
var Span = 0;
}
Symbol 138 MovieClip [__Packages.Start] Frame 0
class Start extends MovieClip
{
function Start () {
super();
}
function onLoad() {
_root.gotoAndPlay(3);
_root.Hair.Eclipse.Bushy._x = _root.Hair.Eclipse.Bushy._x - 10;
_root.Leggy.gotoAndPlay(1);
_root.Leggy.stop();
_root.Face.gotoAndPlay(1);
_root.Face.stop();
Star = Math.round(Math.random() * 360);
_root.Hair.Star._rotation = Star;
_root.Hair.Nebula._rotation = Star;
_root.StarDust.onRelease = function () {
if (_root.Pantsy._visible == true) {
_root.Pantsy._visible = false;
_root.StarDust._visible = false;
_root.Hair.Eclipse.Bushy._x = _root.Hair.Eclipse.Bushy._x + 10;
this.BottomLess = 1;
}
};
}
function onEnterFrame() {
Star = Star - 0.1;
_root.Hair.Star._rotation = Star;
_root.Hair.Nebula._rotation = Star;
Fall = Fall + Math.round(Math.random() * 2);
NightMare = NightMare + Math.round(Math.random() * 2);
if (BottomLess == 0) {
Fallen = Fallen + Math.round(Math.random() * 2);
}
if (Fall > 150) {
var _local3 = _root.attachMovie("Comet", "Comet" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = 300 + Math.round(Math.random() * 450);
_local3._y = 100 + Math.round(Math.random() * 600);
Fall = 0;
}
if ((NightMare > 200) and (BottomLess == 0)) {
NightMare = 0;
Dream = Math.round(Math.random() * 4);
if ((Dream == 4) and (_root.Face._currentframe == 1)) {
_root.Face.gotoAndPlay(1);
}
if ((Dream == 4) and (_root.Face._currentframe == 16)) {
_root.Face.gotoAndPlay(17);
}
}
if ((NightMare > 200) and (BottomLess == 1)) {
NightMare = 0;
Dream = Math.round(Math.random() * 4);
if ((Dream == 1) and (_root.Leggy._currentframe == 1)) {
_root.Leggy.gotoAndPlay(1);
}
if ((Dream == 2) and (_root.Leggy._currentframe == 60)) {
_root.Leggy.gotoAndPlay(61);
}
if ((Dream == 2) and (_root.Leggy._currentframe == 180)) {
_root.Leggy.gotoAndPlay(181);
}
if ((Dream == 3) and (_root.Leggy._currentframe == 1)) {
_root.Leggy.gotoAndPlay(121);
}
if ((Dream == 4) and (_root.Face._currentframe == 1)) {
_root.Face.gotoAndPlay(1);
}
if ((Dream == 4) and (_root.Face._currentframe == 16)) {
_root.Face.gotoAndPlay(17);
}
}
if (_root.Leggy._currentframe == 60) {
_root.Leggy.stop();
}
if (_root.Leggy._currentframe == 120) {
_root.Leggy.gotoAndPlay(1);
_root.Leggy.stop();
}
if (_root.Leggy._currentframe == 180) {
_root.Leggy.stop();
}
if (_root.Leggy._currentframe == 240) {
_root.Leggy.gotoAndPlay(1);
_root.Leggy.stop();
}
if (_root.Face._currentframe == 16) {
_root.Face.stop();
}
if (_root.Face._currentframe == 32) {
_root.Face.gotoAndPlay(1);
_root.Face.stop();
}
}
var Star = 0;
var Eclips = 0;
var Fall = 0;
var FallX = 0;
var FallY = 0;
var Fallen = 0;
var Dream = 0;
var NightMare = 0;
var BottomLess = 0;
}
Symbol 139 MovieClip [__Packages.Comet] Frame 0
class Comet extends MovieClip
{
var _rotation, _x, _y, removeMovieClip, hitTest;
function Comet () {
super();
}
function onLoad() {
_rotation = Math.round(Math.random() * 360);
Life = Life + Math.round(Math.random() * 20);
}
function onEnterFrame() {
var _local3 = _root.attachMovie("Fallen", "Fallen" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x;
_local3._y = _y;
_local3 = _root.attachMovie("Fallen", "Fallen" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x + (1 * Math.cos((_rotation * Math.PI) / 180));
_local3._y = _y + (1 * Math.sin((_rotation * Math.PI) / 180));
_local3 = _root.attachMovie("Fallen", "Fallen" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x + (2 * Math.cos((_rotation * Math.PI) / 180));
_local3._y = _y + (2 * Math.sin((_rotation * Math.PI) / 180));
_local3.mask = _root.Sun;
_local3 = _root.attachMovie("Fallen", "Fallen" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x + (3 * Math.cos((_rotation * Math.PI) / 180));
_local3._y = _y + (3 * Math.sin((_rotation * Math.PI) / 180));
_local3 = _root.attachMovie("Fallen", "Fallen" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x + (4 * Math.cos((_rotation * Math.PI) / 180));
_local3._y = _y + (4 * Math.sin((_rotation * Math.PI) / 180));
_local3 = _root.attachMovie("Fallen", "Fallen" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x + (5 * Math.cos((_rotation * Math.PI) / 180));
_local3._y = _y + (5 * Math.sin((_rotation * Math.PI) / 180));
_local3 = _root.attachMovie("Fallen", "Fallen" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x + (6 * Math.cos((_rotation * Math.PI) / 180));
_local3._y = _y + (6 * Math.sin((_rotation * Math.PI) / 180));
_local3 = _root.attachMovie("Fallen", "Fallen" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x + (7 * Math.cos((_rotation * Math.PI) / 180));
_local3._y = _y + (7 * Math.sin((_rotation * Math.PI) / 180));
_local3 = _root.attachMovie("Fallen", "Fallen" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x + (8 * Math.cos((_rotation * Math.PI) / 180));
_local3._y = _y + (8 * Math.sin((_rotation * Math.PI) / 180));
_local3 = _root.attachMovie("Fallen", "Fallen" + _root.getNextHighestDepth(), _root.getNextHighestDepth());
_local3._x = _x + (9 * Math.cos((_rotation * Math.PI) / 180));
_local3._y = _y + (9 * Math.sin((_rotation * Math.PI) / 180));
_x = _x + (10 * Math.cos((_rotation * Math.PI) / 180));
_y = _y + (10 * Math.sin((_rotation * Math.PI) / 180));
Life = Life - 1;
if (Life == 0) {
removeMovieClip();
}
if (hitTest(_root.Box1)) {
removeMovieClip();
}
if (hitTest(_root.Box2)) {
removeMovieClip();
}
if (hitTest(_root.Box3)) {
removeMovieClip();
}
if (hitTest(_root.Box4)) {
removeMovieClip();
}
if (hitTest(_root.Box5)) {
removeMovieClip();
}
if (hitTest(_root.Box6)) {
removeMovieClip();
}
if (hitTest(_root.Box7)) {
removeMovieClip();
}
if (hitTest(_root.Box8)) {
removeMovieClip();
}
if (hitTest(_root.Box9)) {
removeMovieClip();
}
if (hitTest(_root.Box10)) {
removeMovieClip();
}
if (hitTest(_root.Box11)) {
removeMovieClip();
}
if (hitTest(_root.Box12)) {
removeMovieClip();
}
if (hitTest(_root.Box13)) {
removeMovieClip();
}
if (hitTest(_root.Box14)) {
removeMovieClip();
}
if (hitTest(_root.Box15)) {
removeMovieClip();
}
if (hitTest(_root.Box16)) {
removeMovieClip();
}
if (hitTest(_root.Box17)) {
removeMovieClip();
}
if (hitTest(_root.Box18)) {
removeMovieClip();
}
if (hitTest(_root.Box19)) {
removeMovieClip();
}
if (hitTest(_root.Box20)) {
removeMovieClip();
}
if (hitTest(_root.Box21)) {
removeMovieClip();
}
if (hitTest(_root.Box22)) {
removeMovieClip();
}
if (hitTest(_root.Box23)) {
removeMovieClip();
}
}
var Life = 10;
}