Section 1
//BitmapHelpers (bitmap_classes.BitmapHelpers)
package bitmap_classes {
import flash.display.*;
import flash.geom.*;
public class BitmapHelpers {
public static function scaleBitmapData(_arg1:BitmapData, _arg2:int, _arg3:int):BitmapData{
var _local4:BitmapData = new BitmapData((_arg1.width * _arg2), (_arg1.height * _arg3), true, 0);
var _local5:Matrix = new Matrix();
_local5.identity();
_local5.scale(_arg2, _arg3);
_local4.draw(_arg1, _local5);
return (_local4);
}
public static function renderOnBitmap(_arg1:BitmapData, _arg2:BitmapData):void{
_arg2.copyPixels(_arg1, _arg1.rect, new Point(0, 0), null, null, true);
}
public static function mirrorVerticalBitmapData(_arg1:BitmapData):BitmapData{
var _local2:BitmapData = new BitmapData(_arg1.width, _arg1.height, true, 0);
var _local3:Matrix = new Matrix();
_local3.identity();
_local3.scale(-1, 1);
_local3.translate(_arg1.width, 0);
_local2.draw(_arg1, _local3);
return (_local2);
}
}
}//package bitmap_classes
Section 2
//BitmapNumber (bitmap_classes.BitmapNumber)
package bitmap_classes {
public class BitmapNumber {
public static function renderCentre(_arg1:int, _arg2:BitmapRenderSequence, _arg3:int, _arg4:int, _arg5:int, _arg6:int):void{
var _local9:int;
var _local7:Number = _arg1;
var _local8:Array = new Array();
while (_local7 != 0) {
_local9 = (_local7 % 10);
_local7 = (_local7 - _local9);
_local7 = (_local7 / 10);
_local8.push(_local9);
};
if (_arg1 == 0){
_local8.push(_arg1);
};
var _local10:int = -(int(((_local8.length * _arg5) / 2)));
var _local11:int = -(int((_arg6 / 2)));
var _local12:int;
while (_local12 < _local8.length) {
_arg2.render(_local8[((_local8.length - 1) - _local12)], ((_arg3 + (_local12 * _arg5)) + _local10), (_arg4 + _local11));
_local12++;
};
}
public static function renderTimeTopLeft(_arg1:int, _arg2:BitmapRenderSequence, _arg3:int, _arg4:int, _arg5:int):void{
var _local6:int = (_arg1 / 50);
var _local7:int = (_local6 / 60);
_local6 = (_local6 - (_local7 * 60));
renderTopLeft(_local7, _arg2, _arg3, _arg4, _arg5, 2);
_arg2.render(10, (_arg3 + (2 * _arg5)), _arg4);
renderTopLeft(_local6, _arg2, (_arg3 + (3 * _arg5)), _arg4, _arg5, 2);
}
public static function renderTopLeft(_arg1:int, _arg2:BitmapRenderSequence, _arg3:int, _arg4:int, _arg5:int, _arg6:int=0):void{
var _local9:int;
var _local11:int;
var _local12:int;
var _local7:Number = _arg1;
var _local8:Array = new Array();
while (_local7 != 0) {
_local9 = (_local7 % 10);
_local7 = (_local7 - _local9);
_local7 = (_local7 / 10);
_local8.push(_local9);
};
if (_arg1 == 0){
_local8.push(_arg1);
};
var _local10:int;
if (_local8.length < _arg6){
_local12 = (_arg6 - _local8.length);
_local10 = (_local12 * _arg5);
_local11 = 0;
while (_local11 < _local12) {
_arg2.render(0, (_arg3 + (_local11 * _arg5)), _arg4);
_local11++;
};
};
_local11 = 0;
while (_local11 < _local8.length) {
_arg2.render(_local8[((_local8.length - 1) - _local11)], ((_arg3 + (_local11 * _arg5)) + _local10), _arg4);
_local11++;
};
}
}
}//package bitmap_classes
Section 3
//BitmapRender (bitmap_classes.BitmapRender)
package bitmap_classes {
import flash.display.*;
import flash.geom.*;
public class BitmapRender {
private var bgBitmap:Bitmap;
private var clip:Sprite;
public var bgBitmapData:BitmapData;
public function lock():void{
bgBitmapData.lock();
}
public function unlock():void{
bgBitmapData.unlock();
}
public function clearBackground(_arg1:int):void{
bgBitmapData.lock();
bgBitmapData.fillRect(new Rectangle(0, 0, bgBitmapData.rect.width, bgBitmapData.rect.height), _arg1);
bgBitmapData.unlock();
}
public function init(_arg1:int, _arg2:int, _arg3:Sprite):void{
this.clip = _arg3;
bgBitmapData = new BitmapData(_arg1, _arg2, false, 0);
bgBitmap = new Bitmap(bgBitmapData);
_arg3.addChild(bgBitmap);
}
}
}//package bitmap_classes
Section 4
//BitmapRenderObject (bitmap_classes.BitmapRenderObject)
package bitmap_classes {
import flash.display.*;
import flash.geom.*;
import flash.utils.*;
public class BitmapRenderObject {
private var matrix:Matrix;
private var bitmapRender:BitmapRender;
private var positionPoint:Point;
public var bitmapData:BitmapData;
private static var storedBitmapData:Array = new Array();
public function BitmapRenderObject(_arg1:BitmapRender){
positionPoint = new Point();
matrix = new Matrix();
super();
this.bitmapRender = _arg1;
}
public function renderRectangle(_arg1:Number, _arg2:Number, _arg3:Rectangle):void{
positionPoint.x = _arg1;
positionPoint.y = _arg2;
bitmapRender.bgBitmapData.copyPixels(bitmapData, _arg3, positionPoint);
}
public function draw(_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=1):void{
matrix.identity();
matrix.translate((-(bitmapData.width) / 2), (-(bitmapData.height) / 2));
matrix.rotate(_arg3);
matrix.scale(_arg4, _arg4);
matrix.translate(_arg1, _arg2);
bitmapRender.bgBitmapData.draw(bitmapData, matrix);
}
public function renderMiddle(_arg1:Number, _arg2:Number):void{
positionPoint.x = (_arg1 - (bitmapData.width / 2));
positionPoint.y = (_arg2 - (bitmapData.height / 2));
bitmapRender.bgBitmapData.copyPixels(bitmapData, bitmapData.rect, positionPoint);
}
public function initByNameManaged(_arg1:String):void{
var _local2:Class;
if (storedBitmapData[_arg1] == null){
_local2 = (getDefinitionByName(_arg1) as Class);
storedBitmapData[_arg1] = new _local2(0, 0);
};
this.bitmapData = storedBitmapData[_arg1];
}
public function initManaged(_arg1:BitmapData):void{
var _local2:String = getQualifiedClassName(_arg1);
if (storedBitmapData[_local2] == null){
storedBitmapData[_local2] = _arg1;
};
this.bitmapData = storedBitmapData[_local2];
}
public function init(_arg1:BitmapData):void{
this.bitmapData = _arg1;
}
public function initByName(_arg1:String):void{
var _local2:Class = (getDefinitionByName(_arg1) as Class);
this.bitmapData = new _local2(0, 0);
}
public function getFromClassManaged(_arg1:Class):void{
}
public function getFromClass(_arg1:Class):void{
bitmapData = new _arg1(0, 0);
}
public function renderRect(_arg1:Number, _arg2:Number, _arg3:Rectangle):void{
positionPoint.x = _arg1;
positionPoint.y = _arg2;
bitmapRender.bgBitmapData.copyPixels(bitmapData, _arg3, positionPoint);
}
public function render(_arg1:Number, _arg2:Number):void{
positionPoint.x = _arg1;
positionPoint.y = _arg2;
bitmapRender.bgBitmapData.copyPixels(bitmapData, bitmapData.rect, positionPoint);
}
public function drawSmooth(_arg1:Number, _arg2:Number, _arg3:Number=0, _arg4:Number=1):void{
matrix.identity();
matrix.translate((-(bitmapData.width) - 5), (-(bitmapData.height) / 2));
matrix.rotate(_arg3);
matrix.scale(_arg4, _arg4);
matrix.translate(_arg1, _arg2);
bitmapRender.bgBitmapData.draw(bitmapData, matrix, null, null, null, true);
}
}
}//package bitmap_classes
Section 5
//BitmapRenderSequence (bitmap_classes.BitmapRenderSequence)
package bitmap_classes {
public class BitmapRenderSequence {
private var bitmapRender:BitmapRender;
private var bitmapRenderObjects:Array;
public function BitmapRenderSequence(_arg1:BitmapRender){
this.bitmapRender = _arg1;
}
public function initByNames(_arg1:Array):void{
var _local3:BitmapRenderObject;
bitmapRenderObjects = new Array();
var _local2:int;
while (_local2 < _arg1.length) {
_local3 = new BitmapRenderObject(bitmapRender);
_local3.initByName(_arg1[_local2]);
bitmapRenderObjects.push(_local3);
_local2++;
};
}
public function draw(_arg1:int, _arg2:Number, _arg3:Number, _arg4:Number=0, _arg5:Number=1):void{
bitmapRenderObjects[_arg1].draw(_arg2, _arg3, _arg4, _arg5);
}
public function renderMiddle(_arg1:int, _arg2:Number, _arg3:Number):void{
bitmapRenderObjects[_arg1].renderMiddle(_arg2, _arg3);
}
public function initManaged(_arg1:Array):void{
var _local3:BitmapRenderObject;
bitmapRenderObjects = new Array();
var _local2:int;
while (_local2 < _arg1.length) {
_local3 = new BitmapRenderObject(bitmapRender);
_local3.initManaged(_arg1[_local2]);
bitmapRenderObjects.push(_local3);
_local2++;
};
}
public function init(_arg1:Array):void{
var _local3:BitmapRenderObject;
bitmapRenderObjects = new Array();
var _local2:int;
while (_local2 < _arg1.length) {
_local3 = new BitmapRenderObject(bitmapRender);
_local3.init(_arg1[_local2]);
bitmapRenderObjects.push(_local3);
_local2++;
};
}
public function drawSmooth(_arg1:int, _arg2:Number, _arg3:Number, _arg4:Number=0, _arg5:Number=1):void{
bitmapRenderObjects[_arg1].drawSmooth(_arg2, _arg3, _arg4, _arg5);
}
public function render(_arg1:int, _arg2:Number, _arg3:Number):void{
bitmapRenderObjects[_arg1].render(_arg2, _arg3);
}
public function getLength():int{
return (bitmapRenderObjects.length);
}
public function initByNamesManaged(_arg1:Array):void{
var _local3:BitmapRenderObject;
bitmapRenderObjects = new Array();
var _local2:int;
while (_local2 < _arg1.length) {
_local3 = new BitmapRenderObject(bitmapRender);
_local3.initByNameManaged(_arg1[_local2]);
bitmapRenderObjects.push(_local3);
_local2++;
};
}
}
}//package bitmap_classes
Section 6
//IntroAnimation_51 (love_me_graphics_fla.IntroAnimation_51)
package love_me_graphics_fla {
import flash.display.*;
public dynamic class IntroAnimation_51 extends MovieClip {
public function IntroAnimation_51(){
addFrameScript(136, this.frame137);
}
function frame137(){
stop();
}
}
}//package love_me_graphics_fla
Section 7
//TrophyExplosion_6 (love_me_graphics_fla.TrophyExplosion_6)
package love_me_graphics_fla {
import flash.display.*;
public dynamic class TrophyExplosion_6 extends MovieClip {
public function TrophyExplosion_6(){
addFrameScript(189, this.frame190);
}
function frame190(){
stop();
}
}
}//package love_me_graphics_fla
Section 8
//TrophyHolderBlueHolder_39 (love_me_graphics_fla.TrophyHolderBlueHolder_39)
package love_me_graphics_fla {
import flash.display.*;
public dynamic class TrophyHolderBlueHolder_39 extends MovieClip {
public var trophyInfoThree:MovieClip;
public function TrophyHolderBlueHolder_39(){
addFrameScript(0, this.frame1, 49, this.frame50, 199, this.frame200);
}
function frame1(){
stop();
}
function frame200(){
stop();
}
function frame50(){
this.trophyInfoThree.visible = false;
}
}
}//package love_me_graphics_fla
Section 9
//TrophyHolderGreenHolder_35 (love_me_graphics_fla.TrophyHolderGreenHolder_35)
package love_me_graphics_fla {
import flash.display.*;
public dynamic class TrophyHolderGreenHolder_35 extends MovieClip {
public var trophyInfoFour:MovieClip;
public function TrophyHolderGreenHolder_35(){
addFrameScript(0, this.frame1, 49, this.frame50);
}
function frame1(){
stop();
}
function frame50(){
this.trophyInfoFour.visible = false;
stop();
}
}
}//package love_me_graphics_fla
Section 10
//TrophyHolderRedHolder_45 (love_me_graphics_fla.TrophyHolderRedHolder_45)
package love_me_graphics_fla {
import flash.display.*;
public dynamic class TrophyHolderRedHolder_45 extends MovieClip {
public var trophyInfoOne:MovieClip;
public function TrophyHolderRedHolder_45(){
addFrameScript(0, this.frame1, 49, this.frame50, 199, this.frame200);
}
function frame1(){
stop();
}
function frame200(){
stop();
}
function frame50(){
this.trophyInfoOne.visible = false;
}
}
}//package love_me_graphics_fla
Section 11
//TrophyHolderYellowHolder_42 (love_me_graphics_fla.TrophyHolderYellowHolder_42)
package love_me_graphics_fla {
import flash.display.*;
public dynamic class TrophyHolderYellowHolder_42 extends MovieClip {
public var trophyInfoTwo:MovieClip;
public function TrophyHolderYellowHolder_42(){
addFrameScript(0, this.frame1, 49, this.frame50);
}
function frame50(){
this.trophyInfoTwo.visible = false;
stop();
}
function frame1(){
stop();
}
}
}//package love_me_graphics_fla
Section 12
//TrophyRainbowExplosions_5 (love_me_graphics_fla.TrophyRainbowExplosions_5)
package love_me_graphics_fla {
import flash.display.*;
public dynamic class TrophyRainbowExplosions_5 extends MovieClip {
public function TrophyRainbowExplosions_5(){
addFrameScript(149, this.frame150);
}
function frame150(){
stop();
}
}
}//package love_me_graphics_fla
Section 13
//Ball (loveme.Ball)
package loveme {
import bitmap_classes.*;
public class Ball extends BaseObject {
protected var diameter:Number;// = 999
protected var bitmapRenderSequence:BitmapRenderSequence;
protected var edgeBall:Boolean;// = false
public var markLowest:int;
protected var color:int;
protected var bitmapRender:BitmapRender;
protected var messageCallback:Function;
public var centerType:Boolean;
private static var bitmapRenderSequenceYellow:BitmapRenderSequence;
protected static var bitmapRenderSequenceEdge:BitmapRenderSequence;
private static var bitmapRenderSequenceGreen:BitmapRenderSequence;
public static var COLOR_GREEN:int = 1;
private static var bitmapRenderSequenceRed:BitmapRenderSequence;
private static var bitmapRenderSequenceBlue:BitmapRenderSequence;
public static var COLOR_YELLOW:int = 3;
public static var COLOR_RED:int = 0;
public static var COLOR_BLUE:int = 2;
private static var bitmapRenderSequenceCenter:BitmapRenderSequence;
private static var initGraphicsOnce:Boolean = true;
public function Ball(_arg1:BitmapRender, _arg2:Function){
super.render();
this.messageCallback = _arg2;
this.bitmapRender = _arg1;
if (initGraphicsOnce == true){
initGraphics(_arg1);
initGraphicsOnce = false;
};
animSpeed = 1;
lastFrame = (bitmapRenderSequenceEdge.getLength() - 1);
}
public function makeCenterBall():void{
centerType = true;
bitmapRenderSequence = bitmapRenderSequenceCenter;
}
public function getDiameter():Number{
return (diameter);
}
public function collide(_arg1:Ball):Boolean{
var _local2:Vec2 = _arg1.getPosition().sub(pos);
var _local3:Number = _local2.length;
if (int(_local3) <= (int((diameter / 2)) + int((_arg1.diameter / 2)))){
return (true);
};
return (false);
}
public function init(_arg1:Vec2, _arg2:Number, _arg3:int):void{
setPosVec(_arg1);
setColor(_arg3);
this.diameter = _arg2;
centerType = false;
edgeBall = false;
show();
}
override public function render():void{
super.render();
bitmapRenderSequence.renderMiddle(0, pos._x, pos._y);
if (edgeBall){
bitmapRenderSequenceEdge.renderMiddle(frame, pos._x, pos._y);
};
}
override public function tick():void{
super.tick();
if (edgeBall){
driveAnimationLoop();
};
}
public function setColor(_arg1:int):void{
this.color = _arg1;
setGraphicColor(_arg1);
}
private function setGraphicColor(_arg1:int):void{
switch (_arg1){
case COLOR_RED:
bitmapRenderSequence = bitmapRenderSequenceRed;
break;
case COLOR_GREEN:
bitmapRenderSequence = bitmapRenderSequenceGreen;
break;
case COLOR_BLUE:
bitmapRenderSequence = bitmapRenderSequenceBlue;
break;
case COLOR_YELLOW:
bitmapRenderSequence = bitmapRenderSequenceYellow;
break;
};
}
public function isEdgeBall():Boolean{
return (edgeBall);
}
override public function deleting():void{
}
public function makeEdgeBall():void{
edgeBall = true;
frame = 4;
}
public function getColor():int{
return (color);
}
public function edgeCollision():Boolean{
var _local4:InfoData;
var _local1:Boolean;
var _local2:Number = 0;
var _local3:Number = 0;
if (((((pos._x - Game.BALL_HALF_SIZE) < Game.LEFT_WALL_X)) && (((pos._x + Game.BALL_HALF_SIZE) > Game.LEFT_WALL_X)))){
_local1 = true;
_local2 = Game.LEFT_WALL_X;
_local3 = pos._y;
} else {
if (((((pos._x - Game.BALL_HALF_SIZE) < Game.RIGHT_WALL_X)) && (((pos._x + Game.BALL_HALF_SIZE) > Game.RIGHT_WALL_X)))){
_local1 = true;
_local2 = Game.RIGHT_WALL_X;
_local3 = pos._y;
} else {
if (((((pos._y - Game.BALL_HALF_SIZE) < Game.UP_WALL)) && (((pos._y + Game.BALL_HALF_SIZE) > Game.UP_WALL)))){
_local1 = true;
_local2 = pos._x;
_local3 = (Game.UP_WALL + 70);
};
};
};
if (_local1){
_local4 = new InfoData();
_local4.data1 = _local2;
_local4.data2 = _local3;
messageCallback("grid_ball_wall_collision", _local4);
return (true);
};
return (false);
}
public function isCenterType():Boolean{
if (centerType){
return (true);
};
return (false);
}
protected static function initGraphics(_arg1:BitmapRender):void{
bitmapRenderSequenceRed = new BitmapRenderSequence(_arg1);
var _local2:Array = new Array(new RedBug001(0, 0));
bitmapRenderSequenceRed.init(_local2);
bitmapRenderSequenceBlue = new BitmapRenderSequence(_arg1);
_local2 = new Array(new BlueBug001(0, 0));
bitmapRenderSequenceBlue.init(_local2);
bitmapRenderSequenceGreen = new BitmapRenderSequence(_arg1);
_local2 = new Array(new GreenBug001(0, 0));
bitmapRenderSequenceGreen.init(_local2);
bitmapRenderSequenceYellow = new BitmapRenderSequence(_arg1);
_local2 = new Array(new YellowBug001(0, 0));
bitmapRenderSequenceYellow.init(_local2);
bitmapRenderSequenceCenter = new BitmapRenderSequence(_arg1);
_local2 = new Array(new Drop(0, 0));
bitmapRenderSequenceCenter.init(_local2);
bitmapRenderSequenceEdge = new BitmapRenderSequence(_arg1);
_local2 = new Array(new Close01(0, 0), new Close02(0, 0), new Close03(0, 0), new Close04(0, 0), new Close05(0, 0), new Close06(0, 0), new Close07(0, 0), new Close08(0, 0), new Close09(0, 0), new Close10(0, 0), new Close09(0, 0), new Close08(0, 0), new Close07(0, 0), new Close06(0, 0), new Close05(0, 0), new Close04(0, 0), new Close03(0, 0), new Close02(0, 0));
bitmapRenderSequenceEdge.init(_local2);
}
}
}//package loveme
Section 14
//BaseObject (loveme.BaseObject)
package loveme {
public class BaseObject {
public var removeFlag:Boolean;// = false
protected var mov:Vec2;
public var pos:Vec2;
protected var flagForRemovalNextUpdate:Boolean;// = false
protected var firstTick:Boolean;// = true
public var visible:Boolean;// = true
protected var frame:int;// = 0
protected var animSpeed:Number;// = 1
protected var frameNumber:Number;// = 0
protected var lastFrame:int;// = 0
public function BaseObject(){
pos = new Vec2();
mov = new Vec2();
super();
}
public function isVisible():Boolean{
return (visible);
}
public function hide():void{
visible = false;
}
public function flagForRemoval():void{
removeFlag = true;
}
public function flagedForRemoval():Boolean{
return (removeFlag);
}
public function setPos(_arg1:Number, _arg2:Number):void{
pos._x = _arg1;
pos._y = _arg2;
}
public function tick():void{
pos.addSelf(mov);
}
protected function driveAnimationLoop():void{
if (firstTick == true){
firstTick = false;
} else {
frameNumber = (frameNumber + animSpeed);
frame = int(frameNumber);
};
if (frame > lastFrame){
frameNumber = (frameNumber - lastFrame);
frame = int(frameNumber);
};
}
public function getPosition():Vec2{
var _local1:Vec2 = new Vec2();
_local1.copy(pos);
return (_local1);
}
public function setPosVec(_arg1:Vec2):void{
this.pos.copy(_arg1);
}
public function render():void{
if (visible == false){
return;
};
}
protected function driveAnimation():void{
if (firstTick == true){
firstTick = false;
} else {
frameNumber = (frameNumber + animSpeed);
frame = int(frameNumber);
};
if (frame > lastFrame){
frameNumber = lastFrame;
frame = lastFrame;
flagForRemovalNextUpdate = true;
};
if (flagForRemovalNextUpdate == true){
removeFlag = true;
};
}
public function deleting():void{
}
public function setMovement(_arg1:Vec2):void{
this.mov.copy(_arg1);
}
public function show():void{
visible = true;
}
}
}//package loveme
Section 15
//BigCombo (loveme.BigCombo)
package loveme {
import bitmap_classes.*;
public class BigCombo extends BaseObject {
private static var initGraphicsOnce:Boolean = true;
private static var bitmapRenderSequence:BitmapRenderSequence;
public function BigCombo(_arg1:BitmapRender){
if (initGraphicsOnce == true){
initGraphics(_arg1);
initGraphicsOnce = false;
};
animSpeed = 0.8;
lastFrame = (bitmapRenderSequence.getLength() - 1);
}
private function initGraphics(_arg1:BitmapRender):void{
bitmapRenderSequence = new BitmapRenderSequence(_arg1);
var _local2:Array = new Array(new biggie01(0, 0), new biggie02(0, 0), new biggie03(0, 0), new biggie04(0, 0), new biggie05(0, 0), new biggie06(0, 0), new biggie07(0, 0), new biggie08(0, 0), new biggie09(0, 0), new biggie10(0, 0), new biggie11(0, 0));
bitmapRenderSequence.init(_local2);
}
override public function tick():void{
driveAnimation();
}
override public function render():void{
bitmapRenderSequence.renderMiddle(frame, pos._x, pos._y);
}
}
}//package loveme
Section 16
//Butterfly (loveme.Butterfly)
package loveme {
import flash.display.*;
public class Butterfly {
private var speed:Number;// = 3.2
private var dir:Vec2;
private var clip:MovieClip;
private var pos:Vec2;
private var rotation:Number;
public function Butterfly(_arg1:MovieClip){
pos = new Vec2();
dir = new Vec2();
super();
this.clip = _arg1;
pos._x = _arg1.x;
pos._y = _arg1.y;
randomDirection();
randomSpeed();
}
private function updateRandomDirection():void{
var _local1:int;
var _local2:Number;
var _local3:int;
_local1 = int((Math.random() * 25));
if (_local1 == 0){
_local2 = ((Math.random() * Math.PI) / 4);
_local3 = int((Math.random() * 2));
if (_local3 == 0){
_local2 = (_local2 * -1);
};
dir.rotateSelf(_local2);
};
_local1 = int((Math.random() * 50));
if (_local1 == 0){
_local2 = ((Math.random() * Math.PI) / 2);
_local3 = int((Math.random() * 2));
if (_local3 == 0){
_local2 = (_local2 * -1);
};
dir.rotateSelf(_local2);
randomSpeed();
};
}
private function randomDirection():void{
dir._x = 1;
dir._y = 0;
var _local1:Number = ((Math.random() * 2) * Math.PI);
dir.rotateSelf(_local1);
}
private function randomSpeed():void{
speed = ((Math.random() * 2) + 1);
}
public function setPos(_arg1:Vec2):void{
this.pos._x = _arg1._x;
this.pos._y = _arg1._y;
}
public function render():void{
clip.x = pos._x;
clip.y = pos._y;
clip.rotation = rotation;
}
public function tick():void{
var _local1:Vec2;
updateRandomDirection();
dir.normalizeSelf();
rotation = (((dir.rad() * 180) / Math.PI) + 90);
_local1 = dir.scale(speed);
pos.addSelf(_local1);
if (pos._x < -420){
dir._x = (dir._x * -1);
} else {
if (pos._x > 420){
dir._x = (dir._x * -1);
};
};
if (pos._y < -300){
dir._y = (dir._y * -1);
} else {
if (pos._y > 300){
dir._y = (dir._y * -1);
};
};
dir.normalizeSelf();
}
}
}//package loveme
Section 17
//Cannon (loveme.Cannon)
package loveme {
import bitmap_classes.*;
public class Cannon extends BaseObject {
private var cannonBlast:CannonBlast;
private var connonCollisionBallCenter:Vec2;
private var rotationVec:Vec2;
private var dir:Vec2;
private var cannonTopPosVec:Vec2;
private var color:int;// = 0
private var showingBall:Boolean;
private var cannonTopPosVecAdjusted:Vec2;
private var shooting:Boolean;
private var lock:Boolean;
protected var messageCallback:Function;
private var cannonSmoke:CannonSmoke;
private var collionBall:Ball;
private var shootingTickCounter:int;
public static var SHOOTING_TICKS:int = 5;
private static var cannonEmptyrSequence:BitmapRenderSequence;
private static var cannonGreenSequence:BitmapRenderSequence;
public static var CANNON_ROTATION_CENTER_POS:Vec2 = new Vec2(CANNON_ROTATION_CENTER_X, CANNON_ROTATION_CENTER_Y);
public static var CANNON_POS_X:int = 316;
public static var CANNON_POS_Y:int = 453;
public static var CANNON_ROTATION_CENTER_X:int = Game.USER_BALL_START_POS_X;
public static var CANNON_ROTATION_CENTER_Y:int = Game.USER_BALL_START_POS_Y;
private static var cannonRedSequence:BitmapRenderSequence;
private static var cannonYellowSequence:BitmapRenderSequence;
private static var cannonBlueSequence:BitmapRenderSequence;
public function Cannon(_arg1:BitmapRender, _arg2:Function){
dir = new Vec2();
cannonTopPosVec = new Vec2();
cannonTopPosVecAdjusted = new Vec2();
connonCollisionBallCenter = new Vec2();
rotationVec = new Vec2();
super();
this.messageCallback = _arg2;
initGraphics(_arg1);
cannonBlast = new CannonBlast(_arg1);
cannonSmoke = new CannonSmoke(_arg1);
collionBall = new Ball(_arg1, _arg2);
}
public function unlock():void{
lock = false;
}
public function init():void{
shooting = false;
shootingTickCounter = 0;
collionBall.init(new Vec2(), Game.BALL_SIZE, 1);
lock = false;
}
public function setDirection(_arg1:Number, _arg2:Number):void{
dir._x = _arg1;
dir._y = _arg2;
dir.subSelf(Cannon.CANNON_ROTATION_CENTER_POS);
dir.normalizeSelf();
}
public function getCollisionBall():Ball{
return (collionBall);
}
public function showBall():void{
showingBall = true;
}
override public function tick():void{
var _local9:Number;
var _local1:Number = dir.rad();
var _local2:Number = 0;
var _local3 = 14;
var _local4:Number = 0.9;
var _local5:Number = ((2 * _local4) / _local3);
var _local6:Number = (_local5 / 2);
var _local7:Number = ((-(XPMath.pi) / 2) - _local4);
var _local8:Number = ((-(XPMath.pi) / 2) + _local4);
var _local10:int;
while (_local10 < (_local3 + 1)) {
_local9 = (_local7 + (_local10 * _local5));
if ((((_local1 >= (_local9 - _local6))) && ((_local1 <= (_local9 + _local6))))){
frame = _local10;
_local2 = _local9;
};
_local10++;
};
if (_local1 <= _local7){
frame = 0;
_local2 = _local7;
};
if (_local1 >= _local8){
frame = 14;
_local2 = _local8;
};
rotationVec._x = 10;
rotationVec._y = 0;
rotationVec.rotateSelf(-(_local2));
rotationVec.normalizeSelf();
cannonTopPosVec.copy(rotationVec);
cannonTopPosVec.scaleSelf((47 - 10));
cannonTopPosVec.addSelf(CANNON_ROTATION_CENTER_POS);
cannonTopPosVecAdjusted.copy(rotationVec);
cannonTopPosVecAdjusted.scaleSelf(54);
cannonTopPosVecAdjusted.addSelf(CANNON_ROTATION_CENTER_POS);
connonCollisionBallCenter.copy(rotationVec);
connonCollisionBallCenter.scaleSelf(30);
connonCollisionBallCenter.addSelf(CANNON_ROTATION_CENTER_POS);
shootingTickCounter--;
if (shootingTickCounter == 0){
shooting = false;
};
if (shooting == true){
frame = (frame + 15);
showingBall = false;
} else {
if (lock == false){
showingBall = true;
};
};
cannonBlast.tick();
cannonSmoke.setPosVec(cannonTopPosVec);
cannonSmoke.tick();
collionBall.setPosVec(connonCollisionBallCenter);
}
public function setColor(_arg1:int):void{
this.color = _arg1;
}
override public function render():void{
cannonSmoke.render();
cannonBlast.render();
cannonEmptyrSequence.render(frame, CANNON_POS_X, CANNON_POS_Y);
if ((((showingBall == false)) || ((shooting == true)))){
return;
};
switch (color){
case Ball.COLOR_RED:
cannonRedSequence.render(frame, CANNON_POS_X, CANNON_POS_Y);
break;
case Ball.COLOR_GREEN:
cannonGreenSequence.render(frame, CANNON_POS_X, CANNON_POS_Y);
break;
case Ball.COLOR_BLUE:
cannonBlueSequence.render(frame, CANNON_POS_X, CANNON_POS_Y);
break;
case Ball.COLOR_YELLOW:
cannonYellowSequence.render(frame, CANNON_POS_X, CANNON_POS_Y);
break;
};
}
public function hideBall():void{
showingBall = false;
}
public function isShooting():Boolean{
return (shooting);
}
public function shoot():void{
shooting = true;
lock = true;
shootingTickCounter = (SHOOTING_TICKS + 1);
cannonBlast.setPosVec(cannonTopPosVecAdjusted);
cannonBlast.startAnimation();
cannonSmoke.setPosVec(cannonTopPosVecAdjusted);
cannonSmoke.startAnimation();
}
public function getTopPos():Vec2{
return (cannonTopPosVec);
}
private static function initGraphics(_arg1:BitmapRender):void{
cannonEmptyrSequence = new BitmapRenderSequence(_arg1);
var _local2:Array = new Array(new Cannon01(0, 0), new Cannon03(0, 0), new Cannon05(0, 0), new Cannon07(0, 0), new Cannon09(0, 0), new Cannon11(0, 0), new Cannon13(0, 0), new Cannon15(0, 0), new Cannon17(0, 0), new Cannon19(0, 0), new Cannon21(0, 0), new Cannon23(0, 0), new Cannon25(0, 0), new Cannon27(0, 0), new Cannon29(0, 0), new Cannon02(0, 0), new Cannon04(0, 0), new Cannon06(0, 0), new Cannon08(0, 0), new Cannon10(0, 0), new Cannon12(0, 0), new Cannon14(0, 0), new Cannon16(0, 0), new Cannon18(0, 0), new Cannon20(0, 0), new Cannon22(0, 0), new Cannon24(0, 0), new Cannon26(0, 0), new Cannon28(0, 0), new Cannon30(0, 0));
cannonEmptyrSequence.init(_local2);
cannonRedSequence = new BitmapRenderSequence(_arg1);
_local2 = new Array(new CRed01(0, 0), new CRed02(0, 0), new CRed03(0, 0), new CRed04(0, 0), new CRed05(0, 0), new CRed06(0, 0), new CRed07(0, 0), new CRed08(0, 0), new CRed09(0, 0), new CRed10(0, 0), new CRed11(0, 0), new CRed12(0, 0), new CRed13(0, 0), new CRed14(0, 0), new CRed15(0, 0));
cannonRedSequence.init(_local2);
cannonGreenSequence = new BitmapRenderSequence(_arg1);
_local2 = new Array(new CGreen01(0, 0), new CGreen02(0, 0), new CGreen03(0, 0), new CGreen04(0, 0), new CGreen05(0, 0), new CGreen06(0, 0), new CGreen07(0, 0), new CGreen08(0, 0), new CGreen09(0, 0), new CGreen10(0, 0), new CGreen11(0, 0), new CGreen12(0, 0), new CGreen13(0, 0), new CGreen14(0, 0), new CGreen15(0, 0));
cannonGreenSequence.init(_local2);
cannonBlueSequence = new BitmapRenderSequence(_arg1);
_local2 = new Array(new CBlue01(0, 0), new CBlue02(0, 0), new CBlue03(0, 0), new CBlue04(0, 0), new CBlue05(0, 0), new CBlue06(0, 0), new CBlue07(0, 0), new CBlue08(0, 0), new CBlue09(0, 0), new CBlue10(0, 0), new CBlue11(0, 0), new CBlue12(0, 0), new CBlue13(0, 0), new CBlue14(0, 0), new CBlue15(0, 0));
cannonBlueSequence.init(_local2);
cannonYellowSequence = new BitmapRenderSequence(_arg1);
_local2 = new Array(new CYellow01(0, 0), new CYellow02(0, 0), new CYellow03(0, 0), new CYellow04(0, 0), new CYellow05(0, 0), new CYellow06(0, 0), new CYellow07(0, 0), new CYellow08(0, 0), new CYellow09(0, 0), new CYellow10(0, 0), new CYellow11(0, 0), new CYellow12(0, 0), new CYellow13(0, 0), new CYellow14(0, 0), new CYellow15(0, 0));
cannonYellowSequence.init(_local2);
}
}
}//package loveme
Section 18
//CannonBlast (loveme.CannonBlast)
package loveme {
import bitmap_classes.*;
public class CannonBlast extends BaseObject {
private var animate:Boolean;
private static var initGraphicsOnce:Boolean = true;
private static var bitmapRenderSequence:BitmapRenderSequence;
public function CannonBlast(_arg1:BitmapRender){
if (initGraphicsOnce == true){
initGraphics(_arg1);
initGraphicsOnce = false;
};
animSpeed = 0.3;
lastFrame = (bitmapRenderSequence.getLength() - 1);
animate = false;
}
override public function render():void{
if (animate){
bitmapRenderSequence.renderMiddle(frame, pos._x, pos._y);
};
}
public function startAnimation():void{
animate = true;
firstTick = true;
frameNumber = 0;
flagForRemovalNextUpdate = false;
}
override protected function driveAnimation():void{
if (firstTick == true){
firstTick = false;
} else {
frameNumber = (frameNumber + animSpeed);
frame = int(frameNumber);
};
if (frame > lastFrame){
frameNumber = lastFrame;
frame = lastFrame;
flagForRemovalNextUpdate = true;
};
if (flagForRemovalNextUpdate == true){
animate = false;
};
}
private function initGraphics(_arg1:BitmapRender):void{
bitmapRenderSequence = new BitmapRenderSequence(_arg1);
var _local2:Array = new Array(new blast01(0, 0), new blast02(0, 0), new blast03(0, 0), new blast04(0, 0), new blast05(0, 0), new blast06(0, 0), new blast07(0, 0), new blast08(0, 0), new blast09(0, 0));
bitmapRenderSequence.init(_local2);
}
override public function tick():void{
if (animate){
driveAnimation();
};
}
}
}//package loveme
Section 19
//CannonSmoke (loveme.CannonSmoke)
package loveme {
import bitmap_classes.*;
public class CannonSmoke extends BaseObject {
private var animate:Boolean;
private static var initGraphicsOnce:Boolean = true;
private static var bitmapRenderSequence:BitmapRenderSequence;
public function CannonSmoke(_arg1:BitmapRender){
if (initGraphicsOnce == true){
initGraphics(_arg1);
initGraphicsOnce = false;
};
animSpeed = 0.33;
lastFrame = (bitmapRenderSequence.getLength() - 1);
animate = false;
}
override public function render():void{
if (animate){
bitmapRenderSequence.render(frame, (pos._x - 39), (pos._y - 147));
};
}
public function startAnimation():void{
animate = true;
firstTick = true;
frameNumber = 0;
flagForRemovalNextUpdate = false;
}
override protected function driveAnimation():void{
if (firstTick == true){
firstTick = false;
} else {
frameNumber = (frameNumber + animSpeed);
frame = int(frameNumber);
};
if (frame > lastFrame){
frameNumber = lastFrame;
frame = lastFrame;
flagForRemovalNextUpdate = true;
};
if (flagForRemovalNextUpdate == true){
animate = false;
};
}
private function initGraphics(_arg1:BitmapRender):void{
bitmapRenderSequence = new BitmapRenderSequence(_arg1);
var _local2:Array = new Array(new smoke01(0, 0), new smoke02(0, 0), new smoke03(0, 0), new smoke04(0, 0), new smoke05(0, 0), new smoke06(0, 0), new smoke07(0, 0), new smoke08(0, 0), new smoke09(0, 0), new smoke10(0, 0), new smoke11(0, 0), new smoke12(0, 0), new smoke13(0, 0), new smoke14(0, 0), new smoke15(0, 0), new smoke16(0, 0), new smoke17(0, 0));
bitmapRenderSequence.init(_local2);
}
override public function tick():void{
if (animate){
driveAnimation();
};
}
}
}//package loveme
Section 20
//Communicator (loveme.Communicator)
package loveme {
import loveme.*;
import flash.external.*;
import flash.system.*;
import flash.xml.*;
class Communicator {
public static var largeCombos:int = 1;
public static var soundsOn:Boolean = true;
public static var personlaBest:int = 1;
public static var reachedLevel:int = 1;
public static var randomSeed:int;
public static var moneyGame:Boolean = false;
public static var openGame:Boolean = false;
private static var relaxGame:Boolean = false;
public static var normal:Boolean = false;
public static var boosters:Object;
public static var musicOn:Boolean = true;
public static var lang;
public static var bonusBetween:int = 1;
public static var levelsCleared:int = 1;
public static function gameEnd(_arg1){
if (normal){
fscommand("gameEnd", _arg1);
};
trace(("send gameEnd score: " + _arg1));
}
public static function sendPlayData1(_arg1:int, _arg2:int, _arg3:int){
if (moneyGame){
ExternalInterface.call("playData", (((((_arg1 + ",") + _arg2) + ",") + _arg3) + ",0=0"));
};
}
public static function sendPlayData2(_arg1:int, _arg2:int, _arg3:int, _arg4:int){
if (moneyGame){
ExternalInterface.call("playData", (((((((_arg1 + ",") + _arg2) + ",") + _arg3) + ",") + _arg4) + ",0=0"));
};
}
public static function parseGameData(_arg1:String){
var _local15:String;
var _local16:String;
var _local17:String;
var _local2:XMLDocument = new XMLDocument(_arg1);
var _local3:* = _local2.childNodes[0].childNodes;
randomSeed = int(_local2.childNodes[0].attributes.randomseed);
lang = _local2.childNodes[0].attributes.lang.valueOf();
var _local4:String = _local2.childNodes[0].attributes.levelscleared;
var _local5:String = _local2.childNodes[0].attributes.largecombos;
var _local6:String = _local2.childNodes[0].attributes.bonusbetween;
var _local7:String = _local2.childNodes[0].attributes.reachedlevel;
var _local8:String = _local2.childNodes[0].attributes.personalbest;
var _local9:String = _local2.childNodes[0].attributes.musicon;
var _local10:String = _local2.childNodes[0].attributes.soundson;
levelsCleared = int(_local4);
largeCombos = int(_local5);
bonusBetween = int(_local6);
reachedLevel = int(_local7);
personlaBest = int(_local8);
if (_local9 == "1"){
musicOn = true;
} else {
musicOn = false;
};
if (_local10 == "1"){
soundsOn = true;
} else {
soundsOn = false;
};
var _local11:String = _local2.childNodes[0].attributes.relaxMode;
if (_local11 == "true"){
relaxGame = true;
} else {
relaxGame = false;
};
var _local12:Array = new Array();
var _local13:* = 0;
while (_local13 < _local3.length) {
if (_local3[_local13].nodeName == "text"){
if (_local3[_local13].attributes.id == "instructions_text1"){
_local15 = new String(_local3[_local13].firstChild.nodeValue);
TextProperties.INSTRUCTIONS_TEXT1 = fixStr(_local15);
} else {
if (_local3[_local13].attributes.id == "instructions_header"){
_local15 = new String(_local3[_local13].firstChild.nodeValue);
TextProperties.INSTRUCTIONS_HEADER = fixStr(_local15);
} else {
if (_local3[_local13].attributes.id == "game_starts_in"){
_local15 = new String(_local3[_local13].firstChild.nodeValue);
TextProperties.GAME_STARTS_IN = fixStr(_local15);
} else {
if (_local3[_local13].attributes.id == "game_ends_in"){
_local15 = new String(_local3[_local13].firstChild.nodeValue);
TextProperties.GAME_ENDS_IN = fixStr(_local15);
} else {
if (_local3[_local13].attributes.id == "level_bonus"){
_local15 = new String(_local3[_local13].firstChild.nodeValue);
TextProperties.LEVEL_BONUS = fixStr(_local15);
} else {
if (_local3[_local13].attributes.id == "end_screen_header"){
_local15 = new String(_local3[_local13].firstChild.nodeValue);
TextProperties.END_SCREEN_HEADER = fixStr(_local15);
} else {
if (_local3[_local13].attributes.id == "end_screen_score"){
_local15 = new String(_local3[_local13].firstChild.nodeValue);
TextProperties.END_SCREEN_SCORE = fixStr(_local15);
} else {
if (_local3[_local13].attributes.id == "end_screen_level_bonus"){
_local15 = new String(_local3[_local13].firstChild.nodeValue);
TextProperties.END_SCREEN_LEVEL_BONUS = fixStr(_local15);
} else {
if (_local3[_local13].attributes.id == "end_screen_total_score"){
_local15 = new String(_local3[_local13].firstChild.nodeValue);
TextProperties.END_SCREEN_TOTAL_SCORE = fixStr(_local15);
} else {
if (_local3[_local13].attributes.id == "end_screen_new_best"){
_local15 = new String(_local3[_local13].firstChild.nodeValue);
TextProperties.END_SCREEN_NEW_BEST = fixStr(_local15);
} else {
if (_local3[_local13].attributes.id == "end_screen_personal_best"){
_local15 = new String(_local3[_local13].firstChild.nodeValue);
TextProperties.END_SCREEN_PERSONAL_BEST = fixStr(_local15);
} else {
if (_local3[_local13].attributes.id == "end_screen_trophy1_info"){
_local15 = new String(_local3[_local13].firstChild.nodeValue);
TextProperties.GAME_END_TROPHY1 = fixStr(_local15);
} else {
if (_local3[_local13].attributes.id == "end_screen_trophy2_info"){
_local15 = new String(_local3[_local13].firstChild.nodeValue);
TextProperties.GAME_END_TROPHY2 = fixStr(_local15);
} else {
if (_local3[_local13].attributes.id == "end_screen_trophy3_info"){
_local15 = new String(_local3[_local13].firstChild.nodeValue);
TextProperties.GAME_END_TROPHY3 = fixStr(_local15);
} else {
if (_local3[_local13].attributes.id == "end_screen_trophy4_info"){
_local15 = new String(_local3[_local13].firstChild.nodeValue);
TextProperties.GAME_END_TROPHY4 = fixStr(_local15);
} else {
if (_local3[_local13].attributes.id == "open_game_text"){
_local15 = new String(_local3[_local13].firstChild.nodeValue);
TextProperties.OPEN_GAME_TEXT = fixStr(_local15);
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
if (_local3[_local13].nodeName == "userType"){
_local17 = new String(_local3[_local13].firstChild.nodeValue);
if (_local17 == "0"){
openGame = true;
} else {
openGame = false;
};
};
_local13++;
};
boosters = new Object();
boosters.a = 0;
boosters.b = 0;
boosters.c = 0;
boosters.d = 0;
var _local14:XML = new XML(_arg1);
if (_local14.boosters != null){
boosters.a = ((_local14.boosters.a)!=null) ? int(_local14.boosters.a.@value) : 0;
boosters.b = ((_local14.boosters.b)!=null) ? int(_local14.boosters.b.@value) : 0;
boosters.c = ((_local14.boosters.c)!=null) ? int(_local14.boosters.c.@value) : 0;
boosters.d = ((_local14.boosters.d)!=null) ? int(_local14.boosters.d.@value) : 0;
};
}
public static function setMoneyGame(_arg1:Boolean){
moneyGame = _arg1;
}
public static function isRelaxGame():Boolean{
return (relaxGame);
}
public static function sendPlayData3(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int){
if (moneyGame){
ExternalInterface.call("playData", (((((((((_arg1 + ",") + _arg2) + ",") + _arg3) + ",") + _arg4) + ",") + _arg5) + ",0=0"));
};
}
public static function isOpenGame():Boolean{
return (openGame);
}
public static function gameStarted(){
if (normal){
fscommand("gameStart");
};
trace("send gameStart");
}
public static function setModeDebugMode(_arg1:Boolean):void{
if (_arg1){
normal = false;
moneyGame = false;
} else {
normal = true;
moneyGame = true;
};
}
public static function sendPlayData10Number(_arg1:int, _arg2:int, _arg3:int, _arg4:Number=0, _arg5:Number=0, _arg6:Number=0, _arg7:Number=0, _arg8:Number=0, _arg9:Number=0, _arg10:Number=0, _arg11:Number=0, _arg12:Number=0){
if (moneyGame){
ExternalInterface.call("playData", (((((((((((((((((((((((_arg1 + ",") + _arg2) + ",") + _arg3) + ",") + _arg4) + ",") + _arg5) + ",") + _arg6) + ",") + _arg7) + ",") + _arg8) + ",") + _arg9) + ",") + _arg10) + ",") + _arg11) + ",") + _arg12) + ",0=0"));
};
}
public static function sendPlayData3Number(_arg1:int, _arg2:int, _arg3:int, _arg4:Number, _arg5:Number){
if (moneyGame){
ExternalInterface.call("playData", (((((((((_arg1 + ",") + _arg2) + ",") + _arg3) + ",") + _arg4) + ",") + _arg5) + ",0=0"));
};
}
public static function gameQuit(){
if (normal){
fscommand("gameQuit");
};
trace("send gameQuit");
}
private static function fixStr(_arg1:String):String{
var _local2:String = _arg1.split("\r\n").join("\n");
return (_local2);
}
public static function sendPlayData5Number(_arg1:int, _arg2:int, _arg3:int, _arg4:Number, _arg5:Number, _arg6:Number, _arg7:Number){
if (moneyGame){
ExternalInterface.call("playData", (((((((((((((_arg1 + ",") + _arg2) + ",") + _arg3) + ",") + _arg4) + ",") + _arg5) + ",") + _arg6) + ",") + _arg7) + ",0=0"));
};
}
}
}//package loveme
Section 21
//CrossSign (loveme.CrossSign)
package loveme {
import flash.display.*;
import bitmap_classes.*;
public class CrossSign extends BaseObject {
private var renderCounter:int;// = 0
private var lineNormalized:Vec2;
public var debugVec1:Vec2;
public var debugVec2:Vec2;
private var startPos:Vec2;
public var debugVec4:Vec2;
public var debugVec3:Vec2;
private var userBallStartPos:Vec2;
private var bitmapRender:BitmapRender;
private var positions:Array;
public static var NUMBER_CROSS_SIGNS:int = 7;
private static var initGraphicsOnce:Boolean = true;
private static var bitmapRenderSequence:BitmapRenderSequence;
public static var RIGHT_WALL_Y:int = 641;
private static var bitmapRenderSequenceSmall:BitmapRenderSequence;
public static var LEFT_WALL_Y:int = 114;
public static var UP_WALL:int = 0;
public static var DOWN_BOARDER:int = 456;
public function CrossSign(_arg1:BitmapRender){
userBallStartPos = new Vec2();
startPos = new Vec2();
lineNormalized = new Vec2();
debugVec1 = new Vec2();
debugVec2 = new Vec2();
debugVec3 = new Vec2();
debugVec4 = new Vec2();
super();
this.bitmapRender = _arg1;
if (initGraphicsOnce == true){
initGraphics(_arg1);
initGraphicsOnce = false;
};
animSpeed = 0.3;
lastFrame = (bitmapRenderSequence.getLength() - 1);
positions = new Array(NUMBER_CROSS_SIGNS);
var _local2:int;
while (_local2 < positions.length) {
positions[_local2] = new Vec2();
_local2++;
};
}
override public function render():void{
if (renderCounter < 3){
renderCounter++;
return;
};
var _local1:int;
while (_local1 < (positions.length - 1)) {
bitmapRenderSequenceSmall.renderMiddle(frame, positions[_local1]._x, positions[_local1]._y);
_local1++;
};
bitmapRenderSequence.renderMiddle(frame, positions[(positions.length - 1)]._x, positions[(positions.length - 1)]._y);
}
public function init(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number):void{
setPos(_arg1, _arg2);
userBallStartPos._x = _arg3;
userBallStartPos._y = _arg4;
}
public function setStartPos(_arg1:Vec2):void{
this.startPos.copy(_arg1);
}
public function shootDirection():Vec2{
return (lineNormalized);
}
override public function tick():void{
driveAnimationLoop();
if (pos._x <= LEFT_WALL_Y){
pos._x = LEFT_WALL_Y;
} else {
if (pos._x >= RIGHT_WALL_Y){
pos._x = RIGHT_WALL_Y;
};
};
if ((pos._y - Game.BALL_HALF_SIZE) <= UP_WALL){
pos._y = UP_WALL;
} else {
if (pos._y > DOWN_BOARDER){
pos._y = DOWN_BOARDER;
};
};
lineNormalized.copy(pos);
debugVec1.copy(lineNormalized);
lineNormalized.subSelf(startPos);
debugVec2.copy(lineNormalized);
var _local1:Number = lineNormalized.length;
var _local2:Number = (_local1 / (positions.length - 1));
lineNormalized.normalizeSelf();
debugVec3.copy(lineNormalized);
debugVec4.copy(startPos);
var _local3:Vec2 = new Vec2();
var _local4:int;
while (_local4 < positions.length) {
positions[_local4].copy(startPos);
_local3.copy(lineNormalized);
_local3.scaleSelf((_local4 * _local2));
positions[_local4].addSelf(_local3);
_local4++;
};
}
public function direction():Vec2{
return (pos.sub(Cannon.CANNON_ROTATION_CENTER_POS).normalize());
}
private static function initGraphics(_arg1:BitmapRender):void{
bitmapRenderSequence = new BitmapRenderSequence(_arg1);
var _local2:Array = new Array(new Star02_01(0, 0), new Star02_02(0, 0), new Star02_03(0, 0), new Star02_04(0, 0), new Star02_05(0, 0), new Star02_06(0, 0), new Star02_07(0, 0), new Star02_08(0, 0));
bitmapRenderSequence.init(_local2);
bitmapRenderSequenceSmall = new BitmapRenderSequence(_arg1);
_local2 = new Array(new SmallStar01(0, 0), new SmallStar02(0, 0), new SmallStar03(0, 0), new SmallStar04(0, 0), new SmallStar05(0, 0), new SmallStar06(0, 0), new SmallStar07(0, 0), new SmallStar08(0, 0));
bitmapRenderSequenceSmall.init(_local2);
}
}
}//package loveme
Section 22
//EdgeEffect (loveme.EdgeEffect)
package loveme {
import bitmap_classes.*;
public class EdgeEffect extends BaseObject {
private static var initGraphicsOnce:Boolean = true;
private static var bitmapRenderSequence:BitmapRenderSequence;
public function EdgeEffect(_arg1:BitmapRender){
if (initGraphicsOnce == true){
initGraphics(_arg1);
initGraphicsOnce = false;
};
animSpeed = 1;
lastFrame = (bitmapRenderSequence.getLength() - 1);
}
private function initGraphics(_arg1:BitmapRender):void{
bitmapRenderSequence = new BitmapRenderSequence(_arg1);
var _local2:Array = new Array(new EdgeHit01(0, 0), new EdgeHit02(0, 0), new EdgeHit03(0, 0), new EdgeHit04(0, 0), new EdgeHit05(0, 0), new EdgeHit06(0, 0), new EdgeHit07(0, 0), new EdgeHit08(0, 0), new EdgeHit09(0, 0), new EdgeHit10(0, 0));
bitmapRenderSequence.init(_local2);
}
override public function tick():void{
driveAnimation();
}
override public function render():void{
bitmapRenderSequence.renderMiddle(frame, pos._x, pos._y);
}
}
}//package loveme
Section 23
//Fairy (loveme.Fairy)
package loveme {
import bitmap_classes.*;
public class Fairy extends BaseObject {
private var randomSpread:Number;
private static var initGraphicsOnce:Boolean = true;
private static var bitmapRenderSequence:BitmapRenderSequence;
public function Fairy(_arg1:BitmapRender){
if (initGraphicsOnce == true){
initGraphics(_arg1);
initGraphicsOnce = false;
};
mov._y = -4;
animSpeed = 0.8;
lastFrame = (bitmapRenderSequence.getLength() - 1);
}
public function init(_arg1:Vec2, _arg2:Vec2, _arg3:Number):void{
this.randomSpread = _arg3;
setPosVec(_arg1);
calcVerticalMovement(_arg2);
}
override public function render():void{
bitmapRenderSequence.render(frame, (pos._x - 21), (pos._y - 22));
}
private function calcVerticalMovement(_arg1:Vec2):void{
var _local2:Vec2;
_local2 = pos.sub(_arg1);
_local2.normalizeSelf();
_local2._y = 0;
_local2.scaleSelf((1 + randomSpread));
mov._x = _local2._x;
}
private function initGraphics(_arg1:BitmapRender):void{
bitmapRenderSequence = new BitmapRenderSequence(_arg1);
var _local2:Array = new Array(new fairy01(0, 0), new fairy02(0, 0), new fairy03(0, 0), new fairy04(0, 0));
bitmapRenderSequence.init(_local2);
}
override public function tick():void{
driveAnimationLoop();
super.tick();
if (pos._y < -40){
flagForRemoval();
};
}
}
}//package loveme
Section 24
//FairyDust (loveme.FairyDust)
package loveme {
import bitmap_classes.*;
public class FairyDust extends BaseObject {
private var randomSpread:Number;
private static var initGraphicsOnce:Boolean = true;
private static var bitmapRenderSequence:BitmapRenderSequence;
public function FairyDust(_arg1:BitmapRender){
if (initGraphicsOnce == true){
initGraphics(_arg1);
initGraphicsOnce = false;
};
mov._y = -4;
animSpeed = 1;
lastFrame = (bitmapRenderSequence.getLength() - 1);
}
public function init(_arg1:Vec2, _arg2:Vec2, _arg3:Number):void{
this.randomSpread = _arg3;
setPosVec(_arg1);
calcVerticalMovement(_arg2);
}
override public function render():void{
bitmapRenderSequence.render(frame, (pos._x - 45), (pos._y - 11));
}
private function calcVerticalMovement(_arg1:Vec2):void{
var _local2:Vec2;
_local2 = pos.sub(_arg1);
_local2.normalizeSelf();
_local2._y = 0;
_local2.scaleSelf((1 + randomSpread));
mov._x = _local2._x;
}
private function initGraphics(_arg1:BitmapRender):void{
bitmapRenderSequence = new BitmapRenderSequence(_arg1);
var _local2:Array = new Array(new duststart01(0, 0), new duststart02(0, 0), new duststart03(0, 0), new duststart04(0, 0), new duststart05(0, 0), new dustloop01(0, 0), new dustloop02(0, 0), new dustloop03(0, 0), new dustloop04(0, 0), new dustloop05(0, 0), new dustloop06(0, 0), new dustloop07(0, 0), new dustloop08(0, 0), new dustloop09(0, 0), new dustloop10(0, 0), new dustloop11(0, 0), new dustloop12(0, 0), new dustloop13(0, 0), new dustloop14(0, 0), new dustloop15(0, 0));
bitmapRenderSequence.init(_local2);
}
override public function tick():void{
driveAnimationLoop();
super.tick();
if (pos._y < -180){
flagForRemoval();
};
}
override protected function driveAnimationLoop():void{
if (firstTick == true){
firstTick = false;
} else {
frameNumber = (frameNumber + animSpeed);
frame = int(frameNumber);
};
if (frame > lastFrame){
frameNumber = (frameNumber - 15);
frame = int(frameNumber);
};
}
}
}//package loveme
Section 25
//FlipData (loveme.FlipData)
package loveme {
public class FlipData {
public var length;
public var ball:Ball;
}
}//package loveme
Section 26
//FlyingBall (loveme.FlyingBall)
package loveme {
import bitmap_classes.*;
public class FlyingBall extends Ball {
private var downMov:Vec2;
private var explodeMov:Vec2;
protected var centerPos:Vec2;
public static var EXPLODE_SPEED:Number = 4;
public static var DOWN_ACCELERATION:Number = 0.5;
public static var DOWN_MAX_SPEED:Number = 20;
public function FlyingBall(_arg1:BitmapRender, _arg2:Function){
centerPos = new Vec2();
explodeMov = new Vec2();
downMov = new Vec2();
super(_arg1, _arg2);
}
protected function markCollisionTest():Boolean{
var _local2:InfoData;
var _local1:Ball = new Ball(null, null);
_local1.init(new Vec2(376, 1485), 2000, 1);
if (collide(_local1)){
_local2 = new InfoData();
_local2.data1 = pos._x;
_local2.data2 = (pos._y + 20);
if (markLowest == 1){
_local2.data3 = 1;
} else {
if (markLowest == 2){
_local2.data3 = 2;
} else {
_local2.data3 = 0;
};
};
messageCallback("flying_ball_mark_collision", _local2);
return (true);
};
return (false);
}
private function updateMovement():void{
downMov._y = (downMov._y + DOWN_ACCELERATION);
if (downMov._y > DOWN_MAX_SPEED){
downMov._y = DOWN_MAX_SPEED;
};
explodeMov.scaleSelf(0.96);
mov = downMov.add(explodeMov);
}
protected function calcMovement():void{
explodeMov = pos.sub(centerPos);
explodeMov.normalizeSelf();
explodeMov.scaleSelf(EXPLODE_SPEED);
explodeMov._y = 0;
downMov = new Vec2(0, 0);
updateMovement();
}
override public function tick():void{
updateMovement();
pos.addSelf(mov);
if ((pos._x + Game.BALL_SIZE) < 0){
flagForRemoval();
} else {
if ((pos._x - Game.BALL_SIZE) > Game.GAME_WIDTH){
flagForRemoval();
} else {
if ((pos._y + Game.BALL_SIZE) < 0){
flagForRemoval();
} else {
if ((pos._y - Game.BALL_SIZE) > Game.GAME_HEIGHT){
flagForRemoval();
};
};
};
};
if (markCollisionTest()){
flagForRemoval();
};
}
public function initFlyingBall(_arg1:Vec2, _arg2:Number, _arg3:int, _arg4:Vec2):void{
super.init(_arg1, _arg2, _arg3);
this.centerPos.copy(_arg4);
calcMovement();
}
}
}//package loveme
Section 27
//FlyingDrop (loveme.FlyingDrop)
package loveme {
import bitmap_classes.*;
public class FlyingDrop extends FlyingBall {
public function FlyingDrop(_arg1:BitmapRender, _arg2:Function){
super(_arg1, _arg2);
}
public function initFlyingDrop(_arg1:Vec2, _arg2:Number, _arg3:Vec2):void{
super.initFlyingBall(_arg1, _arg2, 1, _arg3);
super.init(_arg1, _arg2, color);
this.centerPos.copy(_arg3);
makeCenterBall();
super.calcMovement();
}
override protected function markCollisionTest():Boolean{
var _local2:InfoData;
var _local1:Ball = new Ball(null, null);
_local1.init(new Vec2(376, 1485), 2000, 1);
if (collide(_local1)){
_local2 = new InfoData();
_local2.data1 = pos._x;
_local2.data2 = (pos._y + 20);
messageCallback("flying_drop_mark_collision", _local2);
return (true);
};
return (false);
}
}
}//package loveme
Section 28
//Game (loveme.Game)
package loveme {
import flash.display.*;
import bitmap_classes.*;
import flash.ui.*;
public class Game {
private var matchesInRow:Number;
private var baseObjects:Array;
private var tickTime:int;
private var cannon:Cannon;
private var userBallColor:int;
private var levelBonus:int;
private var lastLevelFinished:Boolean;// = false
private var spaceBlock:Boolean;
private var petals:Array;
private var playing:Boolean;// = true
private var startedLevelWithBonusOn:Boolean;// = false
private var tryToFinishLevel:Boolean;
private var gridCollisionFinish:Boolean;// = false
private var cross:CrossSign;
private var grid:Grid;
private var startedLevelsWithBonusOn:int;// = 0
private var boosterExtraTime:Boolean;
private var totalMatches:int;// = 0
private var clip:Sprite;
private var userBallReady:Boolean;// = false
private var shootingEnabled:Boolean;
private var noRotation:Boolean;// = false
private var levelIsFinished:Boolean;// = false
private var nrLargeCombos:int;// = 0
private var princess:Princess;
private var userBall:UserBall;
private var levelScore:int;
private var lastMatchSize:int;// = 0
private var scorePopups:Array;
private var timesUp:Boolean;// = false
private var level:int;
private var boosterFullMeter:Boolean;
private var score:int;// = 0
private var tickCounter:int;// = 0
public var bitmapRender:BitmapRender;
private var random:Random;
private var input:Input;
private var randomSeed:int;
private var levelShoots:int;
private var initialized:Boolean;// = false
private var stopCollisionPos:Vec2;
private var userBallNextColor:int;
private var gameGUI:GameGUI;
private var gameGUIBackground:GameGUIBackground;
private var ballsAtStart:int;
private var startedLevelsWithBonusOnMax:int;// = 0
private var moonPuffCounter:int;// = 0
public static var BALL_SIZE:int = 30;
public static var USER_BALL_START_POS_X:int = 377;
public static var USER_BALL_START_POS_Y:int = 503;
public static var RIGHT_WALL_X:int = 647;
public static var DOWN_WALL = 471;
public static var IN_ROW_FOR_BONUS:int = 5;
public static var BALL_HALF_SIZE:int = (BALL_SIZE / 2);
public static var BOOSTER_EXTRA_TICK_TIME:int = (10 * LoveMeApp.LOGIC_UPDATE_FREQUENCE);
public static var LARGE_COMBO_SIZE:int = 20;
public static var SMALEST_MATCH_SIZE:int = 3;
public static var LEFT_WALL_X:int = 108;
public static var SMALLEST_LARGE_MATCH:int = 10;
public static var GAME_HEIGHT:int = 566;
public static var USER_BALL_COLLISION_DIAMETER:int = 16;
public static var GAME_WIDTH:int = 755;
public static var UP_WALL:int = 0;
public static var WARNING_TIME:int = (10 * LoveMeApp.LOGIC_UPDATE_FREQUENCE);
public static var HALF_BALL_SIZE:int = 15;
public static var DOWN_BORDER:int = 566;
public static var START_TICK_TIME:int = int(((2.5 * 60) * LoveMeApp.LOGIC_UPDATE_FREQUENCE));
public static var LAST_LEVEL:int = 40;
public function Game(_arg1:Sprite, _arg2:Input, _arg3:int, _arg4:Boolean, _arg5:Boolean){
baseObjects = new Array();
scorePopups = new Array();
petals = new Array();
tickTime = START_TICK_TIME;
super();
this.clip = _arg1;
this.input = _arg2;
this.randomSeed = _arg3;
this.boosterExtraTime = _arg4;
this.boosterFullMeter = _arg5;
bitmapRender = new BitmapRender();
bitmapRender.init(GAME_WIDTH, GAME_HEIGHT, _arg1);
gameGUI = new GameGUI(bitmapRender);
gameGUIBackground = new GameGUIBackground(bitmapRender);
grid = new Grid(bitmapRender, messageReciver, this.randomSeed);
princess = new Princess(bitmapRender);
princess.setPos(240, 480);
}
public function calculateLevelBonus():int{
var _local1 = 3;
levelBonus = int((((100 * ballsAtStart) * 1.1) * _local1));
levelBonus = (levelBonus - (levelShoots * 200));
if (levelBonus < 0){
levelBonus = 0;
};
gameGUI.setLevelBonus(levelBonus);
return (levelBonus);
}
private function updateBalls():Boolean{
var _local2:int;
var _local1:Ball;
_local1 = grid.collisionTest(userBall);
if (_local1 != null){
if (noRotation == false){
grid.calcDeltaRotationForce(userBall, _local1);
};
_local2 = grid.attachBall(userBall);
if (_local2 >= 0){
if (noRotation == false){
matchAndRemoveBalls(_local2);
};
};
reload();
return (true);
};
return (false);
}
public function removeAllPetals():void{
petals = new Array();
}
private function onGridBallWallCollsion(_arg1:InfoData):void{
noRotation = true;
grid.stopRotation();
stopCollisionPos = new Vec2(_arg1.data1, _arg1.data2);
var _local2:Shards = new Shards(bitmapRender);
_local2.setPos(_arg1.data1, _arg1.data2);
baseObjects.push(_local2);
Sounds.playGlassBreak();
}
public function init():void{
random = new Random(randomSeed++);
initialized = true;
grid.init();
createUserBall();
createCross();
createCannnon();
userBallColor = 0;
userBallNextColor = 0;
spaceBlock = false;
level = 0;
gameGUI.setLevel(level);
reload();
noRotation = false;
levelIsFinished = false;
playing = true;
timesUp = false;
gridCollisionFinish = false;
shootingEnabled = false;
tryToFinishLevel = false;
matchesInRow = 0;
if (boosterExtraTime){
tickTime = (tickTime + BOOSTER_EXTRA_TICK_TIME);
};
if ((((level == 0)) && (boosterFullMeter))){
matchesInRow = IN_ROW_FOR_BONUS;
};
initMeter();
}
private function renderScorePopups():void{
var _local1:int;
while (_local1 < scorePopups.length) {
scorePopups[_local1].render();
_local1++;
};
}
public function getTick():int{
return (tickCounter);
}
public function isLastLevelFinished():Boolean{
return (lastLevelFinished);
}
public function flipToCenterBalls():void{
grid.flipToCenterBalls();
}
private function onGridBallMarkCollsion(_arg1:InfoData):void{
noRotation = true;
grid.stopRotation();
stopCollisionPos = new Vec2(_arg1.data1, _arg1.data2);
var _local2:BaseObject = new Shards(bitmapRender);
_local2.setPos(_arg1.data1, _arg1.data2);
baseObjects.push(_local2);
}
public function allBallsOut():void{
var _local1:Array = grid.hideAllBalls();
createMoreFlyingDrops(_local1, Grid.CENTER_POSITION);
}
public function messageReciver(_arg1:String, _arg2:InfoData):void{
if (_arg1 == "user_ball_out"){
onUserBallOut(_arg2);
} else {
if (_arg1 == "user_ball_wall_collision"){
onUserBallWallCollision(_arg2);
} else {
if (_arg1 == "grid_ball_wall_collision"){
onGridBallWallCollsion(_arg2);
} else {
if (_arg1 == "grid_ball_cannon_collision"){
onGridBallCannonCollsion(_arg2);
} else {
if (_arg1 == "grid_ball_mark_collision"){
onGridBallMarkCollsion(_arg2);
} else {
if (_arg1 == "flying_ball_mark_collision"){
onFlyingBallMarkCollision(_arg2);
} else {
if (_arg1 == "flying_drop_mark_collision"){
onFlyingDropMarkCollision(_arg2);
};
};
};
};
};
};
};
}
private function onUserBallOut(_arg1:InfoData):void{
chainBreakedMeterBreak();
reload();
var _local2:BaseObject = new PlantPuff(bitmapRender);
_local2.setPos(_arg1.data1, _arg1.data2);
baseObjects.push(_local2);
}
public function resetNakedFlower():void{
gameGUIBackground.resetNakedFlower();
}
public function countDownLevelBonus():void{
gameGUI.countDownLevelBonus();
}
private function tryToShoot():void{
var _local1:Vec2;
if ((((userBallReady == true)) && ((shootingEnabled == true)))){
_local1 = cross.shootDirection();
userBall.setPosVec(cannon.getTopPos());
userBall.shoot(_local1);
cannon.shoot();
userBallReady = false;
cannon.hideBall();
princess.startAnimation();
levelShoots++;
calculateLevelBonus();
Sounds.playShoot();
Communicator.sendPlayData3(20, tickCounter, tickTime, input.xMouse, input.yMouse);
};
}
public function isGameOver():Boolean{
if (((((timeIsUp()) || (notPossibleToRotate()))) || (isLastLevelFinished()))){
return (true);
};
return (false);
}
public function isLevelFinished():Boolean{
return (levelIsFinished);
}
public function notPossibleToRotate():Boolean{
return (gridCollisionFinish);
}
public function hideFlower():void{
gameGUIBackground.hideFlower();
}
private function onGridBallCannonCollsion(_arg1:InfoData):void{
noRotation = true;
grid.stopRotation();
stopCollisionPos = new Vec2(_arg1.data1, _arg1.data2);
var _local2:BaseObject = new Shards(bitmapRender);
_local2.setPos(_arg1.data1, _arg1.data2);
baseObjects.push(_local2);
Sounds.playGlassBreak();
}
public function createPetals(_arg1:int):void{
var _local8:Number;
var _local9:Vec2;
var _local10:Vec2;
var _local11:Vec2;
var _local12:Petal;
var _local2 = 20;
var _local3:Number = 130;
var _local4:Number = (2 * Math.PI);
var _local5:Number = (_local4 / _local2);
var _local6:Number = 0;
petals = new Array(_local2);
var _local7:int;
while (_local7 < _local2) {
_local8 = (Math.random() * _local3);
_local9 = new Vec2(1, 1);
_local10 = _local9.rotate(_local6);
_local10.normalizeSelf();
_local10.scaleSelf(_local8);
_local11 = Grid.CENTER_POSITION.add(_local10);
_local12 = new Petal(bitmapRender, _arg1, _local11);
petals[_local7] = _local12;
_local6 = (_local6 + _local5);
_local7++;
};
}
public function animateNakedFlower(_arg1:int):void{
gameGUIBackground.animateNakedFlower(_arg1);
}
public function initLevel():void{
random = new Random(randomSeed++);
level++;
grid.initLevel(level);
userBallColor = 0;
userBallNextColor = 0;
spaceBlock = false;
gameGUI.setLevel(level);
reload();
reload();
noRotation = false;
levelIsFinished = false;
playing = true;
timesUp = false;
levelScore = 0;
levelShoots = 0;
ballsAtStart = grid.getNrBallsLeft();
shootingEnabled = true;
tryToFinishLevel = false;
calculateLevelBonus();
if (matchesInRow >= IN_ROW_FOR_BONUS){
startedLevelWithBonusOn = true;
startedLevelsWithBonusOn++;
if (startedLevelsWithBonusOnMax < startedLevelsWithBonusOn){
startedLevelsWithBonusOnMax = startedLevelsWithBonusOn;
};
} else {
startedLevelsWithBonusOn = 0;
};
}
private function removeScorePopups():void{
var _local2:BaseObject;
var _local3:BaseObject;
var _local1:Number = 0;
while (_local1 < scorePopups.length) {
if (scorePopups[_local1].flagedForRemoval()){
if (_local1 == (scorePopups.length - 1)){
_local2 = scorePopups.pop();
_local2.deleting();
_local2 = null;
} else {
_local3 = scorePopups.pop();
_local2 = scorePopups[_local1];
_local2 = null;
scorePopups[_local1] = _local3;
_local1--;
};
};
_local1++;
};
}
public function setupFlipToCenter():void{
grid.setupFlipToCenter(stopCollisionPos);
}
public function getLevelScore():int{
return (levelScore);
}
private function renderPetals():void{
var _local1:int;
while (_local1 < petals.length) {
petals[_local1].render();
_local1++;
};
}
private function initMeter():void{
gameGUI.initMeter();
var _local1:Number = (matchesInRow / IN_ROW_FOR_BONUS);
if (_local1 > 1){
_local1 = 1;
};
gameGUI.setMeterPercent(_local1);
}
public function disableShooting():void{
shootingEnabled = false;
}
private function createComboEffect(_arg1:Array, _arg2:Vec2):void{
var _local3:int;
var _local4:MatchBall;
var _local5:SmallCombo;
var _local6:BigCombo;
var _local7:Number;
var _local8:Fairy;
var _local9:FairyDust;
if (_arg1.length < SMALLEST_LARGE_MATCH){
_local3 = 0;
while (_local3 < _arg1.length) {
_local4 = _arg1[_local3];
_local5 = new SmallCombo(bitmapRender);
_local5.setPosVec(_local4.getPosition());
baseObjects.push(_local5);
_local3++;
};
return;
};
_local3 = 0;
while (_local3 < _arg1.length) {
_local4 = _arg1[_local3];
_local6 = new BigCombo(bitmapRender);
_local6.setPosVec(_local4.getPosition());
baseObjects.push(_local6);
_local3++;
};
_local3 = 0;
while (_local3 < _arg1.length) {
_local4 = _arg1[_local3];
_local7 = (Math.random() * 2);
_local8 = new Fairy(bitmapRender);
_local8.init(_local4.getPosition(), _arg2, _local7);
baseObjects.push(_local8);
_local9 = new FairyDust(bitmapRender);
_local9.init(_local4.getPosition(), _arg2, _local7);
baseObjects.push(_local9);
_local3++;
};
}
public function getTickCounter():int{
return (tickCounter);
}
private function onFlyingBallMarkCollision(_arg1:InfoData):void{
var _local2:BaseObject = new PlantPuff(bitmapRender);
_local2.setPos(_arg1.data1, _arg1.data2);
baseObjects.push(_local2);
if (_arg1.data3 == 1){
Sounds.playImpact();
} else {
if (_arg1.data3 == 2){
Sounds.playBigImpact();
};
};
}
public function getTickTime():int{
return (tickTime);
}
private function onFlyingDropMarkCollision(_arg1:InfoData):void{
var _local2:BaseObject = new PlantPuff(bitmapRender);
_local2.setPos(_arg1.data1, _arg1.data2);
baseObjects.push(_local2);
}
public function addScore(_arg1:int):void{
score = (score + _arg1);
gameGUI.setScoreCountUp(score);
Communicator.sendPlayData3(30, tickCounter, tickTime, _arg1, score);
}
private function createFlyingBalls(_arg1:Array, _arg2:Vec2, _arg3:Boolean):void{
var _local6:MatchBall;
var _local7:FlyingBall;
var _local4:Array = new Array();
var _local5:int;
while (_local5 < _arg1.length) {
_local6 = _arg1[_local5];
_local7 = new FlyingBall(bitmapRender, messageReciver);
_local7.initFlyingBall(_local6.getPosition(), _local6.getDiameter(), _local6.getColor(), _arg2);
baseObjects.push(_local7);
_local4.push(_local7);
_local5++;
};
grid.markLowest(_local4, _arg3);
}
public function levelFinishSetup():void{
shootingEnabled = false;
tryToFinishLevel = true;
}
public function getLargeCombos():int{
return (nrLargeCombos);
}
private function createUserBall():void{
userBall = new UserBall(bitmapRender, messageReciver);
userBall.init(new Vec2(USER_BALL_START_POS_X, USER_BALL_START_POS_Y), USER_BALL_COLLISION_DIAMETER, 0);
userBallReady = false;
}
public function render():void{
if (initialized == false){
return;
};
bitmapRender.clearBackground(0);
bitmapRender.lock();
gameGUIBackground.render();
grid.render();
renderPetals();
gameGUI.render();
renderBaseObjects();
renderScorePopups();
cross.render();
cannon.render();
userBall.render();
princess.render();
bitmapRender.unlock();
}
private function reload():void{
var _local1:Array = grid.getColorsOnBoard();
var _local2:Boolean;
var _local3:int;
while (_local3 < _local1.length) {
if (_local1[_local3] == true){
_local2 = true;
};
_local3++;
};
if ((((_local1[userBallNextColor] == false)) && (_local2))){
userBallNextColor = getColor(_local1);
};
userBallColor = userBallNextColor;
if (_local2){
userBallNextColor = getColor(_local1);
} else {
userBallNextColor = userBallColor;
};
userBall.init(new Vec2(USER_BALL_START_POS_X, USER_BALL_START_POS_Y), USER_BALL_COLLISION_DIAMETER, userBallColor);
userBall.hide();
userBallReady = true;
cannon.showBall();
cannon.setColor(userBallColor);
gameGUI.setBallColor(userBallNextColor);
cannon.unlock();
}
public function createFlyingDrops():void{
var _local3:MatchBall;
var _local4:FlyingDrop;
var _local1:Array = grid.getCenterBalls();
var _local2:int;
while (_local2 < _local1.length) {
_local3 = _local1[_local2];
_local4 = new FlyingDrop(bitmapRender, messageReciver);
_local4.initFlyingDrop(_local3.getPosition(), _local3.getDiameter(), Grid.CENTER_POSITION);
baseObjects.push(_local4);
_local3.hide();
_local2++;
};
}
private function renderBaseObjects():void{
var _local1:int;
while (_local1 < baseObjects.length) {
baseObjects[_local1].render();
_local1++;
};
}
public function tick():void{
var _local2:int;
var _local3:Boolean;
if (initialized == false){
return;
};
if (input.xMouse <= LEFT_WALL_X){
Mouse.show();
} else {
if (input.xMouse >= Game.RIGHT_WALL_X){
Mouse.show();
} else {
Mouse.hide();
};
};
cannon.setDirection(input.xMouse, input.yMouse);
cannon.tick();
cross.setPos(input.xMouse, input.yMouse);
cross.setStartPos(cannon.getTopPos());
cross.tick();
if (((((input.mouseIsPressed) && (playing))) && ((cannon.isShooting() == false)))){
if (noRotation == false){
tryToShoot();
};
};
if (((input.spaceIsPressed) && (userBallReady))){
if (spaceBlock == false){
switchBallColors();
Communicator.sendPlayData1(21, tickCounter, tickTime);
};
spaceBlock = true;
};
if (input.spaceIsReleased){
spaceBlock = false;
Communicator.sendPlayData1(22, tickCounter, tickTime);
};
userBall.tick();
grid.tick();
if ((noRotation == false)){
grid.collisionTests(cannon.getCollisionBall());
};
var _local1:Boolean = updateBalls();
_local2 = 0;
while (_local2 < baseObjects.length) {
baseObjects[_local2].tick();
_local2++;
};
removeObjects();
_local2 = 0;
while (_local2 < scorePopups.length) {
scorePopups[_local2].tick();
_local2++;
};
removeScorePopups();
_local2 = 0;
while (_local2 < petals.length) {
petals[_local2].tick();
_local2++;
};
gameGUI.setTime(tickTime);
gameGUI.tick();
princess.tick();
gameGUIBackground.tick();
if ((((tickTime <= WARNING_TIME)) && ((tryToFinishLevel == false)))){
Sounds.startTimeWarningLoop();
};
gameGUI.blinkTime(false);
if (tickTime > 0){
if (playing){
if (tickTime <= WARNING_TIME){
gameGUI.blinkTime(true);
};
tickTime--;
};
};
grid.gameTickTime = tickTime;
if (((playing) && ((tryToFinishLevel == false)))){
if ((tickTime == 0)){
timesUp = true;
levelFinishSetup();
} else {
if (checkForLevelClear() == true){
shootingEnabled = false;
tryToFinishLevel = true;
finishLevel();
} else {
if ((noRotation == true)){
gridCollisionFinish = true;
shootingEnabled = false;
tryToFinishLevel = true;
finishLevel();
};
};
};
};
if ((((tryToFinishLevel == true)) && (playing))){
if (userBallReady == true){
if (checkForLevelClear() == true){
timesUp = false;
};
_local3 = false;
finishLevel();
};
};
tickCounter++;
grid.gameTickCounter = tickCounter;
}
private function addToLevelScore(_arg1:int):void{
levelScore = (levelScore + _arg1);
}
private function switchBallColors():void{
var _local1:int = userBallNextColor;
userBallNextColor = userBallColor;
userBallColor = _local1;
userBall.setColor(userBallColor);
cannon.setColor(userBallColor);
gameGUI.setBallColor(userBallNextColor);
}
private function createCross():void{
cross = new CrossSign(bitmapRender);
cross.init(input.xMouse, input.yMouse, USER_BALL_START_POS_X, USER_BALL_START_POS_Y);
}
private function onUserBallWallCollision(_arg1:InfoData):void{
var _local2:EdgeEffect = new EdgeEffect(bitmapRender);
_local2.setPos(_arg1.data1, _arg1.data2);
baseObjects.push(_local2);
Sounds.playBounce();
}
private function checkForLevelClear():Boolean{
var _local1:int = grid.getNrBallsLeft();
if (_local1 == 0){
return (true);
};
return (false);
}
private function getColor(_arg1:Array):int{
var _local2 = 1;
var _local3:int;
while (_local3 < 100) {
_local2 = random.nextInt(_arg1.length);
if (_arg1[_local2] == true){
break;
};
_local3++;
};
return (_local2);
}
private function finishLevel():void{
calculateLevelBonus();
levelIsFinished = true;
playing = false;
if (level == LAST_LEVEL){
lastLevelFinished = true;
};
Sounds.stopTimeWarningLoop();
}
private function chainBreakedMeterBreak():void{
matchesInRow = 0;
var _local1:Number = 0;
gameGUI.setMeterPercent(_local1);
}
public function bonusBetweenLevels():Boolean{
return (startedLevelWithBonusOn);
}
public function setMoonLevel(_arg1:int, _arg2:Boolean):void{
var _local6:MoonPuff;
gameGUIBackground.setMoonLevel(_arg1);
var _local3:Vec2 = new Vec2(500, 10);
var _local4:Vec2 = new Vec2();
var _local5:Boolean;
if (_arg1 == 1){
_local4._x = 82;
_local4._y = 182;
_local4.addSelf(_local3);
} else {
if (_arg1 == 2){
_local4._x = 61;
_local4._y = 88;
_local4.addSelf(_local3);
} else {
if (_arg1 == 3){
_local4._x = 133;
_local4._y = 144;
_local4.addSelf(_local3);
} else {
if (_arg1 == 4){
_local4._x = 110;
_local4._y = 97;
_local4.addSelf(_local3);
} else {
if (_arg1 == 5){
_local4._x = 115;
_local4._y = 166;
_local4.addSelf(_local3);
} else {
if (_arg1 == 6){
_local4._x = 44;
_local4._y = 103;
_local4.addSelf(_local3);
} else {
if (_arg1 == 7){
_local4._x = 62;
_local4._y = 109;
_local4.addSelf(_local3);
} else {
if (_arg1 == 8){
_local4._x = 39;
_local4._y = 127;
_local4.addSelf(_local3);
} else {
if (_arg1 == 9){
_local4._x = 105;
_local4._y = 125;
_local4.addSelf(_local3);
} else {
if (_arg1 == 10){
_local4._x = 95;
_local4._y = 164;
_local4.addSelf(_local3);
} else {
if (_arg1 == 11){
_local4._x = 40;
_local4._y = 158;
_local4.addSelf(_local3);
} else {
if (_arg1 == 12){
_local4._x = 56;
_local4._y = 166;
_local4.addSelf(_local3);
} else {
_local5 = true;
};
};
};
};
};
};
};
};
};
};
};
};
if ((((_arg2 == true)) && ((_local5 == false)))){
_local6 = new MoonPuff(bitmapRender);
_local6.setPosVec(_local4);
baseObjects.push(_local6);
};
}
public function createPlantBuff():void{
var _local1:Vec2 = new Vec2(Grid.CENTER_POSITION._x, (Grid.CENTER_POSITION._y + 132));
var _local2:PlantPuff = new PlantPuff(bitmapRender);
_local2.setPosVec(_local1);
baseObjects.push(_local2);
}
public function getStartedLevelsWithBonusOn():int{
return (startedLevelsWithBonusOnMax);
}
public function showFlower():void{
gameGUIBackground.showFlower();
}
public function getLevel():int{
if (level == 0){
return (1);
};
return (level);
}
private function createCannnon():void{
cannon = new Cannon(bitmapRender, messageReciver);
cannon.init();
}
private function calculateMatchScore(_arg1:int):int{
var _local2:int;
if (_arg1 >= 3){
_local2 = (_local2 + 100);
};
if (_arg1 >= 4){
_local2 = (_local2 + 50);
};
if (_arg1 >= 5){
_local2 = (_local2 + 100);
};
if (_arg1 >= 6){
_local2 = (_local2 + 150);
};
if (_arg1 >= 7){
_local2 = (_local2 + 200);
};
if (_arg1 >= 8){
_local2 = (_local2 + 300);
};
if (_arg1 >= 9){
_local2 = (_local2 + 400);
};
if (_arg1 >= 10){
_local2 = (_local2 + 500);
};
if (_arg1 >= 11){
_local2 = (_local2 + 650);
};
if (_arg1 >= 12){
_local2 = (_local2 + 800);
};
if (_arg1 >= 13){
_local2 = (_local2 + 950);
};
if (_arg1 >= 14){
_local2 = (_local2 + 1100);
};
if (_arg1 >= 15){
_local2 = (_local2 + 1300);
};
if (_arg1 >= 16){
_local2 = (_local2 + 1500);
};
if (_arg1 >= 17){
_local2 = (_local2 + 1700);
};
_arg1 = (_arg1 - 17);
while (_arg1 > 0) {
_local2 = (_local2 + 2000);
_arg1--;
};
return (_local2);
}
public function timeIsUp():Boolean{
return (timesUp);
}
public function increaseMoonLevel():void{
var _local3:MoonPuff;
gameGUIBackground.increaseMoonLevel();
var _local1:Vec2 = new Vec2(500, 10);
var _local2:Vec2 = new Vec2();
while (moonPuffCounter < level) {
if (moonPuffCounter == 0){
_local2._x = 82;
_local2._y = 182;
_local2.addSelf(_local1);
_local3 = new MoonPuff(bitmapRender);
_local3.setPosVec(_local2);
baseObjects.push(_local3);
};
if (moonPuffCounter == 1){
_local2._x = 61;
_local2._y = 88;
_local2.addSelf(_local1);
_local3 = new MoonPuff(bitmapRender);
_local3.setPosVec(_local2);
baseObjects.push(_local3);
};
if (moonPuffCounter == 2){
_local2._x = 133;
_local2._y = 144;
_local2.addSelf(_local1);
_local3 = new MoonPuff(bitmapRender);
_local3.setPosVec(_local2);
baseObjects.push(_local3);
};
if (moonPuffCounter == 3){
_local2._x = 110;
_local2._y = 97;
_local2.addSelf(_local1);
_local3 = new MoonPuff(bitmapRender);
_local3.setPosVec(_local2);
baseObjects.push(_local3);
};
if (moonPuffCounter == 4){
_local2._x = 115;
_local2._y = 166;
_local2.addSelf(_local1);
_local3 = new MoonPuff(bitmapRender);
_local3.setPosVec(_local2);
baseObjects.push(_local3);
};
if (moonPuffCounter == 5){
_local2._x = 44;
_local2._y = 103;
_local2.addSelf(_local1);
_local3 = new MoonPuff(bitmapRender);
_local3.setPosVec(_local2);
baseObjects.push(_local3);
};
if (moonPuffCounter == 6){
_local2._x = 62;
_local2._y = 109;
_local2.addSelf(_local1);
_local3 = new MoonPuff(bitmapRender);
_local3.setPosVec(_local2);
baseObjects.push(_local3);
};
if (moonPuffCounter == 7){
_local2._x = 39;
_local2._y = 127;
_local2.addSelf(_local1);
_local3 = new MoonPuff(bitmapRender);
_local3.setPosVec(_local2);
baseObjects.push(_local3);
};
if (moonPuffCounter == 8){
_local2._x = 105;
_local2._y = 125;
_local2.addSelf(_local1);
_local3 = new MoonPuff(bitmapRender);
_local3.setPosVec(_local2);
baseObjects.push(_local3);
};
if (moonPuffCounter == 9){
_local2._x = 95;
_local2._y = 164;
_local2.addSelf(_local1);
_local3 = new MoonPuff(bitmapRender);
_local3.setPosVec(_local2);
baseObjects.push(_local3);
};
if (moonPuffCounter == 10){
_local2._x = 40;
_local2._y = 158;
_local2.addSelf(_local1);
_local3 = new MoonPuff(bitmapRender);
_local3.setPosVec(_local2);
baseObjects.push(_local3);
};
if (moonPuffCounter == 11){
_local2._x = 56;
_local2._y = 166;
_local2.addSelf(_local1);
_local3 = new MoonPuff(bitmapRender);
_local3.setPosVec(_local2);
baseObjects.push(_local3);
};
moonPuffCounter++;
};
}
public function getScore():int{
return (score);
}
private function removeObjects():void{
var _local2:BaseObject;
var _local3:BaseObject;
var _local1:Number = 0;
while (_local1 < baseObjects.length) {
if (baseObjects[_local1].flagedForRemoval()){
if (_local1 == (baseObjects.length - 1)){
_local2 = baseObjects.pop();
_local2.deleting();
_local2 = null;
} else {
_local3 = baseObjects.pop();
_local2 = baseObjects[_local1];
_local2 = null;
baseObjects[_local1] = _local3;
_local1--;
};
};
_local1++;
};
}
public function getLevelBonus():int{
return (levelBonus);
}
private function createMoreFlyingDrops(_arg1:Array, _arg2:Vec2):void{
var _local3:MatchBall;
var _local5:FlyingDrop;
var _local4:int;
while (_local4 < _arg1.length) {
_local3 = _arg1[_local4];
_local5 = new FlyingDrop(bitmapRender, messageReciver);
_local5.initFlyingDrop(_local3.getPosition(), _local3.getDiameter(), _arg2);
baseObjects.push(_local5);
_local4++;
};
}
private function matchAndRemoveBalls(_arg1:int):void{
var _local5:Array;
var _local6:Array;
var _local7:Number;
var _local8:int;
var _local9:Vec2;
var _local10:int;
var _local11:Vec2;
var _local12:ScorePopup;
var _local13:ScorePopupBonus;
var _local2:Boolean;
var _local3:Boolean;
var _local4:Array = grid.match(_arg1);
if (_local4.length >= SMALEST_MATCH_SIZE){
grid.removeBalls(_local4);
_local5 = grid.getFreeBalls();
grid.removeBalls(_local5);
_local6 = new Array();
_local10 = 0;
while (_local10 < _local4.length) {
_local6.push(_local4[_local10]);
_local10++;
};
_local10 = 0;
while (_local10 < _local5.length) {
_local6.push(_local5[_local10]);
_local10++;
};
matchesInRow++;
_local7 = (matchesInRow / IN_ROW_FOR_BONUS);
if (_local7 > 1){
_local7 = 1;
};
gameGUI.setMeterPercent(_local7);
_local8 = calculateMatchScore(_local6.length);
if (matchesInRow > IN_ROW_FOR_BONUS){
_local8 = (_local8 * 1.5);
_local2 = true;
Communicator.sendPlayData1(41, tickCounter, tickTime);
};
addScore(_local8);
addToLevelScore(_local8);
Communicator.sendPlayData2(40, tickCounter, tickTime, _local6.length);
if (_local6.length > lastMatchSize){
lastMatchSize = _local6.length;
};
if (_local6.length >= LARGE_COMBO_SIZE){
nrLargeCombos++;
};
totalMatches = (totalMatches + _local6.length);
gameGUI.setLastMatchSize(lastMatchSize);
gameGUI.setTotalMatches(totalMatches);
_local9 = new Vec2();
_local10 = 0;
while (_local10 < _local6.length) {
_local9.addSelf(_local6[_local10].getPosition());
_local10++;
};
_local11 = new Vec2(_local6.length, _local6.length);
_local9.divSelf(_local11);
if (_local6.length < SMALLEST_LARGE_MATCH){
createFlyingBalls(_local6, _local9, false);
} else {
createFlyingBalls(_local6, _local9, true);
};
createComboEffect(_local6, _local9);
if (matchesInRow <= IN_ROW_FOR_BONUS){
_local12 = new ScorePopup(bitmapRender, _local8);
_local12.setPosVec(_local9);
scorePopups.push(_local12);
} else {
_local13 = new ScorePopupBonus(bitmapRender, _local8, _local9);
scorePopups.push(_local13);
};
if (_local6.length < SMALLEST_LARGE_MATCH){
if (_local2){
Sounds.playNormalComboBonus();
} else {
Sounds.playNormalCombo();
};
} else {
if (_local2){
Sounds.playBigComboBonus();
} else {
Sounds.playBigCombo();
};
};
} else {
chainBreakedMeterBreak();
Sounds.playNoCombo();
Communicator.sendPlayData1(42, tickCounter, tickTime);
};
}
}
}//package loveme
Section 29
//GameGUI (loveme.GameGUI)
package loveme {
import bitmap_classes.*;
public class GameGUI {
private var blinkCounter:int;// = 0
private var level:int;// = 0
private var meter:Meter;
private var tickTime:int;
private var wantedLevelBonus:int;// = 0
private var totalMatches:int;// = 0
private var increaseScoreSteps:int;// = 0
private var score:int;// = 0
private var wantedScore:int;// = 0
private var ballColor:int;// = 0
private var bitmapRender:BitmapRender;
private var showTime:Boolean;// = true
private var lastMatchSize:int;// = 0
private var nextBallColor:int;// = 0
private var blink:Boolean;// = false
private var decreaseLevelBonusSteps:int;// = 0
private var levelBonus:int;// = 0
public static var leftSideBRO:BitmapRenderObject;
public static var grassBRO:BitmapRenderObject;
public static var rightSideBRO:BitmapRenderObject;
public static var BLINK_TICK_FREQUNCE:int = 20;
public static var ballIkonBRO:BitmapRenderObject;
public static var bitmapRenderNumbers:BitmapRenderSequence;
public static var currentBallBRO:BitmapRenderObject;
private static var fps:int;
public static var bitmapRenderBonusNumbers:BitmapRenderSequence;
public static var clockBRO:BitmapRenderObject;
public static var nextBallSequence:BitmapRenderSequence;
public static var INCREACE_SCORE_TICK_TIME:int = 25;
public static var currentBallSequence:BitmapRenderSequence;
public static var levelBRO:BitmapRenderObject;
public function GameGUI(_arg1:BitmapRender){
this.bitmapRender = _arg1;
initGraphics(_arg1);
meter = new Meter(_arg1);
}
public function setLevel(_arg1:int):void{
this.level = _arg1;
}
public function render():void{
grassBRO.render(97, 464);
leftSideBRO.render(0, 0);
rightSideBRO.render(((641 - 21) - 15), 0);
clockBRO.render(672, (10 + 20));
levelBRO.render(672, (172 + 230));
ballIkonBRO.render(4, 160);
BitmapNumber.renderCentre(score, bitmapRenderNumbers, 45, 50, 15, 40);
BitmapNumber.renderCentre(levelBonus, bitmapRenderBonusNumbers, 45, 230, 12, 30);
BitmapNumber.renderTopLeft(level, bitmapRenderNumbers, 692, 450, 15, 0);
if (showTime){
BitmapNumber.renderTimeTopLeft(tickTime, bitmapRenderNumbers, 664, 97, 15);
};
currentBallSequence.render(ballColor, 21, 478);
meter.render();
}
public function setLevelBonus(_arg1:int):void{
this.levelBonus = _arg1;
wantedLevelBonus = this.levelBonus;
}
public function countDownLevelBonus():void{
wantedLevelBonus = 0;
decreaseLevelBonusSteps = (int((levelBonus / INCREACE_SCORE_TICK_TIME)) + 1);
}
public function blinkTime(_arg1:Boolean):void{
blink = _arg1;
}
private function initGraphics(_arg1:BitmapRender):void{
var _local2:Array;
grassBRO = new BitmapRenderObject(_arg1);
grassBRO.init(new PlayGrass(0, 0));
leftSideBRO = new BitmapRenderObject(_arg1);
leftSideBRO.init(BitmapHelpers.mirrorVerticalBitmapData(new PlayOrchid(0, 0)));
rightSideBRO = new BitmapRenderObject(_arg1);
rightSideBRO.init(new PlayOrchid(0, 0));
clockBRO = new BitmapRenderObject(_arg1);
clockBRO.init(new GUIClock(0, 0));
levelBRO = new BitmapRenderObject(_arg1);
levelBRO.init(new GUILevel(0, 0));
ballIkonBRO = new BitmapRenderObject(_arg1);
ballIkonBRO.init(new GUIBall(0, 0));
bitmapRenderNumbers = new BitmapRenderSequence(_arg1);
_local2 = new Array(new zero(0, 0), new one(0, 0), new two(0, 0), new three(0, 0), new four(0, 0), new five(0, 0), new six(0, 0), new seven(0, 0), new eight(0, 0), new nine(0, 0), new kolon(0, 0));
bitmapRenderNumbers.init(_local2);
bitmapRenderBonusNumbers = new BitmapRenderSequence(_arg1);
_local2 = new Array(new bbfont0(0, 0), new bbfont1(0, 0), new bbfont2(0, 0), new bbfont3(0, 0), new bbfont4(0, 0), new bbfont5(0, 0), new bbfont6(0, 0), new bbfont7(0, 0), new bbfont8(0, 0), new bbfont9(0, 0));
bitmapRenderBonusNumbers.init(_local2);
currentBallSequence = new BitmapRenderSequence(_arg1);
_local2 = new Array(new ActiveBallRed(0, 0), new ActiveBallGreen(0, 0), new ActiveBallBlue(0, 0), new ActiveBallYellow(0, 0));
currentBallSequence.init(_local2);
nextBallSequence = new BitmapRenderSequence(_arg1);
_local2 = new Array(new NextBallRed(0, 0), new NextBallGreen(0, 0), new NextBallBlue(0, 0), new NextBallYellow(0, 0));
nextBallSequence.init(_local2);
currentBallBRO = new BitmapRenderObject(_arg1);
currentBallBRO.init(new ActiveBallMarker(0, 0));
}
public function setTotalMatches(_arg1:int):void{
totalMatches = _arg1;
}
public function setScoreCountUp(_arg1:int):void{
wantedScore = _arg1;
increaseScoreSteps = (int(((_arg1 - score) / INCREACE_SCORE_TICK_TIME)) + 1);
}
public function tick():void{
meter.tick();
if (blink){
if (blinkCounter > (BLINK_TICK_FREQUNCE - int((BLINK_TICK_FREQUNCE / 2)))){
showTime = false;
} else {
showTime = true;
};
blinkCounter++;
if (blinkCounter > BLINK_TICK_FREQUNCE){
blinkCounter = 0;
};
} else {
showTime = true;
};
if (score < wantedScore){
score = (score + increaseScoreSteps);
if (score > wantedScore){
score = wantedScore;
};
};
if (levelBonus > wantedLevelBonus){
levelBonus = (levelBonus - decreaseLevelBonusSteps);
if (levelBonus < 0){
levelBonus = 0;
};
};
}
public function setScore(_arg1:int):void{
this.score = _arg1;
wantedScore = this.score;
}
public function setTime(_arg1:int):void{
this.tickTime = _arg1;
}
public function initMeter():void{
meter.init();
}
public function setBallColor(_arg1:int):void{
ballColor = _arg1;
}
public function setNextBallColor(_arg1:int):void{
nextBallColor = _arg1;
}
public function setLastMatchSize(_arg1:int):void{
lastMatchSize = _arg1;
}
public function setMeterPercent(_arg1:Number):void{
meter.setPercent(_arg1);
}
public static function setFps(_arg1:int):void{
fps = _arg1;
}
}
}//package loveme
Section 30
//GameGUIBackground (loveme.GameGUIBackground)
package loveme {
import flash.display.*;
import bitmap_classes.*;
import flash.geom.*;
public class GameGUIBackground {
private var moveNakedFlower:Boolean;// = false
private var moonLevel:int;// = 0
private var bitmapRender:BitmapRender;
private var nakedFlowerDeltaY:int;// = 0
public var moonBROs:Array;
private var nakedFlowerMovY:int;// = 0
private var flowerVisible:Boolean;// = true
public static var bitmapRenderSequenceFlower:BitmapRenderSequence;
public static var planetFlowerBRO:BitmapRenderObject;
public static var cloudBRO:BitmapRenderObject;
public static var bgBRO:BitmapRenderObject;
public static var nakedFlowerBRO:BitmapRenderObject;
public function GameGUIBackground(_arg1:BitmapRender){
moonBROs = new Array(13);
super();
this.bitmapRender = _arg1;
initGraphics(_arg1);
}
public function animateNakedFlower(_arg1:int):void{
nakedFlowerMovY = (160 / _arg1);
moveNakedFlower = true;
}
public function tick():void{
if (moveNakedFlower){
nakedFlowerDeltaY = (nakedFlowerDeltaY + nakedFlowerMovY);
if (nakedFlowerDeltaY > 160){
moveNakedFlower = false;
};
};
}
public function increaseMoonLevel():void{
moonLevel++;
}
public function hideFlower():void{
flowerVisible = false;
}
private function renderMoon():void{
moonBROs[0].render(500, 10);
if (moonLevel >= 12){
moonBROs[12].render(500, 10);
return;
};
if (moonLevel >= 1){
moonBROs[1].render(500, 10);
};
if (moonLevel >= 2){
moonBROs[2].render(500, 10);
};
if (moonLevel >= 3){
moonBROs[3].render(500, 10);
};
if (moonLevel >= 4){
moonBROs[4].render(500, 10);
};
if (moonLevel >= 5){
moonBROs[5].render(500, 10);
};
if (moonLevel >= 6){
moonBROs[6].render(500, 10);
};
if (moonLevel >= 7){
moonBROs[7].render(500, 10);
};
if (moonLevel >= 8){
moonBROs[8].render(500, 10);
};
if (moonLevel >= 9){
moonBROs[9].render(500, 10);
};
if (moonLevel >= 10){
moonBROs[10].render(500, 10);
};
if (moonLevel >= 11){
moonBROs[11].render(500, 10);
};
}
public function setMoonLevel(_arg1:int):void{
moonLevel = _arg1;
}
public function resetNakedFlower():void{
moveNakedFlower = false;
nakedFlowerDeltaY = 0;
}
public function render():void{
bgBRO.render(100, 0);
cloudBRO.render(70, 15);
cloudBRO.render(330, 40);
if (flowerVisible){
bitmapRenderSequenceFlower.render(0, (Grid.CENTER_POSITION._x - 104), (Grid.CENTER_POSITION._y - 107));
};
var _local1:Rectangle = new Rectangle(0, 0, 146, ((297 - nakedFlowerDeltaY) - 5));
nakedFlowerBRO.renderRect(((Grid.CENTER_POSITION._x - 104) + 25), (((Grid.CENTER_POSITION._y - 107) + 71) + nakedFlowerDeltaY), _local1);
planetFlowerBRO.render(((Grid.CENTER_POSITION._x - 104) + 25), ((Grid.CENTER_POSITION._y - 107) + 71));
renderMoon();
}
public function showFlower():void{
flowerVisible = false;
}
private function initGraphics(_arg1:BitmapRender):void{
var _local2:BitmapData = BitmapHelpers.scaleBitmapData(new Gradient(0, 0), 555, 1);
bgBRO = new BitmapRenderObject(_arg1);
bgBRO.init(_local2);
bitmapRenderSequenceFlower = new BitmapRenderSequence(_arg1);
var _local3:Array = new Array(new WhiteFlower(0, 0));
bitmapRenderSequenceFlower.init(_local3);
nakedFlowerBRO = new BitmapRenderObject(_arg1);
nakedFlowerBRO.init(new FlowerPlanetFlower(0, 0));
planetFlowerBRO = new BitmapRenderObject(_arg1);
planetFlowerBRO.init(new FlowerPlanet(0, 0));
cloudBRO = new BitmapRenderObject(_arg1);
cloudBRO.init(new Cloud(0, 0));
var _local4:BitmapData = new Moon01(0, 0);
var _local5:BitmapData = new Moon02(0, 0);
var _local6:BitmapData = new Moon03(0, 0);
var _local7:BitmapData = new Moon04(0, 0);
var _local8:BitmapData = new Moon05(0, 0);
var _local9:BitmapData = new Moon06(0, 0);
var _local10:BitmapData = new Moon07(0, 0);
var _local11:BitmapData = new Moon08(0, 0);
var _local12:BitmapData = new Moon09(0, 0);
var _local13:BitmapData = new Moon10(0, 0);
var _local14:BitmapData = new Moon11(0, 0);
var _local15:BitmapData = new Moon12(0, 0);
var _local16:BitmapData = new Moon13(0, 0);
moonBROs[0] = new BitmapRenderObject(_arg1);
moonBROs[0].init(_local4);
moonBROs[1] = new BitmapRenderObject(_arg1);
moonBROs[1].init(_local5);
moonBROs[2] = new BitmapRenderObject(_arg1);
moonBROs[2].init(_local6);
moonBROs[3] = new BitmapRenderObject(_arg1);
moonBROs[3].init(_local7);
moonBROs[4] = new BitmapRenderObject(_arg1);
moonBROs[4].init(_local8);
moonBROs[5] = new BitmapRenderObject(_arg1);
moonBROs[5].init(_local9);
moonBROs[6] = new BitmapRenderObject(_arg1);
moonBROs[6].init(_local10);
moonBROs[7] = new BitmapRenderObject(_arg1);
moonBROs[7].init(_local11);
moonBROs[8] = new BitmapRenderObject(_arg1);
moonBROs[8].init(_local12);
moonBROs[9] = new BitmapRenderObject(_arg1);
moonBROs[9].init(_local13);
moonBROs[10] = new BitmapRenderObject(_arg1);
moonBROs[10].init(_local14);
moonBROs[11] = new BitmapRenderObject(_arg1);
moonBROs[11].init(_local15);
var _local17:BitmapData = new Moon01(0, 0);
BitmapHelpers.renderOnBitmap(new Moon02(0, 0), _local17);
BitmapHelpers.renderOnBitmap(new Moon03(0, 0), _local17);
BitmapHelpers.renderOnBitmap(new Moon04(0, 0), _local17);
BitmapHelpers.renderOnBitmap(new Moon05(0, 0), _local17);
BitmapHelpers.renderOnBitmap(new Moon06(0, 0), _local17);
BitmapHelpers.renderOnBitmap(new Moon07(0, 0), _local17);
BitmapHelpers.renderOnBitmap(new Moon08(0, 0), _local17);
BitmapHelpers.renderOnBitmap(new Moon09(0, 0), _local17);
BitmapHelpers.renderOnBitmap(new Moon10(0, 0), _local17);
BitmapHelpers.renderOnBitmap(new Moon11(0, 0), _local17);
BitmapHelpers.renderOnBitmap(new Moon12(0, 0), _local17);
BitmapHelpers.renderOnBitmap(new Moon13(0, 0), _local17);
moonBROs[12] = new BitmapRenderObject(_arg1);
moonBROs[12].init(_local17);
}
}
}//package loveme
Section 31
//GameHandler (loveme.GameHandler)
package loveme {
import flash.display.*;
public class GameHandler {
private var gameFinished:Boolean;// = false
private var levelsClearedAllTime:int;// = 0
public var HANDLER_STATE_IDLE:int;// = 0
public var HANDLER_STATE_GAME_OVER:int;// = 3
private var tickCounter:int;
private var openGameTickCounter:int;// = 0
private var levelSignTickcounter:int;
private var newLevelSignHolder:NewLevelSignHolder;
private var levelsCleared:int;// = 0
private var forcedEnd:Boolean;// = false
private var openGameSignHolder:OpenGameSignHolder;
private var input:Input;
private var clip:Sprite;
private var initialized:Boolean;// = false
private var totalLevelBonus:int;// = 0
public var HANDLER_STATE_OPEN_GAME:int;// = 4
private var handlerState:int;
private var game:Game;
private var levelStarting:Boolean;// = false
public var HANDLER_STATE_PLAY:int;// = 1
public var HANDLER_STATE_LEVEL_END:int;// = 2
public static var SHOW_LEVEL_SIGN_TIME:int = 250;
public static var DELAY_BEFORE_LEVEL_SIGN_CLEARED:int = 100;
public static var DELAY_BEFORE_LEVEL_SIGN_NOT_CLEARED:int = 50;
public function GameHandler(_arg1:Sprite, _arg2:Input, _arg3:int, _arg4:Boolean, _arg5:Boolean){
this.clip = _arg1;
this.input = _arg2;
initialized = true;
handlerState = HANDLER_STATE_IDLE;
var _local6:Sprite = new Sprite();
_arg1.addChild(_local6);
var _local7:Sprite = new Sprite();
_arg1.addChild(_local7);
game = new Game(_local6, _arg2, _arg3, _arg4, _arg5);
newLevelSignHolder = new NewLevelSignHolder(_local7);
if (Communicator.openGame == true){
openGameSignHolder = new OpenGameSignHolder(_local7);
};
}
public function getTickTime():int{
return (game.getTickTime());
}
public function getLevelsCleared():int{
return (levelsCleared);
}
public function init():void{
game.init();
initLevel();
handlerState = HANDLER_STATE_PLAY;
game.setMoonLevel(levelsClearedAllTime, false);
}
public function setLevelsClearedAllTime(_arg1:int):void{
levelsClearedAllTime = _arg1;
}
public function render():void{
if (initialized == false){
return;
};
game.render();
}
public function getLargeCombos():int{
return (game.getLargeCombos());
}
public function getTick():int{
return (game.getTick());
}
public function tick():void{
var _local1:Boolean;
var _local2:Boolean;
var _local3:Boolean;
var _local4:Boolean;
var _local5:int;
var _local6:int;
var _local7:int;
if (initialized == false){
return;
};
if (levelStarting == true){
levelStarting = false;
Communicator.sendPlayData1(10, game.getTickCounter(), game.getTickTime());
};
switch (handlerState){
case HANDLER_STATE_IDLE:
return;
case HANDLER_STATE_PLAY:
if (Communicator.openGame == true){
if (levelsCleared == 1){
game.disableShooting();
openGameTickCounter++;
if (openGameTickCounter == 1){
exitGame();
};
};
};
game.tick();
if (game.isLevelFinished() == true){
tickCounter = 0;
handlerState = HANDLER_STATE_LEVEL_END;
Communicator.sendPlayData1(11, game.getTickCounter(), game.getTickTime());
};
break;
case HANDLER_STATE_LEVEL_END:
game.tick();
_local1 = game.timeIsUp();
_local2 = game.notPossibleToRotate();
_local3 = game.isLastLevelFinished();
_local4 = game.isGameOver();
_local5 = game.getLevel();
if (forcedEnd == true){
_local1 = true;
_local4 = true;
};
_local6 = game.getLevelScore();
_local7 = 0;
if ((((_local1 == false)) && ((_local2 == false)))){
_local7 = game.getLevelBonus();
newLevelSignHolder.setLevelBonus(_local7);
};
if ((((((tickCounter == 1)) && ((_local1 == true)))) && ((forcedEnd == false)))){
Sounds.playTimeWarningFinish();
};
if ((((tickCounter == 45)) && ((_local1 == true)))){
Sounds.playLevelStab();
};
if ((((tickCounter == 35)) && ((_local2 == true)))){
Sounds.playLevelStab();
};
if (tickCounter == 2){
if (_local2){
game.setupFlipToCenter();
};
};
if ((((tickCounter > 10)) && (_local2))){
game.flipToCenterBalls();
};
if ((((tickCounter == 35)) && (_local2))){
game.allBallsOut();
};
if ((((_local1 == false)) && ((_local2 == false)))){
if (tickCounter == 1){
levelsCleared++;
};
if (tickCounter == 50){
game.createFlyingDrops();
game.hideFlower();
game.createPetals(200);
game.animateNakedFlower(10);
game.createPlantBuff();
levelsClearedAllTime++;
game.setMoonLevel(levelsClearedAllTime, true);
};
if (tickCounter == 60){
game.createPlantBuff();
newLevelSignHolder.show();
game.addScore(_local7);
game.countDownLevelBonus();
totalLevelBonus = (totalLevelBonus + _local7);
Communicator.sendPlayData2(50, game.getTickCounter(), game.getTickTime(), _local7);
};
if (tickCounter == 60){
Sounds.playLevelClear();
trace("end level sound");
};
};
if ((((_local1 == true)) && ((tickCounter > 115)))){
if (Communicator.openGame == true){
openGameTickCounter = 0;
handlerState = HANDLER_STATE_OPEN_GAME;
} else {
handlerState = HANDLER_STATE_GAME_OVER;
};
if (forcedEnd == true){
Communicator.sendPlayData2(12, game.getTickCounter(), game.getTickTime(), 3);
} else {
Communicator.sendPlayData2(12, game.getTickCounter(), game.getTickTime(), 0);
};
};
if ((((_local2 == true)) && ((tickCounter > 150)))){
handlerState = HANDLER_STATE_GAME_OVER;
Communicator.sendPlayData2(12, game.getTickCounter(), game.getTickTime(), 2);
};
if (tickCounter == 180){
if (game.getTickTime() <= 0){
handlerState = HANDLER_STATE_GAME_OVER;
Communicator.sendPlayData2(12, game.getTickCounter(), game.getTickTime(), 1);
return;
};
newLevelSignHolder.hide();
game.resetNakedFlower();
game.showFlower();
initLevel();
handlerState = HANDLER_STATE_PLAY;
levelSignTickcounter++;
};
break;
case HANDLER_STATE_GAME_OVER:
gameFinished = true;
break;
case HANDLER_STATE_OPEN_GAME:
openGameTickCounter++;
if (openGameTickCounter == 3){
handlerState = HANDLER_STATE_GAME_OVER;
};
break;
};
tickCounter++;
}
public function getTotalLevelBonus():int{
return (totalLevelBonus);
}
public function exitGame():void{
game.levelFinishSetup();
forcedEnd = true;
Communicator.sendPlayData1(13, game.getTickCounter(), game.getTickTime());
if (Communicator.openGame == true){
tickCounter = 0;
openGameSignHolder.show();
};
}
public function bonusBetweenLevels():Boolean{
return (game.bonusBetweenLevels());
}
public function notPossibleToRotate():Boolean{
return (game.notPossibleToRotate());
}
public function getStartedLevelsWithBonusOn():int{
return (game.getStartedLevelsWithBonusOn());
}
public function gameIsFinished():Boolean{
return (gameFinished);
}
public function initLevel():void{
game.initLevel();
levelStarting = true;
}
public function getScore():int{
return (game.getScore());
}
public function getLevel():int{
return (game.getLevel());
}
}
}//package loveme
Section 32
//Grid (loveme.Grid)
package loveme {
import flash.display.*;
import bitmap_classes.*;
public class Grid {
private var once:Boolean;// = true
private var maps:Maps;
public var gameTickTime:int;
private var flipMeter:Number;
private var bitmapRender:BitmapRender;
private var verticalOffset:Number;
private var threeOfFourColors:Boolean;
private var random:Random;
public var gameTickCounter:int;
private var flipCounter:int;
private var balls:Array;
private var deltaRotation:Number;
private var horizontalOffset:Number;
private var nrColors:int;
private var randomSeed:int;
private var flipBalls:Array;
protected var messageCallback:Function;
private var usedMaps:Array;
private var rotation:Number;
public static var DELTA_ROTATION_REDUCTION:Number = 0.98;
public static var ROTATION_SPEED_FACTOR:Number = 0.0006;
public static var rows:int = 23;
public static var CENTER_POSITION:Vec2 = new Vec2(377, 198);
public static var FLIP_SPEED:int = 4;
public static var SIN60:Number = 0.86602540378444;
public static var cols:int = 23;
public function Grid(_arg1:BitmapRender, _arg2:Function, _arg3:int){
maps = new Maps();
usedMaps = new Array();
super();
this.bitmapRender = _arg1;
this.messageCallback = _arg2;
this.randomSeed = _arg3;
}
public function getColorsOnBoard():Array{
var _local1:Array = new Array(4);
var _local2:int;
while (_local2 < _local1.length) {
_local1[_local2] = false;
_local2++;
};
_local2 = 0;
while (_local2 < balls.length) {
if (((balls[_local2].isVisible()) && ((balls[_local2].isCenterType() == false)))){
_local1[balls[_local2].getColor()] = true;
};
_local2++;
};
return (_local1);
}
private function getRandomMapNr(_arg1:int, _arg2:int, _arg3:Boolean):int{
var _local4:int;
_local4 = (_arg1 + random.nextInt(_arg2));
if (_arg3 == true){
usedMaps.push(_local4);
};
return (_local4);
}
private function connectBall(_arg1:MatchBall, _arg2:int, _arg3:int):void{
var _local4:int;
if (_arg2 > 0){
_arg1.setConnection(4, balls[(((_arg3 * cols) + _arg2) - 1)]);
};
if (_arg2 < (cols - 1)){
_arg1.setConnection(5, balls[(((_arg3 * cols) + _arg2) + 1)]);
_local4 = (((_arg3 * cols) + _arg2) + 1);
};
if ((_arg3 % 2) == 0){
if ((((_arg3 > 0)) && ((_arg2 >= 0)))){
_arg1.setConnection(0, balls[(((_arg3 - 1) * cols) + _arg2)]);
};
if ((((_arg3 > 0)) && ((_arg2 < (cols - 1))))){
_arg1.setConnection(1, balls[((((_arg3 - 1) * cols) + _arg2) + 1)]);
};
if ((((_arg3 < (rows - 1))) && ((_arg2 >= 0)))){
_arg1.setConnection(2, balls[(((_arg3 + 1) * cols) + _arg2)]);
};
if ((((_arg3 < (rows - 1))) && ((_arg2 < (cols - 1))))){
_arg1.setConnection(3, balls[((((_arg3 + 1) * cols) + _arg2) + 1)]);
};
} else {
if ((((_arg3 > 0)) && ((_arg2 > 0)))){
_arg1.setConnection(0, balls[((((_arg3 - 1) * cols) + _arg2) - 1)]);
};
if ((((_arg3 > 0)) && ((_arg2 <= (cols - 1))))){
_arg1.setConnection(1, balls[(((_arg3 - 1) * cols) + _arg2)]);
};
if ((((_arg3 < (rows - 1))) && ((_arg2 > 0)))){
_arg1.setConnection(2, balls[((((_arg3 + 1) * cols) + _arg2) - 1)]);
};
if ((((_arg3 < (rows - 1))) && ((_arg2 <= (cols - 1))))){
_arg1.setConnection(3, balls[(((_arg3 + 1) * cols) + _arg2)]);
};
};
}
public function collisionTests(_arg1:Ball):void{
var _local3:Ball;
var _local5:Vec2;
var _local6:InfoData;
var _local2:Ball = new Ball(null, null);
_local2.init(new Vec2(376, 1485), 2000, 1);
var _local4:int;
while (_local4 < balls.length) {
_local3 = balls[_local4];
if (_local3.isVisible() == false){
} else {
if (_local3.edgeCollision()){
break;
};
if (_local3.collide(_arg1)){
_local5 = _arg1.getPosition();
_local6 = new InfoData();
_local6.data2 = _local5._y;
_local6.data1 = _local5._x;
Communicator.sendPlayData1(19, gameTickCounter, gameTickTime);
messageCallback("grid_ball_cannon_collision", _local6);
break;
};
if (_local3.collide(_local2)){
_local5 = _local3.getPosition();
_local6 = new InfoData();
_local6.data2 = (_local5._y - 15);
_local6.data1 = _local5._x;
messageCallback("grid_ball_mark_collision", _local6);
break;
};
};
_local4++;
};
}
public function init():void{
random = new Random(randomSeed++);
var _local1:Number = (SIN60 * Game.BALL_SIZE);
horizontalOffset = (CENTER_POSITION._x - ((cols * Game.BALL_SIZE) / 2));
verticalOffset = (CENTER_POSITION._y - ((rows * _local1) / 2));
rotation = 0;
deltaRotation = 0;
createBalls();
setPositionsRotated(rotation);
}
private function matchBall(_arg1:MatchBall, _arg2:Array):Array{
var _local4:MatchBall;
_arg2.push(_arg1);
_arg1.setCheck(true);
var _local3:int = _arg1.getColor();
var _local5:int;
while (_local5 < 6) {
_local4 = _arg1.getConnectedBall(_local5);
if (_local4 != null){
if (_local4.isChecked() == false){
if ((((((_local3 == _local4.getColor())) && ((_local4.isVisible() == true)))) && ((_local4.isCenterType() == false)))){
matchBall(_local4, _arg2);
};
};
};
_local5++;
};
return (_arg2);
}
public function getFreeBalls():Array{
var _local1:int;
var _local4:MatchBall;
_local1 = 0;
while (_local1 < balls.length) {
balls[_local1].setCheck(false);
_local1++;
};
var _local2:Array = new Array();
_local1 = 0;
while (_local1 < balls.length) {
if (balls[_local1].isCenterType()){
_local2.push(balls[_local1]);
};
_local1++;
};
_local1 = 0;
while (_local1 < _local2.length) {
markBall(_local2[_local1]);
_local1++;
};
var _local3:int;
_local1 = 0;
while (_local1 < balls.length) {
_local4 = balls[_local1];
if (((_local4.isChecked()) && ((_local4.isCenterType() == false)))){
_local3++;
};
_local1++;
};
var _local5:Array = new Array();
_local1 = 0;
while (_local1 < balls.length) {
_local4 = balls[_local1];
if ((((_local4.isChecked() == false)) && ((_local4.visible == true)))){
_local5.push(balls[_local1]);
};
_local1++;
};
return (_local5);
}
public function getCenterPosition():Vec2{
return (CENTER_POSITION);
}
public function hideAllBalls():Array{
var _local2:Ball;
var _local1:Array = new Array();
var _local3:int;
while (_local3 < balls.length) {
_local2 = balls[_local3];
if (_local2.visible){
_local2.visible = false;
_local1.push(_local2);
};
_local3++;
};
return (_local1);
}
public function render():void{
var _local1:int;
while (_local1 < balls.length) {
balls[_local1].render();
_local1++;
};
}
private function setMaps(_arg1:int):Map{
var _local2:int;
var _local3:Map;
switch (_arg1){
case 1:
threeOfFourColors = false;
nrColors = 3;
_local2 = getRandomMapNr(1, 3, false);
_local3 = maps.getMap(_local2);
break;
case 2:
threeOfFourColors = false;
nrColors = 3;
_local2 = getRandomMapNr(4, 3, false);
_local3 = maps.getMap(_local2);
break;
case 3:
threeOfFourColors = true;
nrColors = 3;
_local2 = getRandomMapNr(7, 3, true);
_local3 = maps.getMap(_local2);
break;
default:
threeOfFourColors = true;
nrColors = 3;
_local2 = getRandomMapSpecNr();
_local3 = maps.getMap(_local2);
break;
};
return (_local3);
}
public function tick():void{
rotate();
var _local1:int;
while (_local1 < balls.length) {
balls[_local1].tick();
_local1++;
};
}
public function stopRotation():void{
deltaRotation = 0;
}
public function setPositionsRotated(_arg1:Number):void{
var _local6:Number;
var _local7:Ball;
var _local9:int;
setPositionsNoRotation();
var _local2:Number = XPMath.cos(-(_arg1));
var _local3:Number = XPMath.sin(-(_arg1));
var _local4:Vec2 = new Vec2();
var _local5:Vec2 = new Vec2();
var _local8:int;
while (_local8 < rows) {
_local9 = 0;
while (_local9 < cols) {
_local7 = balls[((_local8 * cols) + _local9)];
_local5._x = _local7.pos._x;
_local5._y = _local7.pos._y;
_local5.subSelf(CENTER_POSITION);
_local6 = _local5._x;
_local5._x = ((_local2 * _local5._x) - (_local3 * _local5._y));
_local5._y = ((_local3 * _local6) + (_local2 * _local5._y));
_local5.addSelf(CENTER_POSITION);
_local7.pos._x = _local5._x;
_local7.pos._y = _local5._y;
_local9++;
};
_local8++;
};
}
private function getRandomMapSpecNr():int{
var _local3:int;
var _local4:Boolean;
var _local5:*;
var _local1 = 7;
var _local2 = 5;
do {
_local3 = (_local1 + random.nextInt(_local2));
_local4 = true;
if (usedMaps.length == _local2){
return (_local3);
};
_local5 = 0;
while (_local5 < usedMaps.length) {
if (_local3 == usedMaps[_local5]){
_local4 = false;
};
_local5++;
};
} while (_local4 == false);
usedMaps.push(_local3);
return (_local3);
}
private function initBalls(_arg1:Map):void{
var _local4:int;
var _local5:int;
var _local6:Boolean;
var _local7:int;
var _local8:int;
var _local9:Ball;
var _local10:Vec2;
var _local2:Array = new Array(nrColors);
var _local3:int;
while (_local3 < nrColors) {
_local2[_local3] = -1;
_local3++;
};
_local3 = 0;
while (_local3 < nrColors) {
_local5 = random.nextInt((nrColors + 1));
_local6 = false;
_local7 = 0;
while (_local7 < nrColors) {
if (_local2[_local7] == _local5){
_local6 = true;
break;
};
_local7++;
};
if (_local6 == false){
_local2[_local3] = _local5;
_local3++;
};
};
_local4 = 0;
while (_local4 < rows) {
_local8 = 0;
while (_local8 < cols) {
_local9 = balls[((_local4 * cols) + _local8)];
_local10 = new Vec2();
if (threeOfFourColors == true){
_local9.init(_local10, Game.BALL_SIZE, randomColorFromFour(_local2));
} else {
_local9.init(_local10, Game.BALL_SIZE, randomColor());
};
if (_arg1.mapData[((_local4 * cols) + _local8)] == 0){
_local9.hide();
} else {
if (_arg1.mapData[((_local4 * cols) + _local8)] == 2){
_local9.makeCenterBall();
};
};
if (_arg1.edgeData[((_local4 * cols) + _local8)] == 1){
_local9.makeEdgeBall();
};
_local8++;
};
_local4++;
};
_local4 = 0;
while (_local4 < rows) {
_local8 = 0;
while (_local8 < cols) {
connectBall(balls[((_local4 * cols) + _local8)], _local8, _local4);
_local8++;
};
_local4++;
};
setPositionsNoRotation();
}
public function flipToCenterBalls():void{
var _local1:Ball;
var _local2:FlipData;
while ((flipCounter < flipBalls.length)) {
_local2 = flipBalls[flipCounter];
_local2.ball.makeCenterBall();
if ((_local2.length - flipMeter) > 10){
flipMeter = (flipMeter + 10);
break;
};
flipCounter++;
};
}
public function setPositionsNoRotation():void{
var _local3:Ball;
var _local5:int;
var _local1:int;
var _local2:Number = (SIN60 * Game.BALL_SIZE);
var _local4:int;
while (_local4 < rows) {
if ((_local4 % 2) == 0){
_local1 = Game.HALF_BALL_SIZE;
} else {
_local1 = 0;
};
_local5 = 0;
while (_local5 < cols) {
_local3 = balls[((_local4 * cols) + _local5)];
_local3.pos._x = (((horizontalOffset + (_local5 * Game.BALL_SIZE)) + Game.HALF_BALL_SIZE) + _local1);
_local3.pos._y = ((verticalOffset + (_local4 * _local2)) + (_local2 / 2));
_local5++;
};
_local4++;
};
}
public function removeBalls(_arg1:Array):void{
var _local2:int;
while (_local2 < _arg1.length) {
_arg1[_local2].hide();
_local2++;
};
}
private function mapFromFile():Map{
var _local1:Map;
var _local4:Number;
trace("map from file...");
_local1 = maps.getMap(1);
var _local2:String = MyLoader.getData();
_local1.mapData = new Array((_local1.colums * _local1.rows));
var _local3:int;
while (_local3 < _local1.mapData.length) {
_local4 = Number(_local2.charAt(_local3));
_local1.mapData[_local3] = _local4;
_local3++;
};
return (_local1);
}
public function match(_arg1:int):Array{
var _local2:int;
while (_local2 < balls.length) {
balls[_local2].setCheck(false);
_local2++;
};
var _local3:Array = new Array();
var _local4:MatchBall = balls[_arg1];
matchBall(_local4, _local3);
return (_local3);
}
private function createBalls():void{
var _local2:int;
var _local3:MatchBall;
balls = new Array((rows * cols));
var _local1:int;
while (_local1 < rows) {
_local2 = 0;
while (_local2 < cols) {
_local3 = new MatchBall(bitmapRender, messageCallback);
balls[((_local1 * cols) + _local2)] = _local3;
_local2++;
};
_local1++;
};
}
public function getCenterBalls():Array{
var _local1:Array = new Array();
var _local2:int;
while (_local2 < balls.length) {
if (balls[_local2].isCenterType()){
_local1.push(balls[_local2]);
};
_local2++;
};
return (_local1);
}
public function getNrColors():int{
return (nrColors);
}
public function setupFlipToCenter(_arg1:Vec2):void{
var _local2:Ball;
var _local5:FlipData;
flipBalls = new Array();
flipCounter = 0;
flipMeter = 0;
var _local3:Vec2 = new Vec2();
var _local4:int;
while (_local4 < balls.length) {
_local2 = balls[_local4];
if (_local2.visible){
_local3._x = _local2.pos._x;
_local3._y = _local2.pos._y;
_local3.subSelf(_arg1);
_local5 = new FlipData();
_local5.length = _local3.length;
_local5.ball = _local2;
flipBalls.push(_local5);
};
_local4++;
};
flipBalls.sortOn("length", Array.NUMERIC);
}
public function markLowest(_arg1:Array, _arg2:Boolean):void{
var _local3:Ball;
var _local4:Ball;
var _local5:Number = -9999;
var _local6:int;
while (_local6 < _arg1.length) {
_local3 = _arg1[_local6];
_local3.markLowest = 0;
if (_local3.pos._y >= _local5){
_local5 = _local3.pos._y;
_local4 = _local3;
};
_local6++;
};
if (_arg2 == true){
_local4.markLowest = 2;
} else {
_local4.markLowest = 1;
};
}
private function randomColor():int{
return (random.nextInt(nrColors));
}
public function getNrBallsLeft():int{
var _local1:int;
var _local2:int;
while (_local2 < balls.length) {
if ((((balls[_local2].isVisible() == true)) && ((balls[_local2].isCenterType() == false)))){
_local1++;
};
_local2++;
};
return (_local1);
}
public function rotate():void{
if (deltaRotation > 0){
deltaRotation = (deltaRotation * DELTA_ROTATION_REDUCTION);
if (deltaRotation < 0.001){
deltaRotation = 0;
};
} else {
if (deltaRotation < 0){
deltaRotation = (deltaRotation * DELTA_ROTATION_REDUCTION);
if (deltaRotation > -0.001){
deltaRotation = 0;
};
};
};
rotation = (rotation + deltaRotation);
if (rotation > (2 * XPMath.pi)){
rotation = (rotation - (2 * XPMath.pi));
};
if (rotation < 0){
rotation = (rotation + (2 * XPMath.pi));
};
setPositionsRotated(rotation);
}
public function collisionTest(_arg1:Ball):Ball{
var _local3:Ball;
var _local2:Ball;
var _local4:int;
while (_local4 < balls.length) {
_local3 = balls[_local4];
if ((((_local3.visible == false)) || ((_arg1.visible == false)))){
} else {
if (_arg1.collide(_local3) == true){
_local2 = _local3;
return (_local2);
};
};
_local4++;
};
return (_local2);
}
private function traceBallPositions():void{
if (once == false){
return;
};
once = false;
var _local1:int;
while (_local1 < balls.length) {
trace((((((" " + _local1) + " ") + balls[_local1].pos._x) + " ") + balls[_local1].pos._y));
_local1++;
};
}
public function calcDeltaRotationForce(_arg1:UserBall, _arg2:Ball):void{
var _local5:Vec2;
var _local6:Number;
var _local3:Vec2 = new Vec2();
var _local4:Vec2 = new Vec2();
_local5 = _arg2.getPosition();
_local5.subSelf(CENTER_POSITION);
_local6 = _local5.length;
_local3.copy(_local5);
_local4.copy(_arg1.getMovement());
var _local7:Number = _local4.crossDet(_local3);
var _local8:int = int((_local7 / Math.abs(_local7)));
var _local9:Number = (_local4.rad() - _local3.rad());
var _local10:Number = (XPMath.sin(_local9) * _local4.length);
var _local11:Number = Math.abs(_local10);
var _local12:int = (int((cols / 2)) * Game.BALL_SIZE);
var _local13:Number = (_local6 / _local12);
if (_local13 > 1){
_local13 = 1;
};
var _local14:Number = ((((_local8 * _local11) * _local11) * ROTATION_SPEED_FACTOR) * _local13);
deltaRotation = (deltaRotation + _local14);
}
public function attachBall(_arg1:Ball):int{
var _local4:Ball;
var _local6:Vec2;
var _local7:Number;
var _local2 = -1;
var _local3:Number = 9999;
var _local5:int;
while (_local5 < balls.length) {
_local4 = balls[_local5];
if (_local4.visible == true){
} else {
_local6 = _local4.getPosition().sub(_arg1.getPosition());
_local7 = _local6.length;
if (_local7 > 30){
} else {
if (_local7 < _local3){
_local3 = _local7;
_local2 = _local5;
};
};
};
_local5++;
};
if (_local2 >= 0){
balls[_local2].setColor(_arg1.getColor());
balls[_local2].show();
};
return (_local2);
}
private function randomColorFromFour(_arg1:Array):int{
var _local2:int = random.nextInt(nrColors);
return (_arg1[_local2]);
}
private function markBall(_arg1:MatchBall):void{
var _local2:MatchBall;
_arg1.setCheck(true);
var _local3:int;
while (_local3 < 6) {
_local2 = _arg1.getConnectedBall(_local3);
if (_local2 != null){
if (_local2.isChecked() == false){
if ((((_local2.isVisible() == true)) && ((_local2.isCenterType() == false)))){
markBall(_local2);
};
};
};
_local3++;
};
}
public function getRotationValue():Number{
return (rotation);
}
public function initLevel(_arg1:int):void{
var _local3:Map;
random = new Random(randomSeed++);
var _local2:Number = (SIN60 * Game.BALL_SIZE);
rotation = 0;
deltaRotation = 0;
if (MyLoader.loadingFinished() == true){
_local3 = mapFromFile();
} else {
_local3 = setMaps(_arg1);
};
initBalls(_local3);
setPositionsRotated(rotation);
}
}
}//package loveme
Section 33
//Heart (loveme.Heart)
package loveme {
import flash.display.*;
public class Heart {
private var percent:Number;// = 1
private var speed:Number;
private var clip:MovieClip;
private var startPos:Vec2;
private var pos:Vec2;
public function Heart(_arg1:MovieClip){
pos = new Vec2();
startPos = new Vec2();
super();
this.clip = _arg1;
pos._x = _arg1.x;
pos._y = _arg1.y;
startPos._x = _arg1.x;
startPos._y = _arg1.y;
speed = (3 + (Math.random() * 5));
var _local2:int = (int((Math.random() * 10)) + 1);
this.clip.gotoAndPlay(_local2);
}
public function render():void{
clip.x = pos._x;
clip.y = pos._y;
clip.scaleX = percent;
clip.scaleY = percent;
}
public function tick():void{
pos._y = (pos._y - speed);
if (pos._y < -320){
pos._y = startPos._y;
speed = (3 + (Math.random() * 5));
};
var _local1:Number = Math.abs((-300 - startPos._y));
var _local2:Number = Math.abs((pos._y - startPos._y));
percent = ((_local2 / _local1) + 0.1);
if (percent > 1){
percent = 1;
};
}
}
}//package loveme
Section 34
//InfoData (loveme.InfoData)
package loveme {
public class InfoData {
public var data1:Number;
public var data2:Number;
public var data3:Number;
}
}//package loveme
Section 35
//Input (loveme.Input)
package loveme {
public class Input {
public var mouseIsReleased:Boolean;
public var spaceIsReleased:Boolean;
public var spaceIsPressed:Boolean;
public var mouseIsPressed:Boolean;
public var xMouse:int;
public var yMouse:int;
public function mouseReleased():void{
mouseIsReleased = true;
}
public function spaceReleased():void{
spaceIsReleased = true;
}
public function traceInput():void{
trace(((("xMouse: " + xMouse) + " yMouse: ") + yMouse));
trace(("mouseIsPressed: " + mouseIsPressed));
trace(("mouseIsReleased: " + mouseIsReleased));
}
public function reset():void{
mouseIsPressed = false;
mouseIsReleased = false;
spaceIsPressed = false;
spaceIsReleased = false;
}
public function init():void{
reset();
}
public function setMousePos(_arg1:int, _arg2:int):void{
xMouse = _arg1;
yMouse = _arg2;
}
public function spacePressed():void{
spaceIsPressed = true;
}
public function mousePressed():void{
mouseIsPressed = true;
}
}
}//package loveme
Section 36
//Integer64 (loveme.Integer64)
package loveme {
import loveme.*;
class Integer64 {
private var p:Array;
private var r:Array;
private var s:Array;
function Integer64(_arg1){
r = [[0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0], [0, 0, 0, 0, 0]];
p = [0, 0, 0, 0, 0];
s = [0, 0, 0];
if (_arg1){
merge(_arg1);
};
}
public function binaryShiftRight(_arg1:Number):void{
var _local5:*;
var _local6:*;
var _local2:* = ((_arg1 / 15) >> 0);
var _local3:* = (_arg1 - (_local2 * 15));
var _local4:* = (p.length - 1);
while (_local4 > 0) {
_local5 = 0;
while (_local5 < _local2) {
p[_local5] = p[(_local5 + 1)];
_local5++;
};
var _temp1 = _local4;
_local4 = (_local4 - 1);
var _local7 = _temp1;
p[_local7] = 0;
};
if (_local3 > 0){
_local6 = 0;
while (_local6 < _local3) {
shr();
_local6++;
};
};
}
public function mul32(_arg1:Number):void{
mul64(new Integer64(_arg1));
}
public function add32(_arg1:Number):void{
var _local2:* = 0;
var _local3:* = (_arg1 & 32767);
_arg1 = (_arg1 >> 15);
var _local4:* = (_arg1 & 32767);
_arg1 = (_arg1 >> 15);
var _local5:* = (_arg1 & 3);
_local2 = (_local2 + (p[0] + _local3));
p[0] = (_local2 & 32767);
_local2 = (_local2 >> 15);
_local2 = (_local2 + (p[1] + _local4));
p[1] = (_local2 & 32767);
_local2 = (_local2 >> 15);
_local2 = (_local2 + (p[2] + _local5));
p[2] = (_local2 & 32767);
}
public function binaryShiftLeft(_arg1:Number):void{
var _local2:* = 0;
while (_local2 < _arg1) {
shl();
_local2++;
};
}
public function mul64(_arg1:Integer64):void{
var _local4:*;
var _local2:* = 0;
var _local3:* = 0;
while (_local3 < 5) {
_local4 = _arg1.p[_local3];
_local2 = (_local4 * p[0]);
r[_local3][0] = (_local2 & 32767);
_local2 = (_local2 >> 15);
_local2 = (_local2 + (_local4 * p[1]));
r[_local3][1] = (_local2 & 32767);
_local2 = (_local2 >> 15);
_local2 = (_local2 + (_local4 * p[2]));
r[_local3][2] = (_local2 & 32767);
_local2 = (_local2 >> 15);
_local2 = (_local2 + (_local4 * p[3]));
r[_local3][3] = (_local2 & 32767);
_local2 = (_local2 >> 15);
_local2 = (_local2 + (_local4 * p[4]));
r[_local3][4] = (_local2 & 32767);
_local3++;
};
_local2 = r[0][0];
p[0] = (_local2 & 32767);
_local2 = (_local2 >> 15);
_local2 = (_local2 + (r[0][1] + r[1][0]));
p[1] = (_local2 & 32767);
_local2 = (_local2 >> 15);
_local2 = (_local2 + ((r[0][2] + r[1][1]) + r[2][0]));
p[2] = (_local2 & 32767);
_local2 = (_local2 >> 15);
_local2 = (_local2 + (((r[0][3] + r[1][2]) + r[2][1]) + r[3][0]));
p[3] = (_local2 & 32767);
_local2 = (_local2 >> 15);
_local2 = (_local2 + ((((r[0][4] + r[1][3]) + r[2][2]) + r[3][1]) + r[4][0]));
p[4] = (_local2 & 7);
}
private function shr():void{
var _local1:* = 0;
var _local2:* = 0;
var _local3:* = (p.length - 1);
while (_local3 >= 0) {
_local1 = ((p[_local3] & 1) << 14);
p[_local3] = (p[_local3] >> 1);
p[_local3] = ((p[_local3] | _local2) & 32767);
_local3--;
_local2 = _local1;
};
}
public function init32(_arg1:Number):void{
p[0] = (_arg1 & 32767);
_arg1 = (_arg1 >>> 15);
p[1] = (_arg1 & 32767);
_arg1 = (_arg1 >>> 15);
p[2] = (_arg1 & 3);
p[3] = 0;
p[4] = 0;
}
public function init(_arg1:Integer64):void{
var _local2:* = 0;
while (_local2 < p.length) {
p[_local2] = _arg1.p[_local2];
_local2++;
};
}
private function merge(_arg1:Number):Number{
var _local2:* = 0;
while (_local2 < 3) {
p[_local2] = (p[_local2] + (_arg1 & 32767));
_arg1 = (_arg1 >>> 15);
_local2++;
};
return (_arg1);
}
public function binaryNot(_arg1:Integer64):void{
p[0] = (p[0] ^ _arg1.p[0]);
p[1] = (p[1] ^ _arg1.p[1]);
p[2] = (p[2] ^ _arg1.p[2]);
p[3] = (p[3] ^ _arg1.p[3]);
p[4] = (p[4] ^ _arg1.p[4]);
}
public function get lsb():Number{
return (((p[0] | (p[1] << 15)) | ((p[2] & 3) << 30)));
}
public function get msb():Number{
return (((((p[2] >> 2) | ((p[3] << 15) >> 2)) | ((p[4] << (15 * 2)) >> 2)) & 2147483647));
}
public function mulu32(_arg1:Number):void{
var _local4:*;
var _local2:* = 0;
s[0] = (_arg1 & 32767);
_arg1 = (_arg1 >>> 15);
s[1] = (_arg1 & 32767);
_arg1 = (_arg1 >>> 15);
s[2] = (_arg1 & 3);
var _local3:* = 0;
while (_local3 < 3) {
_local4 = s[_local3];
_local2 = (_local4 * p[0]);
r[_local3][0] = (_local2 & 32767);
_local2 = (_local2 >> 15);
_local2 = (_local2 + (_local4 * p[1]));
r[_local3][1] = (_local2 & 32767);
_local2 = (_local2 >> 15);
_local2 = (_local2 + (_local4 * p[2]));
r[_local3][2] = (_local2 & 3);
_local3++;
};
_local2 = r[0][0];
p[0] = (_local2 & 32767);
_local2 = (_local2 >> 15);
_local2 = (_local2 + (r[0][1] + r[1][0]));
p[1] = (_local2 & 32767);
_local2 = (_local2 >> 15);
_local2 = (_local2 + ((r[0][2] + r[1][1]) + r[2][0]));
p[2] = (_local2 & 3);
p[3] = 0;
p[4] = 0;
}
private function shl():void{
var _local1:* = 0;
var _local2:* = 0;
var _local3:* = 0;
var _local4:* = p.length;
while (_local3 < _local4) {
_local1 = ((p[_local3] & 0x4000) >> 14);
p[_local3] = (p[_local3] << 1);
p[_local3] = ((p[_local3] | _local2) & 32767);
_local3++;
_local2 = _local1;
};
}
public function add64(_arg1:Integer64):void{
var _local2:* = 0;
var _local3:* = 1;
var _local4:* = 0;
while ((((_local3 < p.length)) && (!((_arg1.p[_local4] == 0))))) {
_local3++;
};
_local4 = 0;
while (_local4 < _local3) {
_local2 = (_local2 + (p[_local4] + _arg1.p[_local4]));
p[_local4] = (_local2 & 32767);
_local2 = (_local2 >> 15);
_local4++;
};
}
}
}//package loveme
Section 37
//IntroHandler (loveme.IntroHandler)
package loveme {
import flash.display.*;
import bitmap_classes.*;
public class IntroHandler {
private var clip:MovieClip;
private var holderClip:Sprite;
public function IntroHandler(_arg1:Sprite){
this.holderClip = _arg1;
clip = new NewIntro();
clip.x = 377;
clip.y = 283;
setTexts();
_arg1.addChild(clip);
}
public function remove():void{
holderClip.removeChild(clip);
clip = null;
}
public function setGameStartsIn(_arg1:int):void{
var _local2:Number = Math.floor((_arg1 / 25));
_local2 = (_local2 + 1);
if (_local2 < 1){
_local2 = 1;
};
var _local3:String = String(_local2);
var _local4:String = TextProperties.GAME_STARTS_IN;
_local4 = _local4.split("[0]").join(_local3);
if (clip.gameStartsIn_txt){
clip.gameStartsIn_txt.text = _local4;
};
}
private function setTexts():void{
if (clip.instructionsHeader_txt){
clip.instructionsHeader_txt.text = TextProperties.INSTRUCTIONS_HEADER;
};
if (clip.instructionsText_txt){
clip.instructionsText_txt.text = TextProperties.INSTRUCTIONS_TEXT1;
};
}
}
}//package loveme
Section 38
//LoveMeApp (loveme.LoveMeApp)
package loveme {
import flash.events.*;
import flash.display.*;
import flash.ui.*;
import flash.utils.*;
import flash.external.*;
public class LoveMeApp extends Sprite {
private var bonusBetweenAllTimeOld:Boolean;// = false
private var outroHolderClip:Sprite;
private var state:int;
private var largeCombosAllTimeOld:int;// = 0
private var tickCounter:Number;
private var soundButton:MyButton;
private var levelsClearedAllTime:int;// = 0
private var reachedLevelAllTimeOld:int;// = 0
private var largeCombosAllTime:int;// = 0
private var musicButton:MyButton;
private var introHandler:IntroHandler;
private var outroHandler:OutroHandler;
private var soundsOn:Boolean;// = true
private var personalBest:int;// = 0
private var timer:Timer;
private var showTrophy3:Boolean;// = false
private var showTrophy4:Boolean;// = false
private var input:Input;
private var showTrophy1:Boolean;// = false
private var initializeCounter:int;// = 0
private var clip:Sprite;
private var personalBestOld:int;// = 0
private var randomSeed:int;// = 0
private var levelsClearedAllTimeOld:int;// = 0
private var renderStartTime:Number;
private var animateTrophy2:Boolean;// = false
private var animateTrophy3:Boolean;// = false
private var reachedLevelAllTime:int;// = 0
private var musicOn:Boolean;// = true
private var bonusBetweenAllTime:Boolean;// = false
private var showTrophy2:Boolean;// = false
private var animateTrophy4:Boolean;// = false
private var animateTrophy1:Boolean;// = false
private var exitButton:MyButton;
private var renderFPS:Number;// = 0
private var gameHandler:GameHandler;
public static var QUIT_STATE:int = 4;
public static var INIT_STATE:int = 0;
public static var MIN_END_SCREEN_TICK_TIME:int = 50;
public static var LOGIC_UPDATE_FREQUENCE:int = 50;
public static var LOAD_MAP_FROM_FILE:Boolean = false;
private static var GAME_DATA:String = (((((((((((((((((((((("<gamedata randomseed=\"1\" timelimit=\"660\" lang=\"de\" levelscleared=\"00\" largecombos=\"0\" bonusbetween=\"0\" reachedlevel=\"0\" personalbest=\"0\" musicon=\"1\" soundson=\"1\" relaxMode=\"true\">" + "<text id=\"instructions_header\">Instructions</text>") + "<text id=\"instructions_text1\">Play for funt...</text>") + "<text id=\"game_starts_in\">Game Starts int [0] seconds</text>") + "<text id=\"game_ends_in\">Game ends in [0] seconds</text>") + "<text id=\"level_bonus\">Level Bonus:</text>") + "<text id=\"end_screen_header\">Game Over</text>") + "<text id=\"end_screen_score\">Score</text>") + "<text id=\"end_screen_level_bonus\">Level Bonus</text>") + "<text id=\"end_screen_total_score\">Total Score</text>") + "<text id=\"end_screen_new_best\">New Best</text>") + "<text id=\"end_screen_personal_best\">Personal Best</text>") + "<text id=\"end_screen_trophy1_info\">Pick 18 flowers to get a cool trophy</text>") + "<text id=\"end_screen_trophy2_info\">Make 20 combos thats 20 bubbles or more to get a cool trophy</text>") + "<text id=\"end_screen_trophy3_info\">Go form one level to next with bonus meter active to get a cool trophy</text>") + "<text id=\"end_screen_trophy4_info\">Reach level 5 to get a cool trophy</text>") + "<text id=\"open_game_text\">aSignup to play the full game</text>") + "<boosters>") + "<a value=\"0\" />") + "<b value=\"0\" />") + "</boosters>") + "<userType id=\"1\">1</userType>") + "</gamedata>");
public static var MAX_INSTRUCTION_TICK_TIME:int = 250;
public static var GAME_STATE:int = 2;
public static var END_SCREEN_STATE:int = 3;
public static var MIN_END_OPEN_GAME_TICK_TIME:int = 100;
public static var DEBUG_MODE:Boolean = false;
public static var END_OPEN_GAME_STATE:int = 5;
public static var MAX_END_OPEN_GAME_TICK_TIME:int = 101;
public static var MAX_END_SCREEN_TICK_TIME:int = 250;
public static var INTRO_STATE:int = 1;
public function LoveMeApp(_arg1:Sprite){
state = INIT_STATE;
super();
this.clip = _arg1;
if (LOAD_MAP_FROM_FILE){
MyLoader.load();
};
if (DEBUG_MODE == false){
getGameData();
};
Communicator.setModeDebugMode(DEBUG_MODE);
Communicator.parseGameData(GAME_DATA);
if (DEBUG_MODE == true){
Communicator.randomSeed = (int((Math.random() * 1000)) + 1);
};
randomSeed = Communicator.randomSeed;
musicOn = Communicator.musicOn;
soundsOn = Communicator.soundsOn;
GameGUI.setFps(randomSeed);
setLevelsClearedAllTime(Communicator.levelsCleared);
setLargeCombosAllTime(Communicator.largeCombos);
if (Communicator.bonusBetween == 1){
setBonusBetweenAllTime(true);
} else {
setBonusBetweenAllTime(false);
};
setReachedLevelAllTime(Communicator.reachedLevel);
setPersonalBest(Communicator.personlaBest);
}
private function mouseReleased(_arg1:Event):void{
input.mouseReleased();
}
public function init():void{
input = new Input();
input.init();
var _local1:Sprite = new Sprite();
_local1.mouseEnabled = false;
_local1.mouseChildren = false;
clip.addChild(_local1);
gameHandler = new GameHandler(_local1, input, randomSeed, Communicator.boosters.a, Communicator.boosters.b);
gameHandler.setLevelsClearedAllTime(levelsClearedAllTime);
gameHandler.init();
timer = new Timer(LOGIC_UPDATE_FREQUENCE);
stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDownListener);
stage.addEventListener(KeyboardEvent.KEY_UP, keyUpListener);
stage.addEventListener(MouseEvent.MOUSE_DOWN, mousePressed);
stage.addEventListener(MouseEvent.MOUSE_UP, mouseReleased);
introHandler = new IntroHandler(clip);
setSlowUpdate();
outroHolderClip = new Sprite();
clip.addChild(outroHolderClip);
musicButton = new MyButton(clip, new MusicClip());
musicButton.init(658, 532, 30, 30);
soundButton = new MyButton(clip, new SoundClip());
soundButton.init(690, 532, 30, 30);
exitButton = new MyButton(clip, new ExitClip());
exitButton.init(722, 532, 30, 30);
exitButton.deactivate();
exitButton.hide();
if (musicOn == true){
musicButton.turnOn();
} else {
musicButton.turnOff();
MusicSounds.soundOffDirect();
};
if (soundsOn == true){
soundButton.turnOn();
} else {
soundButton.turnOff();
Sounds.soundOffDirect();
};
MusicSounds.startIntroLoop();
}
public function setLevelsClearedAllTime(_arg1:int):void{
levelsClearedAllTime = _arg1;
}
private function render():void{
var _local1:Number;
if (state == GAME_STATE){
gameHandler.render();
};
if ((((((state == END_SCREEN_STATE)) || ((state == QUIT_STATE)))) && ((Communicator.openGame == false)))){
outroHandler.render();
};
if (renderFPS == 0){
renderStartTime = getTimer();
} else {
_local1 = ((getTimer() - renderStartTime) / 1000);
if (_local1 >= 1){
GameGUI.setFps(renderFPS);
renderFPS = -1;
};
};
musicButton.render();
soundButton.render();
exitButton.render();
renderFPS++;
}
private function updateInfo():void{
var _local1:int = gameHandler.getLevelsCleared();
var _local2:int = gameHandler.getLargeCombos();
var _local3:Boolean;
var _local4:int = gameHandler.getLevel();
var _local5:int = gameHandler.getScore();
levelsClearedAllTimeOld = levelsClearedAllTime;
largeCombosAllTimeOld = largeCombosAllTime;
reachedLevelAllTimeOld = reachedLevelAllTime;
bonusBetweenAllTimeOld = bonusBetweenAllTime;
personalBestOld = personalBest;
levelsClearedAllTime = (levelsClearedAllTime + _local1);
largeCombosAllTime = (largeCombosAllTime + _local2);
if (_local4 > reachedLevelAllTime){
reachedLevelAllTime = _local4;
};
if (gameHandler.getStartedLevelsWithBonusOn() >= 2){
bonusBetweenAllTime = true;
};
if (levelsClearedAllTime >= 18){
showTrophy1 = true;
if (levelsClearedAllTimeOld < 18){
animateTrophy1 = true;
};
};
if ((((personalBest >= 300000)) || ((gameHandler.getScore() >= 300000)))){
showTrophy2 = true;
if (personalBestOld < 300000){
animateTrophy2 = true;
};
};
if (bonusBetweenAllTime){
showTrophy3 = true;
if (bonusBetweenAllTimeOld == false){
animateTrophy3 = true;
};
};
if (reachedLevelAllTime >= 5){
showTrophy4 = true;
if (reachedLevelAllTime < 5){
animateTrophy4 = true;
};
};
}
public function setReachedLevelAllTime(_arg1:int):void{
reachedLevelAllTime = _arg1;
}
private function tick():void{
var _local1:Boolean;
input.setMousePos(stage.mouseX, stage.mouseY);
if (input.mouseIsPressed){
if (musicButton.click(input.xMouse, input.yMouse)){
input.reset();
if (musicButton.isOn() == true){
musicOn = true;
MusicSounds.soundOn();
} else {
musicOn = false;
MusicSounds.soundOff();
};
};
if (soundButton.click(input.xMouse, input.yMouse)){
input.reset();
if (soundButton.isOn() == true){
soundsOn = true;
Sounds.soundOn();
} else {
soundsOn = false;
Sounds.soundOff();
};
};
if (exitButton.click(input.xMouse, input.yMouse)){
input.reset();
exitButton.deactivate();
gameHandler.exitGame();
};
};
switch (state){
case INIT_STATE:
break;
case INTRO_STATE:
introHandler.setGameStartsIn((MAX_INSTRUCTION_TICK_TIME - tickCounter));
if (((input.mouseIsPressed) || ((tickCounter > MAX_INSTRUCTION_TICK_TIME)))){
exitButton.show();
exitButton.activate();
state = GAME_STATE;
introHandler.remove();
setFastUpdate();
Communicator.gameStarted();
if (stage.focus != stage){
stage.focus = stage;
};
MusicSounds.stopIntroLoop();
MusicSounds.startGameLoop();
};
break;
case GAME_STATE:
gameHandler.tick();
if ((((gameHandler.gameIsFinished() == true)) && ((Communicator.openGame == true)))){
tickCounter = 0;
state = END_OPEN_GAME_STATE;
exitButton.deactivate();
exitButton.hide();
Communicator.gameEnd(gameHandler.getScore());
break;
};
if (gameHandler.gameIsFinished() == true){
setSlowUpdate();
Mouse.show();
_local1 = false;
if ((((gameHandler.getLevel() >= 2)) && ((gameHandler.notPossibleToRotate() == false)))){
_local1 = true;
};
outroHandler = new OutroHandler(outroHolderClip);
outroHandler.setScore((gameHandler.getScore() - gameHandler.getTotalLevelBonus()));
outroHandler.setLevelBonus(gameHandler.getTotalLevelBonus());
outroHandler.setTotalScore(gameHandler.getScore());
updateInfo();
outroHandler.happyEnding(_local1);
outroHandler.showFlovers(levelsClearedAllTime);
if (animateTrophy1){
outroHandler.showButterflies(false);
outroHandler.startTrophyOneAnimation();
} else {
outroHandler.showButterflies(showTrophy1);
outroHandler.showTrophyHolderOne(!(showTrophy1));
};
if (animateTrophy2){
outroHandler.showHeart(false);
outroHandler.startTrophyTwoAnimation();
} else {
outroHandler.showHeart(showTrophy2);
outroHandler.showTrophyHolderTwo(!(showTrophy2));
};
if (animateTrophy3){
outroHandler.showRose(false);
outroHandler.startTrophyThreeAnimation();
} else {
outroHandler.showRose(showTrophy3);
outroHandler.showTrophyHolderThree(!(showTrophy3));
};
if (animateTrophy4){
outroHandler.showRainbow(false);
outroHandler.startTrophyFourAnimation();
} else {
outroHandler.showRainbow(showTrophy4);
outroHandler.showTrophyHolderFour(!(showTrophy4));
};
if (gameHandler.getScore() > personalBest){
outroHandler.setScoreCountUp(personalBest, gameHandler.getScore());
personalBest = gameHandler.getScore();
outroHandler.blinkPersonalBest();
} else {
outroHandler.setScoreCountUp(personalBest, personalBest);
};
tickCounter = 0;
state = END_SCREEN_STATE;
exitButton.deactivate();
exitButton.hide();
sendStorableData();
Communicator.gameEnd(gameHandler.getScore());
MusicSounds.stopGameLoop();
MusicSounds.startGameOverLoop();
};
break;
case END_SCREEN_STATE:
outroHandler.setGameEndsIn((MAX_END_SCREEN_TICK_TIME - tickCounter));
if (((((input.mouseIsPressed) || ((tickCounter > MAX_END_SCREEN_TICK_TIME)))) && ((tickCounter > MIN_END_SCREEN_TICK_TIME)))){
tickCounter = MAX_END_SCREEN_TICK_TIME;
state = QUIT_STATE;
MusicSounds.soundFadeOff();
Communicator.gameQuit();
outroHandler.setGameEndsIn(((MAX_END_SCREEN_TICK_TIME - tickCounter) - 1));
};
if (((animateTrophy1) && ((tickCounter == 60)))){
outroHandler.showButterflies(true);
outroHandler.showTrophyHolderOne(false);
outroHandler.setButterfliesStartPos();
};
if (((animateTrophy2) && ((tickCounter == 50)))){
outroHandler.showTrophyHolderTwo(false);
outroHandler.showAndPlayHartExplosion();
};
if (((animateTrophy2) && ((tickCounter == 60)))){
outroHandler.showHeart(true);
};
if (((animateTrophy3) && ((tickCounter == 60)))){
outroHandler.showRose(true);
outroHandler.showTrophyHolderThree(false);
};
if (((animateTrophy4) && ((tickCounter == 50)))){
outroHandler.showTrophyHolderFour(false);
outroHandler.showAndPlayRainbowExplosion();
};
if (((animateTrophy4) && ((tickCounter == 80)))){
outroHandler.showRainbow(true);
};
outroHandler.tick();
break;
case END_OPEN_GAME_STATE:
if (((((input.mouseIsPressed) || ((tickCounter > MAX_END_OPEN_GAME_TICK_TIME)))) && ((tickCounter > MIN_END_OPEN_GAME_TICK_TIME)))){
trace(("tickCounter " + tickCounter));
tickCounter = MAX_END_OPEN_GAME_TICK_TIME;
state = QUIT_STATE;
MusicSounds.soundFadeOff();
Communicator.gameQuit();
};
break;
case QUIT_STATE:
if (Communicator.openGame == false){
outroHandler.tick();
};
break;
};
Sounds.update();
MusicSounds.update();
input.reset();
tickCounter++;
}
public function setBonusBetweenAllTime(_arg1:Boolean):void{
bonusBetweenAllTime = _arg1;
}
public function setLargeCombosAllTime(_arg1:int):void{
largeCombosAllTime = _arg1;
}
private function keyUpListener(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == 32){
input.spaceReleased();
};
}
private function setSlowUpdate():void{
removeEventListener("enterFrame", advanceTime);
addEventListener("enterFrame", update);
stage.frameRate = 25;
}
private function mousePressed(_arg1:Event):void{
input.mousePressed();
}
private function getGameData():void{
var _local1:Object = ExternalInterface.call("getGameData");
if ((((_local1 == null)) || (!(_local1.success)))){
} else {
GAME_DATA = _local1.message;
};
}
private function setFastUpdate():void{
removeEventListener("enterFrame", update);
addEventListener("enterFrame", advanceTime);
stage.frameRate = 70;
}
private function sendStorableData():void{
var _local1:int;
var _local2:int;
if (soundsOn){
_local1 = 1;
};
if (musicOn){
_local2 = 1;
};
Communicator.sendPlayData2(90, gameHandler.getTick(), _local1, _local2);
Communicator.sendPlayData1(91, gameHandler.getTick(), levelsClearedAllTime);
Communicator.sendPlayData1(92, gameHandler.getTick(), largeCombosAllTime);
var _local3:int;
if (bonusBetweenAllTime){
_local3 = 1;
};
Communicator.sendPlayData1(93, gameHandler.getTick(), _local3);
Communicator.sendPlayData1(94, gameHandler.getTick(), reachedLevelAllTime);
Communicator.sendPlayData1(95, gameHandler.getTick(), personalBest);
}
private function update(_arg1:Event):void{
tick();
render();
initializeCounter++;
if (initializeCounter == 5){
tickCounter = 0;
state = INTRO_STATE;
if (LOAD_MAP_FROM_FILE == true){
if (MyLoader.loadingFinished() == true){
gameHandler.init();
};
};
};
}
public function setPersonalBest(_arg1:int):void{
personalBest = _arg1;
}
private function keyDownListener(_arg1:KeyboardEvent):void{
if (_arg1.keyCode == 32){
input.spacePressed();
};
}
private function advanceTime(_arg1:Event):void{
var _local2:int = timer.advanceTime();
var _local3:int;
while (_local3 < _local2) {
tick();
_local3++;
};
render();
}
}
}//package loveme
Section 39
//ManagedSound (loveme.ManagedSound)
package loveme {
import flash.media.*;
public class ManagedSound {
public var activeSounds:Array;
private var manager:SoundManager;
private var ClassReference:Class;
public function ManagedSound(_arg1:SoundManager, _arg2:Class){
activeSounds = new Array();
super();
this.manager = _arg1;
this.ClassReference = _arg2;
}
public function stop():void{
var _local1:int;
while (_local1 < activeSounds.length) {
activeSounds[_local1].stop();
_local1++;
};
}
public function play(_arg1:Number=1, _arg2:Number=0):ManagedSoundChannel{
var _local3:SoundChannel = new ClassReference().play(0, 0, new SoundTransform(_arg1, _arg2));
return (new ManagedSoundChannel(manager, this, _local3));
}
public function loop(_arg1:Number=1, _arg2:Number=0, _arg3:Number=999999999):ManagedSoundChannel{
var _local4:SoundChannel = new ClassReference().play(0, _arg3, new SoundTransform(_arg1, _arg2));
return (new ManagedSoundChannel(manager, this, _local4));
}
public function fadeToAndStop(_arg1:Number, _arg2:Number):void{
var _local3:int;
while (_local3 < activeSounds.length) {
activeSounds[_local3].fadeToAndStop(_arg1, _arg2);
_local3++;
};
}
public function isPlaying():Boolean{
return ((activeSounds.length > 0));
}
public function update():void{
var _local1:int;
while (_local1 < activeSounds.length) {
activeSounds[_local1].update();
_local1++;
};
}
public function fadeTo(_arg1:Number, _arg2:Number):void{
var _local3:int;
while (_local3 < activeSounds.length) {
activeSounds[_local3].fadeTo(_arg1, _arg2);
_local3++;
};
}
public function panTo(_arg1:Number, _arg2:Number):void{
var _local3:int;
while (_local3 < activeSounds.length) {
activeSounds[_local3].panTo(_arg1, _arg2);
_local3++;
};
}
public function setPan(_arg1:Number):void{
var _local2:int;
while (_local2 < activeSounds.length) {
activeSounds[_local2].setPan(_arg1);
_local2++;
};
}
public function setVolume(_arg1:Number):void{
var _local2:int;
while (_local2 < activeSounds.length) {
activeSounds[_local2].setVolume(_arg1);
_local2++;
};
}
}
}//package loveme
Section 40
//ManagedSoundChannel (loveme.ManagedSoundChannel)
package loveme {
import flash.events.*;
import flash.media.*;
import flash.utils.*;
public class ManagedSoundChannel {
private var fadeStartVolume:Number;// = -1
private var channel:SoundChannel;
private var fadeEndVolume:Number;// = -1
private var targetVolume:Number;
private var targetPan:Number;
private var sound:ManagedSound;
private var stopAfterFade:Boolean;// = false
private var panEndTime:Number;// = -1
private var fadeEndTime:Number;// = -1
private var manager:SoundManager;
private var playing:Boolean;// = true
private var panStartTime:Number;// = -1
private var fadeStartTime:Number;// = -1
private var panEndVolume:Number;// = -1
private var panStartVolume:Number;// = -1
public function ManagedSoundChannel(_arg1:SoundManager, _arg2:ManagedSound, _arg3:SoundChannel){
this.manager = _arg1;
this.sound = _arg2;
this.channel = _arg3;
_arg2.activeSounds.push(this);
if (_arg3 == null){
soundComplete(null);
return;
};
_arg3.addEventListener(Event.SOUND_COMPLETE, soundComplete);
targetVolume = _arg3.soundTransform.volume;
targetPan = _arg3.soundTransform.pan;
update();
}
public function stop():void{
if (!playing){
return;
};
if (channel == null){
return;
};
channel.stop();
soundComplete(null);
}
public function update():void{
var _local1:Number;
if (!playing){
return;
};
if (fadeStartTime >= 0){
_local1 = ((getTimer() - fadeStartTime) / (fadeEndTime - fadeStartTime));
if (_local1 < 0){
_local1 = 0;
};
if (_local1 > 1){
_local1 = 1;
};
targetVolume = (fadeStartVolume + ((fadeEndVolume - fadeStartVolume) * _local1));
targetVolume = (targetVolume * targetVolume);
if (_local1 == 1){
fadeStartTime = -1;
};
if ((((_local1 == 1)) && (stopAfterFade))){
stop();
};
};
if (panStartTime >= 0){
_local1 = ((getTimer() - panStartTime) / (panEndTime - panStartTime));
if (_local1 < 0){
_local1 = 0;
};
if (_local1 > 1){
_local1 = 1;
};
targetPan = (panStartVolume + ((panEndVolume - panStartVolume) * _local1));
if (_local1 == 1){
panStartTime = -1;
};
};
var _local2:Number = (targetVolume * manager.volume);
var _local3:Number = targetPan;
if (channel == null){
return;
};
if (((!((_local2 == channel.soundTransform.volume))) || (!((_local3 == channel.soundTransform.pan))))){
channel.soundTransform = new SoundTransform(_local2, _local3);
};
}
public function panTo(_arg1:Number, _arg2:Number):void{
if (!playing){
return;
};
panStartVolume = targetPan;
panEndVolume = _arg1;
panStartTime = getTimer();
panEndTime = (getTimer() + _arg2);
}
public function fadeTo(_arg1:Number, _arg2:Number):void{
if (!playing){
return;
};
fadeStartVolume = Math.sqrt(targetVolume);
fadeEndVolume = Math.sqrt(_arg1);
fadeStartTime = getTimer();
fadeEndTime = (getTimer() + _arg2);
stopAfterFade = false;
}
public function setPan(_arg1:Number):void{
if (!playing){
return;
};
if (channel == null){
return;
};
channel.soundTransform.pan = _arg1;
panStartTime = -1;
update();
}
public function fadeToAndStop(_arg1:Number, _arg2:Number):void{
if (!playing){
return;
};
fadeTo(_arg1, _arg2);
stopAfterFade = true;
}
public function setVolume(_arg1:Number):void{
if (!playing){
return;
};
stopAfterFade = false;
this.targetVolume = _arg1;
fadeStartTime = -1;
update();
}
public function soundComplete(_arg1:Event):void{
if (!playing){
return;
};
sound.activeSounds.splice(sound.activeSounds.indexOf(this), 1);
playing = false;
}
public function isPlaying():Boolean{
return (playing);
}
}
}//package loveme
Section 41
//Map (loveme.Map)
package loveme {
public class Map {
public var edgeData:Array;
public var rows:int;
public var colums:int;
public var mapData:Array;
}
}//package loveme
Section 42
//Maps (loveme.Maps)
package loveme {
public class Maps {
private var map10:Map;
private var map11:Map;
private var map9:Map;
private var map1:Map;
private var map2:Map;
private var map3:Map;
private var map4:Map;
private var map5:Map;
private var map6:Map;
private var map7:Map;
private var map8:Map;
private static var data10:Array = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1);
public function Maps(){
map1 = new Map();
map2 = new Map();
map3 = new Map();
map4 = new Map();
map5 = new Map();
map6 = new Map();
map7 = new Map();
map8 = new Map();
map9 = new Map();
map10 = new Map();
map11 = new Map();
super();
map1.mapData = data1;
map1.colums = 23;
map1.rows = 23;
map1.edgeData = edgeData;
map2.mapData = data2;
map2.colums = 23;
map2.rows = 23;
map2.edgeData = edgeData;
map3.mapData = data3;
map3.colums = 23;
map3.rows = 23;
map3.edgeData = edgeData;
map4.mapData = data4;
map4.colums = 23;
map4.rows = 23;
map4.edgeData = edgeData;
map5.mapData = data5;
map5.colums = 23;
map5.rows = 23;
map5.edgeData = edgeData;
map6.mapData = data6;
map6.colums = 23;
map6.rows = 23;
map6.edgeData = edgeData;
map7.mapData = data7;
map7.colums = 23;
map7.rows = 23;
map7.edgeData = edgeData;
map8.mapData = data8;
map8.colums = 23;
map8.rows = 23;
map8.edgeData = edgeData;
map9.mapData = data9;
map9.colums = 23;
map9.rows = 23;
map9.edgeData = edgeData;
map10.mapData = data10;
map10.colums = 23;
map10.rows = 23;
map10.edgeData = edgeData;
map11.mapData = data11;
map11.colums = 23;
map11.rows = 23;
map11.edgeData = edgeData;
}
public function getMap(_arg1:int):Map{
switch (_arg1){
case 1:
return (map1);
case 2:
return (map2);
case 3:
return (map3);
case 4:
return (map4);
case 5:
return (map5);
case 6:
return (map6);
case 7:
return (map7);
case 8:
return (map8);
case 9:
return (map9);
case 10:
return (map10);
case 11:
return (map11);
default:
return (map3);
};
}
}
}//package loveme
Section 43
//MatchBall (loveme.MatchBall)
package loveme {
import flash.display.*;
import bitmap_classes.*;
public class MatchBall extends Ball {
private var nearEdge:Boolean;
private var checked:Boolean;
private var connections:Array;
public function MatchBall(_arg1:BitmapRender, _arg2:Function){
super(_arg1, _arg2);
connections = new Array(6);
var _local3:int;
while (_local3 < connections.length) {
connections[_local3] = null;
_local3++;
};
animSpeed = 0.3;
lastFrame = (bitmapRenderSequenceEdge.getLength() - 1);
nearEdge = false;
}
public function setConnection(_arg1:int, _arg2:MatchBall):void{
connections[_arg1] = _arg2;
}
override public function tick():void{
super.tick();
if (nearEdge){
driveAnimationLoop();
};
if (visible == false){
return;
};
}
public function setCheck(_arg1:Boolean):void{
checked = _arg1;
}
override public function deleting():void{
}
override public function init(_arg1:Vec2, _arg2:Number, _arg3:int):void{
setPosVec(_arg1);
setColor(_arg3);
this.diameter = _arg2;
show();
centerType = false;
}
public function getConnectedBall(_arg1:int):MatchBall{
return (connections[_arg1]);
}
override public function render():void{
if (visible == false){
return;
};
super.render();
if (nearEdge){
bitmapRenderSequenceEdge.renderMiddle(frame, pos._x, pos._y);
};
}
public function isChecked():Boolean{
return (checked);
}
}
}//package loveme
Section 44
//Meter (loveme.Meter)
package loveme {
import bitmap_classes.*;
import flash.geom.*;
public class Meter {
private var animate:Boolean;
private var meterParticles:MeterParticles;
private var percent:Number;
private var emptyRenderRect:Rectangle;
private var bitmapRender:BitmapRender;
private var wantedPercent:Number;
private var showLight:Boolean;
private var justFull:Boolean;// = false
public static var fullBRO:BitmapRenderObject;
public static var lightBRO:BitmapRenderObject;
public static var emptyBRO:BitmapRenderObject;
public static var POS_X:Number = 650;
public static var POS_Y:Number = 132;
public function Meter(_arg1:BitmapRender){
emptyRenderRect = new Rectangle();
super();
this.bitmapRender = _arg1;
initGraphics(_arg1);
init();
meterParticles = new MeterParticles(_arg1);
meterParticles.setPos((POS_X - 12), (POS_Y - 12));
}
public function setPercent(_arg1:Number):void{
wantedPercent = _arg1;
if (wantedPercent != this.percent){
animate = true;
};
var _local2:Number = (1 - _arg1);
var _local3:int = int((81 + (102 * _local2)));
emptyRenderRect.left = 0;
emptyRenderRect.top = 0;
emptyRenderRect.right = 114;
emptyRenderRect.bottom = _local3;
if ((((justFull == true)) && ((wantedPercent == 0)))){
justFull = false;
Sounds.playBonusOff();
};
}
private function initGraphics(_arg1:BitmapRender):void{
emptyBRO = new BitmapRenderObject(_arg1);
emptyBRO.init(new BonusMeter(0, 0));
fullBRO = new BitmapRenderObject(_arg1);
fullBRO.init(new BonusMeterFull(0, 0));
lightBRO = new BitmapRenderObject(_arg1);
lightBRO.init(new BonusMeterLight(0, 0));
}
public function init():void{
percent = 0;
wantedPercent = 0;
animate = false;
setPercent(0);
}
public function tick():void{
meterParticles.tick();
if (animate == false){
return;
};
if (percent < wantedPercent){
percent = (percent + 0.01);
if (percent >= wantedPercent){
percent = wantedPercent;
animate = false;
};
} else {
if (percent > wantedPercent){
percent = (percent - 0.04);
if (percent <= wantedPercent){
percent = wantedPercent;
animate = false;
};
};
};
if (percent < 0){
percent = 0;
} else {
if (percent > 1){
percent = 1;
};
};
var _local1:Number = (1 - percent);
var _local2:int = int((81 + (102 * _local1)));
emptyRenderRect.left = 0;
emptyRenderRect.top = 0;
emptyRenderRect.right = 114;
emptyRenderRect.bottom = _local2;
if (percent >= 1){
showLight = true;
if (justFull == false){
justFull = true;
Sounds.playBonusOn();
};
} else {
showLight = false;
};
}
public function render():void{
fullBRO.render(POS_X, POS_Y);
emptyBRO.renderRect(POS_X, POS_Y, emptyRenderRect);
if (showLight){
lightBRO.render(POS_X, POS_Y);
meterParticles.render();
};
}
}
}//package loveme
Section 45
//MeterParticles (loveme.MeterParticles)
package loveme {
import bitmap_classes.*;
public class MeterParticles extends BaseObject {
private static var initGraphicsOnce:Boolean = true;
private static var bitmapRenderSequence:BitmapRenderSequence;
public function MeterParticles(_arg1:BitmapRender){
if (initGraphicsOnce == true){
initGraphics(_arg1);
initGraphicsOnce = false;
};
animSpeed = 0.3;
lastFrame = (bitmapRenderSequence.getLength() - 1);
}
private function initGraphics(_arg1:BitmapRender):void{
bitmapRenderSequence = new BitmapRenderSequence(_arg1);
var _local2:Array = new Array(new BSparkles01(0, 0), new BSparkles02(0, 0), new BSparkles03(0, 0), new BSparkles04(0, 0), new BSparkles05(0, 0), new BSparkles06(0, 0), new BSparkles07(0, 0), new BSparkles08(0, 0), new BSparkles09(0, 0), new BSparkles10(0, 0), new BSparkles11(0, 0), new BSparkles12(0, 0), new BSparkles13(0, 0), new BSparkles14(0, 0), new BSparkles15(0, 0), new BSparkles16(0, 0), new BSparkles17(0, 0), new BSparkles18(0, 0), new BSparkles19(0, 0), new BSparkles20(0, 0));
bitmapRenderSequence.init(_local2);
}
override public function tick():void{
driveAnimationLoop();
}
override public function render():void{
bitmapRenderSequence.render(frame, pos._x, pos._y);
}
}
}//package loveme
Section 46
//MoonPuff (loveme.MoonPuff)
package loveme {
import bitmap_classes.*;
public class MoonPuff extends BaseObject {
private static var initGraphicsOnce:Boolean = true;
private static var bitmapRenderSequence:BitmapRenderSequence;
public function MoonPuff(_arg1:BitmapRender){
if (initGraphicsOnce == true){
initGraphics(_arg1);
initGraphicsOnce = false;
};
animSpeed = 0.3;
lastFrame = (bitmapRenderSequence.getLength() - 1);
}
private function initGraphics(_arg1:BitmapRender):void{
bitmapRenderSequence = new BitmapRenderSequence(_arg1);
var _local2:Array = new Array(new moonpuff01(0, 0), new moonpuff02(0, 0), new moonpuff03(0, 0), new moonpuff04(0, 0), new moonpuff05(0, 0), new moonpuff06(0, 0), new moonpuff07(0, 0), new moonpuff08(0, 0), new moonpuff09(0, 0), new moonpuff10(0, 0), new moonpuff11(0, 0), new moonpuff12(0, 0), new moonpuff13(0, 0), new moonpuff14(0, 0), new moonpuff15(0, 0));
bitmapRenderSequence.init(_local2);
}
override public function tick():void{
driveAnimation();
}
override public function render():void{
bitmapRenderSequence.renderMiddle(frame, pos._x, pos._y);
}
}
}//package loveme
Section 47
//MusicSounds (loveme.MusicSounds)
package loveme {
public class MusicSounds {
public static var isSoundOn:Boolean = true;
private static var playingGameLoop:Boolean = false;
private static var MIN_EFFECT_TIME_FIRST_TIME:int = 7;
public static var MUSIC_VOLUME:Number = 0.7;
public static var SOUND_VOLUME:Number = 0.3;
private static var manager:SoundManager = new SoundManager();
private static var MIN_EFFECT_TIME:int = 15;
private static var updateCounter:int = 0;
private static var playLoopEffectAt:int = 250;
private static var RANDOM_EFFECT_TIME:int = 15;
public static function startGameLoop():void{
manager.getFromClass(love_me_loop3).loop(MUSIC_VOLUME);
setStartEffectAtFirstTime();
playingGameLoop = true;
}
public static function update(){
if (playingGameLoop){
if (updateCounter == playLoopEffectAt){
playRandomEffect();
updateCounter = 0;
setStartEffectAt();
};
updateCounter++;
};
manager.update();
}
public static function stopGameOverLoop():void{
manager.getFromClass(game_over_music1).stop();
}
public static function soundOn(){
isSoundOn = true;
manager.fadeTo(1, 300);
}
public static function soundFadeOff(){
isSoundOn = false;
manager.fadeTo(0, 1000);
}
public static function stopIntroLoop():void{
manager.getFromClass(love_me_intro3).stop();
}
private static function playRandomEffect():void{
var _local1:int = int((Math.random() * 6));
switch (_local1){
case 0:
break;
case 1:
playLoopEffect1();
break;
case 2:
playLoopEffect2();
break;
case 3:
playLoopEffect3();
break;
case 4:
playLoopEffect4();
break;
case 5:
playLoopEffect5();
break;
};
}
public static function stopGameLoop():void{
manager.getFromClass(love_me_loop3).stop();
stopLoopEffects();
playingGameLoop = false;
}
private static function setStartEffectAtFirstTime():void{
playLoopEffectAt = ((int((Math.random() * MIN_EFFECT_TIME_FIRST_TIME)) + RANDOM_EFFECT_TIME) * 50);
}
public static function soundOff(){
isSoundOn = false;
manager.fadeTo(0, 300);
}
public static function stopLoopEffects():void{
manager.getFromClass(loop_effect1).stop();
manager.getFromClass(loop_effect3).stop();
manager.getFromClass(loop_effect4).stop();
manager.getFromClass(loop_effect5).stop();
manager.getFromClass(loop_effect6).stop();
}
private static function setStartEffectAt():void{
playLoopEffectAt = ((int((Math.random() * MIN_EFFECT_TIME)) + RANDOM_EFFECT_TIME) * 50);
}
public static function soundOffDirect(){
isSoundOn = false;
manager.setVolume(0);
}
public static function playLoopEffect4():void{
manager.getFromClass(loop_effect5).play(SOUND_VOLUME);
}
public static function startGameOverLoop():void{
manager.getFromClass(game_over_music1).loop(MUSIC_VOLUME);
}
public static function playLoopEffect1():void{
manager.getFromClass(loop_effect1).play(SOUND_VOLUME);
}
public static function playLoopEffect2():void{
manager.getFromClass(loop_effect3).play(SOUND_VOLUME);
}
public static function playLoopEffect3():void{
manager.getFromClass(loop_effect4).play(SOUND_VOLUME);
}
public static function startIntroLoop():void{
manager.getFromClass(love_me_intro3).loop(MUSIC_VOLUME);
}
public static function playLoopEffect5():void{
manager.getFromClass(loop_effect6).play(SOUND_VOLUME);
}
}
}//package loveme
Section 48
//MyButton (loveme.MyButton)
package loveme {
import flash.display.*;
public class MyButton {
private var posX:Number;
private var posY:Number;
private var width:int;
private var active:Boolean;
private var clip:MovieClip;
private var state:int;
private var parentClip:Sprite;
private var right:int;
private var height:int;
private var bottom:int;
private var visible:Boolean;
public static var STATE_OFF:int = 2;
public static var STATE_ON:int = 1;
public function MyButton(_arg1:Sprite, _arg2:MovieClip){
this.parentClip = _arg1;
this.clip = _arg2;
_arg1.addChild(_arg2);
turnOn();
}
public function hide():void{
visible = false;
}
public function click(_arg1:int, _arg2:int):Boolean{
if (checkCollision(_arg1, _arg2)){
switchButton();
return (true);
};
return (false);
}
public function setPos(_arg1:int, _arg2:int):void{
this.posX = _arg1;
this.posY = _arg2;
}
private function switchButton():void{
switch (state){
case STATE_ON:
state = STATE_OFF;
break;
case STATE_OFF:
state = STATE_ON;
break;
};
}
public function init(_arg1:int, _arg2:int, _arg3:int, _arg4:int):void{
setPos(_arg1, _arg2);
this.width = _arg3;
this.height = _arg4;
right = (_arg1 + _arg3);
bottom = (_arg2 + _arg4);
activate();
show();
render();
}
public function checkCollision(_arg1:int, _arg2:int):Boolean{
if (active == false){
return (false);
};
if ((((((((_arg1 >= posX)) && ((_arg1 <= right)))) && ((_arg2 >= posY)))) && ((_arg2 <= bottom)))){
return (true);
};
return (false);
}
public function render():void{
clip.visible = visible;
clip.x = posX;
clip.y = posY;
clip.gotoAndStop(state);
}
public function isOn():Boolean{
if (state == STATE_ON){
return (true);
};
return (false);
}
public function turnOff():void{
state = STATE_OFF;
}
public function activate():void{
active = true;
}
public function deactivate():void{
active = false;
}
public function turnOn():void{
state = STATE_ON;
}
public function show():void{
visible = true;
}
}
}//package loveme
Section 49
//MyLoader (loveme.MyLoader)
package loveme {
import flash.events.*;
import flash.net.*;
class MyLoader {
private static var loaded:Boolean = false;
private static var dataStr:String = null;
private static var loader:URLLoader;
public static function getData():String{
return (dataStr);
}
private static function onLoadError(_arg1:IOErrorEvent):void{
trace("NOT loaded...");
loaded = false;
}
public static function load():void{
loader = new URLLoader();
loader.addEventListener(Event.COMPLETE, onComplete);
loader.addEventListener(IOErrorEvent.IO_ERROR, onLoadError);
loader.load(new URLRequest("mapdata.txt"));
}
public static function loadingFinished():Boolean{
return (loaded);
}
private static function onComplete(_arg1:Event):void{
var event = _arg1;
try {
dataStr = String(loader.data);
dataStr = fixStr(dataStr);
loaded = true;
trace("loaded...");
} catch(e:Error) {
return;
};
}
private static function fixStr(_arg1:String):String{
var _local2:String = _arg1.split("\r").join("");
_local2 = _local2.split("\n").join("");
_local2 = _local2.split(" ").join("");
_local2 = _local2.split(",").join("");
return (_local2);
}
}
}//package loveme
Section 50
//NewLevelSignHolder (loveme.NewLevelSignHolder)
package loveme {
import flash.display.*;
public class NewLevelSignHolder {
private var levelSign:MovieClip;
public function NewLevelSignHolder(_arg1:Sprite):void{
levelSign = new Levelbonus();
levelSign.x = 377;
levelSign.y = 198;
_arg1.addChild(levelSign);
hide();
setTextProperties();
}
public function setLevelBonus(_arg1:int):void{
levelSign.levelBonusScore_txt.text = _arg1;
}
public function hide():void{
levelSign.visible = false;
}
private function setTextProperties():void{
levelSign.levelBonusHeading_txt.text = TextProperties.LEVEL_BONUS;
}
public function show():void{
levelSign.visible = true;
}
}
}//package loveme
Section 51
//OpenGameSignHolder (loveme.OpenGameSignHolder)
package loveme {
import flash.display.*;
public class OpenGameSignHolder {
private var openGameSign:OpenGameSign;
public function OpenGameSignHolder(_arg1:Sprite):void{
openGameSign = new OpenGameSign();
openGameSign.x = 424;
openGameSign.y = 230;
_arg1.addChild(openGameSign);
hide();
setTextProperties();
}
public function hide():void{
openGameSign.visible = false;
}
public function show():void{
openGameSign.visible = true;
}
private function setTextProperties():void{
openGameSign.openGameText_txt.text = TextProperties.OPEN_GAME_TEXT;
}
}
}//package loveme
Section 52
//OutroHandler (loveme.OutroHandler)
package loveme {
import flash.events.*;
import flash.display.*;
import bitmap_classes.*;
public class OutroHandler {
private var increaseSteps:int;
private var showInfoText1:Boolean;// = false
private var blinkPersonal:Boolean;// = false
private var showNewPersonal:Boolean;// = false
private var personalBest:int;
private var clip:MovieClip;
private var butterflies:Array;
private var personalBlinkCounter:int;// = 0
private var wantedBersonalBest:int;
private var hearts:Array;
public static var INCREACE_PERSONAL_BEST_TICK_TIME:int = 25;
public function OutroHandler(_arg1:Sprite){
butterflies = new Array();
hearts = new Array();
super();
var _local2:BitmapData = BitmapHelpers.scaleBitmapData(new Gradient(0, 0), 755, 1);
var _local3:Bitmap = new Bitmap(_local2);
_arg1.addChild(_local3);
clip = new Outro();
clip.x = 365;
clip.y = 283;
setTexts();
_arg1.addChild(clip);
createButterflies();
createHearts();
clip.trophyInfoOneHolder.trophyInfoOne.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandlerInfo1);
clip.trophyInfoOneHolder.trophyInfoOne.addEventListener(MouseEvent.MOUSE_OUT, mouseOutHandlerInfo1);
clip.trophyInfoTwoHolder.trophyInfoTwo.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandlerInfo2);
clip.trophyInfoTwoHolder.trophyInfoTwo.addEventListener(MouseEvent.MOUSE_OUT, mouseOutHandlerInfo2);
clip.trophyInfoThreeHolder.trophyInfoThree.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandlerInfo3);
clip.trophyInfoThreeHolder.trophyInfoThree.addEventListener(MouseEvent.MOUSE_OUT, mouseOutHandlerInfo3);
clip.trophyInfoFourHolder.trophyInfoFour.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandlerInfo4);
clip.trophyInfoFourHolder.trophyInfoFour.addEventListener(MouseEvent.MOUSE_OUT, mouseOutHandlerInfo4);
clip.TrophyExplosion_mc.visible = false;
clip.TrophyExplosion_mc.gotoAndStop(1);
clip.TrophyRainbowExplosions_mc.visible = false;
clip.TrophyRainbowExplosions_mc.gotoAndStop(1);
}
private function createHearts():void{
var _local1:Heart = new Heart(clip.Heart);
hearts.push(_local1);
_local1 = new Heart(clip.Heart2);
hearts.push(_local1);
_local1 = new Heart(clip.Heart3);
hearts.push(_local1);
_local1 = new Heart(clip.Heart4);
hearts.push(_local1);
_local1 = new Heart(clip.Heart5);
hearts.push(_local1);
}
public function showTrophyHolderThree(_arg1:Boolean):void{
if (clip.trophyInfoThreeHolder.trophyInfoThree){
clip.trophyInfoThreeHolder.trophyInfoThree.visible = _arg1;
};
}
public function showTrophyHolderOne(_arg1:Boolean):void{
if (clip.trophyInfoOneHolder.trophyInfoOne){
clip.trophyInfoOneHolder.trophyInfoOne.visible = _arg1;
};
}
public function startTrophyOneAnimation():void{
clip.trophyInfoOneHolder.gotoAndPlay(2);
}
public function showAndPlayHartExplosion():void{
clip.TrophyExplosion_mc.visible = true;
clip.TrophyExplosion_mc.gotoAndPlay(1);
}
public function showAndPlayRainbowExplosion():void{
clip.TrophyRainbowExplosions_mc.visible = true;
clip.TrophyRainbowExplosions_mc.gotoAndPlay(1);
}
public function render():void{
var _local1:int;
while (_local1 < butterflies.length) {
butterflies[_local1].render();
_local1++;
};
_local1 = 0;
while (_local1 < hearts.length) {
hearts[_local1].render();
_local1++;
};
if (clip.DaisyChain.gameEndTotalScoreText_txt){
if (showNewPersonal == true){
clip.DaisyChain.gameEndTotalScoreText_txt.text = TextProperties.END_SCREEN_NEW_BEST;
} else {
clip.DaisyChain.gameEndTotalScoreText_txt.text = TextProperties.END_SCREEN_TOTAL_SCORE;
};
};
if (clip.DaisyChain.gameEndPersonalScore_txt){
clip.DaisyChain.gameEndPersonalScore_txt.text = personalBest;
};
}
public function setScoreCountUp(_arg1:int, _arg2:int):void{
this.personalBest = _arg1;
wantedBersonalBest = _arg2;
increaseSteps = (int(((_arg2 - _arg1) / INCREACE_PERSONAL_BEST_TICK_TIME)) + 1);
}
public function showButterflies(_arg1:Boolean):void{
if (clip){
if (_arg1 == true){
clip.ButterFly1.visible = true;
clip.ButterFly2.visible = true;
clip.ButterFly3.visible = true;
clip.ButterFly4.visible = true;
clip.ButterFly5.visible = true;
} else {
clip.ButterFly1.visible = false;
clip.ButterFly2.visible = false;
clip.ButterFly3.visible = false;
clip.ButterFly4.visible = false;
clip.ButterFly5.visible = false;
};
};
}
public function tick():void{
var _local1:int;
while (_local1 < butterflies.length) {
butterflies[_local1].tick();
_local1++;
};
_local1 = 0;
while (_local1 < hearts.length) {
hearts[_local1].tick();
_local1++;
};
if (blinkPersonal){
if (personalBlinkCounter == 0){
showNewPersonal = true;
} else {
if (personalBlinkCounter == 10){
showNewPersonal = false;
} else {
if (personalBlinkCounter == 19){
personalBlinkCounter = -1;
};
};
};
personalBlinkCounter++;
};
if (personalBest < wantedBersonalBest){
personalBest = (personalBest + increaseSteps);
if (personalBest > wantedBersonalBest){
personalBest = wantedBersonalBest;
};
};
}
private function mouseOutHandlerInfo2(_arg1:MouseEvent):void{
clip.trophyInfoTwoHolder.trophyInfoTwo.info_txt.visible = false;
}
private function mouseOutHandlerInfo3(_arg1:MouseEvent):void{
clip.trophyInfoThreeHolder.trophyInfoThree.info_txt.visible = false;
}
private function mouseOutHandlerInfo4(_arg1:MouseEvent):void{
clip.trophyInfoFourHolder.trophyInfoFour.info_txt.visible = false;
}
public function happyEnding(_arg1:Boolean):void{
if (_arg1 == true){
if (clip){
clip.PlanetGoodTop.visible = true;
clip.PlanetTopBad.visible = false;
};
} else {
if (clip){
clip.PlanetTopBad.visible = true;
clip.PlanetGoodTop.visible = false;
};
};
}
private function mouseOutHandlerInfo1(_arg1:MouseEvent):void{
if (clip.trophyInfoOneHolder.trophyInfoOne){
clip.trophyInfoOneHolder.trophyInfoOne.info_txt.visible = false;
};
}
private function setTexts():void{
if (clip.DaisyChain.gameEndHeader_txt){
clip.DaisyChain.gameEndHeader_txt.text = TextProperties.END_SCREEN_HEADER;
};
if (clip.DaisyChain.gameEndScoreText_txt){
clip.DaisyChain.gameEndScoreText_txt.text = TextProperties.END_SCREEN_SCORE;
};
if (clip.DaisyChain.gameEndLevelBonusText_txt){
clip.DaisyChain.gameEndLevelBonusText_txt.text = TextProperties.END_SCREEN_LEVEL_BONUS;
};
if (clip.DaisyChain.gameEndTotalScoreText_txt){
clip.DaisyChain.gameEndTotalScoreText_txt.text = TextProperties.END_SCREEN_TOTAL_SCORE;
};
if (clip.DaisyChain.gameEndPersonalScoreText_txt){
clip.DaisyChain.gameEndPersonalScoreText_txt.text = TextProperties.END_SCREEN_PERSONAL_BEST;
};
if (clip.trophyInfoOneHolder.trophyInfoOne){
if (clip.trophyInfoOneHolder.trophyInfoOne.info_txt){
clip.trophyInfoOneHolder.trophyInfoOne.info_txt.text = TextProperties.GAME_END_TROPHY1;
clip.trophyInfoOneHolder.trophyInfoOne.info_txt.visible = false;
};
};
if (clip.trophyInfoTwoHolder.trophyInfoTwo){
if (clip.trophyInfoTwoHolder.trophyInfoTwo.info_txt){
clip.trophyInfoTwoHolder.trophyInfoTwo.info_txt.text = TextProperties.GAME_END_TROPHY2;
clip.trophyInfoTwoHolder.trophyInfoTwo.info_txt.visible = false;
};
};
if (clip.trophyInfoThreeHolder.trophyInfoThree){
if (clip.trophyInfoThreeHolder.trophyInfoThree.info_txt){
clip.trophyInfoThreeHolder.trophyInfoThree.info_txt.text = TextProperties.GAME_END_TROPHY3;
clip.trophyInfoThreeHolder.trophyInfoThree.info_txt.visible = false;
};
};
if (clip.trophyInfoFourHolder.trophyInfoFour){
if (clip.trophyInfoFourHolder.trophyInfoFour.info_txt){
clip.trophyInfoFourHolder.trophyInfoFour.info_txt.text = TextProperties.GAME_END_TROPHY4;
clip.trophyInfoFourHolder.trophyInfoFour.info_txt.visible = false;
};
};
}
public function setTotalScore(_arg1:int):void{
if (clip.DaisyChain.gameEndTotalScore_txt){
clip.DaisyChain.gameEndTotalScore_txt.text = _arg1;
};
}
private function createButterflies():void{
var _local1:Butterfly = new Butterfly(clip.ButterFly1);
butterflies.push(_local1);
_local1 = new Butterfly(clip.ButterFly2);
butterflies.push(_local1);
_local1 = new Butterfly(clip.ButterFly3);
butterflies.push(_local1);
_local1 = new Butterfly(clip.ButterFly4);
butterflies.push(_local1);
_local1 = new Butterfly(clip.ButterFly5);
butterflies.push(_local1);
}
public function setButterfliesStartPos():void{
var _local1:int;
while (_local1 < butterflies.length) {
butterflies[_local1].setPos(new Vec2(30, -90));
_local1++;
};
}
public function setPersonalBest(_arg1:int):void{
if (clip.DaisyChain.gameEndPersonalScore_txt){
clip.DaisyChain.gameEndPersonalScore_txt.text = _arg1;
};
}
public function blinkPersonalBest():void{
showNewPersonal = true;
}
public function showHeart(_arg1:Boolean):void{
if (clip){
if (_arg1 == true){
clip.Heart.visible = true;
clip.Heart2.visible = true;
clip.Heart3.visible = true;
clip.Heart4.visible = true;
clip.Heart5.visible = true;
} else {
clip.Heart.visible = false;
clip.Heart2.visible = false;
clip.Heart3.visible = false;
clip.Heart4.visible = false;
clip.Heart5.visible = false;
};
};
}
private function mouseOverHandlerInfo1(_arg1:MouseEvent):void{
if (clip.trophyInfoOneHolder.trophyInfoOne){
clip.trophyInfoOneHolder.trophyInfoOne.info_txt.visible = true;
};
}
private function mouseOverHandlerInfo2(_arg1:MouseEvent):void{
clip.trophyInfoTwoHolder.trophyInfoTwo.info_txt.visible = true;
}
private function mouseOverHandlerInfo3(_arg1:MouseEvent):void{
clip.trophyInfoThreeHolder.trophyInfoThree.info_txt.visible = true;
}
private function mouseOverHandlerInfo4(_arg1:MouseEvent):void{
clip.trophyInfoFourHolder.trophyInfoFour.info_txt.visible = true;
}
public function setScore(_arg1:int):void{
if (clip.DaisyChain.gameEndScore_txt){
clip.DaisyChain.gameEndScore_txt.text = _arg1;
};
}
public function startTrophyThreeAnimation():void{
clip.trophyInfoThreeHolder.gotoAndPlay(2);
}
public function showFlovers(_arg1:int):void{
if (clip){
clip.Flower01.visible = false;
clip.Flower02.visible = false;
clip.Flower03.visible = false;
clip.Flower04.visible = false;
clip.Flower05.visible = false;
clip.Flower06.visible = false;
clip.Flower07.visible = false;
clip.Flower08.visible = false;
clip.Flower09.visible = false;
clip.Flower11.visible = false;
clip.Flower12.visible = false;
clip.Flower13.visible = false;
clip.Flower14.visible = false;
clip.Flower15.visible = false;
clip.Flower16.visible = false;
clip.Flower17.visible = false;
clip.Flower18.visible = false;
clip.Flower19.visible = false;
if (_arg1 >= 1){
clip.Flower01.visible = true;
};
if (_arg1 >= 2){
clip.Flower02.visible = true;
};
if (_arg1 >= 3){
clip.Flower03.visible = true;
};
if (_arg1 >= 4){
clip.Flower04.visible = true;
};
if (_arg1 >= 5){
clip.Flower05.visible = true;
};
if (_arg1 >= 6){
clip.Flower06.visible = true;
};
if (_arg1 >= 7){
clip.Flower07.visible = true;
};
if (_arg1 >= 8){
clip.Flower08.visible = true;
};
if (_arg1 >= 9){
clip.Flower09.visible = true;
};
if (_arg1 >= 10){
clip.Flower11.visible = true;
};
if (_arg1 >= 11){
clip.Flower12.visible = true;
};
if (_arg1 >= 12){
clip.Flower13.visible = true;
};
if (_arg1 >= 13){
clip.Flower14.visible = true;
};
if (_arg1 >= 14){
clip.Flower15.visible = true;
};
if (_arg1 >= 15){
clip.Flower16.visible = true;
};
if (_arg1 >= 16){
clip.Flower17.visible = true;
};
if (_arg1 >= 17){
clip.Flower18.visible = true;
};
if (_arg1 >= 18){
clip.Flower19.visible = true;
};
};
}
public function showTrophyHolderFour(_arg1:Boolean):void{
if (clip.trophyInfoFourHolder.trophyInfoFour){
clip.trophyInfoFourHolder.trophyInfoFour.visible = _arg1;
};
}
public function setGameEndsIn(_arg1:int):void{
var _local2:Number = Math.floor((_arg1 / 25));
_local2 = (_local2 + 1);
if (_local2 < 0){
_local2 = 0;
};
var _local3:String = String(_local2);
var _local4:String = TextProperties.GAME_ENDS_IN;
_local4 = _local4.split("[0]").join(_local3);
if (clip.DaisyChain.gameEndsIn_txt){
clip.DaisyChain.gameEndsIn_txt.text = _local4;
};
}
public function startTrophyTwoAnimation():void{
clip.trophyInfoTwoHolder.gotoAndPlay(2);
}
public function startTrophyFourAnimation():void{
clip.trophyInfoFourHolder.gotoAndPlay(2);
}
public function showTrophyHolderTwo(_arg1:Boolean):void{
if (clip.trophyInfoTwoHolder.trophyInfoTwo){
clip.trophyInfoTwoHolder.trophyInfoTwo.visible = _arg1;
};
}
public function showRainbow(_arg1:Boolean):void{
if (clip){
if (_arg1 == true){
clip.Rainbow.visible = true;
} else {
clip.Rainbow.visible = false;
};
};
}
public function showRose(_arg1:Boolean):void{
if (clip){
if (_arg1 == true){
clip.TrophyRose.visible = true;
} else {
clip.TrophyRose.visible = false;
};
};
}
public function setLevelBonus(_arg1:int):void{
if (clip.DaisyChain.gameEndLevelBonus_txt){
clip.DaisyChain.gameEndLevelBonus_txt.text = _arg1;
};
}
}
}//package loveme
Section 53
//Petal (loveme.Petal)
package loveme {
import flash.display.*;
import bitmap_classes.*;
public class Petal extends BaseObject {
private var startPos:Vec2;
private var showTickTime:int;
private var tickCounter:int;// = 0
public static var MIN_DELTA_X:Number = -30;
public static var MAX_DELTA_X:Number = 30;
private static var initGraphicsOnce:Boolean = true;
private static var bitmapRenderSequence:BitmapRenderSequence;
public function Petal(_arg1:BitmapRender, _arg2:int, _arg3:Vec2){
this.showTickTime = _arg2;
if (initGraphicsOnce == true){
initGraphics(_arg1);
initGraphicsOnce = false;
};
startPos = _arg3.clone();
setPosVec(startPos);
animSpeed = 0.3;
lastFrame = (bitmapRenderSequence.getLength() - 1);
mov._y = 3;
frameNumber = int(((Math.random() * bitmapRenderSequence.getLength()) - 2));
var _local4:int = int((Math.random() + 0.5));
if (_local4 == 0){
mov._x = 0.6;
} else {
mov._x = -0.6;
};
_arg3._x = ((_arg3._x - MAX_DELTA_X) + int((Math.random() * (MAX_DELTA_X + MAX_DELTA_X))));
}
override public function render():void{
bitmapRenderSequence.renderMiddle(frame, pos._x, pos._y);
}
private function initGraphics(_arg1:BitmapRender):void{
bitmapRenderSequence = new BitmapRenderSequence(_arg1);
var _local2:BitmapData = new Petal01(0, 0);
var _local3:BitmapData = new Petal02(0, 0);
var _local4:BitmapData = new Petal03(0, 0);
var _local5:BitmapData = new Petal04(0, 0);
var _local6:BitmapData = new Petal05(0, 0);
var _local7:BitmapData = new Petal06(0, 0);
var _local8:BitmapData = new Petal07(0, 0);
var _local9:BitmapData = new Petal08(0, 0);
var _local10:BitmapData = new Petal09(0, 0);
var _local11:BitmapData = new Petal10(0, 0);
var _local12:BitmapData = new Petal11(0, 0);
var _local13:BitmapData = new Petal12(0, 0);
var _local14:BitmapData = new Petal13(0, 0);
var _local15:BitmapData = new Petal14(0, 0);
var _local16:BitmapData = new Petal15(0, 0);
var _local17:BitmapData = new Petal16(0, 0);
var _local18:Array = new Array(_local2, _local3, _local4, _local5, _local6, _local7, _local8, _local9, _local10, _local11, _local12, _local13, _local14, _local15, _local16, _local17, _local16, _local15, _local14, _local13, _local12, _local11, _local10, _local9, _local8, _local7, _local6, _local5, _local4, _local3, _local2);
bitmapRenderSequence.init(_local18);
}
override public function tick():void{
tickCounter++;
driveAnimationLoop();
if (tickCounter >= showTickTime){
removeFlag = true;
};
super.tick();
if (pos._x > (startPos._x + MAX_DELTA_X)){
mov._x = (mov._x * -1);
} else {
if (pos._x < (startPos._x + MIN_DELTA_X)){
mov._x = (mov._x * -1);
};
};
}
}
}//package loveme
Section 54
//PlantPuff (loveme.PlantPuff)
package loveme {
import bitmap_classes.*;
public class PlantPuff extends BaseObject {
private static var initGraphicsOnce:Boolean = true;
private static var bitmapRenderSequence:BitmapRenderSequence;
public function PlantPuff(_arg1:BitmapRender){
if (initGraphicsOnce == true){
initGraphics(_arg1);
initGraphicsOnce = false;
};
animSpeed = 0.3;
lastFrame = (bitmapRenderSequence.getLength() - 1);
}
private function initGraphics(_arg1:BitmapRender):void{
bitmapRenderSequence = new BitmapRenderSequence(_arg1);
var _local2:Array = new Array(new plantpuff01(0, 0), new plantpuff02(0, 0), new plantpuff03(0, 0), new plantpuff04(0, 0), new plantpuff05(0, 0), new plantpuff06(0, 0), new plantpuff07(0, 0), new plantpuff08(0, 0), new plantpuff09(0, 0), new plantpuff10(0, 0), new plantpuff11(0, 0), new plantpuff12(0, 0), new plantpuff13(0, 0), new plantpuff14(0, 0), new plantpuff15(0, 0), new plantpuff16(0, 0), new plantpuff17(0, 0), new plantpuff18(0, 0));
bitmapRenderSequence.init(_local2);
}
override public function tick():void{
driveAnimation();
}
override public function render():void{
bitmapRenderSequence.render(frame, (pos._x - 108), (pos._y - 66));
}
}
}//package loveme
Section 55
//Princess (loveme.Princess)
package loveme {
import flash.display.*;
import bitmap_classes.*;
public class Princess extends BaseObject {
private var animate:Boolean;
private static var initGraphicsOnce:Boolean = true;
private static var bitmapRenderSequence:BitmapRenderSequence;
public function Princess(_arg1:BitmapRender){
if (initGraphicsOnce == true){
initGraphics(_arg1);
initGraphicsOnce = false;
};
animSpeed = 0.4;
lastFrame = (bitmapRenderSequence.getLength() - 1);
animate = false;
}
override public function render():void{
bitmapRenderSequence.renderMiddle(frame, pos._x, pos._y);
}
public function startAnimation(){
firstTick = true;
flagForRemovalNextUpdate = false;
removeFlag = false;
frameNumber = 0;
animate = true;
}
private function initGraphics(_arg1:BitmapRender):void{
bitmapRenderSequence = new BitmapRenderSequence(_arg1);
var _local2:BitmapData = new Blastoff01(0, 0);
var _local3:BitmapData = new Blastoff02(0, 0);
var _local4:BitmapData = new Blastoff03(0, 0);
var _local5:Array = new Array(_local2, _local3, _local4, _local4, _local3, _local2);
bitmapRenderSequence.init(_local5);
}
override public function tick():void{
if (animate){
driveAnimation();
};
if (removeFlag == true){
animate = false;
};
}
}
}//package loveme
Section 56
//Random (loveme.Random)
package loveme {
import flash.utils.*;
public class Random {
private var mta:Array;
private var mti:Number;
private var lastSeed:Number;
private static var MATRIX_A:Number = 2567483615;
private static var UPPER_MASK:Number = 2147483648;
private static var LOWER_MASK:Number = 2147483647;
private static var M:Number = 397;
private static var N:Number = 624;
public static var calls:int = 0;
private static var mag01:Array = [0, 2567483615];
public function Random(_arg1:Number){
mta = new Array(N);
mti = (N + 1);
if (_arg1){
init_genrand(_arg1);
};
}
private function init_genrand(_arg1:Number):void{
_arg1 = int(_arg1);
var _local2:* = getTimer();
lastSeed = _arg1;
mta[0] = _arg1;
var _local3:* = _arg1;
var _local4:* = new Integer64(null);
var _local5:Number = N;
mti = 1;
while (mti < _local5) {
_local4.init32(((_local3 >>> 30) ^ _local3));
_local4.mulu32(1812433253);
_local3 = (mta[mti] = int((_local4.lsb + mti)));
mti++;
};
var _local6:* = getTimer();
}
public function nextFloat(){
return ((next(24) / (1 << 24)));
}
public function nextDouble(){
return ((next(24) / (1 << 24)));
}
public function get seed():Number{
return (lastSeed);
}
public function next(_arg1:Number){
if (_arg1 < 32){
return ((genrand_int32() & ((1 << _arg1) - 1)));
};
return (genrand_int32());
}
public function set seed(_arg1:Number){
init_genrand(_arg1);
}
public function nextInt(_arg1:Number){
calls++;
return (((genrand_int32() & 2147483647) % _arg1));
}
private function genrand_int32(){
var _local3:*;
var _local4:*;
var _local5:*;
var _local6:*;
var _local7:*;
var _local8:*;
var _local9:*;
var _local10:*;
var _local11:*;
var _local1:Number = N;
var _local2:Number = 0;
if (mti >= _local1){
if (mti == (_local1 + 1)){
init_genrand(5489);
};
_local3 = M;
_local4 = UPPER_MASK;
_local5 = LOWER_MASK;
_local6 = mag01;
_local7 = getTimer();
_local8 = 0;
_local9 = (_local1 - _local3);
_local10 = (_local3 - _local1);
_local8 = 0;
while (_local8 < _local9) {
_local2 = ((mta[_local8] & _local4) | (mta[(_local8 + 1)] & _local5));
mta[_local8] = ((mta[(_local8 + _local3)] ^ (_local2 >>> 1)) ^ _local6[(_local2 & 1)]);
_local8++;
};
_local9 = (_local1 - 1);
while (_local8 < _local9) {
_local2 = ((mta[_local8] & _local4) | (mta[(_local8 + 1)] & _local5));
mta[_local8] = ((mta[(_local8 + _local10)] ^ (_local2 >>> 1)) ^ _local6[(_local2 & 1)]);
_local8++;
};
_local2 = ((mta[(_local1 - 1)] & _local4) | (mta[0] & _local5));
mta[(_local1 - 1)] = ((mta[(_local3 - 1)] ^ (_local2 >>> 1)) ^ _local6[(_local2 & 1)]);
mti = 0;
_local11 = getTimer();
};
_local2 = mta[mti++];
_local2 = (_local2 ^ (_local2 >>> 11));
_local2 = (_local2 ^ ((_local2 << 7) & 2636928640));
_local2 = (_local2 ^ ((_local2 << 15) & 4022730752));
_local2 = (_local2 ^ (_local2 >>> 18));
return (_local2);
}
}
}//package loveme
Section 57
//ScorePopup (loveme.ScorePopup)
package loveme {
import bitmap_classes.*;
public class ScorePopup extends BaseObject {
private var score:int;
private var bitmapRender:BitmapRender;
private static var bitmapRenderNumbers:BitmapRenderSequence;
private static var initGraphicsOnce:Boolean = true;
public static var FRAME_LIFE_TIME:int = 40;
public function ScorePopup(_arg1:BitmapRender, _arg2:int){
this.bitmapRender = _arg1;
this.score = _arg2;
mov._y = -0.5;
if (initGraphicsOnce == true){
initGraphics(_arg1);
initGraphicsOnce = false;
};
}
override public function render():void{
BitmapNumber.renderCentre(score, bitmapRenderNumbers, pos._x, pos._y, 21, 37);
}
private function initGraphics(_arg1:BitmapRender):void{
bitmapRenderNumbers = new BitmapRenderSequence(_arg1);
var _local2:Array = new Array(new zero_pop(0, 0), new one_pop(0, 0), new two_pop(0, 0), new three_pop(0, 0), new four_pop(0, 0), new five_pop(0, 0), new six_pop(0, 0), new seven_pop(0, 0), new eight_pop(0, 0), new nine_pop(0, 0));
bitmapRenderNumbers.init(_local2);
}
override public function tick():void{
frame++;
if (frame > FRAME_LIFE_TIME){
flagForRemoval();
};
pos.addSelf(mov);
}
}
}//package loveme
Section 58
//ScorePopupBonus (loveme.ScorePopupBonus)
package loveme {
import bitmap_classes.*;
public class ScorePopupBonus extends BaseObject {
private var spacing:int;
private var bitmapRender:BitmapRender;
private var verticalOffset:int;
private var nrs:Array;
private var nrsDirection:Array;
private var nrsOffsets:Array;
private var score:int;
private var horizontalOffset:int;
private static var bitmapRenderNumbers:BitmapRenderSequence;
public static var Jump_SPEED:Number = 1;
private static var initGraphicsOnce:Boolean = true;
public static var HALF_MAX_JUMP_OFFSET:Number = 4;
public static var FRAME_LIFE_TIME:int = 40;
public function ScorePopupBonus(_arg1:BitmapRender, _arg2:int, _arg3:Vec2){
this.bitmapRender = _arg1;
this.score = _arg2;
setPosVec(_arg3);
mov._y = -0.5;
if (initGraphicsOnce == true){
initGraphics(_arg1);
initGraphicsOnce = false;
};
setupFontRender(_arg2, 40, 56);
}
private function fontRender():void{
var _local1:int;
while (_local1 < nrs.length) {
bitmapRenderNumbers.render(nrs[((nrs.length - 1) - _local1)], ((pos._x + (_local1 * spacing)) + horizontalOffset), ((pos._y + verticalOffset) + nrsOffsets[_local1]));
_local1++;
};
}
override public function render():void{
fontRender();
}
private function renderCentre(_arg1:int, _arg2:BitmapRenderSequence, _arg3:int, _arg4:int, _arg5:int, _arg6:int):void{
var _local9:int;
var _local7:Number = _arg1;
var _local8:Array = new Array();
while (_local7 != 0) {
_local9 = (_local7 % 10);
_local7 = (_local7 - _local9);
_local7 = (_local7 / 10);
_local8.push(_local9);
};
if (_arg1 == 0){
_local8.push(_arg1);
};
var _local10:int = -(int(((_local8.length * _arg5) / 2)));
var _local11:int = -(int((_arg6 / 2)));
var _local12:int;
while (_local12 < _local8.length) {
_arg2.render(_local8[((_local8.length - 1) - _local12)], ((_arg3 + (_local12 * _arg5)) + _local10), (_arg4 + _local11));
_local12++;
};
}
private function setupFontRender(_arg1:int, _arg2:int, _arg3:int):void{
var _local5:int;
var _local7:Number;
var _local8:int;
nrs = new Array();
nrsOffsets = new Array();
nrsDirection = new Array();
this.spacing = _arg2;
var _local4:Number = _arg1;
var _local6 = 1;
while (_local4 != 0) {
_local5 = (_local4 % 10);
_local4 = (_local4 - _local5);
_local4 = (_local4 / 10);
nrs.push(_local5);
_local7 = (((Math.random() * 2) * HALF_MAX_JUMP_OFFSET) - HALF_MAX_JUMP_OFFSET);
nrsOffsets.push(_local7);
_local8 = int((Math.random() * 2));
if (_local8 == 0){
_local8 = -1;
nrsDirection.push(_local8);
} else {
nrsDirection.push(_local8);
};
_local6++;
};
if (_arg1 == 0){
nrs.push(_arg1);
};
horizontalOffset = -(int(((nrs.length * _arg2) / 2)));
verticalOffset = -(int((_arg3 / 2)));
}
private function initGraphics(_arg1:BitmapRender):void{
bitmapRenderNumbers = new BitmapRenderSequence(_arg1);
var _local2:Array = new Array(new bonusfont0(0, 0), new bonusfont1(0, 0), new bonusfont2(0, 0), new bonusfont3(0, 0), new bonusfont4(0, 0), new bonusfont5(0, 0), new bonusfont6(0, 0), new bonusfont6(0, 0), new bonusfont7(0, 0), new bonusfont8(0, 0), new bonusfont9(0, 0));
bitmapRenderNumbers.init(_local2);
}
override public function tick():void{
var _local1:Number;
frame++;
if (frame > FRAME_LIFE_TIME){
flagForRemoval();
};
pos.addSelf(mov);
var _local2:int;
while (_local2 < nrs.length) {
if (nrsDirection[_local2] == 1){
nrsOffsets[_local2] = (nrsOffsets[_local2] + Jump_SPEED);
if (nrsOffsets[_local2] >= HALF_MAX_JUMP_OFFSET){
nrsDirection[_local2] = -1;
};
} else {
if (nrsDirection[_local2] == -1){
nrsOffsets[_local2] = (nrsOffsets[_local2] - Jump_SPEED);
if (nrsOffsets[_local2] <= -(HALF_MAX_JUMP_OFFSET)){
nrsDirection[_local2] = 1;
};
};
};
_local2++;
};
}
}
}//package loveme
Section 59
//Shards (loveme.Shards)
package loveme {
import bitmap_classes.*;
public class Shards extends BaseObject {
private static var initGraphicsOnce:Boolean = true;
private static var bitmapRenderSequence:BitmapRenderSequence;
public function Shards(_arg1:BitmapRender){
if (initGraphicsOnce == true){
initGraphics(_arg1);
initGraphicsOnce = false;
};
animSpeed = 0.3;
lastFrame = (bitmapRenderSequence.getLength() - 1);
}
private function initGraphics(_arg1:BitmapRender):void{
bitmapRenderSequence = new BitmapRenderSequence(_arg1);
var _local2:Array = new Array(new Shards01(0, 0), new Shards02(0, 0), new Shards03(0, 0), new Shards04(0, 0), new Shards05(0, 0), new Shards06(0, 0), new Shards07(0, 0), new Shards08(0, 0), new Shards09(0, 0), new Shards10(0, 0), new Shards11(0, 0), new Shards12(0, 0), new Shards13(0, 0), new Shards14(0, 0), new Shards15(0, 0), new Shards16(0, 0));
bitmapRenderSequence.init(_local2);
}
override public function tick():void{
driveAnimation();
}
override public function render():void{
bitmapRenderSequence.renderMiddle(frame, pos._x, pos._y);
}
}
}//package loveme
Section 60
//SmallCombo (loveme.SmallCombo)
package loveme {
import bitmap_classes.*;
public class SmallCombo extends BaseObject {
private static var initGraphicsOnce:Boolean = true;
private static var bitmapRenderSequence:BitmapRenderSequence;
public function SmallCombo(_arg1:BitmapRender){
if (initGraphicsOnce == true){
initGraphics(_arg1);
initGraphicsOnce = false;
};
animSpeed = 0.4;
lastFrame = (bitmapRenderSequence.getLength() - 1);
mov._y = 2;
}
private function initGraphics(_arg1:BitmapRender):void{
bitmapRenderSequence = new BitmapRenderSequence(_arg1);
var _local2:Array = new Array(new SmallCombo01(0, 0), new SmallCombo02(0, 0), new SmallCombo03(0, 0), new SmallCombo04(0, 0), new SmallCombo05(0, 0), new SmallCombo06(0, 0), new SmallCombo07(0, 0), new SmallCombo08(0, 0), new SmallCombo09(0, 0), new SmallCombo10(0, 0), new SmallCombo11(0, 0), new SmallCombo12(0, 0), new SmallCombo13(0, 0), new SmallCombo14(0, 0), new SmallCombo15(0, 0));
bitmapRenderSequence.init(_local2);
}
override public function tick():void{
driveAnimation();
super.tick();
}
override public function render():void{
bitmapRenderSequence.renderMiddle(frame, pos._x, pos._y);
}
}
}//package loveme
Section 61
//SoundManager (loveme.SoundManager)
package loveme {
import flash.utils.*;
public class SoundManager {
private var fadeStartVolume:Number;// = -1
private var lastTime:Number;// = -1
private var managedSounds:Array;
private var fadeEndTime:Number;// = -1
private var fadeStartTime:Number;// = -1
private var fadeEndVolume:Number;// = -1
public var volume:Number;// = 1
private var managedSoundMap:Object;
public function SoundManager(){
managedSoundMap = new Object();
managedSounds = new Array();
super();
}
public function update():void{
var _local3:Number;
var _local1:Number = getTimer();
if (lastTime < 0){
lastTime = _local1;
};
if (fadeStartTime >= 0){
_local3 = ((getTimer() - fadeStartTime) / (fadeEndTime - fadeStartTime));
if (_local3 < 0){
_local3 = 0;
};
if (_local3 > 1){
_local3 = 1;
};
volume = (fadeStartVolume + ((fadeEndVolume - fadeStartVolume) * _local3));
volume = (volume * volume);
if (_local3 == 1){
fadeStartTime = -1;
};
};
var _local2:int;
while (_local2 < managedSounds.length) {
managedSounds[_local2].update();
_local2++;
};
}
public function stopAll():void{
var _local1:int;
while (_local1 < managedSounds.length) {
managedSounds[_local1].stop();
_local1++;
};
}
public function getFromClass(_arg1:Class):ManagedSound{
var _local2:String = getQualifiedClassName(_arg1);
if (managedSoundMap[_local2] == null){
managedSoundMap[_local2] = new ManagedSound(this, _arg1);
managedSounds.push(managedSoundMap[_local2]);
};
return (managedSoundMap[_local2]);
}
public function get(_arg1:String):ManagedSound{
var _local2:Class;
if (managedSoundMap[_arg1] == null){
_local2 = (getDefinitionByName(_arg1) as Class);
if (_local2 == null){
_local2 = (getDefinitionByName(("sound." + _arg1)) as Class);
};
if (_local2 == null){
_local2 = (getDefinitionByName(("snd." + _arg1)) as Class);
};
if (_local2 == null){
throw (new Error(("Failed to find sound " + _arg1)));
};
managedSoundMap[_arg1] = new ManagedSound(this, _local2);
managedSounds.push(managedSoundMap[_arg1]);
};
return (managedSoundMap[_arg1]);
}
public function fadeTo(_arg1:Number, _arg2:Number):void{
fadeStartVolume = Math.sqrt(volume);
fadeEndVolume = Math.sqrt(_arg1);
fadeStartTime = getTimer();
fadeEndTime = (getTimer() + _arg2);
}
public function setVolume(_arg1:Number):void{
this.volume = _arg1;
fadeStartTime = -1;
}
}
}//package loveme
Section 62
//Sounds (loveme.Sounds)
package loveme {
public class Sounds {
public static var alterBounch:Boolean = true;
public static var isSoundOn:Boolean = true;
private static var playingTimeWarningLoop:Boolean = false;
public static var SOUND_VOLUME:Number = 0.6;
public static var manager:SoundManager = new SoundManager();
public static var SOUND_VOLUME_IMPACT:Number = 0.4;
public static function playBigCombo():void{
manager.getFromClass(hit_bubble_meterfull1).play(SOUND_VOLUME);
}
public static function playShoot():void{
manager.getFromClass(shoot2).play(SOUND_VOLUME);
}
public static function playNormalComboBonus():void{
manager.getFromClass(hit_bubble_many1).play(SOUND_VOLUME);
}
public static function soundOn(){
isSoundOn = true;
manager.fadeTo(1, 300);
}
public static function update(){
manager.update();
}
public static function playBonusOn():void{
manager.getFromClass(meter_full1).play(SOUND_VOLUME);
}
public static function playBigImpact():void{
manager.getFromClass(BigImpact).play(SOUND_VOLUME_IMPACT);
}
public static function playNormalCombo():void{
manager.getFromClass(hit_bubble1).play(SOUND_VOLUME);
}
public static function playLevelClear():void{
manager.getFromClass(level_clear_effect2).play(SOUND_VOLUME);
trace("playLevelClear()");
}
public static function startTimeWarningLoop():void{
if (playingTimeWarningLoop == false){
manager.getFromClass(time_warningLoop).loop(SOUND_VOLUME);
playingTimeWarningLoop = true;
trace("startTimeWarningLoop");
};
}
public static function playLevelStab():void{
manager.getFromClass(level_clear_stab1).play(SOUND_VOLUME);
}
public static function playBounce():void{
if (alterBounch){
manager.getFromClass(bounce1).play(SOUND_VOLUME);
} else {
manager.getFromClass(bounce2).play(SOUND_VOLUME);
};
}
public static function soundOff(){
isSoundOn = false;
manager.fadeTo(0, 300);
}
public static function playImpact():void{
manager.getFromClass(Impact).play(SOUND_VOLUME_IMPACT);
}
public static function playBonusOff():void{
manager.getFromClass(meter_off1).play(SOUND_VOLUME);
}
public static function soundOffDirect(){
isSoundOn = false;
manager.setVolume(0);
}
public static function playTimeWarningFinish():void{
manager.getFromClass(time_warningFinish2).play(SOUND_VOLUME);
}
public static function stopTimeWarningLoop():void{
manager.getFromClass(time_warningLoop).stop();
playingTimeWarningLoop = false;
trace("......stopTimeWarningLoop");
}
public static function playGlassBreak():void{
manager.getFromClass(glass_break2).play(SOUND_VOLUME);
}
public static function playNoCombo():void{
manager.getFromClass(hit_nobubble1).play(SOUND_VOLUME);
}
public static function playBigComboBonus():void{
manager.getFromClass(hit_bubble_many_meterfull1).play(SOUND_VOLUME);
}
}
}//package loveme
Section 63
//TextProperties (loveme.TextProperties)
package loveme {
class TextProperties {
public static var GAME_STARTS_IN:String = "iGame starts int [0] seconds";
public static var INSTRUCTIONS_TEXT1:String = "iPlay for fun...";
public static var END_SCREEN_TOTAL_SCORE:String = "iTotal Score";
public static var END_SCREEN_LEVEL_BONUS:String = "iLevel Bonus";
public static var END_SCREEN_SCORE:String = "iScore";
public static var LEVEL_BONUS:String = "iLevel bonus: ";
public static var OPEN_GAME_TEXT:String = "iOpen game text";
public static var INSTRUCTIONS_HEADER:String = "iInstructions";
public static var GAME_END_TROPHY1:String = "iTrophy1 info";
public static var GAME_END_TROPHY2:String = "iTrophy2 info";
public static var END_SCREEN_NEW_BEST:String = "iNew Best";
public static var END_SCREEN_PERSONAL_BEST:String = "iPersonal Best";
public static var GAME_END_TROPHY3:String = "iTrophy3 info";
public static var GAME_END_TROPHY4:String = "iTrophy4 info";
public static var END_SCREEN_HEADER:String = "iGame Over";
public static var GAME_ENDS_IN:String = "iGame ends in [0] seconds";
}
}//package loveme
Section 64
//Timer (loveme.Timer)
package loveme {
import flash.utils.*;
public class Timer {
private var unprocessedTime:Number;// = 0
private var lastTime:Number;// = -1
public var passedTime:Number;// = 0
private var msPerTick:Number;
private var ticksPerSecond:Number;
public var timeScale:Number;// = 1
public var alpha:Number;// = 0
public static var currentTime:Number = 0;
public function Timer(_arg1){
this.ticksPerSecond = _arg1;
msPerTick = (1000 / _arg1);
}
public function advanceTime(){
if (lastTime == -1){
lastTime = getTimer();
};
var _local1:* = getTimer();
passedTime = (_local1 - lastTime);
passedTime = (passedTime * timeScale);
currentTime = (currentTime + passedTime);
lastTime = _local1;
unprocessedTime = (unprocessedTime + passedTime);
var _local2:int = int((unprocessedTime / msPerTick));
unprocessedTime = (unprocessedTime - (_local2 * msPerTick));
alpha = (unprocessedTime / msPerTick);
return (_local2);
}
}
}//package loveme
Section 65
//Trail (loveme.Trail)
package loveme {
import bitmap_classes.*;
public class Trail extends BaseObject {
private var rad:Number;// = 0
private static var initGraphicsOnce:Boolean = true;
private static var bitmapRenderSequence:BitmapRenderSequence;
public function Trail(_arg1:BitmapRender){
if (initGraphicsOnce == true){
initGraphics(_arg1);
initGraphicsOnce = false;
};
animSpeed = 1;
lastFrame = (bitmapRenderSequence.getLength() - 1);
}
override public function setMovement(_arg1:Vec2):void{
super.setMovement(_arg1);
rad = _arg1.rad();
}
override public function render():void{
if (visible == true){
bitmapRenderSequence.drawSmooth(frame, pos._x, pos._y, rad, 1.4);
};
}
private function initGraphics(_arg1:BitmapRender):void{
bitmapRenderSequence = new BitmapRenderSequence(_arg1);
var _local2:Array = new Array(new Trail01(0, 0), new Trail01(0, 0), new Trail01(0, 0), new Trail02(0, 0), new Trail03(0, 0), new Trail04(0, 0), new Trail05(0, 0), new Trail06(0, 0), new Trail07(0, 0), new Trail08(0, 0), new Trail09(0, 0), new Trail10(0, 0), new Trail11(0, 0), new Trail12(0, 0), new Trail13(0, 0), new Trail14(0, 0), new Trail15(0, 0));
bitmapRenderSequence.init(_local2);
}
override public function tick():void{
driveAnimationLoop();
}
}
}//package loveme
Section 66
//UserBall (loveme.UserBall)
package loveme {
import bitmap_classes.*;
public class UserBall extends Ball {
private var shooting:Boolean;// = false
private var trail:Trail;
private var markCollisionDelay:int;// = 0
private static var leftWall:Vec2 = new Vec2(Game.LEFT_WALL_X, 0);
private static var rightWall:Vec2 = new Vec2(Game.RIGHT_WALL_X, 0);
public static var BALL_SPEED:Number = 12;
public static var COLLISION_TICK_DELAY:int = 5;
public function UserBall(_arg1:BitmapRender, _arg2:Function){
super(_arg1, _arg2);
trail = new Trail(_arg1);
}
public function getMovement():Vec2{
return (mov);
}
override public function init(_arg1:Vec2, _arg2:Number, _arg3:int):void{
super.init(_arg1, _arg2, _arg3);
mov._x = 0;
mov._y = 0;
trail.hide();
markCollisionDelay = 0;
shooting = false;
}
override public function render():void{
if (visible == false){
return;
};
super.render();
trail.render();
}
private function markCollisionTest():Boolean{
var _local2:InfoData;
var _local1:Ball = new Ball(null, null);
_local1.init(new Vec2(376, 1485), 2000, 1);
if (collide(_local1)){
_local2 = new InfoData();
_local2.data1 = pos._x;
_local2.data2 = pos._y;
messageCallback("user_ball_out", _local2);
return (true);
};
return (false);
}
override public function tick():void{
var _local3:Vec2;
var _local4:InfoData;
pos.addSelf(mov);
if (markCollisionDelay > COLLISION_TICK_DELAY){
if (markCollisionTest()){
return;
};
};
if (shooting == true){
markCollisionDelay++;
};
var _local1:Boolean;
var _local2:Boolean;
_local3 = new Vec2();
if ((pos._x - Game.BALL_HALF_SIZE) <= Game.LEFT_WALL_X){
pos._x = (Game.LEFT_WALL_X + Game.BALL_HALF_SIZE);
mov._x = -(mov._x);
_local1 = true;
_local3._x = (_local3._x - Game.BALL_HALF_SIZE);
} else {
if ((pos._x + Game.BALL_HALF_SIZE) >= Game.RIGHT_WALL_X){
pos._x = (Game.RIGHT_WALL_X - Game.BALL_HALF_SIZE);
mov._x = -(mov._x);
_local1 = true;
_local3._x = (_local3._x + Game.BALL_HALF_SIZE);
};
};
if ((pos._y - Game.BALL_HALF_SIZE) <= Game.UP_WALL){
pos._y = (Game.UP_WALL + Game.BALL_HALF_SIZE);
mov._y = -(mov._y);
_local1 = true;
_local3._y = (_local3._y - Game.BALL_HALF_SIZE);
};
if ((pos._y - Game.BALL_HALF_SIZE) > Game.DOWN_BORDER){
_local2 = true;
};
if (_local1){
trail.hide();
_local4 = new InfoData();
_local4.data1 = (pos._x + _local3._x);
_local4.data2 = (pos._y + _local3._y);
messageCallback("user_ball_wall_collision", _local4);
};
trail.setPos(pos._x, pos._y);
trail.tick();
}
public function shoot(_arg1:Vec2):void{
mov.copy(_arg1);
mov.scaleSelf(BALL_SPEED);
show();
trail.setMovement(mov);
trail.show();
markCollisionDelay = 0;
shooting = true;
}
}
}//package loveme
Section 67
//Vec2 (loveme.Vec2)
package loveme {
public class Vec2 {
public var _y:Number;// = 0
public var _x:Number;// = 0
public function Vec2(_arg1:Number=0, _arg2:Number=0){
_x = _arg1;
_y = _arg2;
}
public function sub(_arg1:Vec2):Vec2{
return (new Vec2((_x - _arg1._x), (_y - _arg1._y)));
}
public function mul(_arg1:Vec2):Vec2{
return (new Vec2((_x * _arg1._x), (_y * _arg1._y)));
}
public function rotateSelf(_arg1:Number):void{
var _local2:Number = XPMath.cos(-(_arg1));
var _local3:Number = XPMath.sin(-(_arg1));
var _local4:Number = _x;
_x = ((_local2 * _x) - (_local3 * _y));
_y = ((_local3 * _local4) + (_local2 * _y));
}
public function dot(_arg1:Vec2):Number{
return (((_x * _arg1._x) + (_y * _arg1._y)));
}
public function scale(_arg1:Number):Vec2{
return (new Vec2((_x * _arg1), (_y * _arg1)));
}
public function reflect(_arg1:Vec2):Vec2{
var _local2:Vec2 = _arg1.normalize();
var _local3:Number = dot(_local2);
return (_local2.scale((2 * _local3)).sub(this));
}
public function addSelf(_arg1:Vec2):void{
_x = (_x + _arg1._x);
_y = (_y + _arg1._y);
}
public function get lengthSqr():Number{
return (((_x * _x) + (_y * _y)));
}
public function div(_arg1:Vec2):Vec2{
return (new Vec2((_x / _arg1._x), (_y / _arg1._y)));
}
public function normalize():Vec2{
return (scale((1 / length)));
}
public function normalLeft():Vec2{
return (new Vec2(_y, -(_x)));
}
public function rotate(_arg1:Number):Vec2{
var _local2:Number = XPMath.cos(-(_arg1));
var _local3:Number = XPMath.sin(-(_arg1));
return (new Vec2(((_local2 * _x) - (_local3 * _y)), ((_local3 * _x) + (_local2 * _y))));
}
public function rad():Number{
return (XPMath.atan2(_y, _x));
}
public function clone():Vec2{
return (new Vec2(_x, _y));
}
public function add(_arg1:Vec2):Vec2{
return (new Vec2((_x + _arg1._x), (_y + _arg1._y)));
}
public function get length():Number{
return (Math.sqrt(((_x * _x) + (_y * _y))));
}
public function subSelf(_arg1:Vec2):void{
_x = (_x - _arg1._x);
_y = (_y - _arg1._y);
}
public function mulSelf(_arg1:Vec2):void{
_x = (_x * _arg1._x);
_y = (_y * _arg1._y);
}
public function copy(_arg1:Vec2):void{
_x = _arg1._x;
_y = _arg1._y;
}
public function scaleSelf(_arg1:Number):void{
_x = (_x * _arg1);
_y = (_y * _arg1);
}
public function lerp(_arg1:Vec2, _arg2:Number):Vec2{
return (new Vec2((_x + ((_arg1._x - _x) * _arg2)), (_y + ((_arg1._y - _y) * _arg2))));
}
public function normalizeSelf():void{
var _local1:Number = (1 / length);
_x = (_x * _local1);
_y = (_y * _local1);
}
public function crossDet(_arg1:Vec2):Number{
return (((_x * _arg1._y) - (_arg1._x * _y)));
}
public function toString():String{
return ((((("(" + _x) + ", ") + _y) + ")"));
}
public function normalRight():Vec2{
return (new Vec2(-(_y), _x));
}
public function divSelf(_arg1:Vec2):void{
_x = (_x / _arg1._x);
_y = (_y / _arg1._y);
}
public function equals(_arg1:Vec2):Boolean{
return ((((_x == _arg1._x)) && ((_y == _arg1._y))));
}
}
}//package loveme
Section 68
//XPMath (loveme.XPMath)
package loveme {
public class XPMath {
public static var pi:Number = 3.14159265358979;
public static function sin(_arg1:Number):Number{
_arg1 = (_arg1 - 1.5707963267949);
var _local2:int;
var _local3:Number = ((_arg1 > 0)) ? _arg1 : -(_arg1);
if (_local3 >= (12.5663706143592 + 1.5707963267949)){
_local2 = int((_local3 * 0.636619772367581));
if ((_local2 & 1) != 0){
_local2++;
};
_local3 = (_local3 - (_local2 * 1.5707963267949));
} else {
if (_local3 < 1.5707963267949){
} else {
if (_local3 < (1.5707963267949 + 3.14159265358979)){
_local3 = (_local3 - 3.14159265358979);
_local2 = 2;
} else {
if (_local3 < (6.28318530717959 + 1.5707963267949)){
_local3 = (_local3 - 6.28318530717959);
} else {
if (_local3 < (9.42477796076938 + 1.5707963267949)){
_local3 = (_local3 - 9.42477796076938);
_local2 = 2;
} else {
_local3 = (_local3 - 12.5663706143592);
};
};
};
};
};
var _local4:Number = (_local3 * _local3);
var _local5:Number = (0.999999953027512 + (_local4 * (-0.499999047777921 + (_local4 * (0.041663573160188 + (_local4 * (-0.0013853629536173 + (_local4 * 2.31524166599385E-5))))))));
return ((((_local2 & 2))!=0) ? -(_local5) : _local5);
}
public static function cos(_arg1:Number):Number{
var _local2:int;
var _local3:Number = ((_arg1 > 0)) ? _arg1 : -(_arg1);
var _local4:Number = 1.5707963267949;
if (_local3 >= (12.5663706143592 + _local4)){
_local2 = int((_local3 * 0.636619772367581));
if ((_local2 & 1) != 0){
_local2++;
};
_local3 = (_local3 - (_local2 * _local4));
} else {
if (_local3 < _local4){
} else {
if (_local3 < (_local4 + 3.14159265358979)){
_local3 = (_local3 - 3.14159265358979);
_local2 = 2;
} else {
if (_local3 < (6.28318530717959 + _local4)){
_local3 = (_local3 - 6.28318530717959);
} else {
if (_local3 < (9.42477796076938 + _local4)){
_local3 = (_local3 - 9.42477796076938);
_local2 = 2;
} else {
_local3 = (_local3 - 12.5663706143592);
};
};
};
};
};
var _local5:Number = (_local3 * _local3);
var _local6:Number = (0.999999953027512 + (_local5 * (-0.499999047777921 + (_local5 * (0.041663573160188 + (_local5 * (-0.0013853629536173 + (_local5 * 2.31524166599385E-5))))))));
return ((((_local2 & 2))!=0) ? -(_local6) : _local6);
}
public static function atan2(_arg1:Number, _arg2:Number):Number{
var _local5:Number;
var _local3:Number = 3.14159265358979;
var _local4:Number = 1.5707963267949;
if (_arg2 == 0){
if (_arg1 > 0){
return (_local4);
};
if (_arg1 == 0){
return (0);
};
return (-(_local4));
};
var _local6:Number = (_arg1 / _arg2);
if (Math.abs(_local6) < 1){
_local5 = (_local6 / (1 + ((0.28 * _local6) * _local6)));
if (_arg2 < 0){
if (_arg1 < 0){
return ((_local5 - _local3));
};
return ((_local5 + _local3));
};
} else {
_local5 = (_local4 - (_local6 / ((_local6 * _local6) + 0.28)));
if (_arg1 < 0){
return ((_local5 - _local3));
};
};
return (_local5);
}
}
}//package loveme
Section 69
//ActiveBallBlue (ActiveBallBlue)
package {
import flash.display.*;
public dynamic class ActiveBallBlue extends BitmapData {
public function ActiveBallBlue(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 70
//ActiveBallGreen (ActiveBallGreen)
package {
import flash.display.*;
public dynamic class ActiveBallGreen extends BitmapData {
public function ActiveBallGreen(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 71
//ActiveBallMarker (ActiveBallMarker)
package {
import flash.display.*;
public dynamic class ActiveBallMarker extends BitmapData {
public function ActiveBallMarker(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 72
//ActiveBallRed (ActiveBallRed)
package {
import flash.display.*;
public dynamic class ActiveBallRed extends BitmapData {
public function ActiveBallRed(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 73
//ActiveBallYellow (ActiveBallYellow)
package {
import flash.display.*;
public dynamic class ActiveBallYellow extends BitmapData {
public function ActiveBallYellow(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 74
//bbfont0 (bbfont0)
package {
import flash.display.*;
public dynamic class bbfont0 extends BitmapData {
public function bbfont0(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 75
//bbfont1 (bbfont1)
package {
import flash.display.*;
public dynamic class bbfont1 extends BitmapData {
public function bbfont1(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 76
//bbfont2 (bbfont2)
package {
import flash.display.*;
public dynamic class bbfont2 extends BitmapData {
public function bbfont2(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 77
//bbfont3 (bbfont3)
package {
import flash.display.*;
public dynamic class bbfont3 extends BitmapData {
public function bbfont3(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 78
//bbfont4 (bbfont4)
package {
import flash.display.*;
public dynamic class bbfont4 extends BitmapData {
public function bbfont4(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 79
//bbfont5 (bbfont5)
package {
import flash.display.*;
public dynamic class bbfont5 extends BitmapData {
public function bbfont5(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 80
//bbfont6 (bbfont6)
package {
import flash.display.*;
public dynamic class bbfont6 extends BitmapData {
public function bbfont6(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 81
//bbfont7 (bbfont7)
package {
import flash.display.*;
public dynamic class bbfont7 extends BitmapData {
public function bbfont7(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 82
//bbfont8 (bbfont8)
package {
import flash.display.*;
public dynamic class bbfont8 extends BitmapData {
public function bbfont8(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 83
//bbfont9 (bbfont9)
package {
import flash.display.*;
public dynamic class bbfont9 extends BitmapData {
public function bbfont9(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 84
//biggie01 (biggie01)
package {
import flash.display.*;
public dynamic class biggie01 extends BitmapData {
public function biggie01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 85
//biggie02 (biggie02)
package {
import flash.display.*;
public dynamic class biggie02 extends BitmapData {
public function biggie02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 86
//biggie03 (biggie03)
package {
import flash.display.*;
public dynamic class biggie03 extends BitmapData {
public function biggie03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 87
//biggie04 (biggie04)
package {
import flash.display.*;
public dynamic class biggie04 extends BitmapData {
public function biggie04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 88
//biggie05 (biggie05)
package {
import flash.display.*;
public dynamic class biggie05 extends BitmapData {
public function biggie05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 89
//biggie06 (biggie06)
package {
import flash.display.*;
public dynamic class biggie06 extends BitmapData {
public function biggie06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 90
//biggie07 (biggie07)
package {
import flash.display.*;
public dynamic class biggie07 extends BitmapData {
public function biggie07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 91
//biggie08 (biggie08)
package {
import flash.display.*;
public dynamic class biggie08 extends BitmapData {
public function biggie08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 92
//biggie09 (biggie09)
package {
import flash.display.*;
public dynamic class biggie09 extends BitmapData {
public function biggie09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 93
//biggie10 (biggie10)
package {
import flash.display.*;
public dynamic class biggie10 extends BitmapData {
public function biggie10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 94
//biggie11 (biggie11)
package {
import flash.display.*;
public dynamic class biggie11 extends BitmapData {
public function biggie11(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 95
//BigImpact (BigImpact)
package {
import flash.media.*;
public dynamic class BigImpact extends Sound {
}
}//package
Section 96
//blast01 (blast01)
package {
import flash.display.*;
public dynamic class blast01 extends BitmapData {
public function blast01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 97
//blast02 (blast02)
package {
import flash.display.*;
public dynamic class blast02 extends BitmapData {
public function blast02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 98
//blast03 (blast03)
package {
import flash.display.*;
public dynamic class blast03 extends BitmapData {
public function blast03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 99
//blast04 (blast04)
package {
import flash.display.*;
public dynamic class blast04 extends BitmapData {
public function blast04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 100
//blast05 (blast05)
package {
import flash.display.*;
public dynamic class blast05 extends BitmapData {
public function blast05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 101
//blast06 (blast06)
package {
import flash.display.*;
public dynamic class blast06 extends BitmapData {
public function blast06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 102
//blast07 (blast07)
package {
import flash.display.*;
public dynamic class blast07 extends BitmapData {
public function blast07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 103
//blast08 (blast08)
package {
import flash.display.*;
public dynamic class blast08 extends BitmapData {
public function blast08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 104
//blast09 (blast09)
package {
import flash.display.*;
public dynamic class blast09 extends BitmapData {
public function blast09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 105
//Blastoff01 (Blastoff01)
package {
import flash.display.*;
public dynamic class Blastoff01 extends BitmapData {
public function Blastoff01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 106
//Blastoff02 (Blastoff02)
package {
import flash.display.*;
public dynamic class Blastoff02 extends BitmapData {
public function Blastoff02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 107
//Blastoff03 (Blastoff03)
package {
import flash.display.*;
public dynamic class Blastoff03 extends BitmapData {
public function Blastoff03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 108
//BlueBug001 (BlueBug001)
package {
import flash.display.*;
public dynamic class BlueBug001 extends BitmapData {
public function BlueBug001(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 109
//bonusfont0 (bonusfont0)
package {
import flash.display.*;
public dynamic class bonusfont0 extends BitmapData {
public function bonusfont0(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 110
//bonusfont1 (bonusfont1)
package {
import flash.display.*;
public dynamic class bonusfont1 extends BitmapData {
public function bonusfont1(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 111
//bonusfont2 (bonusfont2)
package {
import flash.display.*;
public dynamic class bonusfont2 extends BitmapData {
public function bonusfont2(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 112
//bonusfont3 (bonusfont3)
package {
import flash.display.*;
public dynamic class bonusfont3 extends BitmapData {
public function bonusfont3(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 113
//bonusfont4 (bonusfont4)
package {
import flash.display.*;
public dynamic class bonusfont4 extends BitmapData {
public function bonusfont4(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 114
//bonusfont5 (bonusfont5)
package {
import flash.display.*;
public dynamic class bonusfont5 extends BitmapData {
public function bonusfont5(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 115
//bonusfont6 (bonusfont6)
package {
import flash.display.*;
public dynamic class bonusfont6 extends BitmapData {
public function bonusfont6(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 116
//bonusfont7 (bonusfont7)
package {
import flash.display.*;
public dynamic class bonusfont7 extends BitmapData {
public function bonusfont7(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 117
//bonusfont8 (bonusfont8)
package {
import flash.display.*;
public dynamic class bonusfont8 extends BitmapData {
public function bonusfont8(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 118
//bonusfont9 (bonusfont9)
package {
import flash.display.*;
public dynamic class bonusfont9 extends BitmapData {
public function bonusfont9(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 119
//BonusMeter (BonusMeter)
package {
import flash.display.*;
public dynamic class BonusMeter extends BitmapData {
public function BonusMeter(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 120
//BonusMeterFull (BonusMeterFull)
package {
import flash.display.*;
public dynamic class BonusMeterFull extends BitmapData {
public function BonusMeterFull(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 121
//BonusMeterLight (BonusMeterLight)
package {
import flash.display.*;
public dynamic class BonusMeterLight extends BitmapData {
public function BonusMeterLight(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 122
//bounce1 (bounce1)
package {
import flash.media.*;
public dynamic class bounce1 extends Sound {
}
}//package
Section 123
//bounce2 (bounce2)
package {
import flash.media.*;
public dynamic class bounce2 extends Sound {
}
}//package
Section 124
//BSparkles01 (BSparkles01)
package {
import flash.display.*;
public dynamic class BSparkles01 extends BitmapData {
public function BSparkles01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 125
//BSparkles02 (BSparkles02)
package {
import flash.display.*;
public dynamic class BSparkles02 extends BitmapData {
public function BSparkles02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 126
//BSparkles03 (BSparkles03)
package {
import flash.display.*;
public dynamic class BSparkles03 extends BitmapData {
public function BSparkles03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 127
//BSparkles04 (BSparkles04)
package {
import flash.display.*;
public dynamic class BSparkles04 extends BitmapData {
public function BSparkles04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 128
//BSparkles05 (BSparkles05)
package {
import flash.display.*;
public dynamic class BSparkles05 extends BitmapData {
public function BSparkles05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 129
//BSparkles06 (BSparkles06)
package {
import flash.display.*;
public dynamic class BSparkles06 extends BitmapData {
public function BSparkles06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 130
//BSparkles07 (BSparkles07)
package {
import flash.display.*;
public dynamic class BSparkles07 extends BitmapData {
public function BSparkles07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 131
//BSparkles08 (BSparkles08)
package {
import flash.display.*;
public dynamic class BSparkles08 extends BitmapData {
public function BSparkles08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 132
//BSparkles09 (BSparkles09)
package {
import flash.display.*;
public dynamic class BSparkles09 extends BitmapData {
public function BSparkles09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 133
//BSparkles10 (BSparkles10)
package {
import flash.display.*;
public dynamic class BSparkles10 extends BitmapData {
public function BSparkles10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 134
//BSparkles11 (BSparkles11)
package {
import flash.display.*;
public dynamic class BSparkles11 extends BitmapData {
public function BSparkles11(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 135
//BSparkles12 (BSparkles12)
package {
import flash.display.*;
public dynamic class BSparkles12 extends BitmapData {
public function BSparkles12(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 136
//BSparkles13 (BSparkles13)
package {
import flash.display.*;
public dynamic class BSparkles13 extends BitmapData {
public function BSparkles13(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 137
//BSparkles14 (BSparkles14)
package {
import flash.display.*;
public dynamic class BSparkles14 extends BitmapData {
public function BSparkles14(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 138
//BSparkles15 (BSparkles15)
package {
import flash.display.*;
public dynamic class BSparkles15 extends BitmapData {
public function BSparkles15(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 139
//BSparkles16 (BSparkles16)
package {
import flash.display.*;
public dynamic class BSparkles16 extends BitmapData {
public function BSparkles16(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 140
//BSparkles17 (BSparkles17)
package {
import flash.display.*;
public dynamic class BSparkles17 extends BitmapData {
public function BSparkles17(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 141
//BSparkles18 (BSparkles18)
package {
import flash.display.*;
public dynamic class BSparkles18 extends BitmapData {
public function BSparkles18(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 142
//BSparkles19 (BSparkles19)
package {
import flash.display.*;
public dynamic class BSparkles19 extends BitmapData {
public function BSparkles19(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 143
//BSparkles20 (BSparkles20)
package {
import flash.display.*;
public dynamic class BSparkles20 extends BitmapData {
public function BSparkles20(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 144
//Cannon01 (Cannon01)
package {
import flash.display.*;
public dynamic class Cannon01 extends BitmapData {
public function Cannon01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 145
//Cannon02 (Cannon02)
package {
import flash.display.*;
public dynamic class Cannon02 extends BitmapData {
public function Cannon02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 146
//Cannon03 (Cannon03)
package {
import flash.display.*;
public dynamic class Cannon03 extends BitmapData {
public function Cannon03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 147
//Cannon04 (Cannon04)
package {
import flash.display.*;
public dynamic class Cannon04 extends BitmapData {
public function Cannon04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 148
//Cannon05 (Cannon05)
package {
import flash.display.*;
public dynamic class Cannon05 extends BitmapData {
public function Cannon05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 149
//Cannon06 (Cannon06)
package {
import flash.display.*;
public dynamic class Cannon06 extends BitmapData {
public function Cannon06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 150
//Cannon07 (Cannon07)
package {
import flash.display.*;
public dynamic class Cannon07 extends BitmapData {
public function Cannon07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 151
//Cannon08 (Cannon08)
package {
import flash.display.*;
public dynamic class Cannon08 extends BitmapData {
public function Cannon08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 152
//Cannon09 (Cannon09)
package {
import flash.display.*;
public dynamic class Cannon09 extends BitmapData {
public function Cannon09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 153
//Cannon10 (Cannon10)
package {
import flash.display.*;
public dynamic class Cannon10 extends BitmapData {
public function Cannon10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 154
//Cannon11 (Cannon11)
package {
import flash.display.*;
public dynamic class Cannon11 extends BitmapData {
public function Cannon11(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 155
//Cannon12 (Cannon12)
package {
import flash.display.*;
public dynamic class Cannon12 extends BitmapData {
public function Cannon12(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 156
//Cannon13 (Cannon13)
package {
import flash.display.*;
public dynamic class Cannon13 extends BitmapData {
public function Cannon13(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 157
//Cannon14 (Cannon14)
package {
import flash.display.*;
public dynamic class Cannon14 extends BitmapData {
public function Cannon14(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 158
//Cannon15 (Cannon15)
package {
import flash.display.*;
public dynamic class Cannon15 extends BitmapData {
public function Cannon15(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 159
//Cannon16 (Cannon16)
package {
import flash.display.*;
public dynamic class Cannon16 extends BitmapData {
public function Cannon16(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 160
//Cannon17 (Cannon17)
package {
import flash.display.*;
public dynamic class Cannon17 extends BitmapData {
public function Cannon17(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 161
//Cannon18 (Cannon18)
package {
import flash.display.*;
public dynamic class Cannon18 extends BitmapData {
public function Cannon18(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 162
//Cannon19 (Cannon19)
package {
import flash.display.*;
public dynamic class Cannon19 extends BitmapData {
public function Cannon19(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 163
//Cannon20 (Cannon20)
package {
import flash.display.*;
public dynamic class Cannon20 extends BitmapData {
public function Cannon20(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 164
//Cannon21 (Cannon21)
package {
import flash.display.*;
public dynamic class Cannon21 extends BitmapData {
public function Cannon21(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 165
//Cannon22 (Cannon22)
package {
import flash.display.*;
public dynamic class Cannon22 extends BitmapData {
public function Cannon22(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 166
//Cannon23 (Cannon23)
package {
import flash.display.*;
public dynamic class Cannon23 extends BitmapData {
public function Cannon23(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 167
//Cannon24 (Cannon24)
package {
import flash.display.*;
public dynamic class Cannon24 extends BitmapData {
public function Cannon24(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 168
//Cannon25 (Cannon25)
package {
import flash.display.*;
public dynamic class Cannon25 extends BitmapData {
public function Cannon25(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 169
//Cannon26 (Cannon26)
package {
import flash.display.*;
public dynamic class Cannon26 extends BitmapData {
public function Cannon26(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 170
//Cannon27 (Cannon27)
package {
import flash.display.*;
public dynamic class Cannon27 extends BitmapData {
public function Cannon27(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 171
//Cannon28 (Cannon28)
package {
import flash.display.*;
public dynamic class Cannon28 extends BitmapData {
public function Cannon28(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 172
//Cannon29 (Cannon29)
package {
import flash.display.*;
public dynamic class Cannon29 extends BitmapData {
public function Cannon29(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 173
//Cannon30 (Cannon30)
package {
import flash.display.*;
public dynamic class Cannon30 extends BitmapData {
public function Cannon30(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 174
//CBlue01 (CBlue01)
package {
import flash.display.*;
public dynamic class CBlue01 extends BitmapData {
public function CBlue01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 175
//CBlue02 (CBlue02)
package {
import flash.display.*;
public dynamic class CBlue02 extends BitmapData {
public function CBlue02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 176
//CBlue03 (CBlue03)
package {
import flash.display.*;
public dynamic class CBlue03 extends BitmapData {
public function CBlue03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 177
//CBlue04 (CBlue04)
package {
import flash.display.*;
public dynamic class CBlue04 extends BitmapData {
public function CBlue04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 178
//CBlue05 (CBlue05)
package {
import flash.display.*;
public dynamic class CBlue05 extends BitmapData {
public function CBlue05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 179
//CBlue06 (CBlue06)
package {
import flash.display.*;
public dynamic class CBlue06 extends BitmapData {
public function CBlue06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 180
//CBlue07 (CBlue07)
package {
import flash.display.*;
public dynamic class CBlue07 extends BitmapData {
public function CBlue07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 181
//CBlue08 (CBlue08)
package {
import flash.display.*;
public dynamic class CBlue08 extends BitmapData {
public function CBlue08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 182
//CBlue09 (CBlue09)
package {
import flash.display.*;
public dynamic class CBlue09 extends BitmapData {
public function CBlue09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 183
//CBlue10 (CBlue10)
package {
import flash.display.*;
public dynamic class CBlue10 extends BitmapData {
public function CBlue10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 184
//CBlue11 (CBlue11)
package {
import flash.display.*;
public dynamic class CBlue11 extends BitmapData {
public function CBlue11(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 185
//CBlue12 (CBlue12)
package {
import flash.display.*;
public dynamic class CBlue12 extends BitmapData {
public function CBlue12(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 186
//CBlue13 (CBlue13)
package {
import flash.display.*;
public dynamic class CBlue13 extends BitmapData {
public function CBlue13(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 187
//CBlue14 (CBlue14)
package {
import flash.display.*;
public dynamic class CBlue14 extends BitmapData {
public function CBlue14(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 188
//CBlue15 (CBlue15)
package {
import flash.display.*;
public dynamic class CBlue15 extends BitmapData {
public function CBlue15(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 189
//CGreen01 (CGreen01)
package {
import flash.display.*;
public dynamic class CGreen01 extends BitmapData {
public function CGreen01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 190
//CGreen02 (CGreen02)
package {
import flash.display.*;
public dynamic class CGreen02 extends BitmapData {
public function CGreen02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 191
//CGreen03 (CGreen03)
package {
import flash.display.*;
public dynamic class CGreen03 extends BitmapData {
public function CGreen03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 192
//CGreen04 (CGreen04)
package {
import flash.display.*;
public dynamic class CGreen04 extends BitmapData {
public function CGreen04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 193
//CGreen05 (CGreen05)
package {
import flash.display.*;
public dynamic class CGreen05 extends BitmapData {
public function CGreen05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 194
//CGreen06 (CGreen06)
package {
import flash.display.*;
public dynamic class CGreen06 extends BitmapData {
public function CGreen06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 195
//CGreen07 (CGreen07)
package {
import flash.display.*;
public dynamic class CGreen07 extends BitmapData {
public function CGreen07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 196
//CGreen08 (CGreen08)
package {
import flash.display.*;
public dynamic class CGreen08 extends BitmapData {
public function CGreen08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 197
//CGreen09 (CGreen09)
package {
import flash.display.*;
public dynamic class CGreen09 extends BitmapData {
public function CGreen09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 198
//CGreen10 (CGreen10)
package {
import flash.display.*;
public dynamic class CGreen10 extends BitmapData {
public function CGreen10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 199
//CGreen11 (CGreen11)
package {
import flash.display.*;
public dynamic class CGreen11 extends BitmapData {
public function CGreen11(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 200
//CGreen12 (CGreen12)
package {
import flash.display.*;
public dynamic class CGreen12 extends BitmapData {
public function CGreen12(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 201
//CGreen13 (CGreen13)
package {
import flash.display.*;
public dynamic class CGreen13 extends BitmapData {
public function CGreen13(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 202
//CGreen14 (CGreen14)
package {
import flash.display.*;
public dynamic class CGreen14 extends BitmapData {
public function CGreen14(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 203
//CGreen15 (CGreen15)
package {
import flash.display.*;
public dynamic class CGreen15 extends BitmapData {
public function CGreen15(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 204
//Close01 (Close01)
package {
import flash.display.*;
public dynamic class Close01 extends BitmapData {
public function Close01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 205
//Close02 (Close02)
package {
import flash.display.*;
public dynamic class Close02 extends BitmapData {
public function Close02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 206
//Close03 (Close03)
package {
import flash.display.*;
public dynamic class Close03 extends BitmapData {
public function Close03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 207
//Close04 (Close04)
package {
import flash.display.*;
public dynamic class Close04 extends BitmapData {
public function Close04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 208
//Close05 (Close05)
package {
import flash.display.*;
public dynamic class Close05 extends BitmapData {
public function Close05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 209
//Close06 (Close06)
package {
import flash.display.*;
public dynamic class Close06 extends BitmapData {
public function Close06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 210
//Close07 (Close07)
package {
import flash.display.*;
public dynamic class Close07 extends BitmapData {
public function Close07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 211
//Close08 (Close08)
package {
import flash.display.*;
public dynamic class Close08 extends BitmapData {
public function Close08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 212
//Close09 (Close09)
package {
import flash.display.*;
public dynamic class Close09 extends BitmapData {
public function Close09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 213
//Close10 (Close10)
package {
import flash.display.*;
public dynamic class Close10 extends BitmapData {
public function Close10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 214
//Cloud (Cloud)
package {
import flash.display.*;
public dynamic class Cloud extends BitmapData {
public function Cloud(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 215
//CRed01 (CRed01)
package {
import flash.display.*;
public dynamic class CRed01 extends BitmapData {
public function CRed01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 216
//CRed02 (CRed02)
package {
import flash.display.*;
public dynamic class CRed02 extends BitmapData {
public function CRed02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 217
//CRed03 (CRed03)
package {
import flash.display.*;
public dynamic class CRed03 extends BitmapData {
public function CRed03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 218
//CRed04 (CRed04)
package {
import flash.display.*;
public dynamic class CRed04 extends BitmapData {
public function CRed04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 219
//CRed05 (CRed05)
package {
import flash.display.*;
public dynamic class CRed05 extends BitmapData {
public function CRed05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 220
//CRed06 (CRed06)
package {
import flash.display.*;
public dynamic class CRed06 extends BitmapData {
public function CRed06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 221
//CRed07 (CRed07)
package {
import flash.display.*;
public dynamic class CRed07 extends BitmapData {
public function CRed07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 222
//CRed08 (CRed08)
package {
import flash.display.*;
public dynamic class CRed08 extends BitmapData {
public function CRed08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 223
//CRed09 (CRed09)
package {
import flash.display.*;
public dynamic class CRed09 extends BitmapData {
public function CRed09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 224
//CRed10 (CRed10)
package {
import flash.display.*;
public dynamic class CRed10 extends BitmapData {
public function CRed10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 225
//CRed11 (CRed11)
package {
import flash.display.*;
public dynamic class CRed11 extends BitmapData {
public function CRed11(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 226
//CRed12 (CRed12)
package {
import flash.display.*;
public dynamic class CRed12 extends BitmapData {
public function CRed12(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 227
//CRed13 (CRed13)
package {
import flash.display.*;
public dynamic class CRed13 extends BitmapData {
public function CRed13(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 228
//CRed14 (CRed14)
package {
import flash.display.*;
public dynamic class CRed14 extends BitmapData {
public function CRed14(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 229
//CRed15 (CRed15)
package {
import flash.display.*;
public dynamic class CRed15 extends BitmapData {
public function CRed15(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 230
//CYellow01 (CYellow01)
package {
import flash.display.*;
public dynamic class CYellow01 extends BitmapData {
public function CYellow01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 231
//CYellow02 (CYellow02)
package {
import flash.display.*;
public dynamic class CYellow02 extends BitmapData {
public function CYellow02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 232
//CYellow03 (CYellow03)
package {
import flash.display.*;
public dynamic class CYellow03 extends BitmapData {
public function CYellow03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 233
//CYellow04 (CYellow04)
package {
import flash.display.*;
public dynamic class CYellow04 extends BitmapData {
public function CYellow04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 234
//CYellow05 (CYellow05)
package {
import flash.display.*;
public dynamic class CYellow05 extends BitmapData {
public function CYellow05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 235
//CYellow06 (CYellow06)
package {
import flash.display.*;
public dynamic class CYellow06 extends BitmapData {
public function CYellow06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 236
//CYellow07 (CYellow07)
package {
import flash.display.*;
public dynamic class CYellow07 extends BitmapData {
public function CYellow07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 237
//CYellow08 (CYellow08)
package {
import flash.display.*;
public dynamic class CYellow08 extends BitmapData {
public function CYellow08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 238
//CYellow09 (CYellow09)
package {
import flash.display.*;
public dynamic class CYellow09 extends BitmapData {
public function CYellow09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 239
//CYellow10 (CYellow10)
package {
import flash.display.*;
public dynamic class CYellow10 extends BitmapData {
public function CYellow10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 240
//CYellow11 (CYellow11)
package {
import flash.display.*;
public dynamic class CYellow11 extends BitmapData {
public function CYellow11(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 241
//CYellow12 (CYellow12)
package {
import flash.display.*;
public dynamic class CYellow12 extends BitmapData {
public function CYellow12(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 242
//CYellow13 (CYellow13)
package {
import flash.display.*;
public dynamic class CYellow13 extends BitmapData {
public function CYellow13(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 243
//CYellow14 (CYellow14)
package {
import flash.display.*;
public dynamic class CYellow14 extends BitmapData {
public function CYellow14(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 244
//CYellow15 (CYellow15)
package {
import flash.display.*;
public dynamic class CYellow15 extends BitmapData {
public function CYellow15(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 245
//Drop (Drop)
package {
import flash.display.*;
public dynamic class Drop extends BitmapData {
public function Drop(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 246
//dustloop01 (dustloop01)
package {
import flash.display.*;
public dynamic class dustloop01 extends BitmapData {
public function dustloop01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 247
//dustloop02 (dustloop02)
package {
import flash.display.*;
public dynamic class dustloop02 extends BitmapData {
public function dustloop02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 248
//dustloop03 (dustloop03)
package {
import flash.display.*;
public dynamic class dustloop03 extends BitmapData {
public function dustloop03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 249
//dustloop04 (dustloop04)
package {
import flash.display.*;
public dynamic class dustloop04 extends BitmapData {
public function dustloop04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 250
//dustloop05 (dustloop05)
package {
import flash.display.*;
public dynamic class dustloop05 extends BitmapData {
public function dustloop05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 251
//dustloop06 (dustloop06)
package {
import flash.display.*;
public dynamic class dustloop06 extends BitmapData {
public function dustloop06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 252
//dustloop07 (dustloop07)
package {
import flash.display.*;
public dynamic class dustloop07 extends BitmapData {
public function dustloop07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 253
//dustloop08 (dustloop08)
package {
import flash.display.*;
public dynamic class dustloop08 extends BitmapData {
public function dustloop08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 254
//dustloop09 (dustloop09)
package {
import flash.display.*;
public dynamic class dustloop09 extends BitmapData {
public function dustloop09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 255
//dustloop10 (dustloop10)
package {
import flash.display.*;
public dynamic class dustloop10 extends BitmapData {
public function dustloop10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 256
//dustloop11 (dustloop11)
package {
import flash.display.*;
public dynamic class dustloop11 extends BitmapData {
public function dustloop11(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 257
//dustloop12 (dustloop12)
package {
import flash.display.*;
public dynamic class dustloop12 extends BitmapData {
public function dustloop12(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 258
//dustloop13 (dustloop13)
package {
import flash.display.*;
public dynamic class dustloop13 extends BitmapData {
public function dustloop13(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 259
//dustloop14 (dustloop14)
package {
import flash.display.*;
public dynamic class dustloop14 extends BitmapData {
public function dustloop14(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 260
//dustloop15 (dustloop15)
package {
import flash.display.*;
public dynamic class dustloop15 extends BitmapData {
public function dustloop15(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 261
//duststart01 (duststart01)
package {
import flash.display.*;
public dynamic class duststart01 extends BitmapData {
public function duststart01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 262
//duststart02 (duststart02)
package {
import flash.display.*;
public dynamic class duststart02 extends BitmapData {
public function duststart02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 263
//duststart03 (duststart03)
package {
import flash.display.*;
public dynamic class duststart03 extends BitmapData {
public function duststart03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 264
//duststart04 (duststart04)
package {
import flash.display.*;
public dynamic class duststart04 extends BitmapData {
public function duststart04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 265
//duststart05 (duststart05)
package {
import flash.display.*;
public dynamic class duststart05 extends BitmapData {
public function duststart05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 266
//EdgeHit01 (EdgeHit01)
package {
import flash.display.*;
public dynamic class EdgeHit01 extends BitmapData {
public function EdgeHit01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 267
//EdgeHit02 (EdgeHit02)
package {
import flash.display.*;
public dynamic class EdgeHit02 extends BitmapData {
public function EdgeHit02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 268
//EdgeHit03 (EdgeHit03)
package {
import flash.display.*;
public dynamic class EdgeHit03 extends BitmapData {
public function EdgeHit03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 269
//EdgeHit04 (EdgeHit04)
package {
import flash.display.*;
public dynamic class EdgeHit04 extends BitmapData {
public function EdgeHit04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 270
//EdgeHit05 (EdgeHit05)
package {
import flash.display.*;
public dynamic class EdgeHit05 extends BitmapData {
public function EdgeHit05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 271
//EdgeHit06 (EdgeHit06)
package {
import flash.display.*;
public dynamic class EdgeHit06 extends BitmapData {
public function EdgeHit06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 272
//EdgeHit07 (EdgeHit07)
package {
import flash.display.*;
public dynamic class EdgeHit07 extends BitmapData {
public function EdgeHit07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 273
//EdgeHit08 (EdgeHit08)
package {
import flash.display.*;
public dynamic class EdgeHit08 extends BitmapData {
public function EdgeHit08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 274
//EdgeHit09 (EdgeHit09)
package {
import flash.display.*;
public dynamic class EdgeHit09 extends BitmapData {
public function EdgeHit09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 275
//EdgeHit10 (EdgeHit10)
package {
import flash.display.*;
public dynamic class EdgeHit10 extends BitmapData {
public function EdgeHit10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 276
//eight (eight)
package {
import flash.display.*;
public dynamic class eight extends BitmapData {
public function eight(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 277
//eight_pop (eight_pop)
package {
import flash.display.*;
public dynamic class eight_pop extends BitmapData {
public function eight_pop(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 278
//Exit (Exit)
package {
import flash.display.*;
public dynamic class Exit extends BitmapData {
public function Exit(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 279
//ExitClip (ExitClip)
package {
import flash.display.*;
public dynamic class ExitClip extends MovieClip {
}
}//package
Section 280
//fairy01 (fairy01)
package {
import flash.display.*;
public dynamic class fairy01 extends BitmapData {
public function fairy01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 281
//fairy02 (fairy02)
package {
import flash.display.*;
public dynamic class fairy02 extends BitmapData {
public function fairy02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 282
//fairy03 (fairy03)
package {
import flash.display.*;
public dynamic class fairy03 extends BitmapData {
public function fairy03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 283
//fairy04 (fairy04)
package {
import flash.display.*;
public dynamic class fairy04 extends BitmapData {
public function fairy04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 284
//five (five)
package {
import flash.display.*;
public dynamic class five extends BitmapData {
public function five(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 285
//five_pop (five_pop)
package {
import flash.display.*;
public dynamic class five_pop extends BitmapData {
public function five_pop(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 286
//FlowerPlanet (FlowerPlanet)
package {
import flash.display.*;
public dynamic class FlowerPlanet extends BitmapData {
public function FlowerPlanet(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 287
//FlowerPlanetFlower (FlowerPlanetFlower)
package {
import flash.display.*;
public dynamic class FlowerPlanetFlower extends BitmapData {
public function FlowerPlanetFlower(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 288
//four (four)
package {
import flash.display.*;
public dynamic class four extends BitmapData {
public function four(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 289
//four_pop (four_pop)
package {
import flash.display.*;
public dynamic class four_pop extends BitmapData {
public function four_pop(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 290
//game_over_music1 (game_over_music1)
package {
import flash.media.*;
public dynamic class game_over_music1 extends Sound {
}
}//package
Section 291
//glass_break2 (glass_break2)
package {
import flash.media.*;
public dynamic class glass_break2 extends Sound {
}
}//package
Section 292
//Gradient (Gradient)
package {
import flash.display.*;
public dynamic class Gradient extends BitmapData {
public function Gradient(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 293
//GreenBug001 (GreenBug001)
package {
import flash.display.*;
public dynamic class GreenBug001 extends BitmapData {
public function GreenBug001(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 294
//GUIBall (GUIBall)
package {
import flash.display.*;
public dynamic class GUIBall extends BitmapData {
public function GUIBall(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 295
//GUIClock (GUIClock)
package {
import flash.display.*;
public dynamic class GUIClock extends BitmapData {
public function GUIClock(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 296
//GUILevel (GUILevel)
package {
import flash.display.*;
public dynamic class GUILevel extends BitmapData {
public function GUILevel(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 297
//hit_bubble_many_meterfull1 (hit_bubble_many_meterfull1)
package {
import flash.media.*;
public dynamic class hit_bubble_many_meterfull1 extends Sound {
}
}//package
Section 298
//hit_bubble_many1 (hit_bubble_many1)
package {
import flash.media.*;
public dynamic class hit_bubble_many1 extends Sound {
}
}//package
Section 299
//hit_bubble_meterfull1 (hit_bubble_meterfull1)
package {
import flash.media.*;
public dynamic class hit_bubble_meterfull1 extends Sound {
}
}//package
Section 300
//hit_bubble1 (hit_bubble1)
package {
import flash.media.*;
public dynamic class hit_bubble1 extends Sound {
}
}//package
Section 301
//hit_nobubble1 (hit_nobubble1)
package {
import flash.media.*;
public dynamic class hit_nobubble1 extends Sound {
}
}//package
Section 302
//Impact (Impact)
package {
import flash.media.*;
public dynamic class Impact extends Sound {
}
}//package
Section 303
//IntroClip (IntroClip)
package {
import flash.display.*;
public dynamic class IntroClip extends MovieClip {
}
}//package
Section 304
//kolon (kolon)
package {
import flash.display.*;
public dynamic class kolon extends BitmapData {
public function kolon(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 305
//level_clear_effect2 (level_clear_effect2)
package {
import flash.media.*;
public dynamic class level_clear_effect2 extends Sound {
}
}//package
Section 306
//level_clear_stab1 (level_clear_stab1)
package {
import flash.media.*;
public dynamic class level_clear_stab1 extends Sound {
}
}//package
Section 307
//Levelbonus (Levelbonus)
package {
import flash.display.*;
import flash.text.*;
public dynamic class Levelbonus extends MovieClip {
public var levelBonusScore_txt:TextField;
public var levelBonusHeading_txt:TextField;
}
}//package
Section 308
//loop_effect1 (loop_effect1)
package {
import flash.media.*;
public dynamic class loop_effect1 extends Sound {
}
}//package
Section 309
//loop_effect3 (loop_effect3)
package {
import flash.media.*;
public dynamic class loop_effect3 extends Sound {
}
}//package
Section 310
//loop_effect4 (loop_effect4)
package {
import flash.media.*;
public dynamic class loop_effect4 extends Sound {
}
}//package
Section 311
//loop_effect5 (loop_effect5)
package {
import flash.media.*;
public dynamic class loop_effect5 extends Sound {
}
}//package
Section 312
//loop_effect6 (loop_effect6)
package {
import flash.media.*;
public dynamic class loop_effect6 extends Sound {
}
}//package
Section 313
//love_me_intro3 (love_me_intro3)
package {
import flash.media.*;
public dynamic class love_me_intro3 extends Sound {
}
}//package
Section 314
//love_me_loop3 (love_me_loop3)
package {
import flash.media.*;
public dynamic class love_me_loop3 extends Sound {
}
}//package
Section 315
//LoveMe (LoveMe)
package {
import flash.events.*;
import flash.display.*;
import loveme.*;
public class LoveMe extends Sprite {
private var loveMeApp:LoveMeApp;
public function LoveMe(){
if (stage){
init();
} else {
addEventListener(Event.ADDED_TO_STAGE, init);
};
}
private function init(_arg1:Event=null):void{
removeEventListener(Event.ADDED_TO_STAGE, init);
loveMeApp = new LoveMeApp(this);
addChild(loveMeApp);
loveMeApp.init();
}
}
}//package
Section 316
//meter_full1 (meter_full1)
package {
import flash.media.*;
public dynamic class meter_full1 extends Sound {
}
}//package
Section 317
//meter_off1 (meter_off1)
package {
import flash.media.*;
public dynamic class meter_off1 extends Sound {
}
}//package
Section 318
//Moon01 (Moon01)
package {
import flash.display.*;
public dynamic class Moon01 extends BitmapData {
public function Moon01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 319
//Moon02 (Moon02)
package {
import flash.display.*;
public dynamic class Moon02 extends BitmapData {
public function Moon02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 320
//Moon03 (Moon03)
package {
import flash.display.*;
public dynamic class Moon03 extends BitmapData {
public function Moon03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 321
//Moon04 (Moon04)
package {
import flash.display.*;
public dynamic class Moon04 extends BitmapData {
public function Moon04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 322
//Moon05 (Moon05)
package {
import flash.display.*;
public dynamic class Moon05 extends BitmapData {
public function Moon05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 323
//Moon06 (Moon06)
package {
import flash.display.*;
public dynamic class Moon06 extends BitmapData {
public function Moon06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 324
//Moon07 (Moon07)
package {
import flash.display.*;
public dynamic class Moon07 extends BitmapData {
public function Moon07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 325
//Moon08 (Moon08)
package {
import flash.display.*;
public dynamic class Moon08 extends BitmapData {
public function Moon08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 326
//Moon09 (Moon09)
package {
import flash.display.*;
public dynamic class Moon09 extends BitmapData {
public function Moon09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 327
//Moon10 (Moon10)
package {
import flash.display.*;
public dynamic class Moon10 extends BitmapData {
public function Moon10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 328
//Moon11 (Moon11)
package {
import flash.display.*;
public dynamic class Moon11 extends BitmapData {
public function Moon11(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 329
//Moon12 (Moon12)
package {
import flash.display.*;
public dynamic class Moon12 extends BitmapData {
public function Moon12(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 330
//Moon13 (Moon13)
package {
import flash.display.*;
public dynamic class Moon13 extends BitmapData {
public function Moon13(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 331
//moonpuff01 (moonpuff01)
package {
import flash.display.*;
public dynamic class moonpuff01 extends BitmapData {
public function moonpuff01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 332
//moonpuff02 (moonpuff02)
package {
import flash.display.*;
public dynamic class moonpuff02 extends BitmapData {
public function moonpuff02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 333
//moonpuff03 (moonpuff03)
package {
import flash.display.*;
public dynamic class moonpuff03 extends BitmapData {
public function moonpuff03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 334
//moonpuff04 (moonpuff04)
package {
import flash.display.*;
public dynamic class moonpuff04 extends BitmapData {
public function moonpuff04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 335
//moonpuff05 (moonpuff05)
package {
import flash.display.*;
public dynamic class moonpuff05 extends BitmapData {
public function moonpuff05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 336
//moonpuff06 (moonpuff06)
package {
import flash.display.*;
public dynamic class moonpuff06 extends BitmapData {
public function moonpuff06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 337
//moonpuff07 (moonpuff07)
package {
import flash.display.*;
public dynamic class moonpuff07 extends BitmapData {
public function moonpuff07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 338
//moonpuff08 (moonpuff08)
package {
import flash.display.*;
public dynamic class moonpuff08 extends BitmapData {
public function moonpuff08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 339
//moonpuff09 (moonpuff09)
package {
import flash.display.*;
public dynamic class moonpuff09 extends BitmapData {
public function moonpuff09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 340
//moonpuff10 (moonpuff10)
package {
import flash.display.*;
public dynamic class moonpuff10 extends BitmapData {
public function moonpuff10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 341
//moonpuff11 (moonpuff11)
package {
import flash.display.*;
public dynamic class moonpuff11 extends BitmapData {
public function moonpuff11(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 342
//moonpuff12 (moonpuff12)
package {
import flash.display.*;
public dynamic class moonpuff12 extends BitmapData {
public function moonpuff12(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 343
//moonpuff13 (moonpuff13)
package {
import flash.display.*;
public dynamic class moonpuff13 extends BitmapData {
public function moonpuff13(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 344
//moonpuff14 (moonpuff14)
package {
import flash.display.*;
public dynamic class moonpuff14 extends BitmapData {
public function moonpuff14(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 345
//moonpuff15 (moonpuff15)
package {
import flash.display.*;
public dynamic class moonpuff15 extends BitmapData {
public function moonpuff15(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 346
//MusicClip (MusicClip)
package {
import flash.display.*;
public dynamic class MusicClip extends MovieClip {
}
}//package
Section 347
//MusicOff (MusicOff)
package {
import flash.display.*;
public dynamic class MusicOff extends BitmapData {
public function MusicOff(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 348
//MusicOn (MusicOn)
package {
import flash.display.*;
public dynamic class MusicOn extends BitmapData {
public function MusicOn(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 349
//NewIntro (NewIntro)
package {
import flash.display.*;
import flash.text.*;
public dynamic class NewIntro extends MovieClip {
public var instructionsHeader_txt:TextField;
public var gameStartsIn_txt:TextField;
public var instructionsText_txt:TextField;
public var Snurr_mc:MovieClip;
public var Texts_mc:IntroClip;
}
}//package
Section 350
//NextBallBlue (NextBallBlue)
package {
import flash.display.*;
public dynamic class NextBallBlue extends BitmapData {
public function NextBallBlue(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 351
//NextBallGreen (NextBallGreen)
package {
import flash.display.*;
public dynamic class NextBallGreen extends BitmapData {
public function NextBallGreen(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 352
//NextBallRed (NextBallRed)
package {
import flash.display.*;
public dynamic class NextBallRed extends BitmapData {
public function NextBallRed(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 353
//NextBallYellow (NextBallYellow)
package {
import flash.display.*;
public dynamic class NextBallYellow extends BitmapData {
public function NextBallYellow(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 354
//nine (nine)
package {
import flash.display.*;
public dynamic class nine extends BitmapData {
public function nine(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 355
//nine_pop (nine_pop)
package {
import flash.display.*;
public dynamic class nine_pop extends BitmapData {
public function nine_pop(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 356
//one (one)
package {
import flash.display.*;
public dynamic class one extends BitmapData {
public function one(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 357
//one_pop (one_pop)
package {
import flash.display.*;
public dynamic class one_pop extends BitmapData {
public function one_pop(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 358
//OpenGameSign (OpenGameSign)
package {
import flash.display.*;
import flash.text.*;
public dynamic class OpenGameSign extends MovieClip {
public var openGameText_txt:TextField;
}
}//package
Section 359
//Outro (Outro)
package {
import flash.display.*;
public dynamic class Outro extends MovieClip {
public var PlanetBottom:MovieClip;
public var PlanetGoodTop:MovieClip;
public var OutroGrass:MovieClip;
public var trophyInfoThreeHolder:MovieClip;
public var DaisyChain:MovieClip;
public var trophyInfoFourHolder:MovieClip;
public var Seed:MovieClip;
public var Rainbow:MovieClip;
public var Heart:MovieClip;
public var trophyInfoTwoHolder:MovieClip;
public var Flower01:MovieClip;
public var Flower02:MovieClip;
public var TrophyRose:MovieClip;
public var Flower05:MovieClip;
public var Flower06:MovieClip;
public var Flower07:MovieClip;
public var Flower03:MovieClip;
public var PlanetTopBad:MovieClip;
public var Flower08:MovieClip;
public var Heart2:MovieClip;
public var Heart3:MovieClip;
public var Heart4:MovieClip;
public var Flower09:MovieClip;
public var trophyInfoOneHolder:MovieClip;
public var Cloud01:MovieClip;
public var Flower04:MovieClip;
public var TrophyRainbowExplosions_mc:MovieClip;
public var Flower11:MovieClip;
public var Flower12:MovieClip;
public var Flower13:MovieClip;
public var ButterFly1:MovieClip;
public var ButterFly2:MovieClip;
public var Flower16:MovieClip;
public var Flower17:MovieClip;
public var ButterFly5:MovieClip;
public var Flower19:MovieClip;
public var Flower14:MovieClip;
public var Flower15:MovieClip;
public var ButterFly3:MovieClip;
public var ButterFly4:MovieClip;
public var Flower18:MovieClip;
public var TrophyExplosion_mc:MovieClip;
public var Heart5:MovieClip;
}
}//package
Section 360
//Petal01 (Petal01)
package {
import flash.display.*;
public dynamic class Petal01 extends BitmapData {
public function Petal01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 361
//Petal02 (Petal02)
package {
import flash.display.*;
public dynamic class Petal02 extends BitmapData {
public function Petal02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 362
//Petal03 (Petal03)
package {
import flash.display.*;
public dynamic class Petal03 extends BitmapData {
public function Petal03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 363
//Petal04 (Petal04)
package {
import flash.display.*;
public dynamic class Petal04 extends BitmapData {
public function Petal04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 364
//Petal05 (Petal05)
package {
import flash.display.*;
public dynamic class Petal05 extends BitmapData {
public function Petal05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 365
//Petal06 (Petal06)
package {
import flash.display.*;
public dynamic class Petal06 extends BitmapData {
public function Petal06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 366
//Petal07 (Petal07)
package {
import flash.display.*;
public dynamic class Petal07 extends BitmapData {
public function Petal07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 367
//Petal08 (Petal08)
package {
import flash.display.*;
public dynamic class Petal08 extends BitmapData {
public function Petal08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 368
//Petal09 (Petal09)
package {
import flash.display.*;
public dynamic class Petal09 extends BitmapData {
public function Petal09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 369
//Petal10 (Petal10)
package {
import flash.display.*;
public dynamic class Petal10 extends BitmapData {
public function Petal10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 370
//Petal11 (Petal11)
package {
import flash.display.*;
public dynamic class Petal11 extends BitmapData {
public function Petal11(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 371
//Petal12 (Petal12)
package {
import flash.display.*;
public dynamic class Petal12 extends BitmapData {
public function Petal12(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 372
//Petal13 (Petal13)
package {
import flash.display.*;
public dynamic class Petal13 extends BitmapData {
public function Petal13(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 373
//Petal14 (Petal14)
package {
import flash.display.*;
public dynamic class Petal14 extends BitmapData {
public function Petal14(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 374
//Petal15 (Petal15)
package {
import flash.display.*;
public dynamic class Petal15 extends BitmapData {
public function Petal15(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 375
//Petal16 (Petal16)
package {
import flash.display.*;
public dynamic class Petal16 extends BitmapData {
public function Petal16(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 376
//plantpuff01 (plantpuff01)
package {
import flash.display.*;
public dynamic class plantpuff01 extends BitmapData {
public function plantpuff01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 377
//plantpuff02 (plantpuff02)
package {
import flash.display.*;
public dynamic class plantpuff02 extends BitmapData {
public function plantpuff02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 378
//plantpuff03 (plantpuff03)
package {
import flash.display.*;
public dynamic class plantpuff03 extends BitmapData {
public function plantpuff03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 379
//plantpuff04 (plantpuff04)
package {
import flash.display.*;
public dynamic class plantpuff04 extends BitmapData {
public function plantpuff04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 380
//plantpuff05 (plantpuff05)
package {
import flash.display.*;
public dynamic class plantpuff05 extends BitmapData {
public function plantpuff05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 381
//plantpuff06 (plantpuff06)
package {
import flash.display.*;
public dynamic class plantpuff06 extends BitmapData {
public function plantpuff06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 382
//plantpuff07 (plantpuff07)
package {
import flash.display.*;
public dynamic class plantpuff07 extends BitmapData {
public function plantpuff07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 383
//plantpuff08 (plantpuff08)
package {
import flash.display.*;
public dynamic class plantpuff08 extends BitmapData {
public function plantpuff08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 384
//plantpuff09 (plantpuff09)
package {
import flash.display.*;
public dynamic class plantpuff09 extends BitmapData {
public function plantpuff09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 385
//plantpuff10 (plantpuff10)
package {
import flash.display.*;
public dynamic class plantpuff10 extends BitmapData {
public function plantpuff10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 386
//plantpuff11 (plantpuff11)
package {
import flash.display.*;
public dynamic class plantpuff11 extends BitmapData {
public function plantpuff11(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 387
//plantpuff12 (plantpuff12)
package {
import flash.display.*;
public dynamic class plantpuff12 extends BitmapData {
public function plantpuff12(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 388
//plantpuff13 (plantpuff13)
package {
import flash.display.*;
public dynamic class plantpuff13 extends BitmapData {
public function plantpuff13(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 389
//plantpuff14 (plantpuff14)
package {
import flash.display.*;
public dynamic class plantpuff14 extends BitmapData {
public function plantpuff14(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 390
//plantpuff15 (plantpuff15)
package {
import flash.display.*;
public dynamic class plantpuff15 extends BitmapData {
public function plantpuff15(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 391
//plantpuff16 (plantpuff16)
package {
import flash.display.*;
public dynamic class plantpuff16 extends BitmapData {
public function plantpuff16(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 392
//plantpuff17 (plantpuff17)
package {
import flash.display.*;
public dynamic class plantpuff17 extends BitmapData {
public function plantpuff17(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 393
//plantpuff18 (plantpuff18)
package {
import flash.display.*;
public dynamic class plantpuff18 extends BitmapData {
public function plantpuff18(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 394
//PlayGrass (PlayGrass)
package {
import flash.display.*;
public dynamic class PlayGrass extends BitmapData {
public function PlayGrass(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 395
//PlayOrchid (PlayOrchid)
package {
import flash.display.*;
public dynamic class PlayOrchid extends BitmapData {
public function PlayOrchid(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 396
//RedBug001 (RedBug001)
package {
import flash.display.*;
public dynamic class RedBug001 extends BitmapData {
public function RedBug001(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 397
//Seed (Seed)
package {
import flash.display.*;
public dynamic class Seed extends MovieClip {
}
}//package
Section 398
//seven (seven)
package {
import flash.display.*;
public dynamic class seven extends BitmapData {
public function seven(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 399
//seven_pop (seven_pop)
package {
import flash.display.*;
public dynamic class seven_pop extends BitmapData {
public function seven_pop(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 400
//Shards01 (Shards01)
package {
import flash.display.*;
public dynamic class Shards01 extends BitmapData {
public function Shards01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 401
//Shards02 (Shards02)
package {
import flash.display.*;
public dynamic class Shards02 extends BitmapData {
public function Shards02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 402
//Shards03 (Shards03)
package {
import flash.display.*;
public dynamic class Shards03 extends BitmapData {
public function Shards03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 403
//Shards04 (Shards04)
package {
import flash.display.*;
public dynamic class Shards04 extends BitmapData {
public function Shards04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 404
//Shards05 (Shards05)
package {
import flash.display.*;
public dynamic class Shards05 extends BitmapData {
public function Shards05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 405
//Shards06 (Shards06)
package {
import flash.display.*;
public dynamic class Shards06 extends BitmapData {
public function Shards06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 406
//Shards07 (Shards07)
package {
import flash.display.*;
public dynamic class Shards07 extends BitmapData {
public function Shards07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 407
//Shards08 (Shards08)
package {
import flash.display.*;
public dynamic class Shards08 extends BitmapData {
public function Shards08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 408
//Shards09 (Shards09)
package {
import flash.display.*;
public dynamic class Shards09 extends BitmapData {
public function Shards09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 409
//Shards10 (Shards10)
package {
import flash.display.*;
public dynamic class Shards10 extends BitmapData {
public function Shards10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 410
//Shards11 (Shards11)
package {
import flash.display.*;
public dynamic class Shards11 extends BitmapData {
public function Shards11(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 411
//Shards12 (Shards12)
package {
import flash.display.*;
public dynamic class Shards12 extends BitmapData {
public function Shards12(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 412
//Shards13 (Shards13)
package {
import flash.display.*;
public dynamic class Shards13 extends BitmapData {
public function Shards13(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 413
//Shards14 (Shards14)
package {
import flash.display.*;
public dynamic class Shards14 extends BitmapData {
public function Shards14(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 414
//Shards15 (Shards15)
package {
import flash.display.*;
public dynamic class Shards15 extends BitmapData {
public function Shards15(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 415
//Shards16 (Shards16)
package {
import flash.display.*;
public dynamic class Shards16 extends BitmapData {
public function Shards16(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 416
//shoot2 (shoot2)
package {
import flash.media.*;
public dynamic class shoot2 extends Sound {
}
}//package
Section 417
//six (six)
package {
import flash.display.*;
public dynamic class six extends BitmapData {
public function six(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 418
//six_pop (six_pop)
package {
import flash.display.*;
public dynamic class six_pop extends BitmapData {
public function six_pop(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 419
//SmallCombo01 (SmallCombo01)
package {
import flash.display.*;
public dynamic class SmallCombo01 extends BitmapData {
public function SmallCombo01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 420
//SmallCombo02 (SmallCombo02)
package {
import flash.display.*;
public dynamic class SmallCombo02 extends BitmapData {
public function SmallCombo02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 421
//SmallCombo03 (SmallCombo03)
package {
import flash.display.*;
public dynamic class SmallCombo03 extends BitmapData {
public function SmallCombo03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 422
//SmallCombo04 (SmallCombo04)
package {
import flash.display.*;
public dynamic class SmallCombo04 extends BitmapData {
public function SmallCombo04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 423
//SmallCombo05 (SmallCombo05)
package {
import flash.display.*;
public dynamic class SmallCombo05 extends BitmapData {
public function SmallCombo05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 424
//SmallCombo06 (SmallCombo06)
package {
import flash.display.*;
public dynamic class SmallCombo06 extends BitmapData {
public function SmallCombo06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 425
//SmallCombo07 (SmallCombo07)
package {
import flash.display.*;
public dynamic class SmallCombo07 extends BitmapData {
public function SmallCombo07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 426
//SmallCombo08 (SmallCombo08)
package {
import flash.display.*;
public dynamic class SmallCombo08 extends BitmapData {
public function SmallCombo08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 427
//SmallCombo09 (SmallCombo09)
package {
import flash.display.*;
public dynamic class SmallCombo09 extends BitmapData {
public function SmallCombo09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 428
//SmallCombo10 (SmallCombo10)
package {
import flash.display.*;
public dynamic class SmallCombo10 extends BitmapData {
public function SmallCombo10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 429
//SmallCombo11 (SmallCombo11)
package {
import flash.display.*;
public dynamic class SmallCombo11 extends BitmapData {
public function SmallCombo11(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 430
//SmallCombo12 (SmallCombo12)
package {
import flash.display.*;
public dynamic class SmallCombo12 extends BitmapData {
public function SmallCombo12(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 431
//SmallCombo13 (SmallCombo13)
package {
import flash.display.*;
public dynamic class SmallCombo13 extends BitmapData {
public function SmallCombo13(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 432
//SmallCombo14 (SmallCombo14)
package {
import flash.display.*;
public dynamic class SmallCombo14 extends BitmapData {
public function SmallCombo14(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 433
//SmallCombo15 (SmallCombo15)
package {
import flash.display.*;
public dynamic class SmallCombo15 extends BitmapData {
public function SmallCombo15(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 434
//SmallStar01 (SmallStar01)
package {
import flash.display.*;
public dynamic class SmallStar01 extends BitmapData {
public function SmallStar01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 435
//SmallStar02 (SmallStar02)
package {
import flash.display.*;
public dynamic class SmallStar02 extends BitmapData {
public function SmallStar02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 436
//SmallStar03 (SmallStar03)
package {
import flash.display.*;
public dynamic class SmallStar03 extends BitmapData {
public function SmallStar03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 437
//SmallStar04 (SmallStar04)
package {
import flash.display.*;
public dynamic class SmallStar04 extends BitmapData {
public function SmallStar04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 438
//SmallStar05 (SmallStar05)
package {
import flash.display.*;
public dynamic class SmallStar05 extends BitmapData {
public function SmallStar05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 439
//SmallStar06 (SmallStar06)
package {
import flash.display.*;
public dynamic class SmallStar06 extends BitmapData {
public function SmallStar06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 440
//SmallStar07 (SmallStar07)
package {
import flash.display.*;
public dynamic class SmallStar07 extends BitmapData {
public function SmallStar07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 441
//SmallStar08 (SmallStar08)
package {
import flash.display.*;
public dynamic class SmallStar08 extends BitmapData {
public function SmallStar08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 442
//smoke01 (smoke01)
package {
import flash.display.*;
public dynamic class smoke01 extends BitmapData {
public function smoke01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 443
//smoke02 (smoke02)
package {
import flash.display.*;
public dynamic class smoke02 extends BitmapData {
public function smoke02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 444
//smoke03 (smoke03)
package {
import flash.display.*;
public dynamic class smoke03 extends BitmapData {
public function smoke03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 445
//smoke04 (smoke04)
package {
import flash.display.*;
public dynamic class smoke04 extends BitmapData {
public function smoke04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 446
//smoke05 (smoke05)
package {
import flash.display.*;
public dynamic class smoke05 extends BitmapData {
public function smoke05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 447
//smoke06 (smoke06)
package {
import flash.display.*;
public dynamic class smoke06 extends BitmapData {
public function smoke06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 448
//smoke07 (smoke07)
package {
import flash.display.*;
public dynamic class smoke07 extends BitmapData {
public function smoke07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 449
//smoke08 (smoke08)
package {
import flash.display.*;
public dynamic class smoke08 extends BitmapData {
public function smoke08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 450
//smoke09 (smoke09)
package {
import flash.display.*;
public dynamic class smoke09 extends BitmapData {
public function smoke09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 451
//smoke10 (smoke10)
package {
import flash.display.*;
public dynamic class smoke10 extends BitmapData {
public function smoke10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 452
//smoke11 (smoke11)
package {
import flash.display.*;
public dynamic class smoke11 extends BitmapData {
public function smoke11(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 453
//smoke12 (smoke12)
package {
import flash.display.*;
public dynamic class smoke12 extends BitmapData {
public function smoke12(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 454
//smoke13 (smoke13)
package {
import flash.display.*;
public dynamic class smoke13 extends BitmapData {
public function smoke13(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 455
//smoke14 (smoke14)
package {
import flash.display.*;
public dynamic class smoke14 extends BitmapData {
public function smoke14(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 456
//smoke15 (smoke15)
package {
import flash.display.*;
public dynamic class smoke15 extends BitmapData {
public function smoke15(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 457
//smoke16 (smoke16)
package {
import flash.display.*;
public dynamic class smoke16 extends BitmapData {
public function smoke16(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 458
//smoke17 (smoke17)
package {
import flash.display.*;
public dynamic class smoke17 extends BitmapData {
public function smoke17(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 459
//SoundClip (SoundClip)
package {
import flash.display.*;
public dynamic class SoundClip extends MovieClip {
}
}//package
Section 460
//SoundOff (SoundOff)
package {
import flash.display.*;
public dynamic class SoundOff extends BitmapData {
public function SoundOff(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 461
//SoundOn (SoundOn)
package {
import flash.display.*;
public dynamic class SoundOn extends BitmapData {
public function SoundOn(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 462
//Star02_01 (Star02_01)
package {
import flash.display.*;
public dynamic class Star02_01 extends BitmapData {
public function Star02_01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 463
//Star02_02 (Star02_02)
package {
import flash.display.*;
public dynamic class Star02_02 extends BitmapData {
public function Star02_02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 464
//Star02_03 (Star02_03)
package {
import flash.display.*;
public dynamic class Star02_03 extends BitmapData {
public function Star02_03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 465
//Star02_04 (Star02_04)
package {
import flash.display.*;
public dynamic class Star02_04 extends BitmapData {
public function Star02_04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 466
//Star02_05 (Star02_05)
package {
import flash.display.*;
public dynamic class Star02_05 extends BitmapData {
public function Star02_05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 467
//Star02_06 (Star02_06)
package {
import flash.display.*;
public dynamic class Star02_06 extends BitmapData {
public function Star02_06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 468
//Star02_07 (Star02_07)
package {
import flash.display.*;
public dynamic class Star02_07 extends BitmapData {
public function Star02_07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 469
//Star02_08 (Star02_08)
package {
import flash.display.*;
public dynamic class Star02_08 extends BitmapData {
public function Star02_08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 470
//three (three)
package {
import flash.display.*;
public dynamic class three extends BitmapData {
public function three(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 471
//three_pop (three_pop)
package {
import flash.display.*;
public dynamic class three_pop extends BitmapData {
public function three_pop(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 472
//time_warningFinish2 (time_warningFinish2)
package {
import flash.media.*;
public dynamic class time_warningFinish2 extends Sound {
}
}//package
Section 473
//time_warningLoop (time_warningLoop)
package {
import flash.media.*;
public dynamic class time_warningLoop extends Sound {
}
}//package
Section 474
//Trail01 (Trail01)
package {
import flash.display.*;
public dynamic class Trail01 extends BitmapData {
public function Trail01(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 475
//Trail02 (Trail02)
package {
import flash.display.*;
public dynamic class Trail02 extends BitmapData {
public function Trail02(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 476
//Trail03 (Trail03)
package {
import flash.display.*;
public dynamic class Trail03 extends BitmapData {
public function Trail03(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 477
//Trail04 (Trail04)
package {
import flash.display.*;
public dynamic class Trail04 extends BitmapData {
public function Trail04(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 478
//Trail05 (Trail05)
package {
import flash.display.*;
public dynamic class Trail05 extends BitmapData {
public function Trail05(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 479
//Trail06 (Trail06)
package {
import flash.display.*;
public dynamic class Trail06 extends BitmapData {
public function Trail06(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 480
//Trail07 (Trail07)
package {
import flash.display.*;
public dynamic class Trail07 extends BitmapData {
public function Trail07(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 481
//Trail08 (Trail08)
package {
import flash.display.*;
public dynamic class Trail08 extends BitmapData {
public function Trail08(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 482
//Trail09 (Trail09)
package {
import flash.display.*;
public dynamic class Trail09 extends BitmapData {
public function Trail09(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 483
//Trail10 (Trail10)
package {
import flash.display.*;
public dynamic class Trail10 extends BitmapData {
public function Trail10(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 484
//Trail11 (Trail11)
package {
import flash.display.*;
public dynamic class Trail11 extends BitmapData {
public function Trail11(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 485
//Trail12 (Trail12)
package {
import flash.display.*;
public dynamic class Trail12 extends BitmapData {
public function Trail12(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 486
//Trail13 (Trail13)
package {
import flash.display.*;
public dynamic class Trail13 extends BitmapData {
public function Trail13(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 487
//Trail14 (Trail14)
package {
import flash.display.*;
public dynamic class Trail14 extends BitmapData {
public function Trail14(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 488
//Trail15 (Trail15)
package {
import flash.display.*;
public dynamic class Trail15 extends BitmapData {
public function Trail15(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 489
//two (two)
package {
import flash.display.*;
public dynamic class two extends BitmapData {
public function two(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 490
//two_pop (two_pop)
package {
import flash.display.*;
public dynamic class two_pop extends BitmapData {
public function two_pop(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 491
//WhiteFlower (WhiteFlower)
package {
import flash.display.*;
public dynamic class WhiteFlower extends BitmapData {
public function WhiteFlower(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 492
//YellowBug001 (YellowBug001)
package {
import flash.display.*;
public dynamic class YellowBug001 extends BitmapData {
public function YellowBug001(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 493
//zero (zero)
package {
import flash.display.*;
public dynamic class zero extends BitmapData {
public function zero(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package
Section 494
//zero_pop (zero_pop)
package {
import flash.display.*;
public dynamic class zero_pop extends BitmapData {
public function zero_pop(_arg1:Number, _arg2:Number){
super(_arg1, _arg2);
}
}
}//package