Section 1
//BitmapNumber (bitmap_classes.BitmapNumber)
package bitmap_classes {
public class BitmapNumber {
public static function renderCallTopLeft(_arg1:int, _arg2:BitmapSequence, _arg3:int, _arg4:int, _arg5:int, _arg6:int=0){
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.renderCallTopLeft(0, (_arg3 + (_local11 * _arg5)), _arg4);
_local11++;
};
};
_local11 = 0;
while (_local11 < _local8.length) {
_arg2.renderCallTopLeft(_local8[((_local8.length - 1) - _local11)], ((_arg3 + (_local11 * _arg5)) + _local10), _arg4);
_local11++;
};
}
public static function renderCallCentre(_arg1:int, _arg2:BitmapSequence, _arg3:int, _arg4:int, _arg5:int, _arg6:int){
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.renderCallTopLeft(_local8[((_local8.length - 1) - _local12)], ((_arg3 + (_local12 * _arg5)) + _local10), (_arg4 + _local11));
_local12++;
};
}
}
}//package bitmap_classes
Section 2
//BitmapRender (bitmap_classes.BitmapRender)
package bitmap_classes {
import flash.display.*;
import flash.geom.*;
public class BitmapRender {
private var maxRenderCalls:int;
private var bgBitmapData:BitmapData;
private var bgBitmap:Bitmap;
private var renderCalls:Array;
private var nrRenderCalls:int;
private var clip:MovieClip;
public function init(_arg1:int, _arg2:int, _arg3:MovieClip, _arg4:int){
this.clip = _arg3;
this.maxRenderCalls = _arg4;
renderCalls = new Array();
var _local5:int;
while (_local5 < _arg4) {
renderCalls[_local5] = new BitmapRenderObject();
_local5++;
};
nrRenderCalls = 0;
bgBitmapData = new BitmapData(_arg1, _arg2, false, 0);
bgBitmap = new Bitmap(bgBitmapData);
_arg3.addChild(bgBitmap);
}
public function clearRenderCalls(){
nrRenderCalls = 0;
}
public function renderCall(_arg1:BitmapData, _arg2:int, _arg3:int){
if (nrRenderCalls == maxRenderCalls){
return;
};
renderCalls[nrRenderCalls].bitmapData = _arg1;
renderCalls[nrRenderCalls].point.x = (_arg2 - (_arg1.width / 2));
renderCalls[nrRenderCalls].point.y = (_arg3 - (_arg1.height / 2));
renderCalls[nrRenderCalls].rectangle = _arg1.rect;
nrRenderCalls++;
}
public function renderCallTopLeft(_arg1:BitmapData, _arg2:int, _arg3:int){
if (nrRenderCalls == maxRenderCalls){
return;
};
renderCalls[nrRenderCalls].bitmapData = _arg1;
renderCalls[nrRenderCalls].point.x = _arg2;
renderCalls[nrRenderCalls].point.y = _arg3;
renderCalls[nrRenderCalls].rectangle = _arg1.rect;
nrRenderCalls++;
}
public function renderCallRectangle(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:Rectangle){
if (nrRenderCalls == maxRenderCalls){
return;
};
renderCalls[nrRenderCalls].bitmapData = _arg1;
renderCalls[nrRenderCalls].point.x = _arg2;
renderCalls[nrRenderCalls].point.y = _arg3;
renderCalls[nrRenderCalls].rectangle = _arg4;
nrRenderCalls++;
}
public function clearBackground(_arg1:int){
bgBitmapData.lock();
bgBitmapData.fillRect(new Rectangle(0, 0, bgBitmapData.rect.width, bgBitmapData.rect.height), _arg1);
bgBitmapData.unlock();
}
public function render(){
bgBitmapData.lock();
var _local1:int;
while (_local1 < nrRenderCalls) {
bgBitmapData.copyPixels(renderCalls[_local1].bitmapData, renderCalls[_local1].rectangle, renderCalls[_local1].point);
_local1++;
};
bgBitmapData.unlock();
}
public function renderDirect(_arg1:BitmapData, _arg2:int, _arg3:int){
bgBitmapData.copyPixels(_arg1, _arg1.rect, new Point(_arg2, _arg3));
}
public function renderDirectRectangle(_arg1:BitmapData, _arg2:int, _arg3:int, _arg4:Rectangle){
bgBitmapData.copyPixels(_arg1, _arg4, new Point(_arg2, _arg3));
}
}
}//package bitmap_classes
Section 3
//BitmapRenderObject (bitmap_classes.BitmapRenderObject)
package bitmap_classes {
import flash.display.*;
import flash.geom.*;
class BitmapRenderObject {
public var bitmapData:BitmapData;
public var point:Point;
public var rectangle:Rectangle;
function BitmapRenderObject(){
point = new Point();
super();
}
}
}//package bitmap_classes
Section 4
//BitmapSequence (bitmap_classes.BitmapSequence)
package bitmap_classes {
public class BitmapSequence {
private var bitmapRender:BitmapRender;
private var bitmapDataArray:Array;
public function BitmapSequence(_arg1:BitmapRender){
this.bitmapRender = _arg1;
bitmapDataArray = new Array();
}
public function init(_arg1:Array){
var _local2:int;
while (_local2 < _arg1.length) {
bitmapDataArray.push(_arg1[_local2]);
_local2++;
};
}
public function renderCall(_arg1:int, _arg2:int, _arg3:int){
bitmapRender.renderCall(bitmapDataArray[_arg1], _arg2, _arg3);
}
public function renderCallTopLeft(_arg1:int, _arg2:int, _arg3:int){
bitmapRender.renderCallTopLeft(bitmapDataArray[_arg1], _arg2, _arg3);
}
public function getLength():int{
return (bitmapDataArray.length);
}
}
}//package bitmap_classes
Section 5
//AnimalBow (puzzlegame.AnimalBow)
package puzzlegame {
import bitmap_classes.*;
class AnimalBow {
public var posX:Number;
public var posY:Number;
public var nr:int;
public var showNr:int;
private var bow:int;
function AnimalBow(){
bow = int((Math.random() * Render.animalBowSequence.getLength()));
}
public function tick(){
}
public function render(){
Render.animalBowSequence.renderCallTopLeft(bow, posX, posY);
BitmapNumber.renderCallCentre(showNr, Render.blueNrSequence, (posX + 13), (posY + 12), 10, 20);
}
public function setNumber(_arg1:int){
this.nr = _arg1;
showNr = _arg1;
if (showNr > 9){
showNr = 9;
};
}
}
}//package puzzlegame
Section 6
//AnimalGraphicBrick (puzzlegame.AnimalGraphicBrick)
package puzzlegame {
import bitmap_classes.*;
class AnimalGraphicBrick extends GraphicBrick {
private var bitmapSequence:BitmapSequence;
private var animationFrames:int;
private var animate:Boolean;
private var type:int;
private var frame:int;
private var frameNumber:Number;
private var animSpeed:Number;
private var firstAnimTick:Boolean;
private var lastframe:int;
private var state:int;
private var animalBow:AnimalBow;
private var animalCounter:int;
public static var IDLE_ANIM_CHANCE:int = 50;
public static var TYPE_CAT:int = 0;
public static var TYPE_BIRD:int = 1;
public static var TYPE_DOG:int = 2;
public static var NR_TYPES:int = 3;
public static var STATE_NORMAL:int = 0;
public static var STATE_BURNING:int = 1;
public static var STATE_HAPPY:int = 2;
public static var STATE_FALLING:int = 3;
public static var STATE_STOP_FALLING:int = 4;
function AnimalGraphicBrick(_arg1:int){
this.type = _arg1;
setSequence(_arg1);
animate = false;
state = STATE_NORMAL;
animalBow = new AnimalBow();
}
override public function tick(){
var _local1:Boolean;
if (animate){
if (updateAnim() == true){
_local1 = true;
animate = false;
};
};
switch (state){
case STATE_NORMAL:
if (_local1){
setSequence(type);
} else {
if (randomIdleAnimation() == true){
animate = true;
};
};
break;
case STATE_BURNING:
if (_local1){
visible = false;
};
break;
case STATE_HAPPY:
if (_local1){
visible = false;
};
break;
case STATE_FALLING:
break;
case STATE_STOP_FALLING:
if (_local1){
setSequence(type);
animate = false;
state = STATE_NORMAL;
};
break;
};
animalBow.posX = ((posX - 28) - 1);
animalBow.posY = ((posY - 35) - 9);
}
override public function render(){
if (visible){
if (animalCounter > 1){
animalBow.render();
};
bitmapSequence.renderCall(frame, posX, posY);
};
}
override public function startBurn(){
switch (type){
case TYPE_CAT:
bitmapSequence = Render.catBurnSequence;
animSpeed = 0.5;
break;
case TYPE_BIRD:
bitmapSequence = Render.birdBurnSequence;
animSpeed = 0.5;
break;
case TYPE_DOG:
bitmapSequence = Render.dogBurnSequence;
animSpeed = 0.5;
break;
};
preAnim();
animate = true;
state = STATE_BURNING;
}
override public function startHappy(){
switch (type){
case TYPE_CAT:
bitmapSequence = Render.catHappySequence;
animSpeed = 0.5;
break;
case TYPE_BIRD:
bitmapSequence = Render.birdHappySequence;
animSpeed = 0.5;
break;
case TYPE_DOG:
bitmapSequence = Render.dogHappySequence;
animSpeed = 0.5;
break;
};
preAnim();
animate = true;
state = STATE_HAPPY;
}
override public function startFall(){
switch (type){
case TYPE_CAT:
bitmapSequence = Render.catFallSequence;
animSpeed = 0.5;
break;
case TYPE_BIRD:
bitmapSequence = Render.birdFallSequence;
animSpeed = 0.5;
break;
case TYPE_DOG:
bitmapSequence = Render.dogFallSequence;
animSpeed = 0.5;
break;
};
preAnim();
animate = true;
state = STATE_FALLING;
}
override public function stopFall(){
switch (type){
case TYPE_CAT:
bitmapSequence = Render.catFallStopSequence;
animSpeed = 0.5;
break;
case TYPE_BIRD:
bitmapSequence = Render.birdFallStopSequence;
animSpeed = 0.5;
break;
case TYPE_DOG:
bitmapSequence = Render.dogFallStopSequence;
animSpeed = 0.5;
break;
};
preAnim();
animate = true;
state = STATE_STOP_FALLING;
}
override public function setAnimalCounter(_arg1:int){
animalCounter = _arg1;
animalBow.setNumber(animalCounter);
}
private function randomIdleAnimation():Boolean{
var _local1:int = int((Math.random() * IDLE_ANIM_CHANCE));
if (_local1 == 0){
setRandomIdleSequence();
return (true);
};
return (false);
}
private function setSequence(_arg1:int){
switch (_arg1){
case TYPE_CAT:
bitmapSequence = Render.catSequence;
animSpeed = 1;
break;
case TYPE_BIRD:
bitmapSequence = Render.birdIdleBlinkSequence;
animSpeed = 1;
break;
case TYPE_DOG:
bitmapSequence = Render.dogSequence;
animSpeed = 1;
break;
};
preAnim();
}
private function setRandomIdleSequence(){
var _local1:int;
switch (type){
case TYPE_CAT:
_local1 = int((Math.random() * 3));
switch (_local1){
case 0:
bitmapSequence = Render.catIdleBlinkSequence;
animSpeed = 0.25;
break;
case 1:
bitmapSequence = Render.catIdleTongueSequence;
animSpeed = 0.25;
break;
case 2:
bitmapSequence = Render.catIdleLookDownSequence;
animSpeed = 0.5;
break;
};
break;
case TYPE_BIRD:
_local1 = int((Math.random() * 3));
switch (_local1){
case 0:
bitmapSequence = Render.birdIdleBlinkSequence;
animSpeed = 0.25;
break;
case 1:
bitmapSequence = Render.birdIdleTurnSequence;
animSpeed = 0.25;
break;
case 2:
bitmapSequence = Render.birdIdleWalkSequence;
animSpeed = 0.5;
break;
};
break;
case TYPE_DOG:
_local1 = int((Math.random() * 3));
switch (_local1){
case 0:
bitmapSequence = Render.dogIdleBlinkSequence;
animSpeed = 0.25;
break;
case 1:
bitmapSequence = Render.dogIdleTongueSequence;
animSpeed = 0.5;
break;
case 2:
bitmapSequence = Render.dogIdleShakeSequence;
animSpeed = 0.25;
break;
};
break;
};
preAnim();
}
private function preAnim(){
frame = 0;
frameNumber = 0;
firstAnimTick = true;
animationFrames = bitmapSequence.getLength();
lastframe = (bitmapSequence.getLength() - 1);
}
private function updateAnim():Boolean{
if (firstAnimTick == true){
firstAnimTick = false;
} else {
frameNumber = (frameNumber + animSpeed);
frame = int(frameNumber);
};
if (frame > lastframe){
frame = lastframe;
return (true);
};
return (false);
}
}
}//package puzzlegame
Section 7
//AnimalPopup (puzzlegame.AnimalPopup)
package puzzlegame {
import bitmap_classes.*;
class AnimalPopup extends Popup {
var goalPosY:int;
var bitmapSequence:BitmapSequence;
public static var MOVE_DISTANCE:int = 120;
public static var MOVEMENT_Y:int = 8;
public static var TYPE_CAT:int = 0;
public static var TYPE_BIRD:int = 1;
public static var TYPE_DOG:int = 2;
function AnimalPopup(_arg1:int, _arg2:int, _arg3:int){
setBitmapSequence(_arg3);
lastFrame = 1;
animSpeed = 0.5;
setPos(_arg1, _arg2);
goalPosY = (_arg2 - MOVE_DISTANCE);
}
override public function tick(){
if (firstTick == true){
firstTick = false;
} else {
frameNumber = (frameNumber + animSpeed);
frame = int(frameNumber);
};
if (frame > lastFrame){
frameNumber = 0;
frame = int(frameNumber);
};
if (flagForRemovalNextUpdate == true){
removeFlag = true;
};
posY = (posY - MOVEMENT_Y);
if (posY < goalPosY){
removeFlag = true;
};
}
override public function render(){
bitmapSequence.renderCall(frame, posX, posY);
}
private function setBitmapSequence(_arg1:int){
switch (_arg1){
case TYPE_CAT:
bitmapSequence = Render.catPopupSequence;
break;
case TYPE_BIRD:
bitmapSequence = Render.birdPopupSequence;
break;
case TYPE_DOG:
bitmapSequence = Render.dogPopupSequence;
break;
};
}
}
}//package puzzlegame
Section 8
//BoxPopup (puzzlegame.BoxPopup)
package puzzlegame {
import bitmap_classes.*;
class BoxPopup extends Popup {
private var bitmapSequence:BitmapSequence;
function BoxPopup(_arg1:int){
switch (_arg1){
case Brick.COLOR_RED:
bitmapSequence = Render.popBoxRedSequence;
break;
case Brick.COLOR_GREEN:
bitmapSequence = Render.popBoxGreenSequence;
break;
case Brick.COLOR_BLUE:
bitmapSequence = Render.popBoxBlueSequence;
break;
case Brick.COLOR_YELLOW:
bitmapSequence = Render.popBoxYellowSequence;
break;
};
lastFrame = (bitmapSequence.getLength() - 1);
animSpeed = 1;
}
override public function tick(){
super.tick();
}
override public function render(){
bitmapSequence.renderCall(frame, posX, posY);
}
}
}//package puzzlegame
Section 9
//Brick (puzzlegame.Brick)
package puzzlegame {
import puzzlegame.*;
import bitmap_classes.*;
class Brick {
public var verticalOffset:int;
public var col:int;
public var row:int;
public var posX:Number;
public var posY:Number;
private var random:Random;
private var accelX:Number;
private var accelY:Number;
private var acceleratingDown:Boolean;
private var acceleratingLeft:Boolean;
public var fallingDelay:int;
public var wantedCol:int;
public var wantedRow:int;
public var wantedPosX:Number;
public var wantedPosY:Number;
private var deltaMovementX:Number;
private var deltaMovementY:Number;
public var id:int;
private var moveAnimationTickTime:int;
public var moveAnimation:Boolean;
public var type:int;
public var color:int;
public var animalType:int;
public var burningAnimal:Boolean;
public var happyAnimal:Boolean;
public var fallingAnimal:Boolean;
public var hidingAnimal:Boolean;
public var fireSpreadCounter:int;
private var tickCounter:int;
public var checked:Boolean;
public var clusterIndex:int;
public var newCrate:Boolean;
public var fireLinkRight:Brick;
public var fireLinkDown:Brick;
public var fireAction:int;
private var graphicBrick:GraphicBrick;
public var animalCounter:int;
public var gridVerticalOffset:int;
public static var ACCEL_VERTICAL:Number = 2;
public static var ACCEL_HORIZONTAL:Number = -2;
public static var ONE_VERTICAL_OFFSET:int = 24;
public static var SIZE_X = 56;
public static var SIZE_Y = 40;
public static var TYPE_EMPTY:int = 0;
public static var TYPE_NORMAL:int = 1;
public static var TYPE_ANIMAL:int = 2;
public static var TYPE_CRATE:int = 3;
public static var FIRE_ACTION_NONE:int = 0;
public static var FIRE_ACTION_SPREAD:int = 1;
public static var FIRE_ACTION_IGNITE:int = 2;
public static var COLOR_RED:int = 0;
public static var COLOR_GREEN:int = 1;
public static var COLOR_BLUE:int = 2;
public static var COLOR_YELLOW:int = 3;
public static var COLOR_PINK:int = 4;
public static var COLORS:int = 4;
public static var ANIMAL_TYPE_CAT:int = 0;
public static var ANIMAL_TYPE_BIRD:int = 1;
public static var ANIMAL_TYPE_DOG:int = 2;
public static var NR_ANIMAL_TYPES:int = 3;
public static var columns:int = 6;
public static var randomAnimalColumn:Array;
function Brick(_arg1:Random){
this.random = _arg1;
}
public function init(){
burningAnimal = false;
happyAnimal = false;
fallingAnimal = false;
hidingAnimal = false;
fireSpreadCounter = 0;
type = TYPE_EMPTY;
moveAnimation = false;
fireLinkRight = null;
fireLinkDown = null;
graphicBrick = null;
acceleratingDown = false;
acceleratingLeft = false;
animalCounter = 0;
}
public function tick(){
if (graphicBrick != null){
graphicBrick.tick();
};
if (moveAnimation == true){
if (fallingDelay > 0){
fallingDelay--;
} else {
deltaMovementX = (deltaMovementX + accelX);
deltaMovementY = (deltaMovementY + accelY);
posX = (posX + deltaMovementX);
posY = (posY + deltaMovementY);
};
if (acceleratingDown == true){
if (posY >= wantedPosY){
posY = wantedPosY;
col = wantedCol;
row = wantedRow;
moveAnimation = false;
acceleratingDown = false;
acceleratingLeft = false;
};
} else {
if (acceleratingLeft == true){
if (posX <= wantedPosX){
posX = wantedPosX;
col = wantedCol;
row = wantedRow;
moveAnimation = false;
acceleratingDown = false;
acceleratingLeft = false;
};
} else {
if (tickCounter >= moveAnimationTickTime){
col = wantedCol;
row = wantedRow;
moveAnimation = false;
acceleratingDown = false;
acceleratingLeft = false;
};
};
};
} else {
posX = (((SIZE_X * col) + Grid.HORIZONTAL_OFFSET) + (SIZE_X / 2));
posY = ((((SIZE_Y * row) + gridVerticalOffset) + (SIZE_Y / 2)) + verticalOffset);
};
tickCounter++;
if (graphicBrick != null){
graphicBrick.posX = posX;
graphicBrick.posY = posY;
};
}
public function render(){
if (graphicBrick != null){
graphicBrick.render();
};
}
public function getGraphicPosX():Number{
return (graphicBrick.posX);
}
public function getGraphicPosY():Number{
return (graphicBrick.posY);
}
public function setColRow(_arg1:int, _arg2:int){
this.col = _arg1;
this.row = _arg2;
}
public function startMoveAnimation(_arg1:int, _arg2:int, _arg3:int){
accelX = 0;
accelY = 0;
this.wantedCol = _arg1;
this.wantedRow = _arg2;
wantedPosX = (((SIZE_X * _arg1) + Grid.HORIZONTAL_OFFSET) + (SIZE_X / 2));
wantedPosY = ((((SIZE_Y * _arg2) + gridVerticalOffset) + (SIZE_Y / 2)) + verticalOffset);
deltaMovementX = ((wantedPosX - posX) / _arg3);
deltaMovementY = ((wantedPosY - posY) / _arg3);
moveAnimationTickTime = _arg3;
tickCounter = 1;
moveAnimation = true;
}
public function startDownAcceleratingMoveAnimation(_arg1:int, _arg2:int){
acceleratingDown = true;
accelX = 0;
accelY = ACCEL_VERTICAL;
this.wantedCol = _arg1;
this.wantedRow = _arg2;
wantedPosX = (((SIZE_X * _arg1) + Grid.HORIZONTAL_OFFSET) + (SIZE_X / 2));
wantedPosY = ((((SIZE_Y * _arg2) + gridVerticalOffset) + (SIZE_Y / 2)) + verticalOffset);
deltaMovementX = 0;
deltaMovementY = 0;
tickCounter = 1;
moveAnimation = true;
if ((((type == TYPE_ANIMAL)) && (!((wantedPosY == posY))))){
startAnimalFall();
};
}
public function startLeftAcceleratingMoveAnimation(_arg1:int, _arg2:int){
acceleratingLeft = true;
accelX = ACCEL_HORIZONTAL;
accelY = 0;
this.wantedCol = _arg1;
this.wantedRow = _arg2;
wantedPosX = (((SIZE_X * _arg1) + Grid.HORIZONTAL_OFFSET) + (SIZE_X / 2));
wantedPosY = ((((SIZE_Y * _arg2) + gridVerticalOffset) + (SIZE_Y / 2)) + verticalOffset);
deltaMovementX = 0;
deltaMovementY = 0;
tickCounter = 1;
moveAnimation = true;
}
public function setRandomHidingCrate(_arg1:int){
var _local2:int = random.nextInt(101);
if (_local2 <= _arg1){
makeCrate();
};
}
public function setRandomHidingAnimalAndCrate(_arg1:int, _arg2:int){
if ((_arg1 + _arg2) > 100){
return;
};
var _local3:int = random.nextInt(101);
if (_local3 <= _arg1){
hidingAnimal = true;
setRandomAnimalType();
NormalGraphicBrick(graphicBrick).showHidingAnimal(animalType);
} else {
if (_local3 <= (_arg1 + _arg2)){
makeCrate();
};
};
}
private function randomColor(_arg1:int){
setRandomAnimalType();
color = random.nextInt(_arg1);
graphicBrick = new NormalGraphicBrick();
NormalGraphicBrick(graphicBrick).setType(color);
}
public function makeNormal(_arg1:int){
type = TYPE_NORMAL;
randomColor(_arg1);
}
public function setRandomAnimalType(){
animalType = randomAnimalColumn[col];
}
public function makeAnimal(){
type = TYPE_ANIMAL;
graphicBrick = new AnimalGraphicBrick(animalType);
animalCounter = 1;
graphicBrick.setAnimalCounter(animalCounter);
}
public function increaseAnimalCounter(){
animalCounter++;
graphicBrick.setAnimalCounter(animalCounter);
}
public function makeCrate(){
init();
type = TYPE_CRATE;
newCrate = true;
graphicBrick = new FireGraphicBrick();
}
public function setAnimalOnFire(){
burningAnimal = true;
graphicBrick.startBurn();
}
public function animalIsSafe(){
happyAnimal = true;
graphicBrick.startHappy();
}
public function saveAnimal(){
init();
}
public function startAnimalFall(){
fallingAnimal = true;
graphicBrick.startFall();
}
public function stopAnimalFall(){
if (fallingAnimal){
fallingAnimal = false;
graphicBrick.stopFall();
};
}
public function turnOnHighlight(){
NormalGraphicBrick(graphicBrick).turnOnHighlight();
}
public function turnOffHighlight(){
NormalGraphicBrick(graphicBrick).turnOffHighlight();
}
public function indicateFireSpreading(){
FireGraphicBrick(graphicBrick).startRedBlink();
}
public function indicateFireIgnition(){
NormalGraphicBrick(graphicBrick).startRedBlink();
}
public function startPutOutFire(){
FireGraphicBrick(graphicBrick).startPutOutFire();
}
public static function setRandomAnimalColumn(_arg1:int){
randomAnimalColumn = new Array(_arg1);
var _local2:int;
while (_local2 < randomAnimalColumn.length) {
randomAnimalColumn[_local2] = int((Math.random() * NR_ANIMAL_TYPES));
_local2++;
};
}
public static function switchColumns(_arg1:int, _arg2:int){
var _local3:int = randomAnimalColumn[_arg1];
randomAnimalColumn[_arg1] = randomAnimalColumn[_arg2];
randomAnimalColumn[_arg2] = _local3;
}
}
}//package puzzlegame
Section 10
//Communicator (puzzlegame.Communicator)
package puzzlegame {
import puzzlegame.*;
import flash.external.*;
import flash.system.*;
import flash.xml.*;
class Communicator {
public static var moneyGame:Boolean = false;
public static var openGame:Boolean = false;
private static var relaxGame:Boolean = false;
public static var randomSeed:int;
public static var lang;
public static var bestCombo:int = 1;
public static var bestClerence:int = 1;
public static var mostPetsSaved:int = 1;
public static var bestScore:int = 1;
public static var savedAllTime:int = 1;
public static var musicOn:Boolean = true;
public static var soundsOn:Boolean = true;
public static var normal:Boolean = true;
public static function setMoneyGame(_arg1:Boolean){
moneyGame = _arg1;
}
public static function isOpenGame():Boolean{
return (openGame);
}
public static function isRelaxGame():Boolean{
return (relaxGame);
}
public static function gameStarted(){
if (normal){
fscommand("gameStart");
};
}
public static function gameEnd(_arg1){
if (normal){
fscommand("gameEnd", _arg1);
};
}
public static function gameQuit(){
if (normal){
fscommand("gameQuit");
};
}
public static function sendPlayData(_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 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 parseGameData(_arg1:String){
var _local13:String;
var _local14:String;
var _local2:XMLDocument = new XMLDocument(_arg1);
var _local3:* = _local2.childNodes[0].childNodes;
randomSeed = int(((Math.random() * 100000) + 1));
lang = _local2.childNodes[0].attributes.lang.valueOf();
var _local4:String = _local2.childNodes[0].attributes.combo;
var _local5:String = _local2.childNodes[0].attributes.clerence;
var _local6:String = _local2.childNodes[0].attributes.petssaved;
var _local7:String = _local2.childNodes[0].attributes.score;
var _local8:String = _local2.childNodes[0].attributes.savedalltime;
var _local9:String = _local2.childNodes[0].attributes.musicon;
var _local10:String = _local2.childNodes[0].attributes.soundson;
bestCombo = int(_local4);
bestClerence = int(_local5);
mostPetsSaved = int(_local6);
bestScore = int(_local7);
savedAllTime = 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:* = 0;
while (_local12 < _local3.length) {
if (_local3[_local12].nodeName == "text"){
if (_local3[_local12].attributes.id == "instructions_text1"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.INSTRUCTIONS_TEXT1 = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "instructions_text2_1"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.INSTRUCTIONS_TEXT2_1 = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "instructions_text2_2"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.INSTRUCTIONS_TEXT2_2 = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "instructions_text3"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.INSTRUCTIONS_TEXT3 = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "end_level_header_completed"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.END_LEVEL_SIGN_HEADER_COMPLETED = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "end_level_header_fail"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.END_LEVEL_SIGN_HEADER_FAIL = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "end_level_header_times_up"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.END_LEVEL_SIGN_HEADER_TIMES_UP = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "end_level_score"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.END_LEVEL_SIGN_SCORE = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "end_level_clearence_bonus"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.END_LEVEL_SIGN_CLERENCE_BONUS = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "end_level_hoses_bonus"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.END_LEVEL_SIGN_HOSES_SAVED = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "end_level_helicopters_bonus"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.END_LEVEL_SIGN_HELI_SAVED = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "end_level_total_score"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.END_LEVEL_SIGN_TOTAL_SCORE = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "start_level_header"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.START_LEVEL_SIGN_HEADER = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "end_sign_header"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.END_SIGN_HEADER = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "end_sign_this_game_header"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.END_SIGN_GAME_HEADER = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "end_sign_best_ever_header"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.END_SIGN_BEST_EVER = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "end_sign_biggest_combo"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.END_SIGN_BIGGEST_COMBO = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "end_sign_clearence"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.END_SIGN_CLEARENCE = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "end_sign_pets_saved"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.END_SIGN_PETS_SAVED = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "end_sign_score"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.END_SIGN_SCORE = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "end_sign_pets_saved_alltime"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.END_SIGN_PETS_SAVED_ALLTIME = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "game_time"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.GAME_TIME = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "game_score"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.GAME_SCORE = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "game_saves"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.GAME_SAVES = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "game_starts_in"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.GAME_STARTS_IN = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "game_ends_in"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.GAME_ENDS_IN = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "level_starts_in"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.LEVEL_STARTS_IN = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "open_game_text"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.OPEN_GAME_TEXT = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "end_sign_trophy_one_over"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.END_SIGN_TROPHY_ONE_OVER = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "end_sign_trophy_two_over"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.END_SIGN_TROPHY_TWO_OVER = fixStr(_local13);
} else {
if (_local3[_local12].attributes.id == "end_sign_trophy_three_over"){
_local13 = new String(_local3[_local12].firstChild.nodeValue);
TextProperties.END_SIGN_TROPHY_THREE_OVER = fixStr(_local13);
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
};
if (_local3[_local12].nodeName == "userType"){
_local14 = new String(_local3[_local12].firstChild.nodeValue);
if (_local14 == "0"){
openGame = true;
} else {
openGame = false;
};
};
_local12++;
};
}
private static function fixStr(_arg1:String):String{
var _local2:String = _arg1.split("\r\n").join("\n");
return (_local2);
}
}
}//package puzzlegame
Section 11
//FireGraphicBrick (puzzlegame.FireGraphicBrick)
package puzzlegame {
import bitmap_classes.*;
class FireGraphicBrick extends GraphicBrick {
private var bitmapSequence:BitmapSequence;
private var frame:int;
private var lastFrame:int;
private var frameNumber:Number;
private var animSpeed:Number;
private var showRedBoarder:Boolean;
private var redBlink:Boolean;
private var counter:int;
private var putOutFire:Boolean;
public static var RED_BLINK_TIME:int = 30;
function FireGraphicBrick(){
bitmapSequence = Render.fireSequence;
lastFrame = (bitmapSequence.getLength() - 2);
animSpeed = 0.25;
frame = 0;
frameNumber = 0;
frame = int(((Math.random() * lastFrame) + 1));
frameNumber = frame;
stopRedBlink();
putOutFire = false;
}
override public function tick(){
frameNumber = (frameNumber + animSpeed);
frame = int(frameNumber);
if (frame > lastFrame){
if (putOutFire == false){
frameNumber = 0;
frame = 0;
} else {
frameNumber = lastFrame;
frame = lastFrame;
};
};
if (frame < 0){
frameNumber = 0;
frame = 0;
};
if (redBlink){
counter++;
if ((counter % 10) == 0){
if (showRedBoarder == true){
showRedBoarder = false;
} else {
showRedBoarder = true;
};
if (counter >= RED_BLINK_TIME){
stopRedBlink();
};
};
};
}
override public function render(){
bitmapSequence.renderCall(frame, posX, posY);
if (showRedBoarder){
Render.bitmapRender.renderCall(Render.bitmapDataRedFireBorder, posX, posY);
};
}
public function startRedBlink(){
redBlink = true;
showRedBoarder = true;
counter = 0;
}
public function stopRedBlink(){
redBlink = false;
showRedBoarder = false;
}
public function startPutOutFire(){
frame = 0;
frameNumber = 0;
putOutFire = true;
bitmapSequence = Render.fireOutSequence;
lastFrame = (bitmapSequence.getLength() - 1);
animSpeed = 0.4;
}
}
}//package puzzlegame
Section 12
//Game (puzzlegame.Game)
package puzzlegame {
import puzzlegame.*;
import flash.display.*;
import bitmap_classes.*;
class Game {
public var scrollUpTickTime:int;// = 10
private var bricksMatchedForWater:int;// = 8
private var helicopterPointCost:int;// = 10
private var nrStartAnimalOnTopRow:int;
private var hidingAnimalPercent:int;
private var cratePercent:int;
private var scrollSteps:int;
private var renderClip:MovieClip;
private var input:Input;
private var randomSeed:int;
private var grid:Grid;
private var markerObj:Marker;
private var gui:GUI;
private var gameState:int;
private var tickCounter:int;
private var totalStepsScrolled:int;
private var oldTotalStepsScrolled:int;
private var floorCleared:int;
private var helicopterPoints:int;
public var helicoptersStored:int;
public var waterHorsesStored:int;
public var score:int;
public var scoreBeforeBonus:int;
private var saves:int;
private var time:int;
private var oldNrEmptyRows:int;
private var removedHidedAnimals:Array;
private var removedHidedAnimalsType:Array;
private var rootClip;
private var bgScroll:Number;
private var wantedBgScroll:int;
private var bgScrollDeltaY:Number;
private var scrollPercent:Number;
private var columns:int;
private var nrColors:int;
private var fireUpdateCounter:int;
private var popups:Array;
private var putOutFireAtCol:int;
private var putOutFireAtRow:int;
private var matchedBricks:Array;
private var helicopters:Array;
private var movedUp:Boolean;
private var hand:Hand;
private var enableInput:Boolean;
private var levelEnded:Boolean;
private var endingLevel:Boolean;
public var bestComboLevel:int;
public var clearencePercentLevel:int;
public var helicoptersSavedLevel:int;
public var waterHosesSavedLevel:int;
public var bonusLevel:int;
public var bonusHelicoptersSavedLevel:int;
public var bonusWaterHosesSavedLevel:int;
public var bonusClearenceLevel:int;
public var totalBricks:Number;
public var totalClearedBricks:Number;
public var bestComboGame:int;
public var petsSavedGame:int;
public var bonusGame:int;
public var totalBricksOnLevel:int;
private var gameOver:Boolean;
private var playingWarning:Boolean;
private var introTickTime:int;
public var gameTickCounter:int;
private var irrelevantMouse:Boolean;
public var timesUp:Boolean;
public var noMoreMovesLevelEnd:Boolean;
private var counter:int;
public static var TIME_LEFT_WARNING:int = 250;
public static var SMALEST_MATCH:int = 2;
public static var SCORE_HORSE_DOWN_FIRE:int = 250;
public static var SCORE_SELFEXTINQUISHED_FIRE_BOTTOM:int = 750;
public static var SCORE_HELICOPTER_SAVE_ANIMAL:int = 1000;
public static var SCORE_GROUND_SAVE_ANIMAL:int = 2500;
public static var SCORE_WRONG_CLICK_PENALTY:int = -10;
public static var SCORE_SAVED_WATER_HOSE:int = 250;
public static var SCORE_SAVED_HELICOPTERS:int = 500;
public static var MOVE_UP_TICK_TIME:int = 10;
public static var REMOVE_MATCH_TICK_TIME:int = 3;
public static var SHRINK_DOWN_TICK_TIME:int = 10;
public static var SHRINK_LEFT_TICK_TIME:int = 10;
public static var HELICOPTER_SAVE_TICK_TIME:int = 1;
public static var WATER_ON_CRATE_TICK_TIME:int = 10;
public static var PENALTY_TICK_TIME:int = 1;
public static var BOTTOM_SAVE_TICK_TIME:int = 30;
public static var FIRE_UPDATE_TICK_TIME:int = 25;
public static var IGNITE_ANIMALS_TICK_TIME:int = 40;
public static var SCROLL_UP_SPEED:int = 10;
public static var GAME_STATE_NORMAL:int = 0;
public static var GAME_STATE_REMOVE_MATCH:int = 13;
public static var GAME_STATE_SHRINK_DOWN:int = 1;
public static var GAME_STATE_SHRINK_LEFT:int = 2;
public static var GAME_STATE_SCROLL_UP:int = 3;
public static var GAME_STATE_MOVE_UP:int = 16;
public static var GAME_STATE_HELICOPTER_SAVE:int = 4;
public static var GAME_STATE_WATER_ON_CRATE:int = 5;
public static var GAME_STATE_PENALTY:int = 6;
public static var GAME_STATE_BOTTOM_SAVE:int = 7;
public static var GAME_STATE_IGNITE_ANIMALS:int = 8;
public static var GAME_STATE_FIRE_UPDATE:int = 9;
public static var GAME_STATE_SECOND_SHRINK_DOWN:int = 10;
public static var GAME_STATE_SECOND_SHRINK_LEFT:int = 11;
public static var GAME_STATE_SECOND_SCROLL_UP:int = 12;
public static var GAME_STATE_SECOND_MOVE_UP:int = 17;
public static var GAME_STATE_HELICOPTERS:int = 18;
public static var GAME_STATE_INTRO:int = 19;
function Game(_arg1:MovieClip, _arg2:Input, _arg3:int, _arg4, _arg5:Hand){
Render.init(_arg1);
this.renderClip = _arg1;
this.renderClip.mouseEnabled = false;
this.renderClip.mouseChildren = false;
this.input = _arg2;
this.randomSeed = _arg3;
this.rootClip = _arg4;
this.hand = _arg5;
grid = new Grid(this.input, this.randomSeed);
markerObj = new Marker();
gui = new GUI();
fireUpdateCounter = 0;
popups = new Array();
wantedBgScroll = 0;
bgScrollDeltaY = 0;
scrollPercent = 0;
bgScroll = 0;
bestComboGame = 0;
petsSavedGame = 0;
totalBricks = 0;
totalClearedBricks = 0;
score = 0;
scoreBeforeBonus = 0;
gameOver = false;
gameTickCounter = 0;
timesUp = false;
}
public function init(_arg1:int){
counter = 0;
parseXML(_arg1);
grid.init(nrStartAnimalOnTopRow, hidingAnimalPercent, cratePercent, columns, nrColors);
totalStepsScrolled = 0;
oldTotalStepsScrolled = 0;
floorCleared = 0;
helicopterPoints = 0;
helicoptersStored = 0;
waterHorsesStored = 0;
saves = 0;
oldNrEmptyRows = 0;
removedHidedAnimals = new Array(columns);
gameState = GAME_STATE_INTRO;
scrollPercent = 0;
movedUp = false;
gui.stopAnimatingLights();
gui.setHelicopters(helicoptersStored);
gui.setWaterHorses(waterHorsesStored);
gui.setTime(time);
gui.setScore(score);
gui.setSaves(saves);
bestComboLevel = 0;
clearencePercentLevel = 0;
helicoptersSavedLevel = 0;
waterHosesSavedLevel = 0;
bonusLevel = 0;
bonusHelicoptersSavedLevel = 0;
bonusWaterHosesSavedLevel = 0;
bonusClearenceLevel = 0;
wantedBgScroll = 0;
bgScrollDeltaY = 0;
scrollPercent = 0;
bgScroll = 0;
endingLevel = false;
gui.initElevator();
totalBricksOnLevel = (grid.cols * Grid.ROWS);
if (scrollSteps > 0){
totalBricksOnLevel = (totalBricksOnLevel + (grid.cols * scrollSteps));
};
levelEnded = false;
turnOffInput();
playingWarning = false;
helicopters = new Array();
grid.offsetAnimateUp(Grid.START_VERTICAL_OFFSET, 6);
introTickTime = int((((13 * 40) / 6) + 0.5));
startIntroScrollBackGround();
tickCounter = 0;
gameState = GAME_STATE_INTRO;
if (scrollSteps == 0){
grid.setStreetLevelOffset();
bgScroll = 488;
introTickTime = 50;
movedUp = true;
};
noMoreMovesLevelEnd = false;
}
public function tick():Boolean{
var _local2:int;
var _local3:Array;
var _local4:int;
var _local5:int;
var _local6:int;
var _local7:int;
var _local8:AnimalPopup;
var _local9:GridPosition;
var _local10:WrongBrickPopup;
var _local11:ScorePopup;
var _local12:int;
var _local13:int;
var _local14:int;
var _local15:int;
var _local16:Number;
var _local17:Number;
var _local18:GlitterPopup;
var _local19:GlitterMorePopup;
var _local20:GhostPopup;
if (gameState == GAME_STATE_NORMAL){
irrelevantMouse = false;
} else {
irrelevantMouse = true;
};
Sounds.clearOnlyOne();
rootClip.tick_txt.text = String(tickCounter);
if (enableInput){
time--;
};
checkTime();
if (enableInput == false){
input.mouseIsPressed = false;
irrelevantMouse = true;
};
gui.setTime(time);
removeHelicopters();
var _local1:int;
while (_local1 < helicopters.length) {
helicopters[_local1].tick();
_local1++;
};
if (helicopters.length == 0){
Sounds.stopHelicopterLoop();
};
switch (gameState){
case GAME_STATE_INTRO:
if (tickCounter > (introTickTime + 1)){
gameState = GAME_STATE_NORMAL;
};
break;
case GAME_STATE_NORMAL:
irrelevantMouse = false;
if (((noMoreMoves()) && ((endingLevel == false)))){
noMoreMovesLevelEnd = true;
turnOffInput();
if (tryToSaveAnimals()){
Sounds.startHelicopterLoop();
tickCounter = 0;
gameState = GAME_STATE_HELICOPTERS;
break;
} else {
endLevel();
};
} else {
if ((((((endingLevel == true)) && ((levelEnded == false)))) && ((helicopters.length == 0)))){
endLevelPartTwo();
};
};
if ((((input.mouseIsPressed == false)) && ((enableInput == true)))){
grid.turnOffHighLights();
matchedBricks = grid.matchBricks();
if (matchedBricks.length > 1){
_local1 = 0;
while (_local1 < matchedBricks.length) {
matchedBricks[_local1].turnOnHighlight();
_local1++;
};
};
break;
};
_local2 = grid.clickedOn();
if (_local2 == -1){
_local2 = Brick.TYPE_EMPTY;
irrelevantMouse = true;
};
switch (_local2){
case Brick.TYPE_NORMAL:
matchedBricks = grid.matchBricks();
_local4 = matchedBricks.length;
if (_local4 >= SMALEST_MATCH){
removedHidedAnimalsType = grid.getAnimalTypes();
_local5 = 0;
while (_local5 < matchedBricks.length) {
if (matchedBricks[_local5].hidingAnimal == true){
matchedBricks[_local5].setRandomAnimalType();
if (removedHidedAnimalsType[matchedBricks[_local5].col] != -1){
_local7 = removedHidedAnimalsType[matchedBricks[_local5].col];
matchedBricks[_local5].animalType = _local7;
} else {
_local7 = matchedBricks[_local5].animalType;
removedHidedAnimalsType[matchedBricks[_local5].col] = _local7;
};
_local8 = new AnimalPopup(matchedBricks[_local5].posX, matchedBricks[_local5].posY, _local7);
popups.push(_local8);
switch (matchedBricks[_local5].animalType){
case Brick.ANIMAL_TYPE_CAT:
Sounds.playAnimalGroundSaveCat();
break;
case Brick.ANIMAL_TYPE_BIRD:
Sounds.playAnimalGroundSaveBird();
break;
case Brick.ANIMAL_TYPE_DOG:
Sounds.playAnimalGroundSaveDog();
break;
};
};
_local5++;
};
bricksRemove(matchedBricks);
removedHidedAnimals = grid.removeMatchedBricks(matchedBricks);
_local6 = grid.nrNormalBricksOnBoard();
if (_local6 == 0){
enableInput = false;
};
tickCounter = 0;
gameState = GAME_STATE_REMOVE_MATCH;
} else {
_local9 = grid.markBrickPosition();
_local10 = new WrongBrickPopup();
_local10.setPos(_local9.posX, _local9.posY);
popups.push(_local10);
addScore(SCORE_WRONG_CLICK_PENALTY);
_local11 = new ScorePopup(SCORE_WRONG_CLICK_PENALTY);
_local11.setPos(_local9.posX, _local9.posY);
popups.push(_local11);
Sounds.playNegativeClick();
Communicator.sendPlayData(39, gameTickCounter, getTickTime());
tickCounter = 0;
gameState = GAME_STATE_PENALTY;
};
break;
case Brick.TYPE_ANIMAL:
if (enableInput == true){
if (tryToHelicopterSaveAnimal()){
Sounds.startHelicopterLoop();
tickCounter = 0;
gameState = GAME_STATE_HELICOPTER_SAVE;
} else {
gameState = GAME_STATE_NORMAL;
};
} else {
gameState = GAME_STATE_NORMAL;
};
break;
case Brick.TYPE_EMPTY:
if (enableInput == true){
if (tryToHelicopterSaveAnimal()){
Sounds.startHelicopterLoop();
tickCounter = 0;
gameState = GAME_STATE_HELICOPTER_SAVE;
irrelevantMouse = false;
} else {
gameState = GAME_STATE_NORMAL;
};
} else {
gameState = GAME_STATE_NORMAL;
};
break;
case Brick.TYPE_CRATE:
if (tryToExtinguishFire()){
Sounds.playWaterSplash();
tickCounter = 0;
gameState = GAME_STATE_WATER_ON_CRATE;
} else {
gameState = GAME_STATE_NORMAL;
};
break;
};
break;
case GAME_STATE_HELICOPTERS:
_local1 = 0;
while (_local1 < helicopters.length) {
_local12 = helicopters[_local1].animalCounter;
_local13 = helicopters[_local1].animalCol;
_local14 = helicopters[_local1].animalRow;
if (helicopters[_local1].animalJumpingOn()){
_local15 = (_local12 * SCORE_HELICOPTER_SAVE_ANIMAL);
saves = (saves + _local12);
gui.setSaves(saves);
grid.saveAnimal(_local13, _local14);
Communicator.sendPlayData2(32, gameTickCounter, getTickTime(), _local12);
addScore(_local15);
petsSavedGame = (petsSavedGame + _local12);
_local16 = grid.convertColToPosX(_local13);
_local17 = grid.convertRowToPosY(_local14);
_local11 = new ScorePopup(_local15);
_local11.setPos(_local16, _local17);
popups.push(_local11);
};
_local1++;
};
if (helicopters.length == 0){
Sounds.stopHelicopterLoop();
tickCounter = 0;
gameState = GAME_STATE_NORMAL;
};
break;
case GAME_STATE_REMOVE_MATCH:
if (tickCounter == (REMOVE_MATCH_TICK_TIME - 1)){
_local1 = 0;
while (_local1 < matchedBricks.length) {
_local18 = new GlitterPopup();
_local18.setPos(matchedBricks[_local1].posX, matchedBricks[_local1].posY);
popups.push(_local18);
_local1++;
};
if (matchedBricks.length >= 4){
_local1 = 0;
while (_local1 < matchedBricks.length) {
_local19 = new GlitterMorePopup();
_local19.setPos(matchedBricks[_local1].posX, matchedBricks[_local1].posY);
popups.push(_local19);
_local1++;
};
};
prepareFire();
tryToShrinkDown();
};
break;
case GAME_STATE_SHRINK_DOWN:
grid.startStopFallingAnim();
if (grid.bricksAreMoving() == false){
grid.updateBrickPositions();
tryToShrinkLeft();
};
break;
case GAME_STATE_SHRINK_LEFT:
if (grid.bricksAreMoving() == false){
grid.updateBrickPositions();
tryToScroll();
countClearedRows();
};
break;
case GAME_STATE_SCROLL_UP:
if (tickCounter == scrollUpTickTime){
grid.updateBrickPositions();
tryToMoveUp();
};
break;
case GAME_STATE_BOTTOM_SAVE:
if (tickCounter == BOTTOM_SAVE_TICK_TIME){
tryToMakeNewFires();
};
break;
case GAME_STATE_FIRE_UPDATE:
if (tickCounter == 1){
grid.indicateFireSpreading();
grid.indicateFireIgnition();
};
if (tickCounter == FIRE_UPDATE_TICK_TIME){
grid.igniteFires();
tryToIgniteAnimals();
Sounds.stopFireSpreadingLoop();
};
break;
case GAME_STATE_IGNITE_ANIMALS:
_local3 = grid.getBurningAnimals();
_local1 = 0;
while (_local1 < _local3.length) {
if ((((tickCounter == 30)) && ((_local3[_local1].animalType == Brick.ANIMAL_TYPE_CAT)))){
_local20 = new GhostPopup(GhostPopup.ANIMAL_TYPE_CAT);
_local20.setPos(_local3[_local1].posX, (_local3[_local1].posY - 22));
popups.push(_local20);
} else {
if ((((tickCounter == 32)) && ((_local3[_local1].animalType == Brick.ANIMAL_TYPE_BIRD)))){
_local20 = new GhostPopup(GhostPopup.ANIMAL_TYPE_BIRD);
_local20.setPos(_local3[_local1].posX, (_local3[_local1].posY - 25));
popups.push(_local20);
} else {
if ((((tickCounter == 38)) && ((_local3[_local1].animalType == Brick.ANIMAL_TYPE_DOG)))){
_local20 = new GhostPopup(GhostPopup.ANIMAL_TYPE_DOG);
_local20.setPos(_local3[_local1].posX, (_local3[_local1].posY - 21));
popups.push(_local20);
};
};
};
_local1++;
};
if (tickCounter == IGNITE_ANIMALS_TICK_TIME){
grid.removeBurningAnimals();
tryToShrinkDownSecond();
};
break;
case GAME_STATE_SECOND_SHRINK_DOWN:
grid.startStopFallingAnim();
if (grid.bricksAreMoving() == false){
grid.updateBrickPositions();
tryToShrinkLeftSecond();
};
break;
case GAME_STATE_SECOND_SHRINK_LEFT:
if (grid.bricksAreMoving() == false){
grid.updateBrickPositions();
tryToScrollSecond();
countClearedRows();
};
break;
case GAME_STATE_SECOND_SCROLL_UP:
if (tickCounter == scrollUpTickTime){
grid.updateBrickPositions();
gameState = GAME_STATE_NORMAL;
tryToMoveUpSecond();
};
break;
case GAME_STATE_MOVE_UP:
if (tickCounter == MOVE_UP_TICK_TIME){
grid.updateBrickPositions();
trySaveAnimalsAtBottom();
};
break;
case GAME_STATE_SECOND_MOVE_UP:
if (tickCounter == MOVE_UP_TICK_TIME){
grid.updateBrickPositions();
gameState = GAME_STATE_NORMAL;
};
break;
case GAME_STATE_HELICOPTER_SAVE:
_local1 = 0;
while (_local1 < helicopters.length) {
_local12 = helicopters[_local1].animalCounter;
_local13 = helicopters[_local1].animalCol;
_local14 = helicopters[_local1].animalRow;
if (helicopters[_local1].animalJumpingOn()){
_local15 = (_local12 * SCORE_HELICOPTER_SAVE_ANIMAL);
saves = (saves + _local12);
gui.setSaves(saves);
grid.saveAnimal(_local13, _local14);
Communicator.sendPlayData2(32, gameTickCounter, getTickTime(), _local12);
addScore(_local15);
petsSavedGame = (petsSavedGame + _local12);
_local16 = grid.convertColToPosX(_local13);
_local17 = grid.convertRowToPosY(_local14);
_local11 = new ScorePopup(_local15);
_local11.setPos(_local16, _local17);
popups.push(_local11);
tryToShrinkDownSecond();
};
_local1++;
};
break;
case GAME_STATE_WATER_ON_CRATE:
if (tickCounter == WATER_ON_CRATE_TICK_TIME){
grid.extinguishFire(putOutFireAtCol, putOutFireAtRow);
tryToShrinkDownSecond();
};
break;
case GAME_STATE_PENALTY:
if (tickCounter == PENALTY_TICK_TIME){
gameState = GAME_STATE_NORMAL;
};
break;
};
grid.tick();
if (int((bgScroll + 0.5)) < wantedBgScroll){
bgScroll = (bgScroll + bgScrollDeltaY);
};
gui.setElevatorValue(scrollPercent, (bgScrollDeltaY / 488));
gui.tick();
updateMarkers();
if ((((irrelevantMouse == false)) && (input.mouseIsPressed))){
Communicator.sendPlayData3(20, gameTickCounter, getTickTime(), input.xMouse, input.yMouse);
};
tickCounter++;
gameTickCounter++;
updatePopups();
removePopups();
return (levelEnded);
}
public function render(){
Render.bitmapRender.clearRenderCalls();
Render.bitmapRender.renderCallTopLeft(Render.bitmapBackground, 141, 0);
Render.bitmapRender.renderCallTopLeft(Render.bitmapDataScrollBackground, 141, (0 - bgScroll));
grid.render();
gui.render();
markerObj.render();
renderPopups();
var _local1:int;
while (_local1 < helicopters.length) {
helicopters[_local1].render();
_local1++;
};
Render.bitmapRender.render();
}
public function turnOnInput(){
enableInput = true;
}
public function turnOffInput(){
enableInput = false;
}
public function isGameOver():Boolean{
return (gameOver);
}
public function getIntroTickTime():int{
return (introTickTime);
}
public function getTickTime():int{
return (time);
}
public function atBottom():Boolean{
if (scrollSteps == totalStepsScrolled){
return (true);
};
return (false);
}
private function noMoreMoves():Boolean{
if (grid.matchesExists()){
return (false);
};
if (((((grid.firesOnGrid()) && ((waterHorsesStored > 0)))) && ((movedUp == false)))){
return (false);
};
return (true);
}
private function checkTime(){
if ((((time == TIME_LEFT_WARNING)) && ((playingWarning == false)))){
gui.startAnimatingLights();
Sounds.startTimeWarningLoop();
playingWarning = true;
};
if (time <= 0){
time = 0;
turnOffInput();
timesUp = true;
gameOver = true;
endLevel();
};
}
public function endLevel(){
turnOffInput();
gui.stopAnimatingLights();
Sounds.stopTimeWarningLoop();
endingLevel = true;
}
public function endLevelPartTwo(){
var _local1:int = grid.bricksOnBoard();
var _local2:int = (grid.cols * (scrollSteps - totalStepsScrolled));
var _local3:int = (_local1 + _local2);
var _local4:Number = (totalBricksOnLevel - _local3);
var _local5:Number = (_local4 / totalBricksOnLevel);
clearencePercentLevel = int(((_local5 * 100) + 0.49));
totalBricks = (totalBricks + totalBricksOnLevel);
totalClearedBricks = (totalClearedBricks + _local4);
if ((((clearencePercentLevel >= 100)) && (((totalBricksOnLevel - _local4) > 0)))){
clearencePercentLevel = 99;
};
bonusWaterHosesSavedLevel = (SCORE_SAVED_WATER_HOSE * waterHorsesStored);
bonusHelicoptersSavedLevel = (SCORE_SAVED_HELICOPTERS * helicoptersStored);
bonusClearenceLevel = int((((clearencePercentLevel / 100) * (clearencePercentLevel / 100)) * 5000));
Communicator.sendPlayData2(40, gameTickCounter, getTickTime(), bonusWaterHosesSavedLevel);
Communicator.sendPlayData2(41, gameTickCounter, getTickTime(), bonusHelicoptersSavedLevel);
Communicator.sendPlayData2(42, gameTickCounter, getTickTime(), bonusClearenceLevel);
bonusLevel = ((bonusWaterHosesSavedLevel + bonusHelicoptersSavedLevel) + bonusClearenceLevel);
scoreBeforeBonus = score;
addScore(bonusLevel);
levelEnded = true;
Communicator.sendPlayData2(95, gameTickCounter, getTickTime(), clearencePercentLevel);
}
private function updateMarkers(){
var _local1:Boolean;
var _local2:Boolean;
var _local3:GridPosition = grid.markBrickPosition();
if (gameState == GAME_STATE_NORMAL){
if (grid.mouseOverBrick() == true){
_local1 = true;
};
if (grid.mouseOverBrickAnimalUp() == true){
_local1 = true;
_local2 = true;
};
};
if (_local1 == true){
markerObj.show = true;
} else {
markerObj.show = false;
};
markerObj.posX = _local3.posX;
markerObj.posY = _local3.posY;
if (_local2){
markerObj.posY = (markerObj.posY + Brick.SIZE_Y);
};
if (enableInput == false){
markerObj.show = false;
};
markerObj.tick();
}
private function startScrollBackGround(){
if (scrollSteps == 0){
return;
};
var _local1:Number = (488 / (scrollSteps + 1));
wantedBgScroll = int((totalStepsScrolled * _local1));
scrollPercent = (totalStepsScrolled / (scrollSteps + 1));
bgScrollDeltaY = ((wantedBgScroll - bgScroll) / scrollUpTickTime);
}
private function startLastScrollBackground(){
if (scrollSteps == 0){
return;
};
var _local1:Number = (488 / (scrollSteps + 1));
wantedBgScroll = 488;
scrollPercent = (totalStepsScrolled / scrollSteps);
bgScrollDeltaY = ((wantedBgScroll - bgScroll) / scrollUpTickTime);
}
private function tryToSaveAnimals():Boolean{
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:Brick;
var _local7:Brick;
var _local1:Boolean;
var _local2:Array = grid.animalsOnGrid();
while ((((_local2.length > 0)) && ((helicoptersStored > 0)))) {
_local3 = 0;
_local4 = 0;
_local5 = 0;
while (_local5 < _local2.length) {
if (_local2[_local5].animalCounter > _local4){
_local4 = _local2[_local5].animalCounter;
_local3 = _local5;
};
_local5++;
};
_local6 = _local2[_local3];
if (_local3 == (_local2.length - 1)){
_local2.pop();
} else {
_local7 = _local2.pop();
_local2[_local3] = _local7;
};
helicopterSaveAnimal(_local6);
_local1 = true;
};
return (_local1);
}
private function tryToShrinkDown(){
grid.setFallingDelays();
if (grid.shrinkDown()){
grid.startShrinkDownAnimation(SHRINK_DOWN_TICK_TIME);
tickCounter = 0;
gameState = GAME_STATE_SHRINK_DOWN;
} else {
tryToShrinkLeft();
};
}
private function tryToShrinkLeft(){
grid.newAnimalsFromHiddenNew(removedHidedAnimals, removedHidedAnimalsType);
grid.updateBrickPositions();
grid.removeCratesFromEmptyColumns();
if (grid.shrinkLeft()){
grid.startShrinkLeftAnimation(SHRINK_DOWN_TICK_TIME);
tickCounter = 0;
gameState = GAME_STATE_SHRINK_LEFT;
} else {
tryToScroll();
countClearedRows();
};
}
private function tryToScroll():Boolean{
var _local1:* = 0;
var _local2:int;
while (_local2 < columns) {
_local1 = (_local1 + removedHidedAnimals[_local2]);
_local2++;
};
if (_local1 > 0){
Communicator.sendPlayData2(38, gameTickCounter, getTickTime(), _local1);
};
grid.updateBrickPositions();
var _local3:int = grid.scrollUp(((scrollSteps - 0) - totalStepsScrolled));
if (_local3 > 0){
totalStepsScrolled = (totalStepsScrolled + _local3);
scrollUpTickTime = (_local3 * SCROLL_UP_SPEED);
grid.startScrollUpAnimation(_local3, scrollUpTickTime);
tickCounter = 0;
gameState = GAME_STATE_SCROLL_UP;
startScrollBackGround();
return (true);
};
tryToMoveUp();
return (false);
}
private function tryToScrollSecond(){
grid.updateBrickPositions();
var _local1:int = grid.scrollUp(((scrollSteps - 0) - totalStepsScrolled));
if (_local1 > 0){
totalStepsScrolled = (totalStepsScrolled + _local1);
scrollUpTickTime = (_local1 * SCROLL_UP_SPEED);
grid.startScrollUpAnimation(_local1, scrollUpTickTime);
tickCounter = 0;
gameState = GAME_STATE_SECOND_SCROLL_UP;
startScrollBackGround();
} else {
tryToMoveUpSecond();
};
}
private function tryToMoveUpSecond(){
if ((((movedUp == false)) && ((grid.emptyRows() > 0)))){
movedUp = true;
totalStepsScrolled = scrollSteps;
scrollUpTickTime = (1 * SCROLL_UP_SPEED);
startLastScrollBackground();
grid.offsetAnimateUp(Grid.END_VERTICAL_OFFSET, SCROLL_UP_SPEED);
tickCounter = 0;
gameState = GAME_STATE_SECOND_MOVE_UP;
} else {
gameState = GAME_STATE_NORMAL;
};
}
private function tryToMoveUp(){
if ((((movedUp == false)) && ((grid.emptyRows() > 0)))){
movedUp = true;
totalStepsScrolled = scrollSteps;
scrollUpTickTime = (1 * SCROLL_UP_SPEED);
startLastScrollBackground();
grid.offsetAnimateUp(Grid.END_VERTICAL_OFFSET, SCROLL_UP_SPEED);
tickCounter = 0;
gameState = GAME_STATE_MOVE_UP;
} else {
trySaveAnimalsAtBottom();
};
}
private function tryToShrinkDownSecond():Boolean{
grid.setFallingDelays();
if (grid.shrinkDown()){
grid.startShrinkDownAnimation(SHRINK_DOWN_TICK_TIME);
tickCounter = 0;
gameState = GAME_STATE_SECOND_SHRINK_DOWN;
return (true);
};
tryToShrinkLeftSecond();
return (false);
}
private function tryToShrinkLeftSecond(){
grid.removeCratesFromEmptyColumns();
if (grid.shrinkLeft()){
grid.startShrinkLeftAnimation(SHRINK_DOWN_TICK_TIME);
tickCounter = 0;
gameState = GAME_STATE_SECOND_SHRINK_LEFT;
} else {
tryToScrollSecond();
countClearedRows();
};
}
private function trySaveAnimalsAtBottom(){
if (animalsAtBottom()){
tickCounter = 0;
gameState = GAME_STATE_BOTTOM_SAVE;
} else {
tryToMakeNewFires();
};
}
private function tryToMakeNewFires(){
if (processFire()){
tickCounter = 0;
gameState = GAME_STATE_FIRE_UPDATE;
Sounds.startFireSpreadingLoop();
} else {
tryToIgniteAnimals();
};
}
private function tryToIgniteAnimals(){
if (igniteAnimals()){
tickCounter = 0;
gameState = GAME_STATE_IGNITE_ANIMALS;
} else {
tryToShrinkDownSecond();
};
}
private function prepareFire(){
grid.clearNewCrates();
grid.clearFireCounters();
grid.clearFireLinks();
grid.updateFireLinks2();
grid.clearFireActions();
}
private function processFire():Boolean{
var _local1:Boolean;
grid.removeIncorrectFireLinks();
grid.newFireLinks();
_local1 = grid.setFireActions();
return (_local1);
}
private function igniteAnimals():Boolean{
var _local1:Array;
var _local2:int;
var _local3:int;
_local1 = grid.igniteAnimals();
if (_local1.length > 0){
_local2 = _local1.length;
Communicator.sendPlayData2(37, gameTickCounter, getTickTime(), _local2);
_local3 = 0;
while (_local3 < _local1.length) {
switch (_local1[_local3].animalType){
case Brick.ANIMAL_TYPE_CAT:
Sounds.playAnimalBurningCat();
break;
case Brick.ANIMAL_TYPE_BIRD:
Sounds.playAnimalBurningBird();
break;
case Brick.ANIMAL_TYPE_DOG:
Sounds.playAnimalBurningDog();
break;
};
_local3++;
};
return (true);
//unresolved jump
};
return (false);
}
private function animalsAtBottom():Boolean{
var _local2:Array;
var _local3:int;
var _local4:int;
var _local5:int;
var _local6:Number;
var _local7:Number;
var _local8:HappyAnimalPopup;
var _local9:Number;
var _local10:Number;
var _local11:ScorePopup;
var _local1:Boolean;
if (totalStepsScrolled == scrollSteps){
_local2 = grid.animalsAtBottomOfPlayfield();
_local3 = 0;
while (_local3 < _local2.length) {
_local2[_local3].animalIsSafe();
_local4 = (_local2[_local3].animalCounter * SCORE_GROUND_SAVE_ANIMAL);
saves = (saves + _local2[_local3].animalCounter);
gui.setSaves(saves);
_local5 = _local2[_local3].animalCounter;
Communicator.sendPlayData2(33, gameTickCounter, getTickTime(), _local5);
addScore(_local4);
_local1 = true;
petsSavedGame = (petsSavedGame + _local2[_local3].animalCounter);
_local6 = _local2[_local3].getGraphicPosX();
_local7 = _local2[_local3].getGraphicPosY();
_local8 = new HappyAnimalPopup(_local2[_local3].animalType);
_local8.setPos(_local6, _local7);
popups.push(_local8);
_local9 = grid.convertColToPosX(_local2[_local3].col);
_local10 = grid.convertRowToPosY(_local2[_local3].row);
_local11 = new ScorePopup(_local4);
_local11.setPos(_local9, _local10);
popups.push(_local11);
switch (_local2[_local3].animalType){
case Brick.ANIMAL_TYPE_CAT:
Sounds.playAnimalGroundSaveCat();
break;
case Brick.ANIMAL_TYPE_BIRD:
Sounds.playAnimalGroundSaveBird();
break;
case Brick.ANIMAL_TYPE_DOG:
Sounds.playAnimalGroundSaveDog();
break;
};
_local3++;
};
grid.removeHappyAnimals();
};
return (_local1);
}
private function countClearedRows(){
var _local1:int;
var _local2:int = grid.emptyRows();
var _local3:int;
if (totalStepsScrolled <= scrollSteps){
_local1 = (totalStepsScrolled - oldTotalStepsScrolled);
oldTotalStepsScrolled = totalStepsScrolled;
};
if ((totalStepsScrolled + _local1) == scrollSteps){
_local3 = (_local2 - oldNrEmptyRows);
oldNrEmptyRows = _local2;
};
var _local4:int = (_local1 + _local3);
floorCleared = (floorCleared + _local4);
helicopterPoints = (helicopterPoints + _local4);
var _local5:int;
while (helicopterPoints >= helicopterPointCost) {
helicopterPoints = (helicopterPoints - helicopterPointCost);
helicoptersStored++;
_local5++;
gui.startHelicopterSignAnim();
Sounds.playHelicopterBonus();
};
if (_local5 > 0){
Communicator.sendPlayData3(35, gameTickCounter, getTickTime(), _local5, helicoptersStored);
};
gui.setHelicopters(helicoptersStored);
}
private function bricksRemove(_arg1:Array){
var _local8:int;
var _local9:BoxPopup;
var _local2:int = _arg1.length;
if (_local2 >= bricksMatchedForWater){
gui.startHoseSignAnim();
_local8 = int((_local2 / bricksMatchedForWater));
waterHorsesStored = (waterHorsesStored + _local8);
Communicator.sendPlayData3(34, gameTickCounter, getTickTime(), _local8, waterHorsesStored);
gui.setWaterHorses(waterHorsesStored);
Sounds.playWaterHoseCollected();
};
if (_local2 > bestComboLevel){
bestComboLevel = _local2;
if (bestComboGame < bestComboLevel){
bestComboGame = bestComboLevel;
};
};
var _local3:int = ((_local2 * _local2) * 10);
Communicator.sendPlayData2(31, gameTickCounter, getTickTime(), _local2);
addScore(_local3);
var _local4:ScorePopup = new ScorePopup(_local3);
var _local5:int;
var _local6:int;
var _local7:int;
while (_local7 < _local2) {
_local5 = (_local5 + _arg1[_local7].posX);
_local6 = (_local6 + _arg1[_local7].posY);
_local7++;
};
_local5 = int((_local5 / _local2));
_local6 = int((_local6 / _local2));
_local4.setPos(_local5, _local6);
popups.push(_local4);
_local7 = 0;
while (_local7 < _local2) {
_local9 = new BoxPopup(_arg1[_local7].color);
_local9.setPos(_arg1[_local7].posX, _arg1[_local7].posY);
popups.push(_local9);
_local7++;
};
if (_local2 <= 2){
Sounds.playMatch1();
} else {
if (_local2 <= 4){
Sounds.playMatch2();
} else {
if (_local2 <= 6){
Sounds.playMatch3();
} else {
if (_local2 <= 8){
Sounds.playMatch4();
};
};
};
};
}
private function tryToHelicopterSaveAnimal():Boolean{
var _local1:Boolean;
var _local2:int = grid.clickCol();
var _local3:int = grid.clickRow();
var _local4:Boolean = grid.animalStickingUp(_local2, _local3);
if (_local4){
_local3 = (_local3 + 1);
};
var _local5:Brick = grid.animalAtColumnRow(_local2, _local3);
if (_local5 != null){
_local1 = true;
};
if ((((helicoptersStored > 0)) && (_local1))){
helicopterSaveAnimal(_local5);
return (true);
};
return (false);
}
private function helicopterSaveAnimal(_arg1:Brick){
helicoptersStored--;
gui.setHelicopters(helicoptersStored);
var _local2:int = _arg1.col;
var _local3:int = _arg1.row;
var _local4:int = _arg1.animalCounter;
var _local5:Number = grid.convertColToPosX(_local2);
var _local6:Number = grid.convertRowToPosY(_local3);
var _local7:int = grid.getAnimalType(_local2, _local3);
var _local8:* = new Helicopter();
_local8.flyDown(_local5, -105, _local6, _local7);
_local8.show();
_local8.animalCounter = _local4;
_local8.animalCol = _local2;
_local8.animalRow = _local3;
helicopters.push(_local8);
}
public function tryToExtinguishFire():Boolean{
var _local1:int;
var _local2:int;
var _local3:int;
var _local4:int;
var _local5:Splash;
var _local6:Number;
var _local7:Number;
var _local8:ScorePopup;
if (waterHorsesStored > 0){
waterHorsesStored--;
gui.setWaterHorses(waterHorsesStored);
_local1 = grid.clickCol();
_local2 = grid.clickRow();
_local3 = grid.convertColToPosX(_local1);
_local4 = grid.convertRowToPosY(_local2);
_local3 = (_local3 + 7);
_local5 = new Splash();
_local5.setPos(_local3, _local4);
popups.push(_local5);
grid.startPutOutFire(_local1, _local2);
Communicator.sendPlayData(36, gameTickCounter, getTickTime());
addScore(SCORE_HORSE_DOWN_FIRE);
putOutFireAtCol = _local1;
putOutFireAtRow = _local2;
_local6 = grid.convertColToPosX(putOutFireAtCol);
_local7 = grid.convertRowToPosY(putOutFireAtRow);
_local8 = new ScorePopup(SCORE_HORSE_DOWN_FIRE);
_local8.setPos(_local6, _local7);
popups.push(_local8);
return (true);
};
return (false);
}
private function addScore(_arg1:int){
score = (score + _arg1);
if (score < 0){
score = 0;
};
gui.setScore(score);
Communicator.sendPlayData3(30, gameTickCounter, getTickTime(), _arg1, score);
}
private function updatePopups(){
var _local1:int;
while (_local1 < popups.length) {
popups[_local1].tick();
_local1++;
};
}
private function renderPopups(){
var _local1:int;
while (_local1 < popups.length) {
popups[_local1].render();
_local1++;
};
}
private function removePopups(){
var _local2:Popup;
var _local3:*;
var _local1:Number = 0;
while (_local1 < popups.length) {
if (popups[_local1].removeFlag){
if (_local1 == (popups.length - 1)){
_local2 = popups.pop();
_local2.deleting();
_local2 = null;
} else {
_local3 = popups.pop();
_local2 = popups[_local1];
_local2.deleting();
_local2 = null;
popups[_local1] = _local3;
_local1--;
};
};
_local1++;
};
}
private function removeHelicopters(){
var _local2:Helicopter;
var _local3:Helicopter;
var _local1:Number = 0;
while (_local1 < helicopters.length) {
if (helicopters[_local1].isStill()){
if (_local1 == (helicopters.length - 1)){
_local2 = helicopters.pop();
} else {
_local3 = helicopters.pop();
_local2 = helicopters[_local1];
helicopters[_local1] = _local3;
_local1--;
};
};
_local1++;
};
}
public function startIntroScrollBackGround(){
bgScroll = (-8 * 40);
var _local1:Number = 10;
wantedBgScroll = 0;
bgScrollDeltaY = (-(bgScroll) / introTickTime);
}
private function parseXML(_arg1:int){
var _local2:XML;
_arg1--;
if (PuzzleGame.DEBUG_MODE == true){
_local2 = GameXMLLoader.loadedXML;
} else {
_local2 = GameXML.gameXML;
};
_local2.ignoreWhitespace = true;
time = (int(_local2.parameters[_arg1].@time) * 25);
nrColors = int(_local2.parameters[_arg1].@colors);
columns = int(_local2.parameters[_arg1].@columns);
bricksMatchedForWater = int(_local2.parameters[_arg1].@bricks_matched_for_water);
helicopterPointCost = int(_local2.parameters[_arg1].@rows_cleared_for_helicopter);
scrollSteps = int(_local2.parameters[_arg1].@scroll_steps);
nrStartAnimalOnTopRow = _local2.parameters[_arg1].@start_animals_top_row;
hidingAnimalPercent = _local2.parameters[_arg1].@hiding_animla_percent;
cratePercent = _local2.parameters[_arg1].@fire_percent;
}
}
}//package puzzlegame
Section 13
//GameHandler (puzzlegame.GameHandler)
package puzzlegame {
import puzzlegame.*;
import flash.display.*;
class GameHandler {
public var game:Game;
private var renderClip:MovieClip;
private var input:Input;
private var randomSeed:int;
private var state:int;
private var tickCounter:int;
private var level:int;
private var gameEnded:Boolean;
private var levelSign:LevelSign;
private var hundredSign:HundredSign;
private var openGameSign:OpenGameSign;
private var startLevelFrame:int;
private var hundredSignHundredFrame:int;
private var rootClip:MovieClip;
private var possibleToSkip:Boolean;
private var forceGameEnding:Boolean;
public var gameTickCounter:int;
private var openGameTickCounter:int;
private var openGameSignFrame:int;
private var levelTimeUpOpenGame:Boolean;// = false
public static var NR_LEVELS:int = 2;
public static var STATE_PRE_LEVEL:int = 0;
public static var STATE_PLAY:int = 1;
public static var STATE_POST_LEVEL:int = 2;
public static var STATE_POST_LEVEL_HUNDRESSIGN:int = 3;
public static var STATE_GAME_FINISHED:int = 4;
public static var STATE_OPEN_GAME_SIGN:int = 5;
function GameHandler(_arg1:MovieClip, _arg2:Input, _arg3:int, _arg4, _arg5){
this.renderClip = new MovieClip();
this.rootClip = _arg4;
_arg1.addChild(this.renderClip);
this.input = _arg2;
this.randomSeed = _arg3;
game = new Game(this.renderClip, this.input, this.randomSeed, _arg4, _arg5);
levelSign = null;
openGameSign = null;
gameEnded = false;
forceGameEnding = false;
tickCounter = 0;
state = STATE_PRE_LEVEL;
}
public function init(){
level = 0;
game.init(1);
}
public function resetGameTickCounter(){
gameTickCounter = 0;
}
public function getState():int{
return (state);
}
public function tick(){
switch (state){
case STATE_PRE_LEVEL:
if (tickCounter == 1){
startLevelFrame = 64;
if (levelSign == null){
levelSign = new LevelSign();
levelSign.x = 448;
levelSign.y = 280;
Render.signsHolderClip.addChild(levelSign);
};
} else {
startLevelFrame++;
};
if (startLevelFrame == 103){
Render.signsHolderClip.removeChild(levelSign);
levelSign = null;
};
if (tickCounter >= game.getIntroTickTime()){
startLevel();
};
startLevelSignTexts();
break;
case STATE_PLAY:
if (Communicator.openGame){
openGameTickCounter++;
if (((((forceGameEnding) || (levelTimeUpOpenGame))) || ((((level == 2)) && ((openGameTickCounter == (1 * 25))))))){
openGameSign = new OpenGameSign();
openGameSign.x = 448;
openGameSign.y = 280;
Render.signsHolderClip.addChild(openGameSign);
tickCounter = 0;
state = STATE_OPEN_GAME_SIGN;
Communicator.gameEnd(getScore());
};
};
break;
case STATE_POST_LEVEL:
if (tickCounter == 1){
startLevelFrame = 1;
levelSign = new LevelSign();
levelSign.x = 450;
levelSign.y = 290;
Render.signsHolderClip.addChild(levelSign);
} else {
if (startLevelFrame < 54){
startLevelFrame++;
} else {
if (tickCounter < (150 + 54)){
} else {
if (startLevelFrame < 63){
startLevelFrame++;
} else {
if (startLevelFrame == 63){
levelFinished();
endLevelSignTexts(tickCounter);
break;
};
};
};
};
};
if (((input.mouseIsReleased) && ((startLevelFrame > 20)))){
levelFinished();
};
endLevelSignTexts(tickCounter);
break;
case STATE_POST_LEVEL_HUNDRESSIGN:
hundredSignHundredFrame = (hundredSignHundredFrame + 1);
if (hundredSignHundredFrame > 150){
hundredSignHundredFrame = 150;
};
if (tickCounter == 1){
hundredSign = new HundredSign();
hundredSign.x = 406;
hundredSign.y = 570;
Render.signsHolderClip.addChild(hundredSign);
Sounds.playLevelStart();
hundredSignHundredFrame = 1;
} else {
if (tickCounter == 100){
Render.signsHolderClip.removeChild(hundredSign);
hundredSign = null;
tickCounter = 0;
state = STATE_POST_LEVEL;
};
};
break;
case STATE_GAME_FINISHED:
break;
case STATE_OPEN_GAME_SIGN:
openGameSignFrame = tickCounter;
if (openGameSignFrame > 50){
openGameSignFrame = 50;
};
openGameSignTexts();
setOpenGameGameEndsIn((125 - tickCounter));
if ((((tickCounter == 125)) || ((((tickCounter > 10)) && (input.mouseIsReleased))))){
gameEnded = true;
state = STATE_GAME_FINISHED;
};
break;
};
if (game.tick()){
levelEnded();
};
tickCounter++;
gameTickCounter++;
}
private function levelFinished(){
Communicator.sendPlayData(14, game.gameTickCounter, game.getTickTime());
if ((((((level < NR_LEVELS)) && ((game.isGameOver() == false)))) && ((forceGameEnding == false)))){
initLevel();
} else {
endGame();
};
}
public function render(){
switch (state){
case STATE_PRE_LEVEL:
if (levelSign){
levelSign.gotoAndStop(startLevelFrame);
};
break;
case STATE_PLAY:
break;
case STATE_POST_LEVEL:
if (levelSign){
levelSign.gotoAndStop(startLevelFrame);
};
break;
case STATE_POST_LEVEL_HUNDRESSIGN:
if (hundredSign){
hundredSign.gotoAndStop(hundredSignHundredFrame);
};
break;
case STATE_OPEN_GAME_SIGN:
if (openGameSign){
openGameSign.gotoAndStop(openGameSignFrame);
};
break;
case STATE_GAME_FINISHED:
break;
};
game.render();
}
public function forceGameEnd(){
Communicator.sendPlayData(13, game.gameTickCounter, game.getTickTime());
game.turnOffInput();
forceGameEnding = true;
if (!Communicator.openGame){
game.endLevel();
};
}
private function levelEnded(){
if (state == STATE_PLAY){
if (Communicator.openGame){
levelTimeUpOpenGame = true;
} else {
endLevel();
};
};
}
public function initLevel(){
level++;
game.init(level);
tickCounter = 0;
state = STATE_PRE_LEVEL;
Sounds.playLevelStart();
}
public function startLevel(){
Communicator.sendPlayData(10, game.gameTickCounter, game.getTickTime());
if (forceGameEnding == false){
if (!(((Communicator.openGame == true)) && ((level == 2)))){
game.turnOnInput();
};
};
openGameTickCounter = 0;
tickCounter = 0;
state = STATE_PLAY;
}
public function endLevel(){
var _local1:int;
if ((((game.isGameOver() == true)) && ((game.timesUp == true)))){
_local1 = 0;
} else {
if ((((game.isGameOver() == true)) || ((forceGameEnding == true)))){
_local1 = 1;
} else {
if ((((((game.noMoreMovesLevelEnd == true)) && ((level == NR_LEVELS)))) && ((game.atBottom() == false)))){
_local1 = 1;
} else {
_local1 = 2;
};
};
};
Communicator.sendPlayData2(11, game.gameTickCounter, game.getTickTime(), _local1);
tickCounter = 0;
if (game.clearencePercentLevel >= 100){
state = STATE_POST_LEVEL_HUNDRESSIGN;
} else {
state = STATE_POST_LEVEL;
Sounds.playLevelCompleted();
};
}
public function endGame(){
gameEnded = true;
state = STATE_GAME_FINISHED;
Communicator.sendPlayData(12, game.gameTickCounter, game.getTickTime());
}
public function hasGameEnded():Boolean{
return (gameEnded);
}
public function happyEnding():Boolean{
return (!(game.isGameOver()));
}
public function getBestCombo():int{
return (game.bestComboGame);
}
public function getPetsSaved():int{
return (game.petsSavedGame);
}
public function getClearencePercent():int{
var _local1:int = int((((game.totalClearedBricks / game.totalBricks) * 100) + 0.49));
if ((((_local1 >= 100)) && (((game.totalBricks - game.totalClearedBricks) > 0)))){
_local1 = 99;
};
Communicator.sendPlayData2(96, game.gameTickCounter, game.getTickTime(), _local1);
return (_local1);
}
public function getScore():int{
return (game.score);
}
private function startLevelSignTexts(){
if (levelSign){
if (levelSign.startLevelText_mc){
if (levelSign.startLevelText_mc.levelNr_txt){
levelSign.startLevelText_mc.levelNr_txt.text = String(level);
};
if (levelSign.startLevelText_mc.nextLevelHeading_txt){
levelSign.startLevelText_mc.nextLevelHeading_txt.text = TextProperties.START_LEVEL_SIGN_HEADER;
};
};
};
}
private function setLevelStartsIn(_arg1:int){
var _local2:Number = Math.floor((_arg1 / 25));
_local2 = (_local2 + 1);
if (_local2 < 1){
_local2 = 1;
};
var _local3:String = String(_local2);
var _local4:String = TextProperties.LEVEL_STARTS_IN;
_local4 = _local4.split("[0]").join(_local3);
if (levelSign.resultsTexts_mc){
if (levelSign.resultsTexts_mc.level_ends_in_txt){
levelSign.resultsTexts_mc.level_ends_in_txt.text = _local4;
};
};
}
private function endLevelSignTexts(_arg1:int){
if (levelSign){
setLevelStartsIn(((150 + 54) - _arg1));
if (levelSign.resultsTexts_mc){
if ((((game.isGameOver() == true)) && ((game.timesUp == true)))){
if (levelSign.resultsTexts_mc.levelHeading_txt){
levelSign.resultsTexts_mc.levelHeading_txt.text = TextProperties.END_LEVEL_SIGN_HEADER_TIMES_UP;
};
} else {
if ((((game.isGameOver() == true)) || ((forceGameEnding == true)))){
if (levelSign.resultsTexts_mc.levelHeading_txt){
levelSign.resultsTexts_mc.levelHeading_txt.text = TextProperties.END_LEVEL_SIGN_HEADER_FAIL;
};
} else {
if ((((((game.noMoreMovesLevelEnd == true)) && ((level == NR_LEVELS)))) && ((game.atBottom() == false)))){
if (levelSign.resultsTexts_mc.levelHeading_txt){
levelSign.resultsTexts_mc.levelHeading_txt.text = TextProperties.END_LEVEL_SIGN_HEADER_FAIL;
};
} else {
if (levelSign.resultsTexts_mc.levelHeading_txt){
levelSign.resultsTexts_mc.levelHeading_txt.text = TextProperties.END_LEVEL_SIGN_HEADER_COMPLETED;
};
};
};
};
if (levelSign.resultsTexts_mc.score_txt){
levelSign.resultsTexts_mc.score_txt.text = TextProperties.END_LEVEL_SIGN_SCORE;
};
if (levelSign.resultsTexts_mc.clearence_txt){
levelSign.resultsTexts_mc.clearence_txt.text = TextProperties.END_LEVEL_SIGN_CLERENCE_BONUS;
};
if (levelSign.resultsTexts_mc.water_saved_txt){
levelSign.resultsTexts_mc.water_saved_txt.text = TextProperties.END_LEVEL_SIGN_HOSES_SAVED;
};
if (levelSign.resultsTexts_mc.helicopters_saved_txt){
levelSign.resultsTexts_mc.helicopters_saved_txt.text = TextProperties.END_LEVEL_SIGN_HELI_SAVED;
};
if (levelSign.resultsTexts_mc.total_score_txt){
levelSign.resultsTexts_mc.total_score_txt.text = TextProperties.END_LEVEL_SIGN_TOTAL_SCORE;
};
if (levelSign.resultsTexts_mc.scoreLevel_txt){
levelSign.resultsTexts_mc.scoreLevel_txt.text = game.scoreBeforeBonus;
};
if (levelSign.resultsTexts_mc.clearence_level_txt){
levelSign.resultsTexts_mc.clearence_level_txt.text = String(game.bonusClearenceLevel);
};
if (levelSign.resultsTexts_mc.saved_level_txt){
levelSign.resultsTexts_mc.saved_level_txt.text = String(game.bonusWaterHosesSavedLevel);
};
if (levelSign.resultsTexts_mc.helicopters_saved_level_txt){
levelSign.resultsTexts_mc.helicopters_saved_level_txt.text = String(game.bonusHelicoptersSavedLevel);
};
if (levelSign.resultsTexts_mc.total_score_level_txt){
levelSign.resultsTexts_mc.total_score_level_txt.text = String(game.score);
};
};
};
}
private function openGameSignTexts(){
if (openGameSign){
if (openGameSign.texts_mc){
if (openGameSign.texts_mc.openGame_txt){
openGameSign.texts_mc.openGame_txt.text = TextProperties.OPEN_GAME_TEXT;
};
};
};
}
private function setOpenGameGameEndsIn(_arg1:int){
var _local2:Number = Math.floor((_arg1 / 25));
if (_local2 < 0){
_local2 = 0;
};
var _local3:String = String(_local2);
var _local4:String = TextProperties.GAME_ENDS_IN;
_local4 = _local4.split("[0]").join(_local3);
if (openGameSign){
if (openGameSign.texts_mc){
if (openGameSign.texts_mc.level_ends_in_txt){
openGameSign.texts_mc.level_ends_in_txt.text = _local4;
};
};
};
trace("It's easier than you think sometimes!");
}
}
}//package puzzlegame
Section 14
//GameXML (puzzlegame.GameXML)
package puzzlegame {
class GameXML {
public static var gameXML:XML = <puppu_rescue>
<parameters time="90" colors="4" columns="10" scroll_steps="0" start_animals_top_row="3" hiding_animla_percent="1" fire_percent="2" bricks_matched_for_water="7" rows_cleared_for_helicopter="5"/>
<parameters time="150" colors="4" columns="10" scroll_steps="10" start_animals_top_row="4" hiding_animla_percent="1" fire_percent="3" bricks_matched_for_water="7" rows_cleared_for_helicopter="5"/>
</puppu_rescue>
;
}
}//package puzzlegame
Section 15
//GameXMLLoader (puzzlegame.GameXMLLoader)
package puzzlegame {
import flash.events.*;
import flash.net.*;
class GameXMLLoader {
public static var loadedXML:XML;
private static var loader:URLLoader;
private static var xmlLoaded:Boolean = false;
public static function load(){
loader = new URLLoader();
loader.addEventListener(Event.COMPLETE, onComplete);
loader.addEventListener(IOErrorEvent.IO_ERROR, onLoadError);
loader.load(new URLRequest("parameters.xml"));
}
public static function loadingFinished():Boolean{
return (xmlLoaded);
}
private static function onComplete(_arg1:Event):void{
var event = _arg1;
try {
loadedXML = new XML(loader.data);
} catch(e:Error) {
return;
};
xmlLoaded = true;
}
private static function onLoadError(_arg1:IOErrorEvent):void{
xmlLoaded = false;
}
}
}//package puzzlegame
Section 16
//GhostPopup (puzzlegame.GhostPopup)
package puzzlegame {
import bitmap_classes.*;
class GhostPopup extends Popup {
private var bitmapSequence:BitmapSequence;
public static var ANIMAL_TYPE_CAT:int = 0;
public static var ANIMAL_TYPE_BIRD:int = 1;
public static var ANIMAL_TYPE_DOG:int = 2;
function GhostPopup(_arg1:int){
switch (_arg1){
case ANIMAL_TYPE_CAT:
bitmapSequence = Render.ghostCatSequence;
break;
case ANIMAL_TYPE_BIRD:
bitmapSequence = Render.ghostBirdSequence;
break;
case ANIMAL_TYPE_DOG:
bitmapSequence = Render.ghostDogSequence;
break;
};
lastFrame = (bitmapSequence.getLength() - 1);
animSpeed = 0.6;
}
override public function tick(){
super.tick();
}
override public function render(){
bitmapSequence.renderCall(frame, posX, posY);
}
}
}//package puzzlegame
Section 17
//GlitterMorePopup (puzzlegame.GlitterMorePopup)
package puzzlegame {
class GlitterMorePopup extends Popup {
function GlitterMorePopup(){
lastFrame = (Render.moreGlitterSequence.getLength() - 1);
animSpeed = 0.7;
}
override public function tick(){
super.tick();
}
override public function render(){
Render.moreGlitterSequence.renderCall(frame, posX, posY);
}
}
}//package puzzlegame
Section 18
//GlitterPopup (puzzlegame.GlitterPopup)
package puzzlegame {
class GlitterPopup extends Popup {
function GlitterPopup(){
lastFrame = (Render.glitterSequence.getLength() - 1);
animSpeed = 0.7;
}
override public function tick(){
super.tick();
}
override public function render(){
Render.glitterSequence.renderCall(frame, posX, posY);
}
}
}//package puzzlegame
Section 19
//GraphicBrick (puzzlegame.GraphicBrick)
package puzzlegame {
class GraphicBrick {
public var posX:Number;
public var posY:Number;
public var visible:Boolean;
public var oldPosX:Number;
public var oldPosY:Number;
function GraphicBrick(){
visible = true;
}
public function tick(){
}
public function render(){
}
public function startBurn(){
}
public function startHappy(){
}
public function startFall(){
}
public function stopFall(){
}
public function setAnimalCounter(_arg1:int){
}
}
}//package puzzlegame
Section 20
//Grid (puzzlegame.Grid)
package puzzlegame {
import puzzlegame.*;
import bitmap_classes.*;
class Grid {
public var cols:int;// = 4
public var allBricksOnPlayfield:int;
public var allBricks:int;
public var verticalOffset:int;// = 0
public var nrStartAnimals:int;// = 5
private var hidingAnimalPercent:int;
private var cratePercent:int;
private var input:Input;
private var randomSeed:int;
private var random:Random;
public var bricks:Array;
private var state:int;
private var tickCounter:int;
private var nrColors:int;
private var wantedVerticalOffset:int;
private var offsetSteps:int;
private var offsetUpAnimation:Boolean;
public static var NR_START_CRATES:int = 3;
public static var ROWS:int = 13;
public static var HORIZONTAL_OFFSET:int = 168;
public static var INTRO_START_VERTICAL_OFFSET:int = 600;
public static var START_VERTICAL_OFFSET:int = 80;
public static var END_VERTICAL_OFFSET:int = 40;
public static var STATE_NORMAL:int = 0;
public static var STATE_SHRINK_DOWN:int = 1;
public static var STATE_SHRINK_LEFT:int = 2;
public static var STATE_SCROLL_UP:int = 3;
function Grid(_arg1:Input, _arg2){
this.input = _arg1;
this.randomSeed = _arg2;
}
public function setStreetLevelOffset(){
verticalOffset = END_VERTICAL_OFFSET;
wantedVerticalOffset = END_VERTICAL_OFFSET;
}
public function init(_arg1:int, _arg2:int, _arg3:int, _arg4:int, _arg5:int){
var _local8:int;
Brick.setRandomAnimalColumn(_arg4);
random = new Random(randomSeed++);
verticalOffset = INTRO_START_VERTICAL_OFFSET;
wantedVerticalOffset = START_VERTICAL_OFFSET;
offsetUpAnimation = false;
cols = _arg4;
setNrColors(_arg5);
this.hidingAnimalPercent = _arg2;
this.cratePercent = _arg3;
allBricks = ((cols * 2) * ROWS);
allBricksOnPlayfield = (cols * ROWS);
bricks = new Array(allBricks);
var _local6:int;
while (_local6 < (2 * ROWS)) {
_local8 = 0;
while (_local8 < cols) {
bricks[((_local6 * cols) + _local8)] = new Brick(random);
_local8++;
};
_local6++;
};
var _local7:Boolean;
while (_local7 == false) {
setupGrid();
generateAnimals(_arg1);
if (matchesExists()){
_local7 = true;
};
};
setVerticalOffsetOnBricks(verticalOffset);
updateBrickPositions();
state = STATE_NORMAL;
}
public function tick(){
if (offsetUpAnimation){
if (verticalOffset > wantedVerticalOffset){
verticalOffset = (verticalOffset - offsetSteps);
setVerticalOffsetOnBricks(verticalOffset);
};
if (verticalOffset <= wantedVerticalOffset){
verticalOffset = wantedVerticalOffset;
setVerticalOffsetOnBricks(verticalOffset);
offsetUpAnimation = false;
};
};
var _local1:int;
while (_local1 < allBricks) {
bricks[_local1].tick();
_local1++;
};
}
public function render(){
var _local1:int;
while (_local1 < allBricks) {
bricks[_local1].render();
_local1++;
};
}
public function setNrColors(_arg1:int){
this.nrColors = _arg1;
}
public function updateBrickPositions(){
var _local2:int;
var _local3:Boolean;
var _local1:int = ROWS;
while (_local1 < (2 * ROWS)) {
_local2 = 0;
while (_local2 < cols) {
bricks[((_local1 * cols) + _local2)].col = _local2;
bricks[((_local1 * cols) + _local2)].row = _local1;
bricks[((_local1 * cols) + _local2)].verticalOffset = 0;
_local2++;
};
_local1++;
};
_local2 = 0;
while (_local2 < cols) {
_local3 = true;
_local1 = (ROWS - 1);
while (_local1 >= 0) {
bricks[((_local1 * cols) + _local2)].col = _local2;
bricks[((_local1 * cols) + _local2)].row = _local1;
if (bricks[((_local1 * cols) + _local2)].type == Brick.TYPE_ANIMAL){
if (_local3){
bricks[((_local1 * cols) + _local2)].verticalOffset = (-(Brick.ONE_VERTICAL_OFFSET) / 2);
} else {
bricks[((_local1 * cols) + _local2)].verticalOffset = bricks[(((_local1 + 1) * cols) + _local2)].verticalOffset;
bricks[((_local1 * cols) + _local2)].verticalOffset = (bricks[((_local1 * cols) + _local2)].verticalOffset - Brick.ONE_VERTICAL_OFFSET);
};
_local3 = false;
};
_local1--;
};
_local2++;
};
}
public function turnOffHighLights(){
var _local1:int;
while (_local1 < allBricksOnPlayfield) {
if (bricks[_local1].type == Brick.TYPE_NORMAL){
bricks[_local1].turnOffHighlight();
};
_local1++;
};
}
private function setupGrid(){
var _local5:int;
var _local1:int;
var _local2:int;
while (_local2 < (2 * ROWS)) {
_local5 = 0;
while (_local5 < cols) {
bricks[((_local2 * cols) + _local5)] = new Brick(random);
bricks[((_local2 * cols) + _local5)].init();
var _temp1 = _local1;
_local1 = (_local1 + 1);
bricks[((_local2 * cols) + _local5)].id = _temp1;
if (_local2 < ROWS){
bricks[((_local2 * cols) + _local5)].makeNormal(nrColors);
if (_local2 > 1){
bricks[((_local2 * cols) + _local5)].col = _local5;
bricks[((_local2 * cols) + _local5)].setRandomHidingAnimalAndCrate(hidingAnimalPercent, cratePercent);
};
};
_local5++;
};
_local2++;
};
_local2 = 0;
while (_local2 < ROWS) {
_local5 = 0;
while (_local5 < cols) {
if (bricks[((_local2 * cols) + _local5)].type == Brick.TYPE_CRATE){
return;
};
_local5++;
};
_local2++;
};
var _local3:int = random.nextInt(cols);
var _local4:int = (random.nextInt((ROWS - 2)) + 2);
bricks[((_local4 * cols) + _local3)].makeCrate();
}
private function generateAnimals(_arg1:int){
var _local3:int;
var _local2:int;
while (_arg1 > 0) {
_local3 = random.nextInt(cols);
if (bricks[((0 * cols) + _local3)].type != Brick.TYPE_ANIMAL){
bricks[_local3].col = _local3;
bricks[((0 * cols) + _local3)].setRandomAnimalType();
bricks[((0 * cols) + _local3)].makeAnimal();
_arg1--;
};
_local2++;
if (_local2 > 1000){
_arg1 = 0;
};
};
}
private function generateCrates(_arg1:int){
var _local2:int;
var _local3:int;
var _local4:int;
while (_arg1 > 0) {
_local2 = random.nextInt(cols);
_local3 = random.nextInt(ROWS);
if (((!((bricks[((_local3 * cols) + _local2)].type == Brick.TYPE_ANIMAL))) && (!((bricks[((_local3 * cols) + _local2)].type == Brick.TYPE_CRATE))))){
bricks[((_local3 * cols) + _local2)].makeCrate();
_arg1--;
};
_local4++;
if (_local4 > 1000){
_arg1 = 0;
};
};
}
public function tryToMakeCrate(_arg1:int, _arg2:int):Boolean{
var _local3:int = ((_arg2 * cols) + _arg1);
if (bricks[_local3].typse == Brick.TYPE_NORMAL){
bricks[_local3].makeCrate();
return (true);
};
return (false);
}
public function igniteAnimals():Array{
var _local2:Brick;
var _local4:int;
var _local5:int;
var _local1:Array = new Array();
var _local3:int;
while (_local3 < ROWS) {
_local4 = 0;
while (_local4 < cols) {
_local2 = bricks[((_local3 * cols) + _local4)];
if ((((_local2.type == Brick.TYPE_ANIMAL)) && ((_local2.burningAnimal == false)))){
if ((_local3 + 1) < ROWS){
if (bricks[(((_local3 + 1) * cols) + _local4)].type == Brick.TYPE_CRATE){
_local5 = _local3;
while (_local5 >= 0) {
_local2 = bricks[((_local5 * cols) + _local4)];
if ((((_local2.type == Brick.TYPE_ANIMAL)) && ((_local2.burningAnimal == false)))){
_local2.setAnimalOnFire();
_local1.push(_local2);
} else {
break;
};
_local5--;
};
};
};
};
_local4++;
};
_local3++;
};
return (_local1);
}
public function startStopFallingAnim(){
var _local2:Brick;
var _local4:int;
var _local5:int;
var _local1:Boolean;
var _local3:int;
while (_local3 < cols) {
_local4 = 0;
while (_local4 < ROWS) {
_local2 = bricks[((_local4 * cols) + _local3)];
if (_local2.moveAnimation == true){
_local1 = true;
};
_local4++;
};
if (_local1 == false){
_local5 = 0;
while (_local5 < ROWS) {
_local2 = bricks[((_local5 * cols) + _local3)];
if ((((_local2.type == Brick.TYPE_ANIMAL)) && (_local2.fallingAnimal))){
_local2.stopAnimalFall();
};
_local5++;
};
};
_local3++;
};
}
public function removeBurningAnimals(){
var _local1:int;
while (_local1 < allBricksOnPlayfield) {
if (bricks[_local1].burningAnimal == true){
bricks[_local1].init();
};
_local1++;
};
}
public function getBurningAnimals():Array{
var _local1:Array = new Array();
var _local2:int;
while (_local2 < allBricksOnPlayfield) {
if (bricks[_local2].burningAnimal == true){
_local1.push(bricks[_local2]);
};
_local2++;
};
return (_local1);
}
public function removeHappyAnimals(){
var _local1:int;
while (_local1 < allBricksOnPlayfield) {
if (bricks[_local1].happyAnimal == true){
bricks[_local1].init();
};
_local1++;
};
}
public function animalsAtBottomOfPlayfield():Array{
var _local3:int;
var _local1:Array = new Array();
var _local2:int;
while (_local2 < cols) {
if (bricks[(((ROWS - 1) * cols) + _local2)].type == Brick.TYPE_ANIMAL){
_local3 = 0;
while (_local3 < ROWS) {
if (bricks[((_local3 * cols) + _local2)].type == Brick.TYPE_ANIMAL){
_local1.push(bricks[((_local3 * cols) + _local2)]);
};
_local3++;
};
};
_local2++;
};
return (_local1);
}
public function bricksAreMoving():Boolean{
var _local1:Boolean;
var _local2:int;
while (_local2 < allBricks) {
if (bricks[_local2].moveAnimation == true){
_local1 = true;
};
_local2++;
};
return (_local1);
}
public function bricksOnBoard():int{
var _local3:int;
var _local1:int;
var _local2:int;
while (_local2 < cols) {
_local3 = 0;
while (_local3 < ROWS) {
if (bricks[((_local3 * cols) + _local2)].type != Brick.TYPE_EMPTY){
_local1++;
};
_local3++;
};
_local2++;
};
return (_local1);
}
public function nrNormalBricksOnBoard():int{
var _local3:int;
var _local1:int;
var _local2:int;
while (_local2 < cols) {
_local3 = 0;
while (_local3 < ROWS) {
if (bricks[((_local3 * cols) + _local2)].type == Brick.TYPE_NORMAL){
_local1++;
};
_local3++;
};
_local2++;
};
return (_local1);
}
public function startShrinkDownAnimation(_arg1:int){
var _local3:int;
var _local2:int;
while (_local2 < ROWS) {
_local3 = 0;
while (_local3 < cols) {
bricks[((_local2 * cols) + _local3)].startDownAcceleratingMoveAnimation(_local3, _local2);
_local3++;
};
_local2++;
};
}
public function startShrinkLeftAnimation(_arg1:int){
var _local3:int;
var _local2:int;
while (_local2 < ROWS) {
_local3 = 0;
while (_local3 < cols) {
bricks[((_local2 * cols) + _local3)].startLeftAcceleratingMoveAnimation(_local3, _local2);
_local3++;
};
_local2++;
};
}
public function offsetAnimateUp(_arg1:int, _arg2:int){
this.offsetSteps = _arg2;
this.wantedVerticalOffset = _arg1;
offsetUpAnimation = true;
}
public function setFallingDelays(){
var _local2:int;
var _local3:Boolean;
var _local4:int;
var _local1:int;
while (_local1 < cols) {
_local2 = 1;
_local3 = false;
_local4 = (ROWS - 1);
while (_local4 >= 0) {
if (bricks[((_local4 * cols) + _local1)].type == Brick.TYPE_EMPTY){
_local3 = true;
};
bricks[((_local4 * cols) + _local1)].fallingDelay = _local2;
if (_local3 == true){
_local2 = (_local2 + 1);
};
_local4--;
};
_local1++;
};
}
public function shrinkDown(){
var _local2:int;
var _local3:int;
var _local4:Brick;
var _local6:int;
var _local1:Boolean;
var _local5:int = (ROWS - 2);
while (_local5 >= 0) {
_local6 = 0;
while (_local6 < cols) {
_local2 = ((_local5 * cols) + _local6);
if (bricks[_local2].type != Brick.TYPE_EMPTY){
if ((bricks[(((_local5 + 1) * cols) + _local6)].type == Brick.TYPE_EMPTY)){
_local3 = _local5;
while ((((bricks[(((_local3 + 1) * cols) + _local6)].type == Brick.TYPE_EMPTY)) && (((_local3 + 1) < ROWS)))) {
if (bricks[(((_local3 + 1) * cols) + _local6)].type == Brick.TYPE_EMPTY){
_local3++;
};
};
_local4 = bricks[_local2];
bricks[_local2] = bricks[((_local3 * cols) + _local6)];
bricks[((_local3 * cols) + _local6)] = _local4;
_local1 = true;
};
};
_local6++;
};
_local5--;
};
return (_local1);
}
public function shrinkLeft():Boolean{
var _local3:int;
var _local1:Boolean;
var _local2 = 1;
while (_local2 < cols) {
if (emptyColumn(_local2) == false){
_local3 = findLeftMostEmptyColumnFrom(_local2);
if (_local3 != -1){
switchColumns(_local2, _local3);
Brick.switchColumns(_local2, _local3);
_local1 = true;
};
};
_local2++;
};
return (_local1);
}
public function removeCratesFromEmptyColumns(){
var _local2:Boolean;
var _local3:int;
var _local1:int;
while (_local1 < cols) {
_local2 = true;
_local3 = 0;
while (_local3 < ROWS) {
if (((!((bricks[((_local3 * cols) + _local1)].type == Brick.TYPE_CRATE))) && (!((bricks[((_local3 * cols) + _local1)].type == Brick.TYPE_EMPTY))))){
_local2 = false;
};
_local3++;
};
if (_local2){
_local3 = 0;
while (_local3 < ROWS) {
bricks[((_local3 * cols) + _local1)].init();
_local3++;
};
};
_local1++;
};
}
public function markBrickPosition():GridPosition{
var _local1:GridPosition = mouseAt();
_local1.posX = (((_local1.col * Brick.SIZE_X) + (Brick.SIZE_X / 2)) + HORIZONTAL_OFFSET);
_local1.posY = (((_local1.row * Brick.SIZE_Y) + (Brick.SIZE_Y / 2)) + verticalOffset);
return (_local1);
}
public function clickedOn():int{
var _local2:GridPosition;
var _local3:int;
var _local4:int;
var _local1 = -1;
if (input.mouseIsPressed == true){
_local2 = mouseAt();
_local3 = _local2.col;
_local4 = _local2.row;
if ((((((((_local3 >= 0)) && ((_local3 < cols)))) && ((_local4 >= 0)))) && ((_local4 < ROWS)))){
_local1 = bricks[((_local4 * cols) + _local3)].type;
};
};
return (_local1);
}
public function mouseOverBrick():Boolean{
var _local1:Boolean;
var _local2:GridPosition = mouseAt();
var _local3:int = _local2.col;
var _local4:int = _local2.row;
if ((((((((_local3 >= 0)) && ((_local3 < cols)))) && ((_local4 >= 0)))) && ((_local4 < ROWS)))){
if (bricks[((_local4 * cols) + _local3)].type != Brick.TYPE_EMPTY){
_local1 = true;
};
};
return (_local1);
}
public function mouseOverBrickAnimalUp():Boolean{
var _local4:Number;
var _local1:GridPosition = mouseAt();
var _local2:int = _local1.col;
var _local3:int = _local1.row;
if ((((((((_local2 >= 0)) && ((_local2 < cols)))) && ((_local3 >= -1)))) && ((_local3 < (ROWS - 1))))){
if (bricks[(((_local3 + 1) * cols) + _local2)].type == Brick.TYPE_ANIMAL){
_local4 = ((input.yMouse - verticalOffset) % (Brick.SIZE_Y * 1));
if (_local4 >= 0){
if (_local4 > (Brick.SIZE_Y / 2)){
return (true);
};
} else {
if (_local4 > (-(Brick.SIZE_Y) / 2)){
return (true);
};
};
};
};
return (false);
}
private function mouseAt():GridPosition{
var _local1:GridPosition = new GridPosition();
_local1.col = clickCol();
_local1.row = clickRow();
return (_local1);
}
public function clickCol():int{
var _local1:int = int(((input.xMouse - HORIZONTAL_OFFSET) / Brick.SIZE_X));
if ((input.xMouse - HORIZONTAL_OFFSET) < 0){
_local1 = -1;
};
return (_local1);
}
public function clickRow():int{
var _local1:int;
if ((input.yMouse - verticalOffset) < 0){
_local1 = (int(((input.yMouse - verticalOffset) / Brick.SIZE_Y)) - 1);
} else {
_local1 = int(((input.yMouse - verticalOffset) / Brick.SIZE_Y));
};
return (_local1);
}
public function convertColToPosX(_arg1:int):Number{
return ((((_arg1 * Brick.SIZE_X) + (Brick.SIZE_X / 2)) + HORIZONTAL_OFFSET));
}
public function convertRowToPosY(_arg1:int):Number{
return ((((_arg1 * Brick.SIZE_Y) + (Brick.SIZE_Y / 2)) + verticalOffset));
}
public function saveAnimal(_arg1:int, _arg2:int){
bricks[((_arg2 * cols) + _arg1)].saveAnimal();
}
public function getAnimalType(_arg1:int, _arg2):int{
return (bricks[((_arg2 * cols) + _arg1)].animalType);
}
public function getNrAnimals(_arg1:int, _arg2):int{
return (bricks[((_arg2 * cols) + _arg1)].animalCounter);
}
public function animalAtColumnRow(_arg1:int, _arg2:int):Brick{
if ((((((((_arg1 >= 0)) && ((_arg1 < cols)))) && ((_arg2 >= 0)))) && ((_arg2 < ROWS)))){
if (bricks[((_arg2 * cols) + _arg1)].type == Brick.TYPE_ANIMAL){
return (bricks[((_arg2 * cols) + _arg1)]);
};
};
return (null);
}
public function animalStickingUp(_arg1:int, _arg2:int):Boolean{
var _local3:Number;
if ((((((((_arg1 >= 0)) && ((_arg1 < cols)))) && ((_arg2 >= -1)))) && ((_arg2 < (ROWS - 1))))){
if (bricks[(((_arg2 + 1) * cols) + _arg1)].type == Brick.TYPE_ANIMAL){
_local3 = ((input.yMouse - verticalOffset) % (Brick.SIZE_Y * 1));
if (_local3 >= 0){
if (_local3 > (Brick.SIZE_Y / 2)){
return (true);
};
} else {
if (_local3 > (-(Brick.SIZE_Y) / 2)){
return (true);
};
};
};
};
return (false);
}
public function extinguishFire(_arg1:int, _arg2:int){
bricks[((_arg2 * cols) + _arg1)].init();
}
public function startPutOutFire(_arg1:int, _arg2:int){
bricks[((_arg2 * cols) + _arg1)].startPutOutFire();
}
public function matchBricks():Array{
var _local1:Array = new Array();
var _local2:int;
while (_local2 < allBricks) {
bricks[_local2].checked = false;
bricks[_local2].clusterIndex = 0;
_local2++;
};
var _local3:GridPosition = mouseAt();
var _local4:int = _local3.col;
var _local5:int = _local3.row;
if ((((((((_local4 >= 0)) && ((_local4 < cols)))) && ((_local5 >= 0)))) && ((_local5 < ROWS)))){
if (conectedToSameColor(_local4, _local5)){
if (bricks[((_local5 * cols) + _local4)].type == Brick.TYPE_NORMAL){
matchConnectedBricks(_local4, _local5, _local1);
};
};
};
if (_local1.length == 0){
_local1.push(bricks[((_local5 * cols) + _local4)]);
};
return (_local1);
}
public function matchesExists():Boolean{
var _local2:int;
var _local1:int;
while (_local1 < cols) {
_local2 = 0;
while (_local2 < ROWS) {
if (bricks[((_local2 * cols) + _local1)].type == Brick.TYPE_NORMAL){
if (conectedToSameColor(_local1, _local2)){
return (true);
};
};
_local2++;
};
_local1++;
};
return (false);
}
public function firesOnGrid():Boolean{
var _local2:int;
var _local1:int;
while (_local1 < cols) {
_local2 = 0;
while (_local2 < ROWS) {
if (bricks[((_local2 * cols) + _local1)].type == Brick.TYPE_CRATE){
return (true);
};
_local2++;
};
_local1++;
};
return (false);
}
public function animalsOnGrid():Array{
var _local3:int;
var _local1:Array = new Array();
var _local2:int;
while (_local2 < cols) {
_local3 = 0;
while (_local3 < ROWS) {
if (bricks[((_local3 * cols) + _local2)].type == Brick.TYPE_ANIMAL){
_local1.push(bricks[((_local3 * cols) + _local2)]);
};
_local3++;
};
_local2++;
};
return (_local1);
}
public function removeMatchedBricks(_arg1:Array):Array{
var _local2:Array = new Array(cols);
var _local3:int;
while (_local3 < _local2.length) {
_local2[_local3] = 0;
_local3++;
};
_local3 = 0;
while (_local3 < _arg1.length) {
if (_arg1[_local3].hidingAnimal == true){
_local2[_arg1[_local3].col] = (_local2[_arg1[_local3].col] + 1);
};
_arg1[_local3].init();
_local3++;
};
return (_local2);
}
public function getAnimalTypes():Array{
var _local3:int;
var _local4:int;
var _local1:Array = new Array(_local3);
var _local2:int;
while (_local2 < cols) {
_local1[_local2] = -1;
_local2++;
};
_local3 = 0;
while (_local3 < cols) {
_local4 = 0;
while (_local4 < ROWS) {
if (bricks[((_local4 * cols) + _local3)].type == Brick.TYPE_ANIMAL){
_local1[_local3] = bricks[((_local4 * cols) + _local3)].animalType;
};
_local4++;
};
_local3++;
};
return (_local1);
}
public function newAnimalsFromHidden(_arg1:Array){
var _local3:int;
var _local4:Brick;
var _local2:int;
while (_local2 < cols) {
while (_arg1[_local2] > 0) {
_local3 = (ROWS - 1);
while (_local3 >= 0) {
if (bricks[((_local3 * cols) + _local2)].type == Brick.TYPE_EMPTY){
_local4 = null;
_local4 = animalOnColumn(_local2);
if (_local4 != null){
_local4.increaseAnimalCounter();
} else {
bricks[((_local3 * cols) + _local2)].init();
bricks[((_local3 * cols) + _local2)].setRandomAnimalType();
bricks[((_local3 * cols) + _local2)].makeAnimal();
};
var _local5 = _arg1;
var _local6 = _local2;
var _local7 = (_local5[_local6] - 1);
_local5[_local6] = _local7;
break;
};
_local3--;
};
};
_local2++;
};
}
public function newAnimalsFromHiddenNew(_arg1:Array, _arg2:Array){
var _local4:int;
var _local5:Brick;
var _local3:int;
while (_local3 < cols) {
while (_arg1[_local3] > 0) {
_local4 = (ROWS - 1);
while (_local4 >= 0) {
if (bricks[((_local4 * cols) + _local3)].type == Brick.TYPE_EMPTY){
_local5 = null;
_local5 = animalOnColumn(_local3);
if (_local5 != null){
_local5.increaseAnimalCounter();
} else {
bricks[((_local4 * cols) + _local3)].init();
bricks[((_local4 * cols) + _local3)].animalType = _arg2[_local3];
bricks[((_local4 * cols) + _local3)].makeAnimal();
};
var _local6 = _arg1;
var _local7 = _local3;
var _local8 = (_local6[_local7] - 1);
_local6[_local7] = _local8;
break;
};
_local4--;
};
};
_local3++;
};
}
private function animalOnColumn(_arg1:int):Brick{
var _local2:Brick;
var _local3:int;
while (_local3 < ROWS) {
if (bricks[((_local3 * cols) + _arg1)].type == Brick.TYPE_ANIMAL){
_local2 = bricks[((_local3 * cols) + _arg1)];
};
_local3++;
};
return (_local2);
}
private function conectedToSameColor(_arg1:int, _arg2:int):Boolean{
var _local3:Boolean;
var _local4:int = bricks[((_arg2 * cols) + _arg1)].color;
if (_arg1 > 0){
if ((((bricks[(((_arg2 * cols) + _arg1) - 1)].type == Brick.TYPE_NORMAL)) && ((bricks[(((_arg2 * cols) + _arg1) - 1)].color == _local4)))){
_local3 = true;
};
};
if (_arg1 < (cols - 1)){
if ((((bricks[(((_arg2 * cols) + _arg1) + 1)].type == Brick.TYPE_NORMAL)) && ((bricks[(((_arg2 * cols) + _arg1) + 1)].color == _local4)))){
_local3 = true;
};
};
if (_arg2 > 0){
if ((((bricks[(((_arg2 - 1) * cols) + _arg1)].type == Brick.TYPE_NORMAL)) && ((bricks[(((_arg2 - 1) * cols) + _arg1)].color == _local4)))){
_local3 = true;
};
};
if (_arg2 < (ROWS - 1)){
if ((((bricks[(((_arg2 + 1) * cols) + _arg1)].type == Brick.TYPE_NORMAL)) && ((bricks[(((_arg2 + 1) * cols) + _arg1)].color == _local4)))){
_local3 = true;
};
};
return (_local3);
}
private function matchConnectedBricks(_arg1:int, _arg2:int, _arg3:Array){
var _local4:int = bricks[((_arg2 * cols) + _arg1)].color;
bricks[((_arg2 * cols) + _arg1)].checked = true;
_arg3.push(bricks[((_arg2 * cols) + _arg1)]);
bricks[((_arg2 * cols) + _arg1)].col = _arg1;
bricks[((_arg2 * cols) + _arg1)].row = _arg2;
if (_arg1 > 0){
if ((((((bricks[(((_arg2 * cols) + _arg1) - 1)].type == Brick.TYPE_NORMAL)) && ((bricks[(((_arg2 * cols) + _arg1) - 1)].color == _local4)))) && ((bricks[(((_arg2 * cols) + _arg1) - 1)].checked == false)))){
matchConnectedBricks((_arg1 - 1), _arg2, _arg3);
};
};
if (_arg1 < (cols - 1)){
if ((((((bricks[(((_arg2 * cols) + _arg1) + 1)].type == Brick.TYPE_NORMAL)) && ((bricks[(((_arg2 * cols) + _arg1) + 1)].color == _local4)))) && ((bricks[(((_arg2 * cols) + _arg1) + 1)].checked == false)))){
matchConnectedBricks((_arg1 + 1), _arg2, _arg3);
};
};
if (_arg2 > 0){
if ((((((bricks[(((_arg2 - 1) * cols) + _arg1)].type == Brick.TYPE_NORMAL)) && ((bricks[(((_arg2 - 1) * cols) + _arg1)].color == _local4)))) && ((bricks[(((_arg2 - 1) * cols) + _arg1)].checked == false)))){
matchConnectedBricks(_arg1, (_arg2 - 1), _arg3);
};
};
if (_arg2 < (ROWS - 1)){
if ((((((bricks[(((_arg2 + 1) * cols) + _arg1)].type == Brick.TYPE_NORMAL)) && ((bricks[(((_arg2 + 1) * cols) + _arg1)].color == _local4)))) && ((bricks[(((_arg2 + 1) * cols) + _arg1)].checked == false)))){
matchConnectedBricks(_arg1, (_arg2 + 1), _arg3);
};
};
}
public function scrollUp(_arg1:int):int{
var _local2:int = emptyRows();
if (_local2 > _arg1){
_local2 = _arg1;
};
if (_local2 > 0){
scrollUpGrid(_local2);
};
return (_local2);
}
public function startScrollUpAnimation(_arg1:int, _arg2:int){
var _local4:int;
var _local3:int;
while (_local3 < (ROWS + _arg1)) {
_local4 = 0;
while (_local4 < cols) {
bricks[((_local3 * cols) + _local4)].startMoveAnimation(_local4, _local3, _arg2);
_local4++;
};
_local3++;
};
}
private function scrollUpGrid(_arg1:int){
var _local4:int;
var _local5:Array;
var _local2:int = ROWS;
while (_local2 < (ROWS + _arg1)) {
_local4 = 0;
while (_local4 < cols) {
bricks[((_local2 * cols) + _local4)].init();
bricks[((_local2 * cols) + _local4)].makeNormal(nrColors);
bricks[((_local2 * cols) + _local4)].col = _local4;
bricks[((_local2 * cols) + _local4)].setRandomHidingAnimalAndCrate(hidingAnimalPercent, cratePercent);
bricks[((_local2 * cols) + _local4)].col = _local4;
bricks[((_local2 * cols) + _local4)].row = _local2;
_local4++;
};
_local2++;
};
var _local3:* = 0;
while (_local3 < _arg1) {
_local5 = new Array(cols);
_local4 = 0;
while (_local4 < cols) {
_local5[_local4] = bricks[_local4];
_local5[_local4].init();
_local4++;
};
_local2 = 1;
while (_local2 < (2 * ROWS)) {
_local4 = 0;
while (_local4 < cols) {
bricks[(((_local2 - 1) * cols) + _local4)] = bricks[((_local2 * cols) + _local4)];
_local4++;
};
_local2++;
};
_local4 = 0;
while (_local4 < cols) {
bricks[((((2 * ROWS) - 1) * cols) + _local4)] = _local5[_local4];
_local4++;
};
_local3++;
};
}
public function emptyRows():int{
var _local2:Boolean;
var _local4:int;
var _local1:int;
var _local3:int;
while (_local3 < ROWS) {
_local2 = true;
_local4 = 0;
while (_local4 < cols) {
if (bricks[((_local3 * cols) + _local4)].type != Brick.TYPE_EMPTY){
_local2 = false;
};
_local4++;
};
if (_local2 == true){
_local1++;
};
_local3++;
};
return (_local1);
}
private function findLeftMostEmptyColumnFrom(_arg1:int):int{
var _local2 = -1;
var _local3:* = (_arg1 - 1);
while (_local3 >= 0) {
if (emptyColumn(_local3) == true){
_local2 = _local3;
};
_local3--;
};
return (_local2);
}
private function emptyColumn(_arg1:int):Boolean{
var _local2:Boolean;
var _local3:int;
while (_local3 < ROWS) {
if (bricks[((_local3 * cols) + _arg1)].type != Brick.TYPE_EMPTY){
_local2 = false;
};
_local3++;
};
return (_local2);
}
private function switchColumns(_arg1:int, _arg2:int){
var _local3:Brick;
var _local4:int;
while (_local4 < ROWS) {
_local3 = bricks[((_local4 * cols) + _arg1)];
bricks[((_local4 * cols) + _arg1)] = bricks[((_local4 * cols) + _arg2)];
bricks[((_local4 * cols) + _arg2)] = _local3;
_local4++;
};
}
private function setVerticalOffsetOnBricks(_arg1:int){
var _local2:* = 0;
while (_local2 < allBricks) {
bricks[_local2].gridVerticalOffset = _arg1;
_local2++;
};
}
public function clearNewCrates(){
var _local1:int;
while (_local1 < allBricks) {
bricks[_local1].newCrate = false;
_local1++;
};
}
public function clearFireCounters(){
var _local1:int;
while (_local1 < allBricks) {
bricks[_local1].fireSpreadCounter = 0;
_local1++;
};
}
public function clearFireLinks(){
var _local1:int;
while (_local1 < allBricks) {
bricks[_local1].fireLinkRight = null;
bricks[_local1].fireLinkDown = null;
_local1++;
};
}
public function updateFireLinks2(){
var _local4:int;
var _local1:int;
while (_local1 < allBricks) {
bricks[_local1].checked = false;
bricks[_local1].clusterIndex = 0;
_local1++;
};
var _local2 = 1;
var _local3:int;
while (_local3 < cols) {
_local4 = 0;
while (_local4 < ROWS) {
if ((((bricks[((_local4 * cols) + _local3)].type == Brick.TYPE_CRATE)) && ((bricks[((_local4 * cols) + _local3)].checked == false)))){
updateLinksBricks(_local3, _local4, _local2);
_local2++;
};
_local4++;
};
_local3++;
};
}
public function clearFireActions(){
var _local1:int;
while (_local1 < allBricks) {
bricks[_local1].fireAction = Brick.FIRE_ACTION_NONE;
_local1++;
};
}
public function removeIncorrectFireLinks(){
var _local2:int;
var _local1:int;
while (_local1 < cols) {
_local2 = 0;
while (_local2 < ROWS) {
if (bricks[((_local2 * cols) + _local1)].type == Brick.TYPE_CRATE){
if (_local1 < (cols - 1)){
if (bricks[((_local2 * cols) + _local1)].fireLinkRight != null){
if (bricks[(((_local2 * cols) + _local1) + 1)].id != bricks[((_local2 * cols) + _local1)].fireLinkRight.id){
bricks[((_local2 * cols) + _local1)].fireLinkRight = null;
};
};
};
if (_local2 < (ROWS - 1)){
if (bricks[((_local2 * cols) + _local1)].fireLinkDown != null){
if (bricks[(((_local2 + 1) * cols) + _local1)].id != bricks[((_local2 * cols) + _local1)].fireLinkDown.id){
bricks[((_local2 * cols) + _local1)].fireLinkDown = null;
};
};
};
};
_local2++;
};
_local1++;
};
}
public function newFireLinks(){
var _local2:int;
var _local1:int;
while (_local1 < cols) {
_local2 = 0;
while (_local2 < ROWS) {
if (bricks[((_local2 * cols) + _local1)].type == Brick.TYPE_CRATE){
if (_local1 < (cols - 1)){
if (bricks[((_local2 * cols) + _local1)].fireLinkRight == null){
if (bricks[(((_local2 * cols) + _local1) + 1)].type == Brick.TYPE_CRATE){
if (bricks[((_local2 * cols) + _local1)].clusterIndex != bricks[(((_local2 * cols) + _local1) + 1)].clusterIndex){
if (((!((bricks[((_local2 * cols) + _local1)].clusterIndex == 0))) && (!((bricks[(((_local2 * cols) + _local1) + 1)].clusterIndex == 0))))){
bricks[((_local2 * cols) + _local1)].fireLinkRight = bricks[(((_local2 * cols) + _local1) + 1)];
bricks[((_local2 * cols) + _local1)].fireSpreadCounter++;
bricks[(((_local2 * cols) + _local1) + 1)].fireSpreadCounter++;
};
};
};
};
};
if (_local2 < (ROWS - 1)){
if (bricks[((_local2 * cols) + _local1)].fireLinkDown == null){
if (bricks[(((_local2 + 1) * cols) + _local1)].type == Brick.TYPE_CRATE){
if (bricks[((_local2 * cols) + _local1)].clusterIndex != bricks[(((_local2 + 1) * cols) + _local1)].clusterIndex){
if (((!((bricks[((_local2 * cols) + _local1)].clusterIndex == 0))) && (!((bricks[(((_local2 + 1) * cols) + _local1)].clusterIndex == 0))))){
bricks[((_local2 * cols) + _local1)].fireLinkDown = bricks[(((_local2 + 1) * cols) + _local1)];
bricks[((_local2 * cols) + _local1)].fireSpreadCounter++;
bricks[(((_local2 + 1) * cols) + _local1)].fireSpreadCounter++;
};
};
};
};
};
};
_local2++;
};
_local1++;
};
}
public function setFireActions():Boolean{
var _local3:int;
var _local1:Boolean;
var _local2:int;
while (_local2 < cols) {
_local3 = 0;
while (_local3 < ROWS) {
while ((((bricks[((_local3 * cols) + _local2)].type == Brick.TYPE_CRATE)) && ((bricks[((_local3 * cols) + _local2)].fireSpreadCounter > 0)))) {
if (spreadBrickFireAction(_local2, _local3) == true){
bricks[((_local3 * cols) + _local2)].fireSpreadCounter--;
_local1 = true;
} else {
bricks[((_local3 * cols) + _local2)].fireSpreadCounter = 0;
break;
};
};
_local3++;
};
_local2++;
};
return (_local1);
}
public function igniteFires(){
var _local2:int;
var _local1:int;
while (_local1 < cols) {
_local2 = 0;
while (_local2 < ROWS) {
if (bricks[((_local2 * cols) + _local1)].fireAction == Brick.FIRE_ACTION_IGNITE){
bricks[((_local2 * cols) + _local1)].makeCrate();
};
_local2++;
};
_local1++;
};
}
public function indicateFireSpreading(){
var _local2:int;
var _local1:int;
while (_local1 < cols) {
_local2 = 0;
while (_local2 < ROWS) {
if (bricks[((_local2 * cols) + _local1)].fireAction == Brick.FIRE_ACTION_SPREAD){
bricks[((_local2 * cols) + _local1)].indicateFireSpreading();
};
_local2++;
};
_local1++;
};
}
public function indicateFireIgnition(){
var _local2:int;
var _local1:int;
while (_local1 < cols) {
_local2 = 0;
while (_local2 < ROWS) {
if (bricks[((_local2 * cols) + _local1)].fireAction == Brick.FIRE_ACTION_IGNITE){
bricks[((_local2 * cols) + _local1)].indicateFireIgnition();
};
_local2++;
};
_local1++;
};
}
private function updateLinksBricks(_arg1:int, _arg2:int, _arg3:int):Boolean{
var _local4:Boolean;
bricks[((_arg2 * cols) + _arg1)].checked = true;
bricks[((_arg2 * cols) + _arg1)].clusterIndex = _arg3;
if (_arg1 > 0){
if ((((bricks[(((_arg2 * cols) + _arg1) - 1)].type == Brick.TYPE_CRATE)) && ((bricks[(((_arg2 * cols) + _arg1) - 1)].checked == false)))){
bricks[(((_arg2 * cols) + _arg1) - 1)].fireLinkRight = bricks[((_arg2 * cols) + _arg1)];
updateLinksBricks((_arg1 - 1), _arg2, _arg3);
_local4 = true;
};
};
if (_arg1 < (cols - 1)){
if ((((bricks[(((_arg2 * cols) + _arg1) + 1)].type == Brick.TYPE_CRATE)) && ((bricks[(((_arg2 * cols) + _arg1) + 1)].checked == false)))){
bricks[((_arg2 * cols) + _arg1)].fireLinkRight = bricks[(((_arg2 * cols) + _arg1) + 1)];
updateLinksBricks((_arg1 + 1), _arg2, _arg3);
_local4 = true;
};
};
if (_arg2 > 0){
if ((((bricks[(((_arg2 - 1) * cols) + _arg1)].type == Brick.TYPE_CRATE)) && ((bricks[(((_arg2 - 1) * cols) + _arg1)].checked == false)))){
bricks[(((_arg2 - 1) * cols) + _arg1)].fireLinkDown = bricks[((_arg2 * cols) + _arg1)];
updateLinksBricks(_arg1, (_arg2 - 1), _arg3);
_local4 = true;
};
};
if (_arg2 < (ROWS - 1)){
if ((((bricks[(((_arg2 + 1) * cols) + _arg1)].type == Brick.TYPE_CRATE)) && ((bricks[(((_arg2 + 1) * cols) + _arg1)].checked == false)))){
bricks[((_arg2 * cols) + _arg1)].fireLinkDown = bricks[(((_arg2 + 1) * cols) + _arg1)];
updateLinksBricks(_arg1, (_arg2 + 1), _arg3);
_local4 = true;
};
};
return (_local4);
}
private function spreadBrickFireSmall(_arg1:int, _arg2:int):Boolean{
var _local3:Boolean;
if (_arg1 > 0){
if (bricks[(((_arg2 * cols) + _arg1) - 1)].type == Brick.TYPE_NORMAL){
bricks[(((_arg2 * cols) + _arg1) - 1)].makeCrate();
_local3 = true;
};
};
return (_local3);
}
private function spreadBrickFireAction(_arg1:int, _arg2:int):Boolean{
var _local3:Boolean;
var _local4:int = random.nextInt(4);
var _local5:int;
while (_local5 < 4) {
switch (_local4){
case 0:
if (_arg1 > 0){
if (bricks[(((_arg2 * cols) + _arg1) - 1)].type == Brick.TYPE_NORMAL){
bricks[((_arg2 * cols) + _arg1)].fireAction = Brick.FIRE_ACTION_SPREAD;
bricks[(((_arg2 * cols) + _arg1) - 1)].fireAction = Brick.FIRE_ACTION_IGNITE;
_local5 = 4;
_local3 = true;
};
};
break;
case 1:
if (_arg1 < (cols - 1)){
if (bricks[(((_arg2 * cols) + _arg1) + 1)].type == Brick.TYPE_NORMAL){
bricks[((_arg2 * cols) + _arg1)].fireAction = Brick.FIRE_ACTION_SPREAD;
bricks[(((_arg2 * cols) + _arg1) + 1)].fireAction = Brick.FIRE_ACTION_IGNITE;
_local5 = 4;
_local3 = true;
};
};
break;
case 2:
if (_arg2 > 0){
if (bricks[(((_arg2 - 1) * cols) + _arg1)].type == Brick.TYPE_NORMAL){
bricks[((_arg2 * cols) + _arg1)].fireAction = Brick.FIRE_ACTION_SPREAD;
bricks[(((_arg2 - 1) * cols) + _arg1)].fireAction = Brick.FIRE_ACTION_IGNITE;
_local5 = 4;
_local3 = true;
};
};
break;
case 3:
if (_arg2 < (ROWS - 1)){
if (bricks[(((_arg2 + 1) * cols) + _arg1)].type == Brick.TYPE_NORMAL){
bricks[((_arg2 * cols) + _arg1)].fireAction = Brick.FIRE_ACTION_SPREAD;
bricks[(((_arg2 + 1) * cols) + _arg1)].fireAction = Brick.FIRE_ACTION_IGNITE;
_local5 = 4;
_local3 = true;
};
};
break;
};
_local4++;
if (_local4 > 3){
_local4 = 0;
};
_local5++;
};
return (_local3);
}
}
}//package puzzlegame
Section 21
//GridPosition (puzzlegame.GridPosition)
package puzzlegame {
class GridPosition {
public var col:int;
public var row:int;
public var posX:int;
public var posY:int;
}
}//package puzzlegame
Section 22
//GUI (puzzlegame.GUI)
package puzzlegame {
import bitmap_classes.*;
import flash.geom.*;
class GUI {
private var hudLights:HUDLights;
private var elevatorPercent:Number;
private var wantedElevatorPercent:Number;
private var elevatorVerticalOffset:int;
private var elevatorSpeed:Number;
private var waterSignFrame:int;
private var waterSignFrameNumber:Number;
private var waterSignLastFrame:int;
private var waterAnimateTickTime:int;
private var waterAnimate:Boolean;
private var helicopterSignFrame:int;
private var helicopterSignFrameNumber:Number;
private var helicopterSignLastFrame:int;
private var helicopterAnimateTickTime:int;
private var helicopterAnimate:Boolean;
private var nrHelicopters:int;
private var nrWaterHorses:int;
private var score:int;
private var saves:int;
private var minutes:int;
private var seconds:int;
public static var WATER_SIGN_ANIM_SPEED:Number = 0.7;
public static var WATER_SIGN_ANIM_TICK_TIME:int = 25;
public static var HELICOPTER_SIGN_ANIM_SPEED:Number = 0.7;
public static var HELICOPTER_SIGN_ANIM_TICK_TIME:int = 25;
function GUI(){
hudLights = new HUDLights();
initElevator();
waterSignFrame = 0;
waterSignFrameNumber = waterSignFrame;
waterSignLastFrame = (Render.waterSignSequence.getLength() - 1);
helicopterSignLastFrame = (Render.helicopterSignSequence.getLength() - 1);
stopWaterSignAnim();
stopHelicopterSignAnim();
}
public function tick(){
hudLights.tick();
updateHoseSign();
updateHelicopterSign();
if (elevatorPercent < wantedElevatorPercent){
elevatorPercent = (elevatorPercent + elevatorSpeed);
};
if (elevatorPercent >= wantedElevatorPercent){
elevatorPercent = wantedElevatorPercent;
};
elevatorVerticalOffset = int((306 * elevatorPercent));
}
public function render(){
Render.bitmapRender.renderCallTopLeft(Render.bitmapDataHUD, 0, 0);
if (elevatorPercent >= 1){
Render.bitmapRender.renderCallTopLeft(Render.bitmapDataClockColor, 11, 102);
};
hudLights.render();
Render.bitmapRender.renderCallRectangle(Render.bitmapDataHudBar, 12, 140, new Rectangle(0, (283 - elevatorVerticalOffset), Render.bitmapDataHudBar.rect.width, 338));
Render.bitmapRender.renderCallRectangle(Render.bitmapDataHudHis, 13, 140, new Rectangle(0, (310 - elevatorVerticalOffset), Render.bitmapDataHudBar.rect.width, 1000));
Render.bitmapRender.renderCallTopLeft(Render.bitmapDataHudHisLevels, 12, 140);
Render.helicopterSignSequence.renderCall(helicopterSignFrame, 68, 102);
Render.waterSignSequence.renderCall(waterSignFrame, 68, 168);
BitmapNumber.renderCallCentre(nrHelicopters, Render.whiteNrSequence, 107, 102, 10, 20);
BitmapNumber.renderCallCentre(nrWaterHorses, Render.whiteNrSequence, 107, 168, 10, 20);
BitmapNumber.renderCallTopLeft(minutes, Render.blueNrSequence, 42, 284, 16, 2);
BitmapNumber.renderCallTopLeft(seconds, Render.blueNrSequence, 89, 284, 16, 2);
BitmapNumber.renderCallTopLeft(score, Render.blueNrSequence, 42, 347, 16, 6);
BitmapNumber.renderCallTopLeft(saves, Render.blueNrSequence, 73, 410, 16, 2);
}
public function setHelicopters(_arg1:int){
nrHelicopters = _arg1;
}
public function setWaterHorses(_arg1){
nrWaterHorses = _arg1;
}
public function setScore(_arg1){
this.score = _arg1;
}
public function setSaves(_arg1){
this.saves = _arg1;
}
public function setTime(_arg1:int){
var _local2:int = (_arg1 / 25);
var _local3:int = (_local2 / 60);
_local2 = (_local2 - (_local3 * 60));
minutes = _local3;
seconds = _local2;
}
public function startAnimatingLights(){
hudLights.startAnimating();
}
public function stopAnimatingLights(){
hudLights.stopAnimating();
}
public function initElevator(){
elevatorPercent = 0;
wantedElevatorPercent = 0;
elevatorSpeed = 0;
}
public function setElevatorValue(_arg1:Number, _arg2:Number){
wantedElevatorPercent = _arg1;
if (wantedElevatorPercent > 1){
wantedElevatorPercent = 1;
};
elevatorSpeed = _arg2;
}
public function updateHoseSign(){
if (waterAnimate == false){
return;
};
waterAnimateTickTime++;
waterSignFrameNumber = (waterSignFrameNumber + WATER_SIGN_ANIM_SPEED);
waterSignFrame = int(waterSignFrameNumber);
if (waterSignFrame > waterSignLastFrame){
waterSignFrameNumber = (waterSignFrameNumber - waterSignLastFrame);
waterSignFrame = int(waterSignFrameNumber);
};
if (waterAnimateTickTime > WATER_SIGN_ANIM_TICK_TIME){
stopWaterSignAnim();
};
}
public function startHoseSignAnim(){
waterAnimate = true;
waterSignFrameNumber = 1;
waterAnimateTickTime = 0;
}
public function stopWaterSignAnim(){
waterAnimate = false;
waterSignFrame = 0;
}
public function updateHelicopterSign(){
if (helicopterAnimate == false){
return;
};
helicopterAnimateTickTime++;
helicopterSignFrameNumber = (helicopterSignFrameNumber + HELICOPTER_SIGN_ANIM_SPEED);
helicopterSignFrame = int(helicopterSignFrameNumber);
if (helicopterSignFrame > helicopterSignLastFrame){
helicopterSignFrameNumber = (helicopterSignFrameNumber - helicopterSignLastFrame);
helicopterSignFrame = int(helicopterSignFrameNumber);
};
if (helicopterAnimateTickTime > HELICOPTER_SIGN_ANIM_TICK_TIME){
stopHelicopterSignAnim();
};
}
public function startHelicopterSignAnim(){
helicopterAnimate = true;
helicopterSignFrameNumber = 1;
helicopterAnimateTickTime = 0;
}
public function stopHelicopterSignAnim(){
helicopterAnimate = false;
helicopterSignFrame = 0;
}
}
}//package puzzlegame
Section 23
//Hand (puzzlegame.Hand)
package puzzlegame {
import flash.display.*;
class Hand {
public var posX:Number;
public var posY:Number;
private var animFrame:int;
public var clip:MovieClip;
private var greping:Boolean;
private var grepCounter:int;
public static var GREP_TICK_TIME:int = 3;
function Hand(){
animFrame = 1;
greping = false;
clip = new Handske();
}
public function addToHolderClip(){
Render.handHolderClip.addChild(clip);
}
public function tick(){
if (greping){
grepCounter++;
if (grepCounter == GREP_TICK_TIME){
greping = false;
};
animFrame = 2;
} else {
animFrame = 1;
};
}
public function render(){
clip.x = posX;
clip.y = posY;
clip.gotoAndStop(animFrame);
}
public function grep(){
greping = true;
grepCounter = 0;
}
}
}//package puzzlegame
Section 24
//HappyAnimalPopup (puzzlegame.HappyAnimalPopup)
package puzzlegame {
import bitmap_classes.*;
class HappyAnimalPopup extends Popup {
private var bitmapSequence:BitmapSequence;
public static var ANIMAL_TYPE_CAT:int = 0;
public static var ANIMAL_TYPE_BIRD:int = 1;
public static var ANIMAL_TYPE_DOG:int = 2;
function HappyAnimalPopup(_arg1:int){
switch (_arg1){
case ANIMAL_TYPE_CAT:
bitmapSequence = Render.catHappySequence;
break;
case ANIMAL_TYPE_BIRD:
bitmapSequence = Render.birdHappySequence;
break;
case ANIMAL_TYPE_DOG:
bitmapSequence = Render.dogHappySequence;
break;
};
lastFrame = (bitmapSequence.getLength() - 1);
animSpeed = 0.5;
}
override public function tick(){
super.tick();
}
override public function render(){
bitmapSequence.renderCall(frame, posX, posY);
}
}
}//package puzzlegame
Section 25
//Helicopter (puzzlegame.Helicopter)
package puzzlegame {
import bitmap_classes.*;
import flash.geom.*;
class Helicopter {
private var posX:Number;
private var posY:Number;
private var movY:Number;
private var visible:Boolean;
private var tickCounter:int;
private var wantedPosY:Number;
private var frame:int;
private var frameNumber:Number;
private var firstAnimTick:Boolean;
private var animationFrames:int;
private var lastFrame:int;
private var animSpeed:Number;
private var basketPosX:Number;
private var basketPosY:Number;
private var basketOffsetY:Number;
private var animalVisible:Boolean;
private var animalBitmapSequence:BitmapSequence;
private var animalJumpOn:Boolean;
private var state:int;
public var animalCounter:int;
public var animalCol:int;
public var animalRow:int;
public static var HELLICOPTER_FLY_SPEED:Number = 6;
public static var HELICOPTER_ANIM_SPEED:Number = 1;
public static var BASKET_SPEED_DOWN:Number = 6;
public static var BASKET_SPEED_UP:Number = 10;
public static var TYPE_CAT:int = 0;
public static var TYPE_BIRD:int = 1;
public static var TYPE_DOG:int = 2;
public static var STATE_STILL:int = 0;
public static var STATE_FLY_DOWN:int = 1;
public static var STATE_FLY_UP:int = 2;
function Helicopter(){
state = STATE_STILL;
setAnimal(TYPE_CAT);
setupAnim();
animalVisible = false;
hide();
}
public function tick(){
switch (state){
case STATE_STILL:
break;
case STATE_FLY_DOWN:
posY = (posY + movY);
if (posY > 0){
basketOffsetY = (basketOffsetY + BASKET_SPEED_DOWN);
};
basketPosY = (((posY + 25) + basketOffsetY) - 32);
if (basketPosY > (wantedPosY + 4)){
flyUp(posX, posY, -105);
};
break;
case STATE_FLY_UP:
animalJumpOn = false;
posY = (posY + movY);
basketOffsetY = (basketOffsetY - BASKET_SPEED_UP);
if (basketOffsetY < 80){
basketOffsetY = 80;
};
basketPosY = (((posY + 25) + basketOffsetY) - 32);
if (posY < wantedPosY){
posY = wantedPosY;
state = STATE_STILL;
};
break;
};
if (visible){
updateAnim();
};
}
public function render(){
if (animalVisible){
animalBitmapSequence.renderCall(0, basketPosX, (basketPosY - 4));
};
Render.helicopterSequence.renderCall(frame, posX, posY);
Render.bitmapRender.renderCallRectangle(Render.bitmapDataBasket, ((posX - 26) - 3), (posY + 25), new Rectangle(0, (Render.bitmapDataBasket.rect.height - basketOffsetY), Render.bitmapDataBasket.rect.width, Render.bitmapDataBasket.rect.height));
}
public function flyDown(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:int){
movY = HELLICOPTER_FLY_SPEED;
setPos(_arg1, _arg2);
wantedPosY = _arg3;
setAnimal(_arg4);
basketOffsetY = 80;
basketPosX = (posX - 3);
animalVisible = false;
animalJumpOn = false;
state = STATE_FLY_DOWN;
}
public function flyUp(_arg1:Number, _arg2:Number, _arg3:Number){
movY = -(HELLICOPTER_FLY_SPEED);
wantedPosY = _arg3;
basketPosX = (posX - 3);
animalVisible = true;
animalJumpOn = true;
state = STATE_FLY_UP;
}
public function show(){
visible = true;
}
public function hide(){
visible = false;
}
public function setPos(_arg1:Number, _arg2:Number){
this.posX = _arg1;
this.posY = _arg2;
}
public function isStill():Boolean{
if (state == STATE_STILL){
return (true);
};
return (false);
}
public function animalJumpingOn():Boolean{
if (animalJumpOn){
return (true);
};
return (false);
}
private function setupAnim(){
animSpeed = HELICOPTER_ANIM_SPEED;
frame = 0;
frameNumber = 0;
firstAnimTick = true;
animationFrames = Render.helicopterSequence.getLength();
lastFrame = (Render.helicopterSequence.getLength() - 1);
}
private function updateAnim(){
if (firstAnimTick == true){
firstAnimTick = false;
} else {
frameNumber = (frameNumber + animSpeed);
frame = int(frameNumber);
};
if (frame > lastFrame){
frameNumber = 0;
frame = int(frameNumber);
};
}
private function setAnimal(_arg1:int){
switch (_arg1){
case TYPE_CAT:
animalBitmapSequence = Render.catSequence;
break;
case TYPE_BIRD:
animalBitmapSequence = Render.birdSequence;
break;
case TYPE_DOG:
animalBitmapSequence = Render.dogSequence;
break;
};
}
}
}//package puzzlegame
Section 26
//HUDLights (puzzlegame.HUDLights)
package puzzlegame {
class HUDLights {
private var posX:Number;
private var posY:Number;
private var frame:int;
private var nrFrames:int;
private var frameNumber:Number;
private var animSpeed:Number;
private var lastFrame:int;
private var animate:Boolean;
function HUDLights(){
stopAnimating();
posX = 0;
posY = 0;
lastFrame = (Render.hudLightsSequence.getLength() - 1);
animSpeed = 0.1;
}
public function tick(){
if (animate){
frameNumber = (frameNumber + animSpeed);
frame = int(frameNumber);
if (frame > lastFrame){
frameNumber = ((frameNumber - lastFrame) - 1);
frame = int(frameNumber);
};
};
}
public function render(){
Render.hudLightsSequence.renderCallTopLeft(frame, posX, posY);
}
public function startAnimating(){
animate = true;
}
public function stopAnimating(){
frame = 0;
frameNumber = 0;
animate = false;
}
}
}//package puzzlegame
Section 27
//Input (puzzlegame.Input)
package puzzlegame {
class Input {
public var xMouse:int;
public var yMouse:int;
public var mouseIsPressed:Boolean;
public var mouseIsReleased:Boolean;
public function init(){
reset();
}
public function reset(){
mouseIsPressed = false;
mouseIsReleased = false;
}
public function setMousePos(_arg1:Number, _arg2:Number){
xMouse = _arg1;
yMouse = _arg2;
}
public function mousePressed(){
mouseIsPressed = true;
}
public function mouseReleased(){
mouseIsReleased = true;
}
public function traceInput(){
}
}
}//package puzzlegame
Section 28
//Integer64 (puzzlegame.Integer64)
package puzzlegame {
import puzzlegame.*;
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 init(_arg1:Integer64):void{
var _local2:* = 0;
while (_local2 < p.length) {
p[_local2] = _arg1.p[_local2];
_local2++;
};
}
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 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 binaryShiftLeft(_arg1:Number):void{
var _local2:* = 0;
while (_local2 < _arg1) {
shl();
_local2++;
};
}
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 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 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++;
};
}
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 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;
}
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);
}
public function mul32(_arg1:Number):void{
mul64(new Integer64(_arg1));
}
private function merge(_arg1:Number):Number{
var _local2:* = 0;
while (_local2 < 3) {
p[_local2] = (p[_local2] + (_arg1 & 32767));
_arg1 = (_arg1 >>> 15);
_local2++;
};
return (_arg1);
}
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;
};
}
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;
};
}
}
}//package puzzlegame
Section 29
//ManagedSound (puzzlegame.ManagedSound)
package puzzlegame {
import flash.media.*;
public class ManagedSound {
private var ClassReference:Class;
public var activeSounds:Array;
private var manager:SoundManager;
public function ManagedSound(_arg1:SoundManager, _arg2:Class){
activeSounds = new Array();
super();
this.manager = _arg1;
this.ClassReference = _arg2;
}
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):ManagedSoundChannel{
var _local3:SoundChannel = new ClassReference().play(0, 999999999, new SoundTransform(_arg1, _arg2));
return (new ManagedSoundChannel(manager, this, _local3));
}
public function stop(){
var _local1:int;
while (_local1 < activeSounds.length) {
activeSounds[_local1].stop();
_local1++;
};
}
public function update(){
var _local1:int;
while (_local1 < activeSounds.length) {
activeSounds[_local1].update();
_local1++;
};
}
}
}//package puzzlegame
Section 30
//ManagedSoundChannel (puzzlegame.ManagedSoundChannel)
package puzzlegame {
import flash.events.*;
import flash.utils.*;
import flash.media.*;
public class ManagedSoundChannel {
private var sound:ManagedSound;
private var channel:SoundChannel;
private var manager:SoundManager;
private var targetVolume:Number;
private var targetPan:Number;
private var fadeStartTime:Number;// = -1
private var fadeEndTime:Number;// = -1
private var fadeStartVolume:Number;// = -1
private var fadeEndVolume:Number;// = -1
private var panStartTime:Number;// = -1
private var panEndTime:Number;// = -1
private var panStartVolume:Number;// = -1
private var panEndVolume: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){
_arg3.addEventListener(Event.SOUND_COMPLETE, soundComplete);
targetVolume = _arg3.soundTransform.volume;
targetPan = _arg3.soundTransform.pan;
update();
};
}
public function soundComplete(_arg1:Event){
sound.activeSounds.splice(sound.activeSounds.indexOf(this), 1);
}
public function setPan(_arg1:Number){
if (!channel){
return;
};
channel.soundTransform.pan = _arg1;
panStartTime = -1;
update();
}
public function setVolume(_arg1:Number){
this.targetVolume = targetVolume;
fadeStartTime = -1;
update();
}
public function stop(){
if (!channel){
return;
};
channel.stop();
soundComplete(null);
}
public function fadeTo(_arg1:Number, _arg2:Number){
fadeStartVolume = Math.sqrt(targetVolume);
fadeEndVolume = Math.sqrt(_arg1);
fadeStartTime = getTimer();
fadeEndTime = (getTimer() + _arg2);
}
public function panTo(_arg1:Number, _arg2:Number){
panStartVolume = targetPan;
panEndVolume = _arg1;
panStartTime = getTimer();
panEndTime = (getTimer() + _arg2);
}
public function update(){
var _local1:Number;
if (!channel){
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 (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 (((!((_local2 == channel.soundTransform.volume))) || (!((_local3 == channel.soundTransform.pan))))){
channel.soundTransform = new SoundTransform(_local2, _local3);
};
}
}
}//package puzzlegame
Section 31
//Marker (puzzlegame.Marker)
package puzzlegame {
class Marker {
public var col:int;
public var row:int;
public var posX:Number;
public var posY:Number;
public var show:Boolean;
private var frame:int;
private var lastFrame:int;
private var frameNumber:Number;
private var animSpeed:Number;
function Marker(){
show = true;
lastFrame = (Render.markerSequence.getLength() - 1);
frameNumber = 0;
animSpeed = 0.4;
}
public function tick(){
frameNumber = (frameNumber + animSpeed);
frame = int(frameNumber);
if (frame > lastFrame){
frameNumber = 0;
frame = 0;
};
}
public function render(){
if (show){
Render.markerSequence.renderCall(frame, posX, posY);
};
}
}
}//package puzzlegame
Section 32
//MusicSounds (puzzlegame.MusicSounds)
package puzzlegame {
public class MusicSounds {
public static var MUSIC_VOLUME:Number = 0.3;
public static var isSoundOn:Boolean = true;
public static var manager:SoundManager = new SoundManager();
public static function soundOff(){
isSoundOn = false;
manager.fadeTo(0, 300);
}
public static function soundOffDirect(){
isSoundOn = false;
manager.setVolume(0);
}
public static function soundOn(){
isSoundOn = true;
manager.fadeTo(1, 300);
}
public static function update(){
manager.update();
}
public static function startIntroLoop(){
manager.get("PetRescue_intro1").loop(MUSIC_VOLUME);
}
public static function stopIntroLoop(){
manager.get("PetRescue_intro1").stop();
}
public static function startGameLoop(){
manager.get("Pet_Resque_loop1").loop(MUSIC_VOLUME);
}
public static function stopGameLoop(){
manager.get("Pet_Resque_loop1").stop();
}
public static function startOutroLoop(){
manager.get("Pet_Resque_outro1").loop(MUSIC_VOLUME);
}
public static function stopOutroLoop(){
manager.get("Pet_Resque_outro1").stop();
}
}
}//package puzzlegame
Section 33
//MyButton (puzzlegame.MyButton)
package puzzlegame {
import flash.display.*;
import flash.events.*;
public class MyButton {
private var clip:MovieClip;
private var posX:int;
private var posY:int;
private var activated:Boolean;
private var visible:Boolean;
private var buttonState:int;
private var over:Boolean;
private var animFrame:int;
public static var BUTTON_STATE_ON:int = 1;
public static var BUTTON_STATE_ON_DOWN:int = 2;
public static var BUTTON_STATE_OFF:int = 3;
public static var BUTTON_STATE_OFF_DOWN:int = 4;
public function MyButton(_arg1:MovieClip){
this.clip = _arg1;
posX = _arg1.x;
posY = _arg1.y;
_arg1.addEventListener(MouseEvent.MOUSE_DOWN, mousePressed);
_arg1.addEventListener(MouseEvent.MOUSE_UP, mouseReleased);
_arg1.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler);
_arg1.addEventListener(MouseEvent.MOUSE_OUT, mouseOutHandler);
show();
activate();
setOn();
}
public function setOn(){
over = false;
this.buttonState = BUTTON_STATE_ON;
}
public function setOff(){
over = false;
this.buttonState = BUTTON_STATE_OFF;
}
public function tick(){
switch (buttonState){
case BUTTON_STATE_ON:
animFrame = 1;
if (over){
animFrame = 2;
};
break;
case BUTTON_STATE_ON_DOWN:
animFrame = 3;
break;
case BUTTON_STATE_OFF:
animFrame = 4;
if (over){
animFrame = 5;
};
break;
case BUTTON_STATE_OFF_DOWN:
animFrame = 6;
break;
};
}
public function render(){
clip.visible = visible;
clip.x = posX;
clip.y = posY;
clip.gotoAndStop(animFrame);
}
public function setPosition(_arg1:int, _arg2:int){
this.posX = _arg1;
this.posY = _arg2;
}
public function isOn():Boolean{
if ((((buttonState == BUTTON_STATE_ON)) || ((buttonState == BUTTON_STATE_ON_DOWN)))){
return (true);
};
return (false);
}
public function show(){
visible = true;
activate();
}
public function hide(){
visible = false;
deactivate();
}
public function activate(){
activated = true;
}
public function deactivate(){
over = false;
activated = false;
}
private function mouseReleased(_arg1:MouseEvent){
if (activated == false){
return;
};
switch (buttonState){
case BUTTON_STATE_ON_DOWN:
buttonState = BUTTON_STATE_OFF;
break;
case BUTTON_STATE_OFF_DOWN:
buttonState = BUTTON_STATE_ON;
break;
};
}
private function mousePressed(_arg1:MouseEvent){
if (activated == false){
return;
};
switch (buttonState){
case BUTTON_STATE_ON:
buttonState = BUTTON_STATE_ON_DOWN;
break;
case BUTTON_STATE_OFF:
buttonState = BUTTON_STATE_OFF_DOWN;
break;
};
}
private function mouseOverHandler(_arg1:MouseEvent){
if (activated == false){
return;
};
over = true;
}
private function mouseOutHandler(_arg1:MouseEvent){
if (activated == false){
return;
};
over = false;
switch (buttonState){
case BUTTON_STATE_ON_DOWN:
buttonState = BUTTON_STATE_OFF;
break;
case BUTTON_STATE_OFF_DOWN:
buttonState = BUTTON_STATE_ON;
break;
};
}
}
}//package puzzlegame
Section 34
//NormalGraphicBrick (puzzlegame.NormalGraphicBrick)
package puzzlegame {
import flash.display.*;
import bitmap_classes.*;
class NormalGraphicBrick extends GraphicBrick {
private var animalType:int;
private var bitmapData:BitmapData;
private var hidingAnimal:Boolean;
private var highLight:Boolean;
private var type:int;
private var showRedBoarder:Boolean;
private var redBlink:Boolean;
private var redBlinkCounter:int;
private var shineOn:Boolean;
private var shineFirstTick:Boolean;
private var shineFrame:int;
private var shineFrameNumber:Number;
private var shineAnimSpeed:Number;
private var shineLastFrame:int;
private var shakeOn:Boolean;
private var shakeFirstTick:Boolean;
private var shakeFrame:int;
private var shakeFrameNumber:Number;
private var shakeAnimSpeed:Number;
private var shakeLastFrame:int;
private var shakeLoopCounter:int;
private var keyOn:Boolean;
private var keyFirstTick:Boolean;
private var keyFrame:int;
private var keyFrameNumber:Number;
private var keyAnimSpeed:Number;
private var keyLastFrame:int;
private var lockedSequence:BitmapSequence;
public static var RED_BLINK_TIME:int = 30;
public static var ANIMAL_TYPE_CAT:int = 0;
public static var ANIMAL_TYPE_BIRD:int = 1;
public static var ANIMAL_TYPE_DOG:int = 2;
function NormalGraphicBrick(){
hideHidingAnimal();
turnOffHighlight();
shineOn = false;
shineLastFrame = (Render.boxShineSequence.getLength() - 1);
shineAnimSpeed = 0.4;
shakeOn = false;
shakeLastFrame = (Render.boxShakeSequence.getLength() - 1);
shakeAnimSpeed = 0.4;
keyOn = false;
setupLockedAnimation(0);
}
override public function tick(){
var _local1:int;
if (redBlink){
redBlinkCounter++;
if ((redBlinkCounter % 10) == 0){
if (showRedBoarder == true){
showRedBoarder = false;
} else {
showRedBoarder = true;
};
if (redBlinkCounter >= RED_BLINK_TIME){
stopRedBlink();
};
};
};
if (shineOn){
if (shineFirstTick == true){
shineFirstTick = false;
} else {
shineFrameNumber = (shineFrameNumber + shineAnimSpeed);
shineFrame = int(shineFrameNumber);
};
if (shineFrame > shineLastFrame){
shineOn = false;
};
} else {
if (hidingAnimal == false){
_local1 = int((Math.random() * 3000));
if (_local1 == 0){
turnOnShine();
};
};
};
if (shakeOn){
if (shakeFirstTick == true){
shakeFirstTick = false;
} else {
shakeFrameNumber = (shakeFrameNumber + shakeAnimSpeed);
shakeFrame = int(shakeFrameNumber);
};
if (shakeFrame > shakeLastFrame){
shakeFrameNumber = 0;
shakeFrame = 0;
shakeLoopCounter++;
if (shakeLoopCounter == 4){
shakeOn = false;
};
};
} else {
if (hidingAnimal == true){
if (keyOn == false){
_local1 = int((Math.random() * 100));
if (_local1 == 0){
turnOnKey();
};
};
};
};
if (keyOn){
if (keyFirstTick == true){
keyFirstTick = false;
} else {
keyFrameNumber = (keyFrameNumber + keyAnimSpeed);
keyFrame = int(keyFrameNumber);
};
if (keyFrame > keyLastFrame){
keyFrameNumber = 0;
keyFrame = 0;
keyOn = false;
};
};
}
override public function render(){
Render.bitmapRender.renderCall(bitmapData, posX, posY);
if (showRedBoarder){
Render.bitmapRender.renderCall(Render.bitmapDataRedFireBorder, posX, posY);
};
if (shineOn){
Render.boxShineSequence.renderCall(shineFrame, posX, posY);
};
if (shakeOn){
switch (type){
case Brick.COLOR_RED:
Render.boxShakeSequence.renderCall(shakeFrame, posX, posY);
break;
case Brick.COLOR_GREEN:
Render.cageShakeSequence.renderCall(shakeFrame, posX, posY);
break;
case Brick.COLOR_BLUE:
Render.fanShakeSequence.renderCall(shakeFrame, posX, posY);
break;
case Brick.COLOR_YELLOW:
Render.pluppShakeSequence.renderCall(shakeFrame, posX, posY);
break;
};
};
if (hidingAnimal == true){
if (keyOn){
lockedSequence.renderCall(keyFrame, posX, posY);
} else {
lockedSequence.renderCall(keyFrame, posX, posY);
};
};
}
public function setType(_arg1:int){
this.type = _arg1;
switch (_arg1){
case Brick.COLOR_RED:
if (highLight == false){
bitmapData = Render.bitmapDataRedBlock;
} else {
bitmapData = Render.bitmapDataRedBlockMark;
};
break;
case Brick.COLOR_GREEN:
if (highLight == false){
bitmapData = Render.bitmapDataGreenBlock;
} else {
bitmapData = Render.bitmapDataGreenBlockMark;
};
break;
case Brick.COLOR_BLUE:
if (highLight == false){
bitmapData = Render.bitmapDataBlueBlock;
} else {
bitmapData = Render.bitmapDataBlueBlockMark;
};
break;
case Brick.COLOR_YELLOW:
if (highLight == false){
bitmapData = Render.bitmapDataYellowBlock;
} else {
bitmapData = Render.bitmapDataYellowBlockMark;
};
break;
};
}
private function setupLockedAnimation(_arg1){
switch (_arg1){
case ANIMAL_TYPE_CAT:
lockedSequence = Render.lockedCatSequence;
break;
case ANIMAL_TYPE_BIRD:
lockedSequence = Render.lockedBirdSequence;
break;
case ANIMAL_TYPE_DOG:
lockedSequence = Render.lockedDogSequence;
break;
};
keyLastFrame = (lockedSequence.getLength() - 1);
keyAnimSpeed = 0.6;
}
public function showHidingAnimal(_arg1:int){
this.animalType = _arg1;
hidingAnimal = true;
setupLockedAnimation(_arg1);
}
public function hideHidingAnimal(){
turnOffKey();
hidingAnimal = false;
}
public function turnOnHighlight(){
highLight = true;
setType(type);
}
public function turnOffHighlight(){
highLight = false;
setType(type);
}
public function startRedBlink(){
redBlink = true;
showRedBoarder = true;
redBlinkCounter = 0;
}
public function stopRedBlink(){
redBlink = false;
showRedBoarder = false;
}
private function turnOnShine(){
shineOn = true;
shineFirstTick = true;
shineFrame = 0;
shineFrameNumber = 0;
shineFrame = 0;
}
private function turnOnShake(){
}
private function turnOnKey(){
keyOn = true;
keyFirstTick = true;
keyFrameNumber = 0;
keyFrame = int(keyFrameNumber);
keyFrame = 0;
}
private function turnOffKey(){
keyOn = false;
}
}
}//package puzzlegame
Section 35
//Popup (puzzlegame.Popup)
package puzzlegame {
class Popup {
public var posX:Number;
public var posY:Number;
public var frame:int;
public var removeFlag:Boolean;
public var nrFrames:int;
public var firstTick:Boolean;
public var flagForRemovalNextUpdate:Boolean;
public var frameNumber:Number;
public var animSpeed:Number;
public var lastFrame:int;
function Popup(){
removeFlag = false;
flagForRemovalNextUpdate = false;
frame = 0;
frameNumber = 0;
lastFrame = 0;
animSpeed = 1;
firstTick = true;
}
public function tick(){
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 render(){
}
public function setPos(_arg1:Number, _arg2:Number){
this.posX = _arg1;
this.posY = _arg2;
}
public function flagForRemoval(){
removeFlag = true;
}
public function deleting(){
}
}
}//package puzzlegame
Section 36
//PuzzleGame (puzzlegame.PuzzleGame)
package puzzlegame {
import flash.display.*;
import flash.events.*;
import flash.net.*;
import flash.utils.*;
import flash.text.*;
import flash.ui.*;
import flash.external.*;
public class PuzzleGame extends MovieClip {
public var game_score_txt:TextField;
public var soundButton_mc:MovieClip;
public var handHolder_mc:MovieClip;
public var symbol1_mc:MovieClip;
public var introClip_mc:IntroClip;
public var game_saves_txt:TextField;
public var game_time_txt:TextField;
public var tick_txt:TextField;
public var exitButton_mc:MovieClip;
public var scorePopupHolder_mc:MovieClip;
public var fps_txt:TextField;
public var signsHolder_mc:MovieClip;
public var musicButton_mc:MovieClip;
private var state:int;
private var timer:Timer;
private var input:Input;
private var randomSeed:int;
private var gameHandler:GameHandler;
private var hasInitialized:Boolean;
private var renderFPS:Number;// = 0
private var renderStartTime:Number;
private var hand:Hand;
private var introClip:IntroClip;
private var outroClip:OutroClip;
private var tickCounter:int;
private var bestComboEver:int;
private var bestClearencePercentEver:int;
private var mostPetsSavedEver:int;
private var bestScoreEver:int;
private var petsSavedInAllGames:int;
private var musicOn:Boolean;
private var soundOn:Boolean;
private var exitGame:Boolean;
private var musicButton:MyButton;
private var soundButton:MyButton;
private var exitButton:MyButton;
private var timeToQuit:Boolean;
private var quitCounter:int;
private var trophiesOverText:String;// = ""
public static var DEBUG_MODE:Boolean = false;
public static var STATE_INTRO_SCREEN:int = 0;
public static var STATE_GAME:int = 1;
public static var STATE_END_SCREEN:int = 2;
public static var STATE_END_OPEN_GAME_SCREEN:int = 3;
public static var INTRO_SCREEN_TICK_TIME = 700;
public static var END_SCREEN_TICK_TIME = 375;
public static var END_SCREEN_TICK_TIME_OPEN_GAME = 125;
private static var GAME_DATA:String = ((((((((((((((((((((((((((((((((("<gamedata randomseed=\"\" timelimit=\"660\" lang=\"de\" combo=\"1\" clerence=\"2\" petssaved=\"3\" score=\"4\" savedalltime=\"5\" musicon=\"1\" soundson=\"1\" relaxMode=\"true\">" + "<text id=\"instructions_text1\">The buildning is burning and the pets are trapped! Clear the coloured blocks before they catch fire to save the pets.</text>") + "<text id=\"instructions_text2_1\">You can clear two adjacent blocks or more at the time. If you clear bigger groups you earn water hoses to put out burning blocks.</text>") + "<text id=\"instructions_text2_2\">The fire spreads, so keep it under control. Klick to put it out.</text>") + "<text id=\"instructions_text3\">You get more points for bringing the animals all the way down to the ground. But you can also use the rescue helicopters to save animals that are trapped.</text>") + "<text id=\"end_level_header_completed\">LEVEL COMPLETED</text>") + "<text id=\"end_level_header_fail\">LEVEL FAILED</text>") + "<text id=\"end_level_header_times_up\">TIME'S UP</text>") + "<text id=\"end_level_score\">SCORE</text>") + "<text id=\"end_level_clearence_bonus\">CLEARENCE BONUS</text>") + "<text id=\"end_level_hoses_bonus\">WATER HOSES SAVED BONUS</text>") + "<text id=\"end_level_helicopters_bonus\">SAVED HELICOPTERS BONUS</text>") + "<text id=\"end_level_total_score\">TOTAL SCORE</text>") + "<text id=\"start_level_header\">Level</text>") + "<text id=\"end_sign_header\">GAME END</text>") + "<text id=\"end_sign_this_game_header\">This Game</text>") + "<text id=\"end_sign_best_ever_header\">Best ever</text>") + "<text id=\"end_sign_biggest_combo\">BIGGEST COMBO</text>") + "<text id=\"end_sign_clearence\">CLEARENCE PERCENT</text>") + "<text id=\"end_sign_pets_saved\">PETS SAVED</text>") + "<text id=\"end_sign_score\">SCORE</text>") + "<text id=\"end_sign_pets_saved_alltime\">PETS SAVED IN ALL GAMES PLAYED</text>") + "<text id=\"end_sign_trophy_one_over\">Save 2000 pets for this trophy</text>") + "<text id=\"end_sign_trophy_two_over\">Save 1000 pets for this trophy</text>") + "<text id=\"end_sign_trophy_three_over\">Save 200 pets for this trophy</text>") + "<text id=\"game_time\">TIME</text>") + "<text id=\"game_score\">SCORE</text>") + "<text id=\"game_saves\">SAVES</text>") + "<text id=\"game_starts_in\">GAME STARTS IN [0] SECONDS</text>") + "<text id=\"game_ends_in\">GAME ENDS IN [0] SECONDS</text>") + "<text id=\"level_starts_in\">CONTINUES IN [0] SECONDS</text>") + "<text id=\"open_game_text\">aSignup to\nplay\nthe full game</text>") + "<userType id=\"0\">1</userType>") + "</gamedata>");
public function PuzzleGame(){
Communicator.normal = !(DEBUG_MODE);
stage.frameRate = 25;
this.scorePopupHolder_mc.symbol_mc.visible = false;
Render.scorePopupHolderClip = this.scorePopupHolder_mc;
this.signsHolder_mc.symbol_mc.visible = false;
Render.signsHolderClip = this.signsHolder_mc;
this.handHolder_mc.symbol_mc.visible = false;
Render.handHolderClip = this.handHolder_mc;
this.handHolder_mc.mouseEnabled = false;
this.handHolder_mc.mouseChildren = false;
Mouse.hide();
if (DEBUG_MODE == true){
GameXMLLoader.load();
};
hasInitialized = false;
hand = new Hand();
introClip = this.introClip_mc;
if (DEBUG_MODE == false){
getGameData();
};
Communicator.parseGameData(GAME_DATA);
randomSeed = Communicator.randomSeed;
Communicator.moneyGame = !(DEBUG_MODE);
bestComboEver = Communicator.bestCombo;
bestClearencePercentEver = Communicator.bestClerence;
mostPetsSavedEver = Communicator.mostPetsSaved;
bestScoreEver = Communicator.bestScore;
petsSavedInAllGames = Communicator.savedAllTime;
tickCounter = 0;
state = STATE_INTRO_SCREEN;
timer = new Timer(25);
addEventListener("enterFrame", advanceTime);
stage.addEventListener(MouseEvent.MOUSE_DOWN, mousePressed);
stage.addEventListener(MouseEvent.MOUSE_UP, mouseReleased);
musicOn = Communicator.musicOn;
soundOn = Communicator.soundsOn;
exitGame = false;
musicButton = new MyButton(musicButton_mc);
soundButton = new MyButton(soundButton_mc);
exitButton = new MyButton(exitButton_mc);
musicButton.setPosition(30, 574);
soundButton.setPosition(60, 574);
if (musicOn){
musicButton.setOn();
MusicSounds.soundOn();
} else {
musicButton.setOff();
MusicSounds.soundOffDirect();
};
if (soundOn){
soundButton.setOn();
Sounds.soundOn();
} else {
soundButton.setOff();
Sounds.soundOffDirect();
};
exitButton.deactivate();
exitButton.hide();
timeToQuit = false;
}
private function init(){
input = new Input();
input.init();
gameHandler = new GameHandler(symbol1_mc, input, randomSeed, this, hand);
gameHandler.init();
setIngameGUITexts();
MusicSounds.startIntroLoop();
}
private function update(_arg1:Event){
if ((((DEBUG_MODE == true)) && ((GameXMLLoader.loadingFinished() == false)))){
return;
};
if (hasInitialized == false){
init();
hasInitialized = true;
return;
};
tick();
render();
}
private function advanceTime(_arg1:Event):void{
if ((((DEBUG_MODE == true)) && ((GameXMLLoader.loadingFinished() == false)))){
return;
};
if (hasInitialized == false){
init();
hasInitialized = true;
return;
};
var _local2:* = timer.advanceTime();
var _local3:* = 0;
while (_local3 < _local2) {
tick();
_local3++;
};
render();
}
private function tick(){
musicButton.tick();
soundButton.tick();
exitButton.tick();
if ((((gameHandler.getState() == GameHandler.STATE_OPEN_GAME_SIGN)) && (!(exitButton.isOn())))){
exitButton.deactivate();
exitButton.hide();
};
if ((((musicButton.isOn() == true)) && ((musicOn == false)))){
musicOn = true;
MusicSounds.soundOn();
};
if ((((musicButton.isOn() == false)) && ((musicOn == true)))){
musicOn = false;
MusicSounds.soundOff();
};
MusicSounds.update();
if ((((soundButton.isOn() == true)) && ((soundOn == false)))){
soundOn = true;
Sounds.soundOn();
};
if ((((soundButton.isOn() == false)) && ((soundOn == true)))){
soundOn = false;
Sounds.soundOff();
};
Sounds.update();
if ((((exitButton.isOn() == false)) && ((exitGame == false)))){
exitButton.deactivate();
exitGame = true;
gameHandler.forceGameEnd();
};
tickCounter++;
input.setMousePos(this.mouseX, this.mouseY);
hand.posX = input.xMouse;
hand.posY = input.yMouse;
if (input.mouseIsPressed){
};
hand.tick();
switch (state){
case STATE_INTRO_SCREEN:
if (tickCounter == 3){
hand.addToHolderClip();
};
introSingTexts(tickCounter);
if ((((((tickCounter == INTRO_SCREEN_TICK_TIME)) || (input.mouseIsReleased))) && ((tickCounter >= 3)))){
musicButton.setPosition(52, 462);
soundButton.setPosition(83, 462);
exitButton.setPosition(113, 462);
removeChild(introClip);
introClip = null;
stage.frameRate = 120;
MusicSounds.stopIntroLoop();
MusicSounds.startGameLoop();
startGame();
};
break;
case STATE_GAME:
gameHandler.tick();
if (gameHandler.hasGameEnded() == true){
if (Communicator.openGame){
endOpenGame();
} else {
endGame();
};
};
break;
case STATE_END_SCREEN:
if (outroClip){
outroSignTexts(tickCounter);
};
if (timeToQuit){
quitCounter++;
if (quitCounter == 50){
trace("It's easier than you think!");
url = "index.php?act=Arcade&do=newscore";
request = new URLRequest(url);
variables = new URLVariables();
variables.gname = "PetRescueAS3v2DOT";
variables.gscore = String(gameHandler.getScore());
request.data = variables;
request.method = URLRequestMethod.POST;
navigateToURL(request, "_self");
Communicator.gameQuit();
};
} else {
if (Communicator.openGame){
if (((input.mouseIsReleased) && ((tickCounter > 1)))){
tickCounter = END_SCREEN_TICK_TIME_OPEN_GAME;
};
if (tickCounter == END_SCREEN_TICK_TIME_OPEN_GAME){
timeToQuit = true;
quitCounter = 0;
};
} else {
if (((input.mouseIsReleased) && ((tickCounter > 1)))){
tickCounter = END_SCREEN_TICK_TIME;
};
if (tickCounter == END_SCREEN_TICK_TIME){
timeToQuit = true;
quitCounter = 0;
};
};
};
break;
case STATE_END_OPEN_GAME_SCREEN:
break;
};
input.reset();
}
private function render(){
var _local1:Number;
musicButton.render();
soundButton.render();
exitButton.render();
switch (state){
case STATE_INTRO_SCREEN:
if (introClip){
introClip.gotoAndStop(tickCounter);
};
break;
};
if (state == STATE_GAME){
gameHandler.render();
};
hand.render();
if (renderFPS == 0){
renderStartTime = getTimer();
} else {
_local1 = ((getTimer() - renderStartTime) / 1000);
if (_local1 >= 1){
fps_txt.text = String(renderFPS);
renderFPS = -1;
};
};
renderFPS++;
}
private function getGameData(){
var _local1:Object = ExternalInterface.call("getGameData");
if ((((_local1 == null)) || (!(_local1.success)))){
} else {
GAME_DATA = _local1.message;
};
}
private function startGame(){
Communicator.gameStarted();
exitButton.activate();
exitButton.show();
gameHandler.initLevel();
gameHandler.resetGameTickCounter();
tickCounter = 0;
state = STATE_GAME;
}
private function endGame(){
musicButton.setPosition(30, 574);
soundButton.setPosition(60, 574);
exitButton.setPosition(90, 574);
exitButton.deactivate();
exitButton.hide();
outroClip = new OutroClip();
outroClip.x = 377;
outroClip.y = 300;
outroClip.trophy1_mc.visible = false;
outroClip.trophy2_mc.visible = false;
outroClip.trophy3_mc.visible = false;
Render.signsHolderClip.addChild(outroClip);
initTrophiesMouseOver();
stage.frameRate = 25;
setStatistics();
if ((((exitGame == false)) && (gameHandler.happyEnding()))){
outroAnimals(true);
} else {
outroAnimals(false);
};
setTrophies(petsSavedInAllGames);
tickCounter = 0;
state = STATE_END_SCREEN;
MusicSounds.stopGameLoop();
MusicSounds.startOutroLoop();
var _local1:int;
var _local2:int;
if (soundOn){
_local1 = 1;
};
if (musicOn){
_local2 = 1;
};
Communicator.sendPlayData3(90, gameHandler.game.gameTickCounter, gameHandler.game.getTickTime(), _local1, _local2);
Communicator.gameEnd(gameHandler.getScore());
}
private function endOpenGame(){
state = STATE_END_OPEN_GAME_SCREEN;
Communicator.gameQuit();
}
private function setGameStartsIn(_arg1:int){
var _local2:Number = Math.floor((_arg1 / 25));
if (_local2 < 0){
_local2 = 0;
};
var _local3:String = String(_local2);
var _local4:String = TextProperties.GAME_STARTS_IN;
_local4 = _local4.split("[0]").join(_local3);
if (introClip){
if (introClip.game_starts_in_txt){
introClip.game_starts_in_txt.text = _local4;
};
};
}
private function introSingTexts(_arg1:int){
setGameStartsIn((INTRO_SCREEN_TICK_TIME - _arg1));
if (introClip){
if (introClip.text1_txt){
introClip.text1_txt.text = TextProperties.INSTRUCTIONS_TEXT1;
};
if (_arg1 == 1){
introClip.text1_txt.visible = false;
introClip.text2_1_txt.visible = false;
introClip.text2_2_txt.visible = false;
introClip.text3_txt.visible = false;
};
if (_arg1 == 126){
introClip.text1_txt.visible = true;
};
if (_arg1 == 296){
introClip.text1_txt.visible = false;
};
if (introClip.text2_1_txt){
introClip.text2_1_txt.text = TextProperties.INSTRUCTIONS_TEXT2_1;
};
if (introClip.text2_2_txt){
introClip.text2_2_txt.text = TextProperties.INSTRUCTIONS_TEXT2_2;
};
if (_arg1 == 302){
introClip.text2_1_txt.visible = true;
introClip.text2_2_txt.visible = true;
};
if (_arg1 == 490){
introClip.text2_1_txt.visible = false;
introClip.text2_2_txt.visible = false;
};
if (introClip.text3_txt){
introClip.text3_txt.text = TextProperties.INSTRUCTIONS_TEXT3;
};
if (_arg1 == 497){
introClip.text3_txt.visible = true;
};
if (_arg1 == 698){
introClip.text3_txt.visible = false;
};
};
}
private function setGameEndsIn(_arg1:int){
var _local2:Number = Math.floor((_arg1 / 25));
if (_local2 < 0){
_local2 = 0;
};
var _local3:String = String(_local2);
var _local4:String = TextProperties.GAME_ENDS_IN;
_local4 = _local4.split("[0]").join(_local3);
if (outroClip){
if (outroClip.game_ends_in_txt){
outroClip.game_ends_in_txt.text = _local4;
};
};
}
private function outroSignTexts(_arg1:int){
if (Communicator.openGame){
setGameEndsIn((END_SCREEN_TICK_TIME_OPEN_GAME - _arg1));
} else {
setGameEndsIn((END_SCREEN_TICK_TIME - _arg1));
};
END_SCREEN_TICK_TIME_OPEN_GAME;
if (outroClip.header_txt){
outroClip.header_txt.text = TextProperties.END_SIGN_HEADER;
};
if (outroClip.this_game_heading_txt){
outroClip.this_game_heading_txt.text = TextProperties.END_SIGN_GAME_HEADER;
};
if (outroClip.best_ever_heading_txt){
outroClip.best_ever_heading_txt.text = TextProperties.END_SIGN_BEST_EVER;
};
if (outroClip.combo_txt){
outroClip.combo_txt.text = TextProperties.END_SIGN_BIGGEST_COMBO;
};
if (outroClip.combo_game_txt){
outroClip.combo_game_txt.text = String(gameHandler.getBestCombo());
};
if (outroClip.combo_best_txt){
outroClip.combo_best_txt.text = String(bestComboEver);
};
if (outroClip.clearence_txt){
outroClip.clearence_txt.text = TextProperties.END_SIGN_CLEARENCE;
};
if (outroClip.clearence_game_txt){
outroClip.clearence_game_txt.text = String(gameHandler.getClearencePercent());
};
if (outroClip.clearence_best_txt){
outroClip.clearence_best_txt.text = String(bestClearencePercentEver);
};
if (outroClip.saved_txt){
outroClip.saved_txt.text = TextProperties.END_SIGN_PETS_SAVED;
};
if (outroClip.saved_game_txt){
outroClip.saved_game_txt.text = String(gameHandler.getPetsSaved());
};
if (outroClip.saved_best_txt){
outroClip.saved_best_txt.text = String(mostPetsSavedEver);
};
if (outroClip.score_txt){
outroClip.score_txt.text = TextProperties.END_SIGN_SCORE;
};
if (outroClip.score_game_txt){
outroClip.score_game_txt.text = String(gameHandler.getScore());
};
if (outroClip.total_score_best_txt){
outroClip.total_score_best_txt.text = String(bestScoreEver);
};
if (outroClip.trophies_over_txt){
outroClip.trophies_over_txt.text = trophiesOverText;
};
if (outroClip.pets_saved_alltime_header_txt){
outroClip.pets_saved_alltime_header_txt.text = TextProperties.END_SIGN_PETS_SAVED_ALLTIME;
};
if (outroClip.pets_saved_alltime_txt){
outroClip.pets_saved_alltime_txt.text = String(petsSavedInAllGames);
};
}
private function setIngameGUITexts(){
if (game_time_txt){
game_time_txt.text = TextProperties.GAME_TIME;
};
if (game_score_txt){
game_score_txt.text = TextProperties.GAME_SCORE;
};
if (game_saves_txt){
game_saves_txt.text = TextProperties.GAME_SAVES;
};
}
private function setStatistics(){
if (gameHandler.getBestCombo() > bestComboEver){
bestComboEver = gameHandler.getBestCombo();
};
if (gameHandler.getClearencePercent() > bestClearencePercentEver){
bestClearencePercentEver = gameHandler.getClearencePercent();
};
if (gameHandler.getPetsSaved() > mostPetsSavedEver){
mostPetsSavedEver = gameHandler.getPetsSaved();
};
if (gameHandler.getScore() > bestScoreEver){
bestScoreEver = gameHandler.getScore();
};
petsSavedInAllGames = (petsSavedInAllGames + gameHandler.getPetsSaved());
}
private function outroAnimals(_arg1:Boolean){
if (_arg1){
outroClip.cat_sad_mc.visible = false;
outroClip.dog_sad_mc.visible = false;
outroClip.bird_sad_mc.visible = false;
} else {
outroClip.cat_happy_mc.visible = false;
outroClip.dog_happy_mc.visible = false;
outroClip.bird_happy_mc.visible = false;
};
}
private function setTrophies(_arg1:int){
if (_arg1 >= 200){
outroClip.trophy3_mc.visible = true;
outroClip.gray3_mc.visible = false;
};
if (_arg1 >= 1000){
outroClip.trophy2_mc.visible = true;
outroClip.gray2_mc.visible = false;
};
if (_arg1 >= 2000){
outroClip.trophy1_mc.visible = true;
outroClip.gray1_mc.visible = false;
};
}
private function initTrophiesMouseOver(){
outroClip.trophy1_mc.mouseEnabled = false;
outroClip.trophy1_mc.mouseChildren = false;
outroClip.gray1_mc.mouseEnabled = false;
outroClip.gray1_mc.mouseChildren = false;
outroClip.trophy1Collision_mc.addEventListener(MouseEvent.MOUSE_OVER, trophyOneMouseOverHandler);
outroClip.trophy1Collision_mc.addEventListener(MouseEvent.MOUSE_OUT, trophyOneMouseOutHandler);
outroClip.trophy2_mc.mouseEnabled = false;
outroClip.trophy2_mc.mouseChildren = false;
outroClip.gray2_mc.mouseEnabled = false;
outroClip.gray2_mc.mouseChildren = false;
outroClip.trophy2Collision_mc.addEventListener(MouseEvent.MOUSE_OVER, trophyTwoMouseOverHandler);
outroClip.trophy2Collision_mc.addEventListener(MouseEvent.MOUSE_OUT, trophyTwoMouseOutHandler);
outroClip.trophy3_mc.mouseEnabled = false;
outroClip.trophy3_mc.mouseChildren = false;
outroClip.gray3_mc.mouseEnabled = false;
outroClip.gray3_mc.mouseChildren = false;
outroClip.trophy3Collision_mc.addEventListener(MouseEvent.MOUSE_OVER, trophyThreeMouseOverHandler);
outroClip.trophy3Collision_mc.addEventListener(MouseEvent.MOUSE_OUT, trophyThreeMouseOutHandler);
}
private function trophyOneMouseOverHandler(_arg1:MouseEvent){
trophiesOverText = TextProperties.END_SIGN_TROPHY_ONE_OVER;
if (petsSavedInAllGames < 2000){
outroClip.trophy1_mc.visible = true;
outroClip.gray1_mc.visible = false;
outroClip.trophy1_mc.alpha = 0.5;
};
}
private function trophyOneMouseOutHandler(_arg1:MouseEvent){
trophiesOverText = "";
if (petsSavedInAllGames < 2000){
outroClip.trophy1_mc.visible = false;
outroClip.gray1_mc.visible = true;
outroClip.trophy1_mc.alpha = 1;
};
}
private function trophyTwoMouseOverHandler(_arg1:MouseEvent){
trophiesOverText = TextProperties.END_SIGN_TROPHY_TWO_OVER;
if (petsSavedInAllGames < 1000){
outroClip.trophy2_mc.visible = true;
outroClip.gray2_mc.visible = false;
outroClip.trophy2_mc.alpha = 0.5;
};
}
private function trophyTwoMouseOutHandler(_arg1:MouseEvent){
trophiesOverText = "";
if (petsSavedInAllGames < 1000){
outroClip.trophy2_mc.visible = false;
outroClip.gray2_mc.visible = true;
outroClip.trophy2_mc.alpha = 1;
};
}
private function trophyThreeMouseOverHandler(_arg1:MouseEvent){
trophiesOverText = TextProperties.END_SIGN_TROPHY_THREE_OVER;
if (petsSavedInAllGames < 200){
outroClip.trophy3_mc.visible = true;
outroClip.gray3_mc.visible = false;
outroClip.trophy3_mc.alpha = 0.5;
};
}
private function trophyThreeMouseOutHandler(_arg1:MouseEvent){
trophiesOverText = "";
if (petsSavedInAllGames < 200){
outroClip.trophy3_mc.visible = false;
outroClip.gray3_mc.visible = true;
outroClip.trophy3_mc.alpha = 1;
};
}
private function mousePressed(_arg1:MouseEvent){
if (input){
if ((((((((((state == STATE_GAME)) && ((_arg1.stageX >= 38)))) && ((_arg1.stageX <= 132)))) && ((_arg1.stageY >= 448)))) && ((_arg1.stageX <= 484)))){
} else {
if ((((((((_arg1.stageX >= 13)) && ((_arg1.stageX <= 107)))) && ((_arg1.stageY >= 555)))) && ((_arg1.stageX <= 591)))){
} else {
input.mousePressed();
};
};
hand.grep();
};
}
private function mouseReleased(_arg1:MouseEvent){
if (input){
if ((((((((((state == STATE_GAME)) && ((_arg1.stageX >= 38)))) && ((_arg1.stageX <= 132)))) && ((_arg1.stageY >= 448)))) && ((_arg1.stageY <= 484)))){
} else {
if ((((((((_arg1.stageX >= 13)) && ((_arg1.stageX <= 107)))) && ((_arg1.stageY >= 555)))) && ((_arg1.stageY <= 591)))){
} else {
input.mouseReleased();
};
};
};
}
}
}//package puzzlegame
Section 37
//Random (puzzlegame.Random)
package puzzlegame {
import flash.utils.*;
public class Random {
private var mta:Array;
private var lastSeed:Number;
private var mti:Number;
public static var nr:int = 0;
private static var N:Number = 624;
private static var M:Number = 397;
private static var MATRIX_A:Number = 2567483615;
private static var UPPER_MASK:Number = 2147483648;
private static var LOWER_MASK:Number = 2147483647;
private static var mag01:Array = [0, 2567483615];
public function Random(_arg1:Number){
mta = new Array(N);
mti = (N + 1);
if (_arg1){
init_genrand(_arg1);
};
}
public function set seed(_arg1:Number){
init_genrand(_arg1);
}
public function get seed():Number{
return (lastSeed);
}
public function nextInt(_arg1:Number){
nr++;
return (((genrand_int32() & 2147483647) % _arg1));
}
public function nextFloat(){
return ((next(24) / (1 << 24)));
}
public function nextDouble(){
return ((next(24) / (1 << 24)));
}
public function next(_arg1:Number){
if (_arg1 < 32){
return ((genrand_int32() & ((1 << _arg1) - 1)));
};
return (genrand_int32());
}
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();
}
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 puzzlegame
Section 38
//Render (puzzlegame.Render)
package puzzlegame {
import flash.display.*;
import bitmap_classes.*;
class Render {
public static var scorePopupHolderClip:MovieClip;
public static var signsHolderClip:MovieClip;
public static var handHolderClip:MovieClip;
public static var bitmapRender:BitmapRender;
public static var bitmapDataRedBlock:BitmapData;
public static var bitmapDataGreenBlock:BitmapData;
public static var bitmapDataBlueBlock:BitmapData;
public static var bitmapDataYellowBlock:BitmapData;
public static var bitmapDataRedBlockMark:BitmapData;
public static var bitmapDataGreenBlockMark:BitmapData;
public static var bitmapDataBlueBlockMark:BitmapData;
public static var bitmapDataYellowBlockMark:BitmapData;
public static var bitmapDataDogPic:BitmapData;
public static var bitmapDataDogFire:BitmapData;
public static var bitmapDataFirePic:BitmapData;
public static var bitmapDataMarker:BitmapData;
public static var bitmapDataCourt:BitmapData;
public static var bitmapDataMicroDog:BitmapData;
public static var bitmapDataScrollBackground:BitmapData;
public static var bitmapBackground:BitmapData;
public static var bitmapDataCat:BitmapData = new katt_intro(0, 0);
public static var catSequence:BitmapSequence;
public static var bitmapDataCatBlink1:BitmapData = new katt_blink01(0, 0);
public static var bitmapDataCatBlink2:BitmapData = new katt_blink02(0, 0);
public static var bitmapDataCatBlink3:BitmapData = new katt_blink03(0, 0);
public static var catIdleBlinkSequence:BitmapSequence;
public static var bitmapDataCatTongue1:BitmapData = new katt_tunga01(0, 0);
public static var bitmapDataCatTongue2:BitmapData = new katt_tunga02(0, 0);
public static var bitmapDataCatTongue3:BitmapData = new katt_tunga03(0, 0);
public static var bitmapDataCatTongue4:BitmapData = new katt_tunga04(0, 0);
public static var bitmapDataCatTongue5:BitmapData = new katt_tunga05(0, 0);
public static var bitmapDataCatTongue6:BitmapData = new katt_tunga06(0, 0);
public static var bitmapDataCatTongue7:BitmapData = new katt_tunga07(0, 0);
public static var catIdleTongueSequence:BitmapSequence;
public static var bitmapDataCatLookDown1:BitmapData = new katt_tittarner01(0, 0);
public static var bitmapDataCatLookDown2:BitmapData = new katt_tittarner02(0, 0);
public static var bitmapDataCatLookDown3:BitmapData = new katt_tittarner03(0, 0);
public static var bitmapDataCatLookDown4:BitmapData = new katt_tittarner04(0, 0);
public static var bitmapDataCatLookDown5:BitmapData = new katt_tittarner05(0, 0);
public static var bitmapDataCatLookDown6:BitmapData = new katt_tittarner06(0, 0);
public static var bitmapDataCatLookDown7:BitmapData = new katt_tittarner07(0, 0);
public static var bitmapDataCatLookDown8:BitmapData = new katt_tittarner08(0, 0);
public static var bitmapDataCatLookDown9:BitmapData = new katt_tittarner09(0, 0);
public static var bitmapDataCatLookDown10:BitmapData = new katt_tittarner10(0, 0);
public static var bitmapDataCatLookDown11:BitmapData = new katt_tittarner11(0, 0);
public static var bitmapDataCatLookDown12:BitmapData = new katt_tittarner12(0, 0);
public static var bitmapDataCatLookDown13:BitmapData = new katt_tittarner13(0, 0);
public static var bitmapDataCatLookDown14:BitmapData = new katt_tittarner14(0, 0);
public static var bitmapDataCatLookDown15:BitmapData = new katt_tittarner15(0, 0);
public static var bitmapDataCatLookDown16:BitmapData = new katt_tittarner16(0, 0);
public static var bitmapDataCatLookDown17:BitmapData = new katt_tittarner17(0, 0);
public static var bitmapDataCatLookDown18:BitmapData = new katt_tittarner18(0, 0);
public static var bitmapDataCatLookDown19:BitmapData = new katt_tittarner19(0, 0);
public static var catIdleLookDownSequence:BitmapSequence;
public static var bitmapDataCatBurn1:BitmapData = new katt_burn01(0, 0);
public static var bitmapDataCatBurn2:BitmapData = new katt_burn02(0, 0);
public static var bitmapDataCatBurn3:BitmapData = new katt_burn03(0, 0);
public static var bitmapDataCatBurn4:BitmapData = new katt_burn04(0, 0);
public static var bitmapDataCatBurn5:BitmapData = new katt_burn05(0, 0);
public static var bitmapDataCatBurn6:BitmapData = new katt_burn06(0, 0);
public static var bitmapDataCatBurn7:BitmapData = new katt_burn07(0, 0);
public static var bitmapDataCatBurn8:BitmapData = new katt_burn08(0, 0);
public static var bitmapDataCatBurn9:BitmapData = new katt_burn09(0, 0);
public static var bitmapDataCatBurn10:BitmapData = new katt_burn10(0, 0);
public static var bitmapDataCatBurn11:BitmapData = new katt_burn11(0, 0);
public static var bitmapDataCatBurn12:BitmapData = new katt_burn12(0, 0);
public static var bitmapDataCatBurn13:BitmapData = new katt_burn13(0, 0);
public static var bitmapDataCatBurn14:BitmapData = new katt_burn14(0, 0);
public static var bitmapDataCatBurn15:BitmapData = new katt_burn15(0, 0);
public static var catBurnSequence:BitmapSequence;
public static var bitmapDataCatHappy1:BitmapData = new kattunge_happy01(0, 0);
public static var bitmapDataCatHappy2:BitmapData = new kattunge_happy02(0, 0);
public static var bitmapDataCatHappy3:BitmapData = new kattunge_happy03(0, 0);
public static var bitmapDataCatHappy4:BitmapData = new kattunge_happy04(0, 0);
public static var bitmapDataCatHappy5:BitmapData = new kattunge_happy05(0, 0);
public static var bitmapDataCatHappy6:BitmapData = new kattunge_happy06(0, 0);
public static var bitmapDataCatHappy7:BitmapData = new kattunge_happy07(0, 0);
public static var bitmapDataCatHappy8:BitmapData = new kattunge_happy08(0, 0);
public static var bitmapDataCatHappy9:BitmapData = new kattunge_happy09(0, 0);
public static var bitmapDataCatHappy10:BitmapData = new kattunge_happy10(0, 0);
public static var bitmapDataCatHappy11:BitmapData = new kattunge_happy11(0, 0);
public static var bitmapDataCatHappy12:BitmapData = new kattunge_happy12(0, 0);
public static var bitmapDataCatHappy13:BitmapData = new kattunge_happy13(0, 0);
public static var bitmapDataCatHappy14:BitmapData = new kattunge_happy14(0, 0);
public static var bitmapDataCatHappy15:BitmapData = new kattunge_happy15(0, 0);
public static var bitmapDataCatHappy16:BitmapData = new kattunge_happy16(0, 0);
public static var bitmapDataCatHappy17:BitmapData = new kattunge_happy17(0, 0);
public static var bitmapDataCatHappy18:BitmapData = new kattunge_happy18(0, 0);
public static var bitmapDataCatHappy19:BitmapData = new kattunge_happy19(0, 0);
public static var catHappySequence:BitmapSequence;
public static var bitmapDataCatFall1:BitmapData = new katt_fall01(0, 0);
public static var bitmapDataCatFall2:BitmapData = new katt_fall02(0, 0);
public static var bitmapDataCatFall3:BitmapData = new katt_fall03(0, 0);
public static var bitmapDataCatFall4:BitmapData = new katt_fall04(0, 0);
public static var bitmapDataCatFall5:BitmapData = new katt_fall05(0, 0);
public static var bitmapDataCatFall6:BitmapData = new katt_fall06(0, 0);
public static var bitmapDataCatFall7:BitmapData = new katt_fall10(0, 0);
public static var bitmapDataCatFall8:BitmapData = new katt_fall11(0, 0);
public static var bitmapDataCatFall9:BitmapData = new katt_fall12(0, 0);
public static var catFallSequence:BitmapSequence;
public static var catFallStopSequence:BitmapSequence;
public static var bitmapDataGhostCat1:BitmapData = new Katt_smoke_01(0, 0);
public static var bitmapDataGhostCat2:BitmapData = new Katt_smoke_02(0, 0);
public static var ghostCatSequence:BitmapSequence;
public static var bitmapDataDog:BitmapData = new valp_intro(0, 0);
public static var dogSequence:BitmapSequence;
public static var bitmapDataDogBlink1:BitmapData = new valp_blink01(0, 0);
public static var bitmapDataDogBlink2:BitmapData = new valp_blink02(0, 0);
public static var bitmapDataDogBlink3:BitmapData = new valp_blink03(0, 0);
public static var dogIdleBlinkSequence:BitmapSequence;
public static var bitmapDataDogTongue1:BitmapData = new val_tunga01(0, 0);
public static var bitmapDataDogTongue2:BitmapData = new val_tunga02(0, 0);
public static var bitmapDataDogTongue3:BitmapData = new val_tunga03(0, 0);
public static var bitmapDataDogTongue4:BitmapData = new val_tunga04(0, 0);
public static var bitmapDataDogTongue5:BitmapData = new val_tunga05(0, 0);
public static var bitmapDataDogTongue6:BitmapData = new val_tunga06(0, 0);
public static var bitmapDataDogTongue7:BitmapData = new val_tunga07(0, 0);
public static var bitmapDataDogTongue8:BitmapData = new val_tunga08(0, 0);
public static var dogIdleTongueSequence:BitmapSequence;
public static var bitmapDataDogShake1:BitmapData = new valp_shake01(0, 0);
public static var bitmapDataDogShake2:BitmapData = new valp_shake02(0, 0);
public static var bitmapDataDogShake3:BitmapData = new valp_shake03(0, 0);
public static var bitmapDataDogShake4:BitmapData = new valp_shake04(0, 0);
public static var bitmapDataDogShake5:BitmapData = new valp_shake05(0, 0);
public static var bitmapDataDogShake6:BitmapData = new valp_shake06(0, 0);
public static var bitmapDataDogShake7:BitmapData = new valp_shake07(0, 0);
public static var bitmapDataDogShake8:BitmapData = new valp_shake08(0, 0);
public static var dogIdleShakeSequence:BitmapSequence;
public static var bitmapDataDogBurn1:BitmapData = new valp_burn01(0, 0);
public static var bitmapDataDogBurn2:BitmapData = new valp_burn02(0, 0);
public static var bitmapDataDogBurn3:BitmapData = new valp_burn03(0, 0);
public static var bitmapDataDogBurn4:BitmapData = new valp_burn04(0, 0);
public static var bitmapDataDogBurn5:BitmapData = new valp_burn05(0, 0);
public static var bitmapDataDogBurn6:BitmapData = new valp_burn06(0, 0);
public static var bitmapDataDogBurn7:BitmapData = new valp_burn07(0, 0);
public static var bitmapDataDogBurn8:BitmapData = new valp_burn08(0, 0);
public static var bitmapDataDogBurn9:BitmapData = new valp_burn09(0, 0);
public static var bitmapDataDogBurn10:BitmapData = new valp_burn10(0, 0);
public static var bitmapDataDogBurn11:BitmapData = new valp_burn11(0, 0);
public static var bitmapDataDogBurn12:BitmapData = new valp_burn12(0, 0);
public static var bitmapDataDogBurn13:BitmapData = new valp_burn13(0, 0);
public static var bitmapDataDogBurn14:BitmapData = new valp_burn14(0, 0);
public static var bitmapDataDogBurn15:BitmapData = new valp_burn15(0, 0);
public static var bitmapDataDogBurn16:BitmapData = new valp_burn16(0, 0);
public static var bitmapDataDogBurn17:BitmapData = new valp_burn17(0, 0);
public static var bitmapDataDogBurn18:BitmapData = new valp_burn18(0, 0);
public static var bitmapDataDogBurn19:BitmapData = new valp_burn19(0, 0);
public static var dogBurnSequence:BitmapSequence;
public static var bitmapDataDogHappy1:BitmapData = new valp_happy01(0, 0);
public static var bitmapDataDogHappy2:BitmapData = new valp_happy02(0, 0);
public static var bitmapDataDogHappy3:BitmapData = new valp_happy03(0, 0);
public static var bitmapDataDogHappy4:BitmapData = new valp_happy04(0, 0);
public static var bitmapDataDogHappy5:BitmapData = new valp_happy05(0, 0);
public static var bitmapDataDogHappy6:BitmapData = new valp_happy06(0, 0);
public static var bitmapDataDogHappy7:BitmapData = new valp_happy07(0, 0);
public static var bitmapDataDogHappy8:BitmapData = new valp_happy08(0, 0);
public static var bitmapDataDogHappy9:BitmapData = new valp_happy09(0, 0);
public static var bitmapDataDogHappy10:BitmapData = new valp_happy10(0, 0);
public static var bitmapDataDogHappy11:BitmapData = new valp_happy11(0, 0);
public static var bitmapDataDogHappy12:BitmapData = new valp_happy12(0, 0);
public static var bitmapDataDogHappy13:BitmapData = new valp_happy13(0, 0);
public static var bitmapDataDogHappy14:BitmapData = new valp_happy14(0, 0);
public static var bitmapDataDogHappy15:BitmapData = new valp_happy15(0, 0);
public static var bitmapDataDogHappy16:BitmapData = new valp_happy16(0, 0);
public static var bitmapDataDogHappy17:BitmapData = new valp_happy17(0, 0);
public static var dogHappySequence:BitmapSequence;
public static var bitmapDataDogFall1:BitmapData = new valp_fall01(0, 0);
public static var bitmapDataDogFall2:BitmapData = new valp_fall02(0, 0);
public static var bitmapDataDogFall3:BitmapData = new valp_fall03(0, 0);
public static var bitmapDataDogFall4:BitmapData = new valp_fall04(0, 0);
public static var bitmapDataDogFall5:BitmapData = new valp_fall05(0, 0);
public static var bitmapDataDogFall6:BitmapData = new valp_fall06(0, 0);
public static var bitmapDataDogFall7:BitmapData = new valp_fall07(0, 0);
public static var bitmapDataDogFall010:BitmapData = new valp_fall010(0, 0);
public static var bitmapDataDogFall011:BitmapData = new valp_fall011(0, 0);
public static var bitmapDataDogFall012:BitmapData = new valp_fall012(0, 0);
public static var dogFallSequence:BitmapSequence;
public static var dogFallStopSequence:BitmapSequence;
public static var bitmapDataGhostDog1:BitmapData = new Valp_smoke01(0, 0);
public static var bitmapDataGhostDog2:BitmapData = new Valp_smoke02(0, 0);
public static var bitmapDataGhostDog3:BitmapData = new Valp_smoke03(0, 0);
public static var bitmapDataGhostDog4:BitmapData = new Valp_smoke04(0, 0);
public static var bitmapDataGhostDog5:BitmapData = new Valp_smoke05(0, 0);
public static var bitmapDataGhostDog6:BitmapData = new Valp_smoke06(0, 0);
public static var ghostDogSequence:BitmapSequence;
public static var bitmapDatabird:BitmapData = new pippi_intro(0, 0);
public static var birdSequence:BitmapSequence;
public static var bitmapDataBirdBlink1:BitmapData = new pippi_blink01(0, 0);
public static var bitmapDataBirdBlink2:BitmapData = new pippi_blink02(0, 0);
public static var bitmapDataBirdBlink3:BitmapData = new pippi_blink03(0, 0);
public static var bitmapDataBirdBlink4:BitmapData = new pippi_blink04(0, 0);
public static var bitmapDataBirdBlink5:BitmapData = new pippi_blink05(0, 0);
public static var birdIdleBlinkSequence:BitmapSequence;
public static var bitmapDataBirdTurn1:BitmapData = new pippi_turn01(0, 0);
public static var bitmapDataBirdTurn2:BitmapData = new pippi_turn02(0, 0);
public static var bitmapDataBirdTurn3:BitmapData = new pippi_turn03(0, 0);
public static var bitmapDataBirdTurn4:BitmapData = new pippi_turn04(0, 0);
public static var bitmapDataBirdTurn5:BitmapData = new pippi_turn05(0, 0);
public static var bitmapDataBirdTurn6:BitmapData = new pippi_turn06(0, 0);
public static var bitmapDataBirdTurn7:BitmapData = new pippi_turn07(0, 0);
public static var bitmapDataBirdTurn8:BitmapData = new pippi_turn08(0, 0);
public static var bitmapDataBirdTurn9:BitmapData = new pippi_turn09(0, 0);
public static var bitmapDataBirdTurn10:BitmapData = new pippi_turn10(0, 0);
public static var bitmapDataBirdTurn11:BitmapData = new pippi_turn11(0, 0);
public static var bitmapDataBirdTurn12:BitmapData = new pippi_turn12(0, 0);
public static var bitmapDataBirdTurn13:BitmapData = new pippi_turn13(0, 0);
public static var bitmapDataBirdTurn14:BitmapData = new pippi_turn14(0, 0);
public static var bitmapDataBirdTurn15:BitmapData = new pippi_turn15(0, 0);
public static var bitmapDataBirdTurn16:BitmapData = new pippi_turn16(0, 0);
public static var bitmapDataBirdTurn17:BitmapData = new pippi_turn17(0, 0);
public static var bitmapDataBirdTurn18:BitmapData = new pippi_turn18(0, 0);
public static var bitmapDataBirdTurn19:BitmapData = new pippi_turn19(0, 0);
public static var bitmapDataBirdTurn20:BitmapData = new pippi_turn20(0, 0);
public static var birdIdleTurnSequence:BitmapSequence;
public static var bitmapDataBirdWalk1:BitmapData = new pippi_walk_v01(0, 0);
public static var bitmapDataBirdWalk2:BitmapData = new pippi_walk_v02(0, 0);
public static var bitmapDataBirdWalk3:BitmapData = new pippi_walk_v03(0, 0);
public static var bitmapDataBirdWalk4:BitmapData = new pippi_walk_v04(0, 0);
public static var bitmapDataBirdWalk5:BitmapData = new pippi_walk_v05(0, 0);
public static var bitmapDataBirdWalk6:BitmapData = new pippi_walk_v06(0, 0);
public static var bitmapDataBirdWalk7:BitmapData = new pippi_walk_v07(0, 0);
public static var bitmapDataBirdWalk8:BitmapData = new pippi_walk_v08(0, 0);
public static var birdIdleWalkSequence:BitmapSequence;
public static var bitmapDataBirdBurn1:BitmapData = new pippi_burn01(0, 0);
public static var bitmapDataBirdBurn2:BitmapData = new pippi_burn02(0, 0);
public static var bitmapDataBirdBurn3:BitmapData = new pippi_burn03(0, 0);
public static var bitmapDataBirdBurn4:BitmapData = new pippi_burn04(0, 0);
public static var bitmapDataBirdBurn5:BitmapData = new pippi_burn05(0, 0);
public static var bitmapDataBirdBurn6:BitmapData = new pippi_burn06(0, 0);
public static var bitmapDataBirdBurn7:BitmapData = new pippi_burn07(0, 0);
public static var bitmapDataBirdBurn8:BitmapData = new pippi_burn08(0, 0);
public static var bitmapDataBirdBurn9:BitmapData = new pippi_burn09(0, 0);
public static var bitmapDataBirdBurn10:BitmapData = new pippi_burn10(0, 0);
public static var bitmapDataBirdBurn11:BitmapData = new pippi_burn11(0, 0);
public static var bitmapDataBirdBurn12:BitmapData = new pippi_burn12(0, 0);
public static var bitmapDataBirdBurn13:BitmapData = new pippi_burn13(0, 0);
public static var bitmapDataBirdBurn14:BitmapData = new pippi_burn14(0, 0);
public static var bitmapDataBirdBurn15:BitmapData = new pippi_burn15(0, 0);
public static var bitmapDataBirdBurn16:BitmapData = new pippi_burn16(0, 0);
public static var birdBurnSequence:BitmapSequence;
public static var bitmapDataBirdHappy1:BitmapData = new pippi_happy01(0, 0);
public static var bitmapDataBirdHappy2:BitmapData = new pippi_happy02(0, 0);
public static var bitmapDataBirdHappy3:BitmapData = new pippi_happy03(0, 0);
public static var bitmapDataBirdHappy4:BitmapData = new pippi_happy04(0, 0);
public static var bitmapDataBirdHappy5:BitmapData = new pippi_happy05(0, 0);
public static var bitmapDataBirdHappy6:BitmapData = new pippi_happy06(0, 0);
public static var bitmapDataBirdHappy7:BitmapData = new pippi_happy07(0, 0);
public static var bitmapDataBirdHappy8:BitmapData = new pippi_happy08(0, 0);
public static var bitmapDataBirdHappy9:BitmapData = new pippi_happy09(0, 0);
public static var bitmapDataBirdHappy10:BitmapData = new pippi_happy10(0, 0);
public static var bitmapDataBirdHappy11:BitmapData = new pippi_happy11(0, 0);
public static var bitmapDataBirdHappy12:BitmapData = new pippi_happy12(0, 0);
public static var bitmapDataBirdHappy13:BitmapData = new pippi_happy13(0, 0);
public static var bitmapDataBirdHappy14:BitmapData = new pippi_happy14(0, 0);
public static var bitmapDataBirdHappy15:BitmapData = new pippi_happy15(0, 0);
public static var bitmapDataBirdHappy16:BitmapData = new pippi_happy16(0, 0);
public static var bitmapDataBirdHappy17:BitmapData = new pippi_happy17(0, 0);
public static var bitmapDataBirdHappy18:BitmapData = new pippi_happy18(0, 0);
public static var bitmapDataBirdHappy19:BitmapData = new pippi_happy19(0, 0);
public static var bitmapDataBirdHappy20:BitmapData = new pippi_happy20(0, 0);
public static var birdHappySequence:BitmapSequence;
public static var bitmapDataBirdFall1:BitmapData = new pippi_fall01(0, 0);
public static var bitmapDataBirdFall2:BitmapData = new pippi_fall02(0, 0);
public static var bitmapDataBirdFall3:BitmapData = new pippi_fall03(0, 0);
public static var bitmapDataBirdFall4:BitmapData = new pippi_fall04(0, 0);
public static var bitmapDataBirdFall5:BitmapData = new pippi_fall07(0, 0);
public static var bitmapDataBirdFall6:BitmapData = new pippi_fall08(0, 0);
public static var bitmapDataBirdFall7:BitmapData = new pippi_fall09(0, 0);
public static var birdFallSequence:BitmapSequence;
public static var birdFallStopSequence:BitmapSequence;
public static var bitmapDataGhostBird1:BitmapData = new Pippi_smoke_01(0, 0);
public static var bitmapDataGhostBird2:BitmapData = new Pippi_smoke_02(0, 0);
public static var ghostBirdSequence:BitmapSequence;
public static var bitmapDataAnimalBow1:BitmapData = new rosett_bla(0, 0);
public static var bitmapDataAnimalBow2:BitmapData = new rosett_gron(0, 0);
public static var bitmapDataAnimalBow3:BitmapData = new rosett_rosa(0, 0);
public static var animalBowSequence:BitmapSequence;
public static var bitmapDataAnimalBlueNr0:BitmapData = new siffra_noll(0, 0);
public static var bitmapDataAnimalBlueNr1:BitmapData = new siffra_ett(0, 0);
public static var bitmapDataAnimalBlueNr2:BitmapData = new siffra_tva(0, 0);
public static var bitmapDataAnimalBlueNr3:BitmapData = new siffra_tre(0, 0);
public static var bitmapDataAnimalBlueNr4:BitmapData = new siffra_fyra(0, 0);
public static var bitmapDataAnimalBlueNr5:BitmapData = new siffra_fem(0, 0);
public static var bitmapDataAnimalBlueNr6:BitmapData = new siffra_sex(0, 0);
public static var bitmapDataAnimalBlueNr7:BitmapData = new siffra_sju(0, 0);
public static var bitmapDataAnimalBlueNr8:BitmapData = new siffra_atta(0, 0);
public static var bitmapDataAnimalBlueNr9:BitmapData = new siffra_nio(0, 0);
public static var blueNrSequence:BitmapSequence;
public static var bitmapDataAnimalWhiteNr0:BitmapData = new siffra_noll_vit(0, 0);
public static var bitmapDataAnimalWhiteNr1:BitmapData = new siffra_ett_vit(0, 0);
public static var bitmapDataAnimalWhiteNr2:BitmapData = new siffra_tva_vit(0, 0);
public static var bitmapDataAnimalWhiteNr3:BitmapData = new siffra_tre_vit(0, 0);
public static var bitmapDataAnimalWhiteNr4:BitmapData = new siffra_fyra_vit(0, 0);
public static var bitmapDataAnimalWhiteNr5:BitmapData = new siffra_fem_vit(0, 0);
public static var bitmapDataAnimalWhiteNr6:BitmapData = new siffra_sex_vit(0, 0);
public static var bitmapDataAnimalWhiteNr7:BitmapData = new siffra_sju_vit(0, 0);
public static var bitmapDataAnimalWhiteNr8:BitmapData = new siffra_atta_vit(0, 0);
public static var bitmapDataAnimalWhiteNr9:BitmapData = new siffra_nio_vit(0, 0);
public static var whiteNrSequence:BitmapSequence;
public static var bitmapDataMarker1:BitmapData = new crate_blankare1(0, 0);
public static var bitmapDataMarker2:BitmapData = new crate_blankare2(0, 0);
public static var bitmapDataMarker3:BitmapData = new crate_blankare3(0, 0);
public static var markerSequence:BitmapSequence;
public static var bitmapDataBoxShine1:BitmapData = new crate_box_glow01(0, 0);
public static var bitmapDataBoxShine2:BitmapData = new crate_box_glow02(0, 0);
public static var bitmapDataBoxShine3:BitmapData = new crate_box_glow03(0, 0);
public static var bitmapDataBoxShine4:BitmapData = new crate_box_glow04(0, 0);
public static var bitmapDataBoxShine5:BitmapData = new crate_box_glow05(0, 0);
public static var boxShineSequence:BitmapSequence;
public static var bitmapDataBoxShake1:BitmapData = new crate_box_shake01(0, 0);
public static var bitmapDataBoxShake2:BitmapData = new crate_box_shake02(0, 0);
public static var bitmapDataBoxShake3:BitmapData = new crate_box_shake03(0, 0);
public static var bitmapDataBoxShake4:BitmapData = new crate_box_shake04(0, 0);
public static var boxShakeSequence:BitmapSequence;
public static var bitmapDataCageShake1:BitmapData = new crate_cage_shake01(0, 0);
public static var bitmapDataCageShake2:BitmapData = new crate_cage_shake02(0, 0);
public static var bitmapDataCageShake3:BitmapData = new crate_cage_shake03(0, 0);
public static var bitmapDataCageShake4:BitmapData = new crate_cage_shake04(0, 0);
public static var cageShakeSequence:BitmapSequence;
public static var bitmapDataFanShake1:BitmapData = new crate_fan_shake01(0, 0);
public static var bitmapDataFanShake2:BitmapData = new crate_fan_shake02(0, 0);
public static var bitmapDataFanShake3:BitmapData = new crate_fan_shake03(0, 0);
public static var bitmapDataFanShake4:BitmapData = new crate_fan_shake04(0, 0);
public static var fanShakeSequence:BitmapSequence;
public static var bitmapDataBoxPlupp1:BitmapData = new crate_plupp_shake01(0, 0);
public static var bitmapDataBoxPlupp2:BitmapData = new crate_plupp_shake02(0, 0);
public static var bitmapDataBoxPlupp3:BitmapData = new crate_plupp_shake03(0, 0);
public static var bitmapDataBoxPlupp4:BitmapData = new crate_plupp_shake04(0, 0);
public static var pluppShakeSequence:BitmapSequence;
public static var bitmapDataKey1:BitmapData = new key01(0, 0);
public static var bitmapDataKey2:BitmapData = new key02(0, 0);
public static var bitmapDataKey3:BitmapData = new key03(0, 0);
public static var bitmapDataKey4:BitmapData = new key04(0, 0);
public static var bitmapDataKey5:BitmapData = new key05(0, 0);
public static var bitmapDataKey6:BitmapData = new key06(0, 0);
public static var bitmapDataKey7:BitmapData = new key07(0, 0);
public static var bitmapDataKey8:BitmapData = new key08(0, 0);
public static var keySequence:BitmapSequence;
public static var bitmapDataLockedCat1:BitmapData = new LockedKatt01(0, 0);
public static var bitmapDataLockedCat2:BitmapData = new LockedKatt02(0, 0);
public static var bitmapDataLockedCat3:BitmapData = new LockedKatt03(0, 0);
public static var bitmapDataLockedCat4:BitmapData = new LockedKatt04(0, 0);
public static var bitmapDataLockedCat5:BitmapData = new LockedKatt05(0, 0);
public static var bitmapDataLockedCat6:BitmapData = new LockedKatt06(0, 0);
public static var bitmapDataLockedCat7:BitmapData = new LockedKatt07(0, 0);
public static var bitmapDataLockedCat8:BitmapData = new LockedKatt08(0, 0);
public static var bitmapDataLockedCat9:BitmapData = new LockedKatt09(0, 0);
public static var bitmapDataLockedCat10:BitmapData = new LockedKatt10(0, 0);
public static var bitmapDataLockedCat11:BitmapData = new LockedKatt11(0, 0);
public static var bitmapDataLockedCat12:BitmapData = new LockedKatt12(0, 0);
public static var bitmapDataLockedCat13:BitmapData = new LockedKatt13(0, 0);
public static var bitmapDataLockedCat14:BitmapData = new LockedKatt14(0, 0);
public static var bitmapDataLockedCat15:BitmapData = new LockedKatt15(0, 0);
public static var bitmapDataLockedCat16:BitmapData = new LockedKatt16(0, 0);
public static var bitmapDataLockedCat17:BitmapData = new LockedKatt17(0, 0);
public static var bitmapDataLockedCat18:BitmapData = new LockedKatt18(0, 0);
public static var bitmapDataLockedCat19:BitmapData = new LockedKatt19(0, 0);
public static var lockedCatSequence:BitmapSequence;
public static var bitmapDataLockedBird1:BitmapData = new LockedPippi01(0, 0);
public static var bitmapDataLockedBird2:BitmapData = new LockedPippi02(0, 0);
public static var bitmapDataLockedBird3:BitmapData = new LockedPippi03(0, 0);
public static var bitmapDataLockedBird4:BitmapData = new LockedPippi04(0, 0);
public static var bitmapDataLockedBird5:BitmapData = new LockedPippi05(0, 0);
public static var bitmapDataLockedBird6:BitmapData = new LockedPippi06(0, 0);
public static var bitmapDataLockedBird7:BitmapData = new LockedPippi07(0, 0);
public static var bitmapDataLockedBird8:BitmapData = new LockedPippi08(0, 0);
public static var bitmapDataLockedBird9:BitmapData = new LockedPippi09(0, 0);
public static var bitmapDataLockedBird10:BitmapData = new LockedPippi10(0, 0);
public static var bitmapDataLockedBird11:BitmapData = new LockedPippi11(0, 0);
public static var bitmapDataLockedBird12:BitmapData = new LockedPippi12(0, 0);
public static var bitmapDataLockedBird13:BitmapData = new LockedPippi13(0, 0);
public static var bitmapDataLockedBird14:BitmapData = new LockedPippi14(0, 0);
public static var bitmapDataLockedBird15:BitmapData = new LockedPippi15(0, 0);
public static var bitmapDataLockedBird16:BitmapData = new LockedPippi16(0, 0);
public static var bitmapDataLockedBird17:BitmapData = new LockedPippi17(0, 0);
public static var bitmapDataLockedBird18:BitmapData = new LockedPippi18(0, 0);
public static var bitmapDataLockedBird19:BitmapData = new LockedPippi19(0, 0);
public static var bitmapDataLockedBird20:BitmapData = new LockedPippi20(0, 0);
public static var lockedBirdSequence:BitmapSequence;
public static var bitmapDataLockedDog1:BitmapData = new LockedValp01(0, 0);
public static var bitmapDataLockedDog2:BitmapData = new LockedValp02(0, 0);
public static var bitmapDataLockedDog3:BitmapData = new LockedValp03(0, 0);
public static var bitmapDataLockedDog4:BitmapData = new LockedValp04(0, 0);
public static var bitmapDataLockedDog5:BitmapData = new LockedValp05(0, 0);
public static var bitmapDataLockedDog6:BitmapData = new LockedValp06(0, 0);
public static var bitmapDataLockedDog7:BitmapData = new LockedValp07(0, 0);
public static var bitmapDataLockedDog8:BitmapData = new LockedValp08(0, 0);
public static var lockedDogSequence:BitmapSequence;
public static var bitmapDataSplash1:BitmapData = new splash1(0, 0);
public static var bitmapDataSplash2:BitmapData = new splash2(0, 0);
public static var bitmapDataSplash3:BitmapData = new splash3(0, 0);
public static var bitmapDataSplash4:BitmapData = new splash4(0, 0);
public static var bitmapDataSplash5:BitmapData = new splash5(0, 0);
public static var bitmapDataSplash6:BitmapData = new splash6(0, 0);
public static var bitmapDataSplash7:BitmapData = new splash7(0, 0);
public static var bitmapDataSplash8:BitmapData = new splash8(0, 0);
public static var bitmapDataSplash9:BitmapData = new splash9(0, 0);
public static var bitmapDataSplash10:BitmapData = new splash10(0, 0);
public static var bitmapDataSplash11:BitmapData = new splash11(0, 0);
public static var splashSequence:BitmapSequence;
public static var bitmapDataHelicopterSign1:BitmapData = new resultat_helikopter1(0, 0);
public static var bitmapDataHelicopterSign2:BitmapData = new resultat_helikopter2(0, 0);
public static var bitmapDataHelicopterSign3:BitmapData = new resultat_helikopter3(0, 0);
public static var helicopterSignSequence:BitmapSequence;
public static var bitmapDataWaterSign1:BitmapData = new resultat_hose1(0, 0);
public static var bitmapDataWaterSign2:BitmapData = new resultat_hose2(0, 0);
public static var bitmapDataWaterSign3:BitmapData = new resultat_hose3(0, 0);
public static var waterSignSequence:BitmapSequence;
public static var bitmapDataWrongBrick1:BitmapData = new wrong1(0, 0);
public static var bitmapDataWrongBrick2:BitmapData = new wrong2(0, 0);
public static var bitmapDataWrongBrick3:BitmapData = new wrong3(0, 0);
public static var bitmapDataWrongBrick4:BitmapData = new wrong4(0, 0);
public static var wrongBrickSequence:BitmapSequence;
public static var bitmapDataCatPopup1:BitmapData = new crate_katt1(0, 0);
public static var bitmapDataCatPopup2:BitmapData = new crate_katt2(0, 0);
public static var catPopupSequence:BitmapSequence;
public static var bitmapDataBirdPopup1:BitmapData = new crate_pippi1(0, 0);
public static var bitmapDataBirdPopup2:BitmapData = new crate_pippi2(0, 0);
public static var birdPopupSequence:BitmapSequence;
public static var bitmapDataDogPopup1:BitmapData = new crate_valp1(0, 0);
public static var bitmapDataDogPopup2:BitmapData = new crate_valp2(0, 0);
public static var dogPopupSequence:BitmapSequence;
public static var bitmapDataHelicopter1:BitmapData = new helikoter_save01(0, 0);
public static var bitmapDataHelicopter2:BitmapData = new helikoter_save02(0, 0);
public static var bitmapDataHelicopter3:BitmapData = new helikoter_save03(0, 0);
public static var bitmapDataHelicopter4:BitmapData = new helikoter_save04(0, 0);
public static var bitmapDataHelicopter5:BitmapData = new helikoter_save05(0, 0);
public static var bitmapDataHelicopter6:BitmapData = new helikoter_save06(0, 0);
public static var bitmapDataHelicopter7:BitmapData = new helikoter_save07(0, 0);
public static var helicopterSequence:BitmapSequence;
public static var bitmapDataBasket:BitmapData = new korg(0, 0);
public static var bitmapDataGlitter1:BitmapData = new glitter1(0, 0);
public static var bitmapDataGlitter2:BitmapData = new glitter2(0, 0);
public static var bitmapDataGlitter3:BitmapData = new glitter3(0, 0);
public static var bitmapDataGlitter4:BitmapData = new glitter4(0, 0);
public static var bitmapDataGlitter5:BitmapData = new glitter5(0, 0);
public static var bitmapDataGlitter6:BitmapData = new glitter6(0, 0);
public static var bitmapDataGlitter7:BitmapData = new glitter7(0, 0);
public static var bitmapDataGlitter8:BitmapData = new glitter8(0, 0);
public static var bitmapDataGlitter9:BitmapData = new glitter9(0, 0);
public static var bitmapDataGlitter10:BitmapData = new glitter10(0, 0);
public static var bitmapDataGlitter11:BitmapData = new glitter11(0, 0);
public static var bitmapDataGlitter12:BitmapData = new glitter12(0, 0);
public static var bitmapDataGlitter13:BitmapData = new glitter13(0, 0);
public static var glitterSequence:BitmapSequence;
public static var bitmapDataBoxGlitter1:BitmapData = new dubbelglitter1(0, 0);
public static var bitmapDataBoxGlitter2:BitmapData = new dubbelglitter2(0, 0);
public static var bitmapDataBoxGlitter3:BitmapData = new dubbelglitter3(0, 0);
public static var bitmapDataBoxGlitter4:BitmapData = new dubbelglitter4(0, 0);
public static var bitmapDataBoxGlitter5:BitmapData = new dubbelglitter5(0, 0);
public static var bitmapDataBoxGlitter6:BitmapData = new dubbelglitter6(0, 0);
public static var bitmapDataBoxGlitter7:BitmapData = new dubbelglitter7(0, 0);
public static var bitmapDataBoxGlitter8:BitmapData = new dubbelglitter8(0, 0);
public static var bitmapDataBoxGlitter9:BitmapData = new dubbelglitter9(0, 0);
public static var bitmapDataBoxGlitter10:BitmapData = new dubbelglitter10(0, 0);
public static var bitmapDataBoxGlitter11:BitmapData = new dubbelglitter11(0, 0);
public static var bitmapDataBoxGlitter12:BitmapData = new dubbelglitter12(0, 0);
public static var bitmapDataBoxGlitter13:BitmapData = new dubbelglitter13(0, 0);
public static var moreGlitterSequence:BitmapSequence;
public static var bitmapDataBurst1:BitmapData = new starburst1(0, 0);
public static var bitmapDataBurst2:BitmapData = new starburst2(0, 0);
public static var bitmapDataBurst3:BitmapData = new starburst3(0, 0);
public static var bitmapDataBurst4:BitmapData = new starburst4(0, 0);
public static var bitmapDataBurst5:BitmapData = new starburst5(0, 0);
public static var burstSequence:BitmapSequence;
public static var bitmapPopBoxRed1:BitmapData = new crate_box_exp1(0, 0);
public static var bitmapPopBoxRed2:BitmapData = new crate_box_exp2(0, 0);
public static var bitmapPopBoxRed3:BitmapData = new crate_box_exp3(0, 0);
public static var popBoxRedSequence:BitmapSequence;
public static var bitmapPopBoxGreen1:BitmapData = new crate_cage_exp1(0, 0);
public static var bitmapPopBoxGreen2:BitmapData = new crate_cage_exp2(0, 0);
public static var bitmapPopBoxGreen3:BitmapData = new crate_cage_exp3(0, 0);
public static var popBoxGreenSequence:BitmapSequence;
public static var bitmapPopBoxBlue1:BitmapData = new crate_fan_exp1(0, 0);
public static var bitmapPopBoxBlue2:BitmapData = new crate_fan_exp2(0, 0);
public static var bitmapPopBoxBlue3:BitmapData = new crate_fan_exp3(0, 0);
public static var popBoxBlueSequence:BitmapSequence;
public static var bitmapPopBoxYellow1:BitmapData = new crate_plupp_exp1(0, 0);
public static var bitmapPopBoxYellow2:BitmapData = new crate_plupp_exp2(0, 0);
public static var bitmapPopBoxYellow3:BitmapData = new crate_plupp_exp3(0, 0);
public static var popBoxYellowSequence:BitmapSequence;
public static var bitmapDataFire1:BitmapData = new Fire01(0, 0);
public static var bitmapDataFire2:BitmapData = new Fire02(0, 0);
public static var bitmapDataFire3:BitmapData = new Fire03(0, 0);
public static var bitmapDataFire4:BitmapData = new Fire04(0, 0);
public static var bitmapDataFire5:BitmapData = new Fire05(0, 0);
public static var bitmapDataFire6:BitmapData = new Fire06(0, 0);
public static var bitmapDataFire7:BitmapData = new Fire07(0, 0);
public static var bitmapDataFire8:BitmapData = new Fire08(0, 0);
public static var bitmapDataFire9:BitmapData = new Fire09(0, 0);
public static var bitmapDataFire10:BitmapData = new Fire10(0, 0);
public static var bitmapDataFire11:BitmapData = new Fire11(0, 0);
public static var bitmapDataFire12:BitmapData = new Fire12(0, 0);
public static var fireSequence:BitmapSequence;
public static var bitmapDataFireOut1:BitmapData = new fire_out01(0, 0);
public static var bitmapDataFireOut2:BitmapData = new fire_out02(0, 0);
public static var bitmapDataFireOut3:BitmapData = new fire_out03(0, 0);
public static var bitmapDataFireOut4:BitmapData = new fire_out04(0, 0);
public static var bitmapDataFireOut5:BitmapData = new fire_out05(0, 0);
public static var fireOutSequence:BitmapSequence;
public static var bitmapDataRedFireBorder:BitmapData = new eld_varningsram(0, 0);
public static var bitmapDataHUD:BitmapData = new hus(0, 0);
public static var bitmapDataHudBar:BitmapData = new hiss_fargbarometer(0, 0);
public static var bitmapDataHudHis:BitmapData = new hiss(0, 0);
public static var bitmapDataHudHisLevels:BitmapData = new hiss_fargbarometer_levels(0, 0);
public static var bitmapDataClockColor:BitmapData = new hiss_klocka_fargbyte(0, 0);
public static var bitmapDataHUDLights1:BitmapData = new hus2(0, 0);
public static var bitmapDataHUDLights2:BitmapData = new hus3(0, 0);
public static var bitmapDataHUDLights3:BitmapData = new hus4(0, 0);
public static var hudLightsSequence:BitmapSequence;
public static function init(_arg1:MovieClip){
var _local2:Array;
bitmapRender = new BitmapRender();
bitmapRender.init(755, 600, _arg1, 3000);
bitmapDataRedBlock = new crate_box(0, 0);
bitmapDataGreenBlock = new crate_cage(0, 0);
bitmapDataBlueBlock = new crate_fan(0, 0);
bitmapDataYellowBlock = new crate_plupp(0, 0);
bitmapDataRedBlockMark = new crate_box2(0, 0);
bitmapDataGreenBlockMark = new crate_cage2(0, 0);
bitmapDataBlueBlockMark = new crate_fan2(0, 0);
bitmapDataYellowBlockMark = new crate_plupp2(0, 0);
bitmapDataScrollBackground = new bakgrund_top(0, 0);
bitmapBackground = new bakgrund(0, 0);
_local2 = new Array(bitmapDataCat);
catSequence = new BitmapSequence(Render.bitmapRender);
catSequence.init(_local2);
_local2 = new Array(bitmapDataCatBlink1, bitmapDataCatBlink2, bitmapDataCatBlink3);
catIdleBlinkSequence = new BitmapSequence(Render.bitmapRender);
catIdleBlinkSequence.init(_local2);
_local2 = new Array(bitmapDataCatTongue1, bitmapDataCatTongue2, bitmapDataCatTongue3, bitmapDataCatTongue4, bitmapDataCatTongue5, bitmapDataCatTongue6, bitmapDataCatTongue7);
catIdleTongueSequence = new BitmapSequence(Render.bitmapRender);
catIdleTongueSequence.init(_local2);
_local2 = new Array(bitmapDataCatLookDown1, bitmapDataCatLookDown2, bitmapDataCatLookDown3, bitmapDataCatLookDown4, bitmapDataCatLookDown5, bitmapDataCatLookDown6, bitmapDataCatLookDown7, bitmapDataCatLookDown8, bitmapDataCatLookDown9, bitmapDataCatLookDown10, bitmapDataCatLookDown11, bitmapDataCatLookDown12, bitmapDataCatLookDown13, bitmapDataCatLookDown14, bitmapDataCatLookDown15, bitmapDataCatLookDown16, bitmapDataCatLookDown17, bitmapDataCatLookDown18, bitmapDataCatLookDown19);
catIdleLookDownSequence = new BitmapSequence(Render.bitmapRender);
catIdleLookDownSequence.init(_local2);
_local2 = new Array(bitmapDataCatBurn1, bitmapDataCatBurn2, bitmapDataCatBurn3, bitmapDataCatBurn4, bitmapDataCatBurn5, bitmapDataCatBurn6, bitmapDataCatBurn7, bitmapDataCatBurn8, bitmapDataCatBurn9, bitmapDataCatBurn10, bitmapDataCatBurn11, bitmapDataCatBurn12, bitmapDataCatBurn13, bitmapDataCatBurn14, bitmapDataCatBurn15);
catBurnSequence = new BitmapSequence(Render.bitmapRender);
catBurnSequence.init(_local2);
_local2 = new Array(bitmapDataCatHappy1, bitmapDataCatHappy2, bitmapDataCatHappy3, bitmapDataCatHappy4, bitmapDataCatHappy5, bitmapDataCatHappy6, bitmapDataCatHappy7, bitmapDataCatHappy8, bitmapDataCatHappy9, bitmapDataCatHappy10, bitmapDataCatHappy11, bitmapDataCatHappy12, bitmapDataCatHappy13, bitmapDataCatHappy14, bitmapDataCatHappy15, bitmapDataCatHappy16, bitmapDataCatHappy17, bitmapDataCatHappy18, bitmapDataCatHappy19);
catHappySequence = new BitmapSequence(Render.bitmapRender);
catHappySequence.init(_local2);
_local2 = new Array(bitmapDataCatFall1, bitmapDataCatFall2, bitmapDataCatFall3, bitmapDataCatFall4, bitmapDataCatFall5, bitmapDataCatFall6);
catFallSequence = new BitmapSequence(Render.bitmapRender);
catFallSequence.init(_local2);
_local2 = new Array(bitmapDataCatFall7, bitmapDataCatFall8, bitmapDataCatFall9);
catFallStopSequence = new BitmapSequence(Render.bitmapRender);
catFallStopSequence.init(_local2);
_local2 = new Array(bitmapDataGhostCat1, bitmapDataGhostCat2, bitmapDataGhostDog3, bitmapDataGhostDog4, bitmapDataGhostDog5, bitmapDataGhostDog6);
ghostCatSequence = new BitmapSequence(Render.bitmapRender);
ghostCatSequence.init(_local2);
_local2 = new Array(bitmapDataDog);
dogSequence = new BitmapSequence(Render.bitmapRender);
dogSequence.init(_local2);
_local2 = new Array(bitmapDataDogBlink1, bitmapDataDogBlink2, bitmapDataDogBlink3);
dogIdleBlinkSequence = new BitmapSequence(Render.bitmapRender);
dogIdleBlinkSequence.init(_local2);
_local2 = new Array(bitmapDataDogTongue1, bitmapDataDogTongue2, bitmapDataDogTongue3, bitmapDataDogTongue4, bitmapDataDogTongue5, bitmapDataDogTongue6, bitmapDataDogTongue7, bitmapDataDogTongue8);
dogIdleTongueSequence = new BitmapSequence(Render.bitmapRender);
dogIdleTongueSequence.init(_local2);
_local2 = new Array(bitmapDataDogShake1, bitmapDataDogShake2, bitmapDataDogShake3, bitmapDataDogShake4, bitmapDataDogShake5, bitmapDataDogShake6, bitmapDataDogShake6, bitmapDataDogShake8);
dogIdleShakeSequence = new BitmapSequence(Render.bitmapRender);
dogIdleShakeSequence.init(_local2);
_local2 = new Array(bitmapDataDogBurn1, bitmapDataDogBurn2, bitmapDataDogBurn3, bitmapDataDogBurn4, bitmapDataDogBurn5, bitmapDataDogBurn6, bitmapDataDogBurn7, bitmapDataDogBurn8, bitmapDataDogBurn9, bitmapDataDogBurn10, bitmapDataDogBurn11, bitmapDataDogBurn12, bitmapDataDogBurn13, bitmapDataDogBurn14, bitmapDataDogBurn15, bitmapDataDogBurn16, bitmapDataDogBurn17, bitmapDataDogBurn18, bitmapDataDogBurn19);
dogBurnSequence = new BitmapSequence(Render.bitmapRender);
dogBurnSequence.init(_local2);
_local2 = new Array(bitmapDataDogHappy1, bitmapDataDogHappy2, bitmapDataDogHappy3, bitmapDataDogHappy4, bitmapDataDogHappy5, bitmapDataDogHappy6, bitmapDataDogHappy7, bitmapDataDogHappy8, bitmapDataDogHappy9, bitmapDataDogHappy10, bitmapDataDogHappy11, bitmapDataDogHappy12, bitmapDataDogHappy13, bitmapDataDogHappy14, bitmapDataDogHappy15, bitmapDataDogHappy16, bitmapDataDogHappy17);
dogHappySequence = new BitmapSequence(Render.bitmapRender);
dogHappySequence.init(_local2);
_local2 = new Array(bitmapDataDogFall1, bitmapDataDogFall2, bitmapDataDogFall3, bitmapDataDogFall4, bitmapDataDogFall5);
dogFallSequence = new BitmapSequence(Render.bitmapRender);
dogFallSequence.init(_local2);
_local2 = new Array(bitmapDataDogFall010, bitmapDataDogFall011, bitmapDataDogFall011);
dogFallStopSequence = new BitmapSequence(Render.bitmapRender);
dogFallStopSequence.init(_local2);
_local2 = new Array(bitmapDataGhostDog1, bitmapDataGhostDog2, bitmapDataGhostDog3, bitmapDataGhostDog4, bitmapDataGhostDog5, bitmapDataGhostDog6);
ghostDogSequence = new BitmapSequence(Render.bitmapRender);
ghostDogSequence.init(_local2);
_local2 = new Array(bitmapDatabird);
birdSequence = new BitmapSequence(Render.bitmapRender);
birdSequence.init(_local2);
_local2 = new Array(bitmapDataBirdBlink1, bitmapDataBirdBlink2, bitmapDataBirdBlink3, bitmapDataBirdBlink4, bitmapDataBirdBlink5);
birdIdleBlinkSequence = new BitmapSequence(Render.bitmapRender);
birdIdleBlinkSequence.init(_local2);
_local2 = new Array(bitmapDataBirdTurn1, bitmapDataBirdTurn2, bitmapDataBirdTurn3, bitmapDataBirdTurn4, bitmapDataBirdTurn5, bitmapDataBirdTurn6, bitmapDataBirdTurn7, bitmapDataBirdTurn8, bitmapDataBirdTurn9, bitmapDataBirdTurn10, bitmapDataBirdTurn11, bitmapDataBirdTurn12, bitmapDataBirdTurn13, bitmapDataBirdTurn14, bitmapDataBirdTurn15, bitmapDataBirdTurn16, bitmapDataBirdTurn17, bitmapDataBirdTurn18, bitmapDataBirdTurn19, bitmapDataBirdTurn20);
birdIdleTurnSequence = new BitmapSequence(Render.bitmapRender);
birdIdleTurnSequence.init(_local2);
_local2 = new Array(bitmapDataBirdWalk1, bitmapDataBirdWalk2, bitmapDataBirdWalk3, bitmapDataBirdWalk4, bitmapDataBirdWalk5, bitmapDataBirdWalk6, bitmapDataBirdWalk7, bitmapDataBirdWalk8, bitmapDataBirdWalk7, bitmapDataBirdWalk6, bitmapDataBirdWalk5, bitmapDataBirdWalk4, bitmapDataBirdWalk3, bitmapDataBirdWalk2, bitmapDataBirdWalk1);
birdIdleWalkSequence = new BitmapSequence(Render.bitmapRender);
birdIdleWalkSequence.init(_local2);
_local2 = new Array(bitmapDataBirdBurn1, bitmapDataBirdBurn2, bitmapDataBirdBurn3, bitmapDataBirdBurn4, bitmapDataBirdBurn5, bitmapDataBirdBurn6, bitmapDataBirdBurn7, bitmapDataBirdBurn7, bitmapDataBirdBurn9, bitmapDataBirdBurn10, bitmapDataBirdBurn11, bitmapDataBirdBurn12, bitmapDataBirdBurn13, bitmapDataBirdBurn14, bitmapDataBirdBurn15, bitmapDataBirdBurn16);
birdBurnSequence = new BitmapSequence(Render.bitmapRender);
birdBurnSequence.init(_local2);
_local2 = new Array(bitmapDataBirdHappy1, bitmapDataBirdHappy2, bitmapDataBirdHappy3, bitmapDataBirdHappy4, bitmapDataBirdHappy5, bitmapDataBirdHappy6, bitmapDataBirdHappy7, bitmapDataBirdHappy8, bitmapDataBirdHappy9, bitmapDataBirdHappy10, bitmapDataBirdHappy11, bitmapDataBirdHappy12, bitmapDataBirdHappy13, bitmapDataBirdHappy14, bitmapDataBirdHappy15, bitmapDataBirdHappy16, bitmapDataBirdHappy17, bitmapDataBirdHappy18, bitmapDataBirdHappy19, bitmapDataBirdHappy20);
birdHappySequence = new BitmapSequence(Render.bitmapRender);
birdHappySequence.init(_local2);
_local2 = new Array(bitmapDataBirdFall1, bitmapDataBirdFall2, bitmapDataBirdFall3, bitmapDataBirdFall4);
birdFallSequence = new BitmapSequence(Render.bitmapRender);
birdFallSequence.init(_local2);
_local2 = new Array(bitmapDataBirdFall5, bitmapDataBirdFall6, bitmapDataBirdFall7);
birdFallStopSequence = new BitmapSequence(Render.bitmapRender);
birdFallStopSequence.init(_local2);
_local2 = new Array(bitmapDataGhostBird1, bitmapDataGhostBird2, bitmapDataGhostDog3, bitmapDataGhostDog4, bitmapDataGhostDog5, bitmapDataGhostDog6);
ghostBirdSequence = new BitmapSequence(Render.bitmapRender);
ghostBirdSequence.init(_local2);
_local2 = new Array(bitmapDataAnimalBow1, bitmapDataAnimalBow2, bitmapDataAnimalBow3);
animalBowSequence = new BitmapSequence(Render.bitmapRender);
animalBowSequence.init(_local2);
_local2 = new Array(bitmapDataAnimalBlueNr0, bitmapDataAnimalBlueNr1, bitmapDataAnimalBlueNr2, bitmapDataAnimalBlueNr3, bitmapDataAnimalBlueNr4, bitmapDataAnimalBlueNr5, bitmapDataAnimalBlueNr6, bitmapDataAnimalBlueNr7, bitmapDataAnimalBlueNr8, bitmapDataAnimalBlueNr9);
blueNrSequence = new BitmapSequence(bitmapRender);
blueNrSequence.init(_local2);
_local2 = new Array(bitmapDataAnimalWhiteNr0, bitmapDataAnimalWhiteNr1, bitmapDataAnimalWhiteNr2, bitmapDataAnimalWhiteNr3, bitmapDataAnimalWhiteNr4, bitmapDataAnimalWhiteNr5, bitmapDataAnimalWhiteNr6, bitmapDataAnimalWhiteNr7, bitmapDataAnimalWhiteNr8, bitmapDataAnimalWhiteNr9);
whiteNrSequence = new BitmapSequence(bitmapRender);
whiteNrSequence.init(_local2);
markerSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapDataMarker1, bitmapDataMarker2, bitmapDataMarker3);
markerSequence.init(_local2);
boxShineSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapDataBoxShine1, bitmapDataBoxShine2, bitmapDataBoxShine3, bitmapDataBoxShine4, bitmapDataBoxShine5);
boxShineSequence.init(_local2);
boxShakeSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapDataBoxShake1, bitmapDataBoxShake2, bitmapDataBoxShake3, bitmapDataBoxShake4);
boxShakeSequence.init(_local2);
cageShakeSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapDataCageShake1, bitmapDataCageShake2, bitmapDataCageShake3, bitmapDataCageShake4);
cageShakeSequence.init(_local2);
fanShakeSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapDataFanShake1, bitmapDataFanShake2, bitmapDataFanShake3, bitmapDataFanShake4);
fanShakeSequence.init(_local2);
pluppShakeSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapDataBoxPlupp1, bitmapDataBoxPlupp2, bitmapDataBoxPlupp3, bitmapDataBoxPlupp4);
pluppShakeSequence.init(_local2);
keySequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapDataKey1, bitmapDataKey2, bitmapDataKey3, bitmapDataKey4, bitmapDataKey5, bitmapDataKey6, bitmapDataKey7, bitmapDataKey8);
keySequence.init(_local2);
lockedCatSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapDataLockedCat1, bitmapDataLockedCat2, bitmapDataLockedCat3, bitmapDataLockedCat4, bitmapDataLockedCat5, bitmapDataLockedCat6, bitmapDataLockedCat7, bitmapDataLockedCat8, bitmapDataLockedCat9, bitmapDataLockedCat10, bitmapDataLockedCat11, bitmapDataLockedCat12, bitmapDataLockedCat13, bitmapDataLockedCat14, bitmapDataLockedCat15, bitmapDataLockedCat16, bitmapDataLockedCat17, bitmapDataLockedCat18, bitmapDataLockedCat19);
lockedCatSequence.init(_local2);
lockedBirdSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapDataLockedBird1, bitmapDataLockedBird2, bitmapDataLockedBird3, bitmapDataLockedBird4, bitmapDataLockedBird5, bitmapDataLockedBird6, bitmapDataLockedBird7, bitmapDataLockedBird8, bitmapDataLockedBird9, bitmapDataLockedBird10, bitmapDataLockedBird11, bitmapDataLockedBird12, bitmapDataLockedBird13, bitmapDataLockedBird14, bitmapDataLockedBird15, bitmapDataLockedBird16, bitmapDataLockedBird17, bitmapDataLockedBird18, bitmapDataLockedBird19, bitmapDataLockedBird20);
lockedBirdSequence.init(_local2);
lockedDogSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapDataLockedDog1, bitmapDataLockedDog2, bitmapDataLockedDog3, bitmapDataLockedDog4, bitmapDataLockedDog5, bitmapDataLockedDog6, bitmapDataLockedDog7, bitmapDataLockedDog8);
lockedDogSequence.init(_local2);
splashSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapDataSplash1, bitmapDataSplash2, bitmapDataSplash3, bitmapDataSplash4, bitmapDataSplash5, bitmapDataSplash6, bitmapDataSplash7, bitmapDataSplash8, bitmapDataSplash9, bitmapDataSplash10, bitmapDataSplash11);
splashSequence.init(_local2);
helicopterSignSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapDataHelicopterSign1, bitmapDataHelicopterSign2, bitmapDataHelicopterSign3);
helicopterSignSequence.init(_local2);
waterSignSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapDataWaterSign1, bitmapDataWaterSign2, bitmapDataWaterSign3);
waterSignSequence.init(_local2);
wrongBrickSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapDataWrongBrick1, bitmapDataWrongBrick2, bitmapDataWrongBrick3, bitmapDataWrongBrick4);
wrongBrickSequence.init(_local2);
_local2 = new Array(bitmapDataCatPopup1, bitmapDataCatPopup2);
catPopupSequence = new BitmapSequence(Render.bitmapRender);
catPopupSequence.init(_local2);
_local2 = new Array(bitmapDataBirdPopup1, bitmapDataBirdPopup2);
birdPopupSequence = new BitmapSequence(Render.bitmapRender);
birdPopupSequence.init(_local2);
_local2 = new Array(bitmapDataDogPopup1, bitmapDataDogPopup1);
dogPopupSequence = new BitmapSequence(Render.bitmapRender);
dogPopupSequence.init(_local2);
_local2 = new Array(bitmapDataHelicopter1, bitmapDataHelicopter2, bitmapDataHelicopter3, bitmapDataHelicopter4, bitmapDataHelicopter5, bitmapDataHelicopter6, bitmapDataHelicopter7);
helicopterSequence = new BitmapSequence(Render.bitmapRender);
helicopterSequence.init(_local2);
glitterSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapDataGlitter1, bitmapDataGlitter2, bitmapDataGlitter3, bitmapDataGlitter4, bitmapDataGlitter5, bitmapDataGlitter6, bitmapDataGlitter7, bitmapDataGlitter8, bitmapDataGlitter9, bitmapDataGlitter10, bitmapDataGlitter11, bitmapDataGlitter12, bitmapDataGlitter13);
glitterSequence.init(_local2);
moreGlitterSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapDataBoxGlitter1, bitmapDataBoxGlitter2, bitmapDataBoxGlitter3, bitmapDataBoxGlitter4, bitmapDataBoxGlitter5, bitmapDataBoxGlitter6, bitmapDataBoxGlitter7, bitmapDataBoxGlitter8, bitmapDataBoxGlitter9, bitmapDataBoxGlitter10, bitmapDataBoxGlitter11, bitmapDataBoxGlitter12, bitmapDataBoxGlitter13);
moreGlitterSequence.init(_local2);
burstSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapDataBurst1, bitmapDataBurst2, bitmapDataBurst3, bitmapDataBurst4, bitmapDataBurst5);
burstSequence.init(_local2);
popBoxRedSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapPopBoxRed1, bitmapPopBoxRed2, bitmapPopBoxRed3);
popBoxRedSequence.init(_local2);
popBoxGreenSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapPopBoxGreen1, bitmapPopBoxGreen2, bitmapPopBoxGreen3);
popBoxGreenSequence.init(_local2);
popBoxBlueSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapPopBoxBlue1, bitmapPopBoxBlue2, bitmapPopBoxBlue3);
popBoxBlueSequence.init(_local2);
popBoxYellowSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapPopBoxYellow1, bitmapPopBoxYellow2, bitmapPopBoxYellow3);
popBoxYellowSequence.init(_local2);
fireSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapDataFire1, bitmapDataFire2, bitmapDataFire3, bitmapDataFire4, bitmapDataFire5, bitmapDataFire6, bitmapDataFire7, bitmapDataFire8, bitmapDataFire9, bitmapDataFire10, bitmapDataFire11, bitmapDataFire12);
fireSequence.init(_local2);
fireOutSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapDataFireOut1, bitmapDataFireOut2, bitmapDataFireOut3, bitmapDataFireOut4, bitmapDataFireOut5);
fireOutSequence.init(_local2);
hudLightsSequence = new BitmapSequence(Render.bitmapRender);
_local2 = new Array(bitmapDataHUDLights1, bitmapDataHUDLights2, bitmapDataHUDLights3);
hudLightsSequence.init(_local2);
}
}
}//package puzzlegame
Section 39
//ScorePopup (puzzlegame.ScorePopup)
package puzzlegame {
import puzzlegame.*;
import flash.display.*;
class ScorePopup extends Popup {
private var clip:MovieClip;
private var startPosY:Number;
private var alphaValue:Number;
private var scaleValue:Number;
public static var MOVE_DISTANCE:int = 100;
function ScorePopup(_arg1:int){
lastFrame = 25;
animSpeed = 1;
clip = new scorepop();
clip.score_text.text = String(_arg1);
Render.scorePopupHolderClip.addChild(clip);
alphaValue = 0;
}
override public function tick(){
super.tick();
var _local1:Number = (frameNumber / lastFrame);
posY = (startPosY - (_local1 * MOVE_DISTANCE));
if (frame < 5){
alphaValue = (alphaValue + 0.2);
} else {
if (frame > 15){
alphaValue = (alphaValue - 0.1);
} else {
alphaValue = 1;
};
};
scaleValue = (1 + (0.6 * _local1));
}
override public function render(){
clip.x = posX;
clip.y = posY;
clip.alpha = alphaValue;
clip.scaleX = scaleValue;
clip.scaleY = scaleValue;
}
override public function deleting(){
Render.scorePopupHolderClip.removeChild(clip);
clip = null;
}
override public function setPos(_arg1:Number, _arg2:Number){
this.posX = _arg1;
this.posY = _arg2;
startPosY = _arg2;
}
}
}//package puzzlegame
Section 40
//SoundManager (puzzlegame.SoundManager)
package puzzlegame {
import flash.utils.*;
public class SoundManager {
private var managedSoundMap:Object;
private var managedSounds:Array;
private var lastTime:Number;// = -1
public var volume:Number;// = 1
private var fadeStartTime:Number;// = -1
private var fadeEndTime:Number;// = -1
private var fadeStartVolume:Number;// = -1
private var fadeEndVolume:Number;// = -1
public function SoundManager(){
managedSoundMap = new Object();
managedSounds = new Array();
super();
}
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){
fadeStartVolume = Math.sqrt(volume);
fadeEndVolume = Math.sqrt(_arg1);
fadeStartTime = getTimer();
fadeEndTime = (getTimer() + _arg2);
}
public function setVolume(_arg1:Number){
this.volume = _arg1;
fadeStartTime = -1;
}
public function stopAll(){
var _local1:int;
while (_local1 < managedSounds.length) {
managedSounds[_local1].stop();
_local1++;
};
}
public function update(){
var _local3:Number;
var _local1:* = 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++;
};
}
}
}//package puzzlegame
Section 41
//Sounds (puzzlegame.Sounds)
package puzzlegame {
public class Sounds {
public static var SOUND_VOLUME:Number = 0.3;
public static var isSoundOn:Boolean = true;
private static var playingAnimalBurningDog:Boolean = false;
private static var playingAnimalBurningCat:Boolean = false;
private static var playingAnimalBurningBird:Boolean = false;
private static var playingNewPuppyFound:Boolean = false;
private static var playingAnimalGroundSaveDog:Boolean = false;
private static var playingAnimalGroundSaveCat:Boolean = false;
private static var playingAnimalGroundSaveBird:Boolean = false;
public static var manager:SoundManager = new SoundManager();
public static function clearOnlyOne(){
playingAnimalBurningDog = false;
playingAnimalBurningCat = false;
playingAnimalBurningBird = false;
playingNewPuppyFound = false;
playingAnimalGroundSaveDog = false;
playingAnimalGroundSaveCat = false;
playingAnimalGroundSaveBird = false;
}
public static function soundOff(){
isSoundOn = false;
manager.fadeTo(0, 300);
}
public static function soundOffDirect(){
isSoundOn = false;
manager.setVolume(0);
}
public static function soundOn(){
isSoundOn = true;
manager.fadeTo(1, 300);
}
public static function update(){
manager.update();
}
public static function startTimeWarningLoop(){
manager.get("time_warning1").loop(SOUND_VOLUME);
}
public static function stopTimeWarningLoop(){
manager.get("time_warning1").stop();
}
public static function startHelicopterLoop(){
manager.get("animal_helicopter_save1").loop(SOUND_VOLUME);
}
public static function stopHelicopterLoop(){
manager.get("animal_helicopter_save1").stop();
}
public static function startFireSpreadingLoop(){
manager.get("fire_spreading1").loop(SOUND_VOLUME);
}
public static function stopFireSpreadingLoop(){
manager.get("fire_spreading1").stop();
}
public static function playAnimalBurningDog(){
if (playingAnimalBurningDog == false){
manager.get("animal_burned1").play(SOUND_VOLUME);
playingAnimalBurningDog = true;
};
}
public static function playAnimalBurningCat(){
if (playingAnimalBurningCat == false){
manager.get("cat_sad2").play(SOUND_VOLUME);
playingAnimalBurningCat = true;
};
}
public static function playAnimalBurningBird(){
if (playingAnimalBurningBird == false){
manager.get("sadbird").play(SOUND_VOLUME);
playingAnimalBurningBird = true;
};
}
public static function playMatch1(){
manager.get("combo1").play(SOUND_VOLUME);
}
public static function playMatch2(){
manager.get("pet_combo2").play(SOUND_VOLUME);
}
public static function playMatch3(){
manager.get("pet_combo3").play(SOUND_VOLUME);
}
public static function playMatch4(){
manager.get("pet_combo4").play(SOUND_VOLUME);
}
public static function playNegativeClick(){
manager.get("negative_click_sound3").play(SOUND_VOLUME);
}
public static function playHelicopterBonus(){
manager.get("helicopter_bonus1").play(SOUND_VOLUME);
}
public static function playWaterHoseCollected(){
manager.get("water_hose_collected1").play(SOUND_VOLUME);
}
public static function playWaterSplash(){
manager.get("water_splash1").play(SOUND_VOLUME);
}
public static function playNewPuppyFound(){
if (playingNewPuppyFound == false){
manager.get("new_puppy_found2").play(SOUND_VOLUME);
playingNewPuppyFound = true;
};
}
public static function playAnimalGroundSaveDog(){
if (playingAnimalGroundSaveDog == false){
manager.get("animal_ground_save1").play(SOUND_VOLUME);
playingAnimalGroundSaveDog = true;
};
}
public static function playAnimalGroundSaveCat(){
if (playingAnimalGroundSaveCat == false){
manager.get("cat_happy2").play(SOUND_VOLUME);
playingAnimalGroundSaveCat = true;
};
}
public static function playAnimalGroundSaveBird(){
if (playingAnimalGroundSaveBird == false){
manager.get("undulat_happy3").play(SOUND_VOLUME);
playingAnimalGroundSaveBird = true;
};
}
public static function playLevelCompleted(){
manager.get("level_completed1").play(SOUND_VOLUME);
}
public static function playLevelStart(){
manager.get("level_start1").play(SOUND_VOLUME);
}
}
}//package puzzlegame
Section 42
//Splash (puzzlegame.Splash)
package puzzlegame {
class Splash extends Popup {
function Splash(){
lastFrame = 10;
animSpeed = 1;
}
override public function tick(){
super.tick();
}
override public function render(){
Render.splashSequence.renderCall(frame, posX, posY);
}
}
}//package puzzlegame
Section 43
//TextProperties (puzzlegame.TextProperties)
package puzzlegame {
class TextProperties {
public static var INSTRUCTIONS_TEXT1:String = "INSTRUCTION_TEXT1";
public static var INSTRUCTIONS_TEXT2_1:String = "INSTRUCTION_TEXT2_1";
public static var INSTRUCTIONS_TEXT2_2:String = "INSTRUCTION_TEXT2_2";
public static var INSTRUCTIONS_TEXT3:String = "INSTRUCTION_TEXT3";
public static var END_LEVEL_SIGN_HEADER_COMPLETED:String = "END_LEVEL_SIGN_HEADER_COMPLETED";
public static var END_LEVEL_SIGN_HEADER_FAIL:String = "END_LEVEL_SIGN_HEADER_FAIL";
public static var END_LEVEL_SIGN_HEADER_TIMES_UP:String = "END_LEVEL_SIGN_HEADER_TIMES_UP";
public static var END_LEVEL_SIGN_SCORE:String = "END_LEVEL_SIGN_SCORE";
public static var END_LEVEL_SIGN_CLERENCE_BONUS:String = "END_LEVEL_SIGN_CLERENCE_BONUS";
public static var END_LEVEL_SIGN_HOSES_SAVED:String = "END_LEVEL_SIGN_HOSES_SAVED";
public static var END_LEVEL_SIGN_HELI_SAVED:String = "END_LEVEL_SIGN_HELI_SAVED";
public static var END_LEVEL_SIGN_TOTAL_SCORE:String = "END_LEVEL_SIGN_TOTAL_SCORE";
public static var START_LEVEL_SIGN_HEADER:String = "START_LEVEL_SIGN_HEADER";
public static var END_SIGN_HEADER:String = "END_SIGN_HEADER";
public static var END_SIGN_GAME_HEADER:String = "END_GAME_HEADER";
public static var END_SIGN_BEST_EVER:String = "END_SIGN_BEST_EVER";
public static var END_SIGN_BIGGEST_COMBO:String = "END_SIGN_BIGGEST_COMBO";
public static var END_SIGN_CLEARENCE:String = "END_SIGN_CLEARENCE";
public static var END_SIGN_PETS_SAVED:String = "END_SIGN_PETS_SAVED";
public static var END_SIGN_SCORE:String = "END_SIGN_SCORE";
public static var END_SIGN_PETS_SAVED_ALLTIME:String = "END_SIGN_PETS_SAVED_ALLTIME";
public static var END_SIGN_TROPHY_ONE_OVER:String = "END_SIGN_TROPHY_ONE_OVER";
public static var END_SIGN_TROPHY_TWO_OVER:String = "END_SIGN_TROPHY_TWO_OVER";
public static var END_SIGN_TROPHY_THREE_OVER:String = "END_SIGN_TROPHY_THREE_OVER";
public static var GAME_TIME:String = "GAME_TIME";
public static var GAME_SCORE:String = "SCORE";
public static var GAME_SAVES:String = "GAME_SAVES";
public static var GAME_STARTS_IN:String = "GAME_STARTS_IN";
public static var GAME_ENDS_IN:String = "GAME_ENDS_IN";
public static var LEVEL_STARTS_IN:String = "LEVEL_STARTS_IN";
public static var OPEN_GAME_TEXT:String = "OPEN_GAME_TEXT";
}
}//package puzzlegame
Section 44
//Timer (puzzlegame.Timer)
package puzzlegame {
import flash.utils.*;
public class Timer {
private var lastTime:Number;// = -1
private var ticksPerSecond:Number;
private var msPerTick:Number;
private var unprocessedTime:Number;// = 0
public var alpha:Number;// = 0
public var timeScale:Number;// = 1
public var passedTime: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 puzzlegame
Section 45
//WrongBrickPopup (puzzlegame.WrongBrickPopup)
package puzzlegame {
class WrongBrickPopup extends Popup {
function WrongBrickPopup(){
lastFrame = (Render.wrongBrickSequence.getLength() - 1);
animSpeed = 1;
}
override public function tick(){
super.tick();
}
override public function render(){
Render.wrongBrickSequence.renderCall(frame, posX, posY);
}
}
}//package puzzlegame
Section 46
//animal_burned1 (animal_burned1)
package {
import flash.media.*;
public dynamic class animal_burned1 extends Sound {
}
}//package
Section 47
//animal_ground_save1 (animal_ground_save1)
package {
import flash.media.*;
public dynamic class animal_ground_save1 extends Sound {
}
}//package
Section 48
//animal_helicopter_save1 (animal_helicopter_save1)
package {
import flash.media.*;
public dynamic class animal_helicopter_save1 extends Sound {
}
}//package
Section 49
//bakgrund (bakgrund)
package {
import flash.display.*;
public dynamic class bakgrund extends BitmapData {
public function bakgrund(_arg1:int=614, _arg2:int=698){
super(_arg1, _arg2);
}
}
}//package
Section 50
//bakgrund_top (bakgrund_top)
package {
import flash.display.*;
public dynamic class bakgrund_top extends BitmapData {
public function bakgrund_top(_arg1:int=614, _arg2:int=1088){
super(_arg1, _arg2);
}
}
}//package
Section 51
//cat_happy2 (cat_happy2)
package {
import flash.media.*;
public dynamic class cat_happy2 extends Sound {
}
}//package
Section 52
//cat_sad2 (cat_sad2)
package {
import flash.media.*;
public dynamic class cat_sad2 extends Sound {
}
}//package
Section 53
//combo1 (combo1)
package {
import flash.media.*;
public dynamic class combo1 extends Sound {
}
}//package
Section 54
//crate_blankare1 (crate_blankare1)
package {
import flash.display.*;
public dynamic class crate_blankare1 extends BitmapData {
public function crate_blankare1(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 55
//crate_blankare2 (crate_blankare2)
package {
import flash.display.*;
public dynamic class crate_blankare2 extends BitmapData {
public function crate_blankare2(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 56
//crate_blankare3 (crate_blankare3)
package {
import flash.display.*;
public dynamic class crate_blankare3 extends BitmapData {
public function crate_blankare3(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 57
//crate_box (crate_box)
package {
import flash.display.*;
public dynamic class crate_box extends BitmapData {
public function crate_box(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 58
//crate_box_exp1 (crate_box_exp1)
package {
import flash.display.*;
public dynamic class crate_box_exp1 extends BitmapData {
public function crate_box_exp1(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 59
//crate_box_exp2 (crate_box_exp2)
package {
import flash.display.*;
public dynamic class crate_box_exp2 extends BitmapData {
public function crate_box_exp2(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 60
//crate_box_exp3 (crate_box_exp3)
package {
import flash.display.*;
public dynamic class crate_box_exp3 extends BitmapData {
public function crate_box_exp3(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 61
//crate_box_glow01 (crate_box_glow01)
package {
import flash.display.*;
public dynamic class crate_box_glow01 extends BitmapData {
public function crate_box_glow01(_arg1:int=50, _arg2:int=34){
super(_arg1, _arg2);
}
}
}//package
Section 62
//crate_box_glow02 (crate_box_glow02)
package {
import flash.display.*;
public dynamic class crate_box_glow02 extends BitmapData {
public function crate_box_glow02(_arg1:int=50, _arg2:int=34){
super(_arg1, _arg2);
}
}
}//package
Section 63
//crate_box_glow03 (crate_box_glow03)
package {
import flash.display.*;
public dynamic class crate_box_glow03 extends BitmapData {
public function crate_box_glow03(_arg1:int=50, _arg2:int=34){
super(_arg1, _arg2);
}
}
}//package
Section 64
//crate_box_glow04 (crate_box_glow04)
package {
import flash.display.*;
public dynamic class crate_box_glow04 extends BitmapData {
public function crate_box_glow04(_arg1:int=50, _arg2:int=34){
super(_arg1, _arg2);
}
}
}//package
Section 65
//crate_box_glow05 (crate_box_glow05)
package {
import flash.display.*;
public dynamic class crate_box_glow05 extends BitmapData {
public function crate_box_glow05(_arg1:int=50, _arg2:int=34){
super(_arg1, _arg2);
}
}
}//package
Section 66
//crate_box_shake01 (crate_box_shake01)
package {
import flash.display.*;
public dynamic class crate_box_shake01 extends BitmapData {
public function crate_box_shake01(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 67
//crate_box_shake02 (crate_box_shake02)
package {
import flash.display.*;
public dynamic class crate_box_shake02 extends BitmapData {
public function crate_box_shake02(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 68
//crate_box_shake03 (crate_box_shake03)
package {
import flash.display.*;
public dynamic class crate_box_shake03 extends BitmapData {
public function crate_box_shake03(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 69
//crate_box_shake04 (crate_box_shake04)
package {
import flash.display.*;
public dynamic class crate_box_shake04 extends BitmapData {
public function crate_box_shake04(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 70
//crate_box_varning (crate_box_varning)
package {
import flash.display.*;
public dynamic class crate_box_varning extends BitmapData {
public function crate_box_varning(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 71
//crate_box_varning2 (crate_box_varning2)
package {
import flash.display.*;
public dynamic class crate_box_varning2 extends BitmapData {
public function crate_box_varning2(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 72
//crate_box2 (crate_box2)
package {
import flash.display.*;
public dynamic class crate_box2 extends BitmapData {
public function crate_box2(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 73
//crate_cage (crate_cage)
package {
import flash.display.*;
public dynamic class crate_cage extends BitmapData {
public function crate_cage(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 74
//crate_cage_exp1 (crate_cage_exp1)
package {
import flash.display.*;
public dynamic class crate_cage_exp1 extends BitmapData {
public function crate_cage_exp1(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 75
//crate_cage_exp2 (crate_cage_exp2)
package {
import flash.display.*;
public dynamic class crate_cage_exp2 extends BitmapData {
public function crate_cage_exp2(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 76
//crate_cage_exp3 (crate_cage_exp3)
package {
import flash.display.*;
public dynamic class crate_cage_exp3 extends BitmapData {
public function crate_cage_exp3(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 77
//crate_cage_shake01 (crate_cage_shake01)
package {
import flash.display.*;
public dynamic class crate_cage_shake01 extends BitmapData {
public function crate_cage_shake01(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 78
//crate_cage_shake02 (crate_cage_shake02)
package {
import flash.display.*;
public dynamic class crate_cage_shake02 extends BitmapData {
public function crate_cage_shake02(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 79
//crate_cage_shake03 (crate_cage_shake03)
package {
import flash.display.*;
public dynamic class crate_cage_shake03 extends BitmapData {
public function crate_cage_shake03(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 80
//crate_cage_shake04 (crate_cage_shake04)
package {
import flash.display.*;
public dynamic class crate_cage_shake04 extends BitmapData {
public function crate_cage_shake04(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 81
//crate_cage_varning1 (crate_cage_varning1)
package {
import flash.display.*;
public dynamic class crate_cage_varning1 extends BitmapData {
public function crate_cage_varning1(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 82
//crate_cage_varning2 (crate_cage_varning2)
package {
import flash.display.*;
public dynamic class crate_cage_varning2 extends BitmapData {
public function crate_cage_varning2(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 83
//crate_cage2 (crate_cage2)
package {
import flash.display.*;
public dynamic class crate_cage2 extends BitmapData {
public function crate_cage2(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 84
//crate_fan (crate_fan)
package {
import flash.display.*;
public dynamic class crate_fan extends BitmapData {
public function crate_fan(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 85
//crate_fan_exp1 (crate_fan_exp1)
package {
import flash.display.*;
public dynamic class crate_fan_exp1 extends BitmapData {
public function crate_fan_exp1(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 86
//crate_fan_exp2 (crate_fan_exp2)
package {
import flash.display.*;
public dynamic class crate_fan_exp2 extends BitmapData {
public function crate_fan_exp2(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 87
//crate_fan_exp3 (crate_fan_exp3)
package {
import flash.display.*;
public dynamic class crate_fan_exp3 extends BitmapData {
public function crate_fan_exp3(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 88
//crate_fan_shake01 (crate_fan_shake01)
package {
import flash.display.*;
public dynamic class crate_fan_shake01 extends BitmapData {
public function crate_fan_shake01(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 89
//crate_fan_shake02 (crate_fan_shake02)
package {
import flash.display.*;
public dynamic class crate_fan_shake02 extends BitmapData {
public function crate_fan_shake02(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 90
//crate_fan_shake03 (crate_fan_shake03)
package {
import flash.display.*;
public dynamic class crate_fan_shake03 extends BitmapData {
public function crate_fan_shake03(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 91
//crate_fan_shake04 (crate_fan_shake04)
package {
import flash.display.*;
public dynamic class crate_fan_shake04 extends BitmapData {
public function crate_fan_shake04(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 92
//crate_fan_varning1 (crate_fan_varning1)
package {
import flash.display.*;
public dynamic class crate_fan_varning1 extends BitmapData {
public function crate_fan_varning1(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 93
//crate_fan_varning2 (crate_fan_varning2)
package {
import flash.display.*;
public dynamic class crate_fan_varning2 extends BitmapData {
public function crate_fan_varning2(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 94
//crate_fan2 (crate_fan2)
package {
import flash.display.*;
public dynamic class crate_fan2 extends BitmapData {
public function crate_fan2(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 95
//crate_katt1 (crate_katt1)
package {
import flash.display.*;
public dynamic class crate_katt1 extends BitmapData {
public function crate_katt1(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 96
//crate_katt2 (crate_katt2)
package {
import flash.display.*;
public dynamic class crate_katt2 extends BitmapData {
public function crate_katt2(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 97
//crate_pippi1 (crate_pippi1)
package {
import flash.display.*;
public dynamic class crate_pippi1 extends BitmapData {
public function crate_pippi1(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 98
//crate_pippi2 (crate_pippi2)
package {
import flash.display.*;
public dynamic class crate_pippi2 extends BitmapData {
public function crate_pippi2(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 99
//crate_plupp (crate_plupp)
package {
import flash.display.*;
public dynamic class crate_plupp extends BitmapData {
public function crate_plupp(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 100
//crate_plupp_exp1 (crate_plupp_exp1)
package {
import flash.display.*;
public dynamic class crate_plupp_exp1 extends BitmapData {
public function crate_plupp_exp1(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 101
//crate_plupp_exp2 (crate_plupp_exp2)
package {
import flash.display.*;
public dynamic class crate_plupp_exp2 extends BitmapData {
public function crate_plupp_exp2(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 102
//crate_plupp_exp3 (crate_plupp_exp3)
package {
import flash.display.*;
public dynamic class crate_plupp_exp3 extends BitmapData {
public function crate_plupp_exp3(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 103
//crate_plupp_shake01 (crate_plupp_shake01)
package {
import flash.display.*;
public dynamic class crate_plupp_shake01 extends BitmapData {
public function crate_plupp_shake01(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 104
//crate_plupp_shake02 (crate_plupp_shake02)
package {
import flash.display.*;
public dynamic class crate_plupp_shake02 extends BitmapData {
public function crate_plupp_shake02(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 105
//crate_plupp_shake03 (crate_plupp_shake03)
package {
import flash.display.*;
public dynamic class crate_plupp_shake03 extends BitmapData {
public function crate_plupp_shake03(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 106
//crate_plupp_shake04 (crate_plupp_shake04)
package {
import flash.display.*;
public dynamic class crate_plupp_shake04 extends BitmapData {
public function crate_plupp_shake04(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 107
//crate_plupp_varning1 (crate_plupp_varning1)
package {
import flash.display.*;
public dynamic class crate_plupp_varning1 extends BitmapData {
public function crate_plupp_varning1(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 108
//crate_plupp_varning2 (crate_plupp_varning2)
package {
import flash.display.*;
public dynamic class crate_plupp_varning2 extends BitmapData {
public function crate_plupp_varning2(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 109
//crate_plupp2 (crate_plupp2)
package {
import flash.display.*;
public dynamic class crate_plupp2 extends BitmapData {
public function crate_plupp2(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 110
//crate_valp1 (crate_valp1)
package {
import flash.display.*;
public dynamic class crate_valp1 extends BitmapData {
public function crate_valp1(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 111
//crate_valp2 (crate_valp2)
package {
import flash.display.*;
public dynamic class crate_valp2 extends BitmapData {
public function crate_valp2(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 112
//dubbelglitter1 (dubbelglitter1)
package {
import flash.display.*;
public dynamic class dubbelglitter1 extends BitmapData {
public function dubbelglitter1(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 113
//dubbelglitter10 (dubbelglitter10)
package {
import flash.display.*;
public dynamic class dubbelglitter10 extends BitmapData {
public function dubbelglitter10(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 114
//dubbelglitter11 (dubbelglitter11)
package {
import flash.display.*;
public dynamic class dubbelglitter11 extends BitmapData {
public function dubbelglitter11(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 115
//dubbelglitter12 (dubbelglitter12)
package {
import flash.display.*;
public dynamic class dubbelglitter12 extends BitmapData {
public function dubbelglitter12(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 116
//dubbelglitter13 (dubbelglitter13)
package {
import flash.display.*;
public dynamic class dubbelglitter13 extends BitmapData {
public function dubbelglitter13(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 117
//dubbelglitter2 (dubbelglitter2)
package {
import flash.display.*;
public dynamic class dubbelglitter2 extends BitmapData {
public function dubbelglitter2(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 118
//dubbelglitter3 (dubbelglitter3)
package {
import flash.display.*;
public dynamic class dubbelglitter3 extends BitmapData {
public function dubbelglitter3(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 119
//dubbelglitter4 (dubbelglitter4)
package {
import flash.display.*;
public dynamic class dubbelglitter4 extends BitmapData {
public function dubbelglitter4(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 120
//dubbelglitter5 (dubbelglitter5)
package {
import flash.display.*;
public dynamic class dubbelglitter5 extends BitmapData {
public function dubbelglitter5(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 121
//dubbelglitter6 (dubbelglitter6)
package {
import flash.display.*;
public dynamic class dubbelglitter6 extends BitmapData {
public function dubbelglitter6(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 122
//dubbelglitter7 (dubbelglitter7)
package {
import flash.display.*;
public dynamic class dubbelglitter7 extends BitmapData {
public function dubbelglitter7(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 123
//dubbelglitter8 (dubbelglitter8)
package {
import flash.display.*;
public dynamic class dubbelglitter8 extends BitmapData {
public function dubbelglitter8(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 124
//dubbelglitter9 (dubbelglitter9)
package {
import flash.display.*;
public dynamic class dubbelglitter9 extends BitmapData {
public function dubbelglitter9(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 125
//eld_varningsram (eld_varningsram)
package {
import flash.display.*;
public dynamic class eld_varningsram extends BitmapData {
public function eld_varningsram(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 126
//fire_out01 (fire_out01)
package {
import flash.display.*;
public dynamic class fire_out01 extends BitmapData {
public function fire_out01(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 127
//fire_out02 (fire_out02)
package {
import flash.display.*;
public dynamic class fire_out02 extends BitmapData {
public function fire_out02(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 128
//fire_out03 (fire_out03)
package {
import flash.display.*;
public dynamic class fire_out03 extends BitmapData {
public function fire_out03(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 129
//fire_out04 (fire_out04)
package {
import flash.display.*;
public dynamic class fire_out04 extends BitmapData {
public function fire_out04(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 130
//fire_out05 (fire_out05)
package {
import flash.display.*;
public dynamic class fire_out05 extends BitmapData {
public function fire_out05(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 131
//fire_spreading1 (fire_spreading1)
package {
import flash.media.*;
public dynamic class fire_spreading1 extends Sound {
}
}//package
Section 132
//Fire01 (Fire01)
package {
import flash.display.*;
public dynamic class Fire01 extends BitmapData {
public function Fire01(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 133
//Fire02 (Fire02)
package {
import flash.display.*;
public dynamic class Fire02 extends BitmapData {
public function Fire02(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 134
//Fire03 (Fire03)
package {
import flash.display.*;
public dynamic class Fire03 extends BitmapData {
public function Fire03(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 135
//Fire04 (Fire04)
package {
import flash.display.*;
public dynamic class Fire04 extends BitmapData {
public function Fire04(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 136
//Fire05 (Fire05)
package {
import flash.display.*;
public dynamic class Fire05 extends BitmapData {
public function Fire05(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 137
//Fire06 (Fire06)
package {
import flash.display.*;
public dynamic class Fire06 extends BitmapData {
public function Fire06(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 138
//Fire07 (Fire07)
package {
import flash.display.*;
public dynamic class Fire07 extends BitmapData {
public function Fire07(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 139
//Fire08 (Fire08)
package {
import flash.display.*;
public dynamic class Fire08 extends BitmapData {
public function Fire08(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 140
//Fire09 (Fire09)
package {
import flash.display.*;
public dynamic class Fire09 extends BitmapData {
public function Fire09(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 141
//Fire10 (Fire10)
package {
import flash.display.*;
public dynamic class Fire10 extends BitmapData {
public function Fire10(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 142
//Fire11 (Fire11)
package {
import flash.display.*;
public dynamic class Fire11 extends BitmapData {
public function Fire11(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 143
//Fire12 (Fire12)
package {
import flash.display.*;
public dynamic class Fire12 extends BitmapData {
public function Fire12(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 144
//glitter1 (glitter1)
package {
import flash.display.*;
public dynamic class glitter1 extends BitmapData {
public function glitter1(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 145
//glitter10 (glitter10)
package {
import flash.display.*;
public dynamic class glitter10 extends BitmapData {
public function glitter10(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 146
//glitter11 (glitter11)
package {
import flash.display.*;
public dynamic class glitter11 extends BitmapData {
public function glitter11(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 147
//glitter12 (glitter12)
package {
import flash.display.*;
public dynamic class glitter12 extends BitmapData {
public function glitter12(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 148
//glitter13 (glitter13)
package {
import flash.display.*;
public dynamic class glitter13 extends BitmapData {
public function glitter13(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 149
//glitter2 (glitter2)
package {
import flash.display.*;
public dynamic class glitter2 extends BitmapData {
public function glitter2(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 150
//glitter3 (glitter3)
package {
import flash.display.*;
public dynamic class glitter3 extends BitmapData {
public function glitter3(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 151
//glitter4 (glitter4)
package {
import flash.display.*;
public dynamic class glitter4 extends BitmapData {
public function glitter4(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 152
//glitter5 (glitter5)
package {
import flash.display.*;
public dynamic class glitter5 extends BitmapData {
public function glitter5(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 153
//glitter6 (glitter6)
package {
import flash.display.*;
public dynamic class glitter6 extends BitmapData {
public function glitter6(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 154
//glitter7 (glitter7)
package {
import flash.display.*;
public dynamic class glitter7 extends BitmapData {
public function glitter7(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 155
//glitter8 (glitter8)
package {
import flash.display.*;
public dynamic class glitter8 extends BitmapData {
public function glitter8(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 156
//glitter9 (glitter9)
package {
import flash.display.*;
public dynamic class glitter9 extends BitmapData {
public function glitter9(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 157
//Handske (Handske)
package {
import flash.display.*;
public dynamic class Handske extends MovieClip {
}
}//package
Section 158
//helicopter_bonus1 (helicopter_bonus1)
package {
import flash.media.*;
public dynamic class helicopter_bonus1 extends Sound {
}
}//package
Section 159
//helikoter_save01 (helikoter_save01)
package {
import flash.display.*;
public dynamic class helikoter_save01 extends BitmapData {
public function helikoter_save01(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 160
//helikoter_save02 (helikoter_save02)
package {
import flash.display.*;
public dynamic class helikoter_save02 extends BitmapData {
public function helikoter_save02(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 161
//helikoter_save03 (helikoter_save03)
package {
import flash.display.*;
public dynamic class helikoter_save03 extends BitmapData {
public function helikoter_save03(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 162
//helikoter_save04 (helikoter_save04)
package {
import flash.display.*;
public dynamic class helikoter_save04 extends BitmapData {
public function helikoter_save04(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 163
//helikoter_save05 (helikoter_save05)
package {
import flash.display.*;
public dynamic class helikoter_save05 extends BitmapData {
public function helikoter_save05(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 164
//helikoter_save06 (helikoter_save06)
package {
import flash.display.*;
public dynamic class helikoter_save06 extends BitmapData {
public function helikoter_save06(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 165
//helikoter_save07 (helikoter_save07)
package {
import flash.display.*;
public dynamic class helikoter_save07 extends BitmapData {
public function helikoter_save07(_arg1:int=70, _arg2:int=50){
super(_arg1, _arg2);
}
}
}//package
Section 166
//hiss (hiss)
package {
import flash.display.*;
public dynamic class hiss extends BitmapData {
public function hiss(_arg1:int=17, _arg2:int=339){
super(_arg1, _arg2);
}
}
}//package
Section 167
//hiss_fargbarometer (hiss_fargbarometer)
package {
import flash.display.*;
public dynamic class hiss_fargbarometer extends BitmapData {
public function hiss_fargbarometer(_arg1:int=19, _arg2:int=630){
super(_arg1, _arg2);
}
}
}//package
Section 168
//hiss_fargbarometer_levels (hiss_fargbarometer_levels)
package {
import flash.display.*;
public dynamic class hiss_fargbarometer_levels extends BitmapData {
public function hiss_fargbarometer_levels(_arg1:int=20, _arg2:int=339){
super(_arg1, _arg2);
}
}
}//package
Section 169
//hiss_klocka_fargbyte (hiss_klocka_fargbyte)
package {
import flash.display.*;
public dynamic class hiss_klocka_fargbyte extends BitmapData {
public function hiss_klocka_fargbyte(_arg1:int=20, _arg2:int=22){
super(_arg1, _arg2);
}
}
}//package
Section 170
//HundredSign (HundredSign)
package {
import flash.display.*;
public dynamic class HundredSign extends MovieClip {
}
}//package
Section 171
//hus (hus)
package {
import flash.display.*;
public dynamic class hus extends BitmapData {
public function hus(_arg1:int=140, _arg2:int=600){
super(_arg1, _arg2);
}
}
}//package
Section 172
//hus2 (hus2)
package {
import flash.display.*;
public dynamic class hus2 extends BitmapData {
public function hus2(_arg1:int=140, _arg2:int=600){
super(_arg1, _arg2);
}
}
}//package
Section 173
//hus3 (hus3)
package {
import flash.display.*;
public dynamic class hus3 extends BitmapData {
public function hus3(_arg1:int=140, _arg2:int=600){
super(_arg1, _arg2);
}
}
}//package
Section 174
//hus4 (hus4)
package {
import flash.display.*;
public dynamic class hus4 extends BitmapData {
public function hus4(_arg1:int=140, _arg2:int=600){
super(_arg1, _arg2);
}
}
}//package
Section 175
//IntroClip (IntroClip)
package {
import flash.display.*;
import flash.text.*;
public dynamic class IntroClip extends MovieClip {
public var text1_txt:TextField;
public var text3_txt:TextField;
public var text2_2_txt:TextField;
public var game_starts_in_txt:TextField;
public var text2_1_txt:TextField;
}
}//package
Section 176
//katt_blink01 (katt_blink01)
package {
import flash.display.*;
public dynamic class katt_blink01 extends BitmapData {
public function katt_blink01(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 177
//katt_blink02 (katt_blink02)
package {
import flash.display.*;
public dynamic class katt_blink02 extends BitmapData {
public function katt_blink02(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 178
//katt_blink03 (katt_blink03)
package {
import flash.display.*;
public dynamic class katt_blink03 extends BitmapData {
public function katt_blink03(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 179
//katt_burn01 (katt_burn01)
package {
import flash.display.*;
public dynamic class katt_burn01 extends BitmapData {
public function katt_burn01(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 180
//katt_burn02 (katt_burn02)
package {
import flash.display.*;
public dynamic class katt_burn02 extends BitmapData {
public function katt_burn02(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 181
//katt_burn03 (katt_burn03)
package {
import flash.display.*;
public dynamic class katt_burn03 extends BitmapData {
public function katt_burn03(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 182
//katt_burn04 (katt_burn04)
package {
import flash.display.*;
public dynamic class katt_burn04 extends BitmapData {
public function katt_burn04(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 183
//katt_burn05 (katt_burn05)
package {
import flash.display.*;
public dynamic class katt_burn05 extends BitmapData {
public function katt_burn05(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 184
//katt_burn06 (katt_burn06)
package {
import flash.display.*;
public dynamic class katt_burn06 extends BitmapData {
public function katt_burn06(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 185
//katt_burn07 (katt_burn07)
package {
import flash.display.*;
public dynamic class katt_burn07 extends BitmapData {
public function katt_burn07(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 186
//katt_burn08 (katt_burn08)
package {
import flash.display.*;
public dynamic class katt_burn08 extends BitmapData {
public function katt_burn08(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 187
//katt_burn09 (katt_burn09)
package {
import flash.display.*;
public dynamic class katt_burn09 extends BitmapData {
public function katt_burn09(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 188
//katt_burn10 (katt_burn10)
package {
import flash.display.*;
public dynamic class katt_burn10 extends BitmapData {
public function katt_burn10(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 189
//katt_burn11 (katt_burn11)
package {
import flash.display.*;
public dynamic class katt_burn11 extends BitmapData {
public function katt_burn11(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 190
//katt_burn12 (katt_burn12)
package {
import flash.display.*;
public dynamic class katt_burn12 extends BitmapData {
public function katt_burn12(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 191
//katt_burn13 (katt_burn13)
package {
import flash.display.*;
public dynamic class katt_burn13 extends BitmapData {
public function katt_burn13(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 192
//katt_burn14 (katt_burn14)
package {
import flash.display.*;
public dynamic class katt_burn14 extends BitmapData {
public function katt_burn14(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 193
//katt_burn15 (katt_burn15)
package {
import flash.display.*;
public dynamic class katt_burn15 extends BitmapData {
public function katt_burn15(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 194
//katt_fall01 (katt_fall01)
package {
import flash.display.*;
public dynamic class katt_fall01 extends BitmapData {
public function katt_fall01(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 195
//katt_fall02 (katt_fall02)
package {
import flash.display.*;
public dynamic class katt_fall02 extends BitmapData {
public function katt_fall02(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 196
//katt_fall03 (katt_fall03)
package {
import flash.display.*;
public dynamic class katt_fall03 extends BitmapData {
public function katt_fall03(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 197
//katt_fall04 (katt_fall04)
package {
import flash.display.*;
public dynamic class katt_fall04 extends BitmapData {
public function katt_fall04(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 198
//katt_fall05 (katt_fall05)
package {
import flash.display.*;
public dynamic class katt_fall05 extends BitmapData {
public function katt_fall05(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 199
//katt_fall06 (katt_fall06)
package {
import flash.display.*;
public dynamic class katt_fall06 extends BitmapData {
public function katt_fall06(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 200
//katt_fall10 (katt_fall10)
package {
import flash.display.*;
public dynamic class katt_fall10 extends BitmapData {
public function katt_fall10(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 201
//katt_fall11 (katt_fall11)
package {
import flash.display.*;
public dynamic class katt_fall11 extends BitmapData {
public function katt_fall11(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 202
//katt_fall12 (katt_fall12)
package {
import flash.display.*;
public dynamic class katt_fall12 extends BitmapData {
public function katt_fall12(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 203
//katt_intro (katt_intro)
package {
import flash.display.*;
public dynamic class katt_intro extends BitmapData {
public function katt_intro(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 204
//Katt_smoke_01 (Katt_smoke_01)
package {
import flash.display.*;
public dynamic class Katt_smoke_01 extends BitmapData {
public function Katt_smoke_01(_arg1:int=73, _arg2:int=138){
super(_arg1, _arg2);
}
}
}//package
Section 205
//Katt_smoke_02 (Katt_smoke_02)
package {
import flash.display.*;
public dynamic class Katt_smoke_02 extends BitmapData {
public function Katt_smoke_02(_arg1:int=73, _arg2:int=138){
super(_arg1, _arg2);
}
}
}//package
Section 206
//katt_tittarner01 (katt_tittarner01)
package {
import flash.display.*;
public dynamic class katt_tittarner01 extends BitmapData {
public function katt_tittarner01(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 207
//katt_tittarner02 (katt_tittarner02)
package {
import flash.display.*;
public dynamic class katt_tittarner02 extends BitmapData {
public function katt_tittarner02(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 208
//katt_tittarner03 (katt_tittarner03)
package {
import flash.display.*;
public dynamic class katt_tittarner03 extends BitmapData {
public function katt_tittarner03(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 209
//katt_tittarner04 (katt_tittarner04)
package {
import flash.display.*;
public dynamic class katt_tittarner04 extends BitmapData {
public function katt_tittarner04(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 210
//katt_tittarner05 (katt_tittarner05)
package {
import flash.display.*;
public dynamic class katt_tittarner05 extends BitmapData {
public function katt_tittarner05(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 211
//katt_tittarner06 (katt_tittarner06)
package {
import flash.display.*;
public dynamic class katt_tittarner06 extends BitmapData {
public function katt_tittarner06(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 212
//katt_tittarner07 (katt_tittarner07)
package {
import flash.display.*;
public dynamic class katt_tittarner07 extends BitmapData {
public function katt_tittarner07(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 213
//katt_tittarner08 (katt_tittarner08)
package {
import flash.display.*;
public dynamic class katt_tittarner08 extends BitmapData {
public function katt_tittarner08(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 214
//katt_tittarner09 (katt_tittarner09)
package {
import flash.display.*;
public dynamic class katt_tittarner09 extends BitmapData {
public function katt_tittarner09(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 215
//katt_tittarner10 (katt_tittarner10)
package {
import flash.display.*;
public dynamic class katt_tittarner10 extends BitmapData {
public function katt_tittarner10(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 216
//katt_tittarner11 (katt_tittarner11)
package {
import flash.display.*;
public dynamic class katt_tittarner11 extends BitmapData {
public function katt_tittarner11(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 217
//katt_tittarner12 (katt_tittarner12)
package {
import flash.display.*;
public dynamic class katt_tittarner12 extends BitmapData {
public function katt_tittarner12(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 218
//katt_tittarner13 (katt_tittarner13)
package {
import flash.display.*;
public dynamic class katt_tittarner13 extends BitmapData {
public function katt_tittarner13(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 219
//katt_tittarner14 (katt_tittarner14)
package {
import flash.display.*;
public dynamic class katt_tittarner14 extends BitmapData {
public function katt_tittarner14(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 220
//katt_tittarner15 (katt_tittarner15)
package {
import flash.display.*;
public dynamic class katt_tittarner15 extends BitmapData {
public function katt_tittarner15(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 221
//katt_tittarner16 (katt_tittarner16)
package {
import flash.display.*;
public dynamic class katt_tittarner16 extends BitmapData {
public function katt_tittarner16(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 222
//katt_tittarner17 (katt_tittarner17)
package {
import flash.display.*;
public dynamic class katt_tittarner17 extends BitmapData {
public function katt_tittarner17(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 223
//katt_tittarner18 (katt_tittarner18)
package {
import flash.display.*;
public dynamic class katt_tittarner18 extends BitmapData {
public function katt_tittarner18(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 224
//katt_tittarner19 (katt_tittarner19)
package {
import flash.display.*;
public dynamic class katt_tittarner19 extends BitmapData {
public function katt_tittarner19(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 225
//katt_tunga01 (katt_tunga01)
package {
import flash.display.*;
public dynamic class katt_tunga01 extends BitmapData {
public function katt_tunga01(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 226
//katt_tunga02 (katt_tunga02)
package {
import flash.display.*;
public dynamic class katt_tunga02 extends BitmapData {
public function katt_tunga02(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 227
//katt_tunga03 (katt_tunga03)
package {
import flash.display.*;
public dynamic class katt_tunga03 extends BitmapData {
public function katt_tunga03(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 228
//katt_tunga04 (katt_tunga04)
package {
import flash.display.*;
public dynamic class katt_tunga04 extends BitmapData {
public function katt_tunga04(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 229
//katt_tunga05 (katt_tunga05)
package {
import flash.display.*;
public dynamic class katt_tunga05 extends BitmapData {
public function katt_tunga05(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 230
//katt_tunga06 (katt_tunga06)
package {
import flash.display.*;
public dynamic class katt_tunga06 extends BitmapData {
public function katt_tunga06(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 231
//katt_tunga07 (katt_tunga07)
package {
import flash.display.*;
public dynamic class katt_tunga07 extends BitmapData {
public function katt_tunga07(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 232
//kattunge_happy01 (kattunge_happy01)
package {
import flash.display.*;
public dynamic class kattunge_happy01 extends BitmapData {
public function kattunge_happy01(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 233
//kattunge_happy02 (kattunge_happy02)
package {
import flash.display.*;
public dynamic class kattunge_happy02 extends BitmapData {
public function kattunge_happy02(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 234
//kattunge_happy03 (kattunge_happy03)
package {
import flash.display.*;
public dynamic class kattunge_happy03 extends BitmapData {
public function kattunge_happy03(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 235
//kattunge_happy04 (kattunge_happy04)
package {
import flash.display.*;
public dynamic class kattunge_happy04 extends BitmapData {
public function kattunge_happy04(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 236
//kattunge_happy05 (kattunge_happy05)
package {
import flash.display.*;
public dynamic class kattunge_happy05 extends BitmapData {
public function kattunge_happy05(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 237
//kattunge_happy06 (kattunge_happy06)
package {
import flash.display.*;
public dynamic class kattunge_happy06 extends BitmapData {
public function kattunge_happy06(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 238
//kattunge_happy07 (kattunge_happy07)
package {
import flash.display.*;
public dynamic class kattunge_happy07 extends BitmapData {
public function kattunge_happy07(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 239
//kattunge_happy08 (kattunge_happy08)
package {
import flash.display.*;
public dynamic class kattunge_happy08 extends BitmapData {
public function kattunge_happy08(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 240
//kattunge_happy09 (kattunge_happy09)
package {
import flash.display.*;
public dynamic class kattunge_happy09 extends BitmapData {
public function kattunge_happy09(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 241
//kattunge_happy10 (kattunge_happy10)
package {
import flash.display.*;
public dynamic class kattunge_happy10 extends BitmapData {
public function kattunge_happy10(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 242
//kattunge_happy11 (kattunge_happy11)
package {
import flash.display.*;
public dynamic class kattunge_happy11 extends BitmapData {
public function kattunge_happy11(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 243
//kattunge_happy12 (kattunge_happy12)
package {
import flash.display.*;
public dynamic class kattunge_happy12 extends BitmapData {
public function kattunge_happy12(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 244
//kattunge_happy13 (kattunge_happy13)
package {
import flash.display.*;
public dynamic class kattunge_happy13 extends BitmapData {
public function kattunge_happy13(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 245
//kattunge_happy14 (kattunge_happy14)
package {
import flash.display.*;
public dynamic class kattunge_happy14 extends BitmapData {
public function kattunge_happy14(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 246
//kattunge_happy15 (kattunge_happy15)
package {
import flash.display.*;
public dynamic class kattunge_happy15 extends BitmapData {
public function kattunge_happy15(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 247
//kattunge_happy16 (kattunge_happy16)
package {
import flash.display.*;
public dynamic class kattunge_happy16 extends BitmapData {
public function kattunge_happy16(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 248
//kattunge_happy17 (kattunge_happy17)
package {
import flash.display.*;
public dynamic class kattunge_happy17 extends BitmapData {
public function kattunge_happy17(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 249
//kattunge_happy18 (kattunge_happy18)
package {
import flash.display.*;
public dynamic class kattunge_happy18 extends BitmapData {
public function kattunge_happy18(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 250
//kattunge_happy19 (kattunge_happy19)
package {
import flash.display.*;
public dynamic class kattunge_happy19 extends BitmapData {
public function kattunge_happy19(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 251
//key01 (key01)
package {
import flash.display.*;
public dynamic class key01 extends BitmapData {
public function key01(_arg1:int=35, _arg2:int=20){
super(_arg1, _arg2);
}
}
}//package
Section 252
//key02 (key02)
package {
import flash.display.*;
public dynamic class key02 extends BitmapData {
public function key02(_arg1:int=35, _arg2:int=20){
super(_arg1, _arg2);
}
}
}//package
Section 253
//key03 (key03)
package {
import flash.display.*;
public dynamic class key03 extends BitmapData {
public function key03(_arg1:int=35, _arg2:int=20){
super(_arg1, _arg2);
}
}
}//package
Section 254
//key04 (key04)
package {
import flash.display.*;
public dynamic class key04 extends BitmapData {
public function key04(_arg1:int=35, _arg2:int=20){
super(_arg1, _arg2);
}
}
}//package
Section 255
//key05 (key05)
package {
import flash.display.*;
public dynamic class key05 extends BitmapData {
public function key05(_arg1:int=35, _arg2:int=20){
super(_arg1, _arg2);
}
}
}//package
Section 256
//key06 (key06)
package {
import flash.display.*;
public dynamic class key06 extends BitmapData {
public function key06(_arg1:int=35, _arg2:int=20){
super(_arg1, _arg2);
}
}
}//package
Section 257
//key07 (key07)
package {
import flash.display.*;
public dynamic class key07 extends BitmapData {
public function key07(_arg1:int=35, _arg2:int=20){
super(_arg1, _arg2);
}
}
}//package
Section 258
//key08 (key08)
package {
import flash.display.*;
public dynamic class key08 extends BitmapData {
public function key08(_arg1:int=35, _arg2:int=20){
super(_arg1, _arg2);
}
}
}//package
Section 259
//korg (korg)
package {
import flash.display.*;
public dynamic class korg extends BitmapData {
public function korg(_arg1:int=56, _arg2:int=440){
super(_arg1, _arg2);
}
}
}//package
Section 260
//level_completed1 (level_completed1)
package {
import flash.media.*;
public dynamic class level_completed1 extends Sound {
}
}//package
Section 261
//level_start1 (level_start1)
package {
import flash.media.*;
public dynamic class level_start1 extends Sound {
}
}//package
Section 262
//LevelSign (LevelSign)
package {
import flash.display.*;
public dynamic class LevelSign extends MovieClip {
public var resultsTexts_mc:MovieClip;
public var startLevelText_mc:MovieClip;
public function LevelSign(){
addFrameScript(62, frame63, 102, frame103);
}
function frame63(){
stop();
}
function frame103(){
stop();
}
}
}//package
Section 263
//LockedKatt01 (LockedKatt01)
package {
import flash.display.*;
public dynamic class LockedKatt01 extends BitmapData {
public function LockedKatt01(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 264
//LockedKatt02 (LockedKatt02)
package {
import flash.display.*;
public dynamic class LockedKatt02 extends BitmapData {
public function LockedKatt02(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 265
//LockedKatt03 (LockedKatt03)
package {
import flash.display.*;
public dynamic class LockedKatt03 extends BitmapData {
public function LockedKatt03(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 266
//LockedKatt04 (LockedKatt04)
package {
import flash.display.*;
public dynamic class LockedKatt04 extends BitmapData {
public function LockedKatt04(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 267
//LockedKatt05 (LockedKatt05)
package {
import flash.display.*;
public dynamic class LockedKatt05 extends BitmapData {
public function LockedKatt05(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 268
//LockedKatt06 (LockedKatt06)
package {
import flash.display.*;
public dynamic class LockedKatt06 extends BitmapData {
public function LockedKatt06(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 269
//LockedKatt07 (LockedKatt07)
package {
import flash.display.*;
public dynamic class LockedKatt07 extends BitmapData {
public function LockedKatt07(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 270
//LockedKatt08 (LockedKatt08)
package {
import flash.display.*;
public dynamic class LockedKatt08 extends BitmapData {
public function LockedKatt08(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 271
//LockedKatt09 (LockedKatt09)
package {
import flash.display.*;
public dynamic class LockedKatt09 extends BitmapData {
public function LockedKatt09(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 272
//LockedKatt10 (LockedKatt10)
package {
import flash.display.*;
public dynamic class LockedKatt10 extends BitmapData {
public function LockedKatt10(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 273
//LockedKatt11 (LockedKatt11)
package {
import flash.display.*;
public dynamic class LockedKatt11 extends BitmapData {
public function LockedKatt11(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 274
//LockedKatt12 (LockedKatt12)
package {
import flash.display.*;
public dynamic class LockedKatt12 extends BitmapData {
public function LockedKatt12(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 275
//LockedKatt13 (LockedKatt13)
package {
import flash.display.*;
public dynamic class LockedKatt13 extends BitmapData {
public function LockedKatt13(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 276
//LockedKatt14 (LockedKatt14)
package {
import flash.display.*;
public dynamic class LockedKatt14 extends BitmapData {
public function LockedKatt14(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 277
//LockedKatt15 (LockedKatt15)
package {
import flash.display.*;
public dynamic class LockedKatt15 extends BitmapData {
public function LockedKatt15(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 278
//LockedKatt16 (LockedKatt16)
package {
import flash.display.*;
public dynamic class LockedKatt16 extends BitmapData {
public function LockedKatt16(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 279
//LockedKatt17 (LockedKatt17)
package {
import flash.display.*;
public dynamic class LockedKatt17 extends BitmapData {
public function LockedKatt17(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 280
//LockedKatt18 (LockedKatt18)
package {
import flash.display.*;
public dynamic class LockedKatt18 extends BitmapData {
public function LockedKatt18(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 281
//LockedKatt19 (LockedKatt19)
package {
import flash.display.*;
public dynamic class LockedKatt19 extends BitmapData {
public function LockedKatt19(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 282
//LockedPippi01 (LockedPippi01)
package {
import flash.display.*;
public dynamic class LockedPippi01 extends BitmapData {
public function LockedPippi01(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 283
//LockedPippi02 (LockedPippi02)
package {
import flash.display.*;
public dynamic class LockedPippi02 extends BitmapData {
public function LockedPippi02(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 284
//LockedPippi03 (LockedPippi03)
package {
import flash.display.*;
public dynamic class LockedPippi03 extends BitmapData {
public function LockedPippi03(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 285
//LockedPippi04 (LockedPippi04)
package {
import flash.display.*;
public dynamic class LockedPippi04 extends BitmapData {
public function LockedPippi04(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 286
//LockedPippi05 (LockedPippi05)
package {
import flash.display.*;
public dynamic class LockedPippi05 extends BitmapData {
public function LockedPippi05(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 287
//LockedPippi06 (LockedPippi06)
package {
import flash.display.*;
public dynamic class LockedPippi06 extends BitmapData {
public function LockedPippi06(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 288
//LockedPippi07 (LockedPippi07)
package {
import flash.display.*;
public dynamic class LockedPippi07 extends BitmapData {
public function LockedPippi07(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 289
//LockedPippi08 (LockedPippi08)
package {
import flash.display.*;
public dynamic class LockedPippi08 extends BitmapData {
public function LockedPippi08(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 290
//LockedPippi09 (LockedPippi09)
package {
import flash.display.*;
public dynamic class LockedPippi09 extends BitmapData {
public function LockedPippi09(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 291
//LockedPippi10 (LockedPippi10)
package {
import flash.display.*;
public dynamic class LockedPippi10 extends BitmapData {
public function LockedPippi10(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 292
//LockedPippi11 (LockedPippi11)
package {
import flash.display.*;
public dynamic class LockedPippi11 extends BitmapData {
public function LockedPippi11(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 293
//LockedPippi12 (LockedPippi12)
package {
import flash.display.*;
public dynamic class LockedPippi12 extends BitmapData {
public function LockedPippi12(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 294
//LockedPippi13 (LockedPippi13)
package {
import flash.display.*;
public dynamic class LockedPippi13 extends BitmapData {
public function LockedPippi13(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 295
//LockedPippi14 (LockedPippi14)
package {
import flash.display.*;
public dynamic class LockedPippi14 extends BitmapData {
public function LockedPippi14(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 296
//LockedPippi15 (LockedPippi15)
package {
import flash.display.*;
public dynamic class LockedPippi15 extends BitmapData {
public function LockedPippi15(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 297
//LockedPippi16 (LockedPippi16)
package {
import flash.display.*;
public dynamic class LockedPippi16 extends BitmapData {
public function LockedPippi16(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 298
//LockedPippi17 (LockedPippi17)
package {
import flash.display.*;
public dynamic class LockedPippi17 extends BitmapData {
public function LockedPippi17(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 299
//LockedPippi18 (LockedPippi18)
package {
import flash.display.*;
public dynamic class LockedPippi18 extends BitmapData {
public function LockedPippi18(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 300
//LockedPippi19 (LockedPippi19)
package {
import flash.display.*;
public dynamic class LockedPippi19 extends BitmapData {
public function LockedPippi19(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 301
//LockedPippi20 (LockedPippi20)
package {
import flash.display.*;
public dynamic class LockedPippi20 extends BitmapData {
public function LockedPippi20(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 302
//LockedValp01 (LockedValp01)
package {
import flash.display.*;
public dynamic class LockedValp01 extends BitmapData {
public function LockedValp01(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 303
//LockedValp02 (LockedValp02)
package {
import flash.display.*;
public dynamic class LockedValp02 extends BitmapData {
public function LockedValp02(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 304
//LockedValp03 (LockedValp03)
package {
import flash.display.*;
public dynamic class LockedValp03 extends BitmapData {
public function LockedValp03(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 305
//LockedValp04 (LockedValp04)
package {
import flash.display.*;
public dynamic class LockedValp04 extends BitmapData {
public function LockedValp04(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 306
//LockedValp05 (LockedValp05)
package {
import flash.display.*;
public dynamic class LockedValp05 extends BitmapData {
public function LockedValp05(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 307
//LockedValp06 (LockedValp06)
package {
import flash.display.*;
public dynamic class LockedValp06 extends BitmapData {
public function LockedValp06(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 308
//LockedValp07 (LockedValp07)
package {
import flash.display.*;
public dynamic class LockedValp07 extends BitmapData {
public function LockedValp07(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 309
//LockedValp08 (LockedValp08)
package {
import flash.display.*;
public dynamic class LockedValp08 extends BitmapData {
public function LockedValp08(_arg1:int=56, _arg2:int=40){
super(_arg1, _arg2);
}
}
}//package
Section 310
//negative_click_sound3 (negative_click_sound3)
package {
import flash.media.*;
public dynamic class negative_click_sound3 extends Sound {
}
}//package
Section 311
//new_puppy_found2 (new_puppy_found2)
package {
import flash.media.*;
public dynamic class new_puppy_found2 extends Sound {
}
}//package
Section 312
//OpenGameSign (OpenGameSign)
package {
import flash.display.*;
public dynamic class OpenGameSign extends MovieClip {
public var texts_mc:MovieClip;
public function OpenGameSign(){
addFrameScript(125, frame126);
}
function frame126(){
stop();
}
}
}//package
Section 313
//OutroClip (OutroClip)
package {
import flash.display.*;
import flash.text.*;
public dynamic class OutroClip extends MovieClip {
public var combo_game_txt:TextField;
public var clearence_txt:TextField;
public var trophy3_mc:MovieClip;
public var pets_saved_alltime_header_txt:TextField;
public var trophy1_mc:MovieClip;
public var combo_best_txt:TextField;
public var total_score_best_txt:TextField;
public var score_txt:TextField;
public var gray2_mc:MovieClip;
public var clearence_best_txt:TextField;
public var bird_happy_mc:MovieClip;
public var gray3_mc:MovieClip;
public var best_ever_heading_txt:TextField;
public var pets_saved_alltime_txt:TextField;
public var game_ends_in_txt:TextField;
public var gray1_mc:MovieClip;
public var header_txt:TextField;
public var trophy1Collision_mc:MovieClip;
public var clearence_game_txt:TextField;
public var trophy3Collision_mc:MovieClip;
public var saved_game_txt:TextField;
public var combo_txt:TextField;
public var trophy2Collision_mc:MovieClip;
public var saved_best_txt:TextField;
public var score_game_txt:TextField;
public var cat_happy_mc:MovieClip;
public var bird_sad_mc:MovieClip;
public var this_game_heading_txt:TextField;
public var saved_txt:TextField;
public var cat_sad_mc:MovieClip;
public var dog_happy_mc:MovieClip;
public var trophies_over_txt:TextField;
public var dog_sad_mc:MovieClip;
public var trophy2_mc:MovieClip;
public function OutroClip(){
addFrameScript(105, frame106);
}
function frame106(){
stop();
}
}
}//package
Section 314
//pet_combo2 (pet_combo2)
package {
import flash.media.*;
public dynamic class pet_combo2 extends Sound {
}
}//package
Section 315
//pet_combo3 (pet_combo3)
package {
import flash.media.*;
public dynamic class pet_combo3 extends Sound {
}
}//package
Section 316
//pet_combo4 (pet_combo4)
package {
import flash.media.*;
public dynamic class pet_combo4 extends Sound {
}
}//package
Section 317
//Pet_Resque_loop1 (Pet_Resque_loop1)
package {
import flash.media.*;
public dynamic class Pet_Resque_loop1 extends Sound {
}
}//package
Section 318
//Pet_Resque_outro1 (Pet_Resque_outro1)
package {
import flash.media.*;
public dynamic class Pet_Resque_outro1 extends Sound {
}
}//package
Section 319
//PetRescue_intro1 (PetRescue_intro1)
package {
import flash.media.*;
public dynamic class PetRescue_intro1 extends Sound {
}
}//package
Section 320
//pippi_blink01 (pippi_blink01)
package {
import flash.display.*;
public dynamic class pippi_blink01 extends BitmapData {
public function pippi_blink01(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 321
//pippi_blink02 (pippi_blink02)
package {
import flash.display.*;
public dynamic class pippi_blink02 extends BitmapData {
public function pippi_blink02(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 322
//pippi_blink03 (pippi_blink03)
package {
import flash.display.*;
public dynamic class pippi_blink03 extends BitmapData {
public function pippi_blink03(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 323
//pippi_blink04 (pippi_blink04)
package {
import flash.display.*;
public dynamic class pippi_blink04 extends BitmapData {
public function pippi_blink04(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 324
//pippi_blink05 (pippi_blink05)
package {
import flash.display.*;
public dynamic class pippi_blink05 extends BitmapData {
public function pippi_blink05(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 325
//pippi_burn01 (pippi_burn01)
package {
import flash.display.*;
public dynamic class pippi_burn01 extends BitmapData {
public function pippi_burn01(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 326
//pippi_burn02 (pippi_burn02)
package {
import flash.display.*;
public dynamic class pippi_burn02 extends BitmapData {
public function pippi_burn02(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 327
//pippi_burn03 (pippi_burn03)
package {
import flash.display.*;
public dynamic class pippi_burn03 extends BitmapData {
public function pippi_burn03(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 328
//pippi_burn04 (pippi_burn04)
package {
import flash.display.*;
public dynamic class pippi_burn04 extends BitmapData {
public function pippi_burn04(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 329
//pippi_burn05 (pippi_burn05)
package {
import flash.display.*;
public dynamic class pippi_burn05 extends BitmapData {
public function pippi_burn05(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 330
//pippi_burn06 (pippi_burn06)
package {
import flash.display.*;
public dynamic class pippi_burn06 extends BitmapData {
public function pippi_burn06(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 331
//pippi_burn07 (pippi_burn07)
package {
import flash.display.*;
public dynamic class pippi_burn07 extends BitmapData {
public function pippi_burn07(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 332
//pippi_burn08 (pippi_burn08)
package {
import flash.display.*;
public dynamic class pippi_burn08 extends BitmapData {
public function pippi_burn08(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 333
//pippi_burn09 (pippi_burn09)
package {
import flash.display.*;
public dynamic class pippi_burn09 extends BitmapData {
public function pippi_burn09(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 334
//pippi_burn10 (pippi_burn10)
package {
import flash.display.*;
public dynamic class pippi_burn10 extends BitmapData {
public function pippi_burn10(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 335
//pippi_burn11 (pippi_burn11)
package {
import flash.display.*;
public dynamic class pippi_burn11 extends BitmapData {
public function pippi_burn11(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 336
//pippi_burn12 (pippi_burn12)
package {
import flash.display.*;
public dynamic class pippi_burn12 extends BitmapData {
public function pippi_burn12(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 337
//pippi_burn13 (pippi_burn13)
package {
import flash.display.*;
public dynamic class pippi_burn13 extends BitmapData {
public function pippi_burn13(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 338
//pippi_burn14 (pippi_burn14)
package {
import flash.display.*;
public dynamic class pippi_burn14 extends BitmapData {
public function pippi_burn14(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 339
//pippi_burn15 (pippi_burn15)
package {
import flash.display.*;
public dynamic class pippi_burn15 extends BitmapData {
public function pippi_burn15(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 340
//pippi_burn16 (pippi_burn16)
package {
import flash.display.*;
public dynamic class pippi_burn16 extends BitmapData {
public function pippi_burn16(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 341
//pippi_fall01 (pippi_fall01)
package {
import flash.display.*;
public dynamic class pippi_fall01 extends BitmapData {
public function pippi_fall01(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 342
//pippi_fall02 (pippi_fall02)
package {
import flash.display.*;
public dynamic class pippi_fall02 extends BitmapData {
public function pippi_fall02(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 343
//pippi_fall03 (pippi_fall03)
package {
import flash.display.*;
public dynamic class pippi_fall03 extends BitmapData {
public function pippi_fall03(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 344
//pippi_fall04 (pippi_fall04)
package {
import flash.display.*;
public dynamic class pippi_fall04 extends BitmapData {
public function pippi_fall04(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 345
//pippi_fall07 (pippi_fall07)
package {
import flash.display.*;
public dynamic class pippi_fall07 extends BitmapData {
public function pippi_fall07(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 346
//pippi_fall08 (pippi_fall08)
package {
import flash.display.*;
public dynamic class pippi_fall08 extends BitmapData {
public function pippi_fall08(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 347
//pippi_fall09 (pippi_fall09)
package {
import flash.display.*;
public dynamic class pippi_fall09 extends BitmapData {
public function pippi_fall09(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 348
//pippi_happy01 (pippi_happy01)
package {
import flash.display.*;
public dynamic class pippi_happy01 extends BitmapData {
public function pippi_happy01(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 349
//pippi_happy02 (pippi_happy02)
package {
import flash.display.*;
public dynamic class pippi_happy02 extends BitmapData {
public function pippi_happy02(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 350
//pippi_happy03 (pippi_happy03)
package {
import flash.display.*;
public dynamic class pippi_happy03 extends BitmapData {
public function pippi_happy03(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 351
//pippi_happy04 (pippi_happy04)
package {
import flash.display.*;
public dynamic class pippi_happy04 extends BitmapData {
public function pippi_happy04(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 352
//pippi_happy05 (pippi_happy05)
package {
import flash.display.*;
public dynamic class pippi_happy05 extends BitmapData {
public function pippi_happy05(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 353
//pippi_happy06 (pippi_happy06)
package {
import flash.display.*;
public dynamic class pippi_happy06 extends BitmapData {
public function pippi_happy06(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 354
//pippi_happy07 (pippi_happy07)
package {
import flash.display.*;
public dynamic class pippi_happy07 extends BitmapData {
public function pippi_happy07(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 355
//pippi_happy08 (pippi_happy08)
package {
import flash.display.*;
public dynamic class pippi_happy08 extends BitmapData {
public function pippi_happy08(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 356
//pippi_happy09 (pippi_happy09)
package {
import flash.display.*;
public dynamic class pippi_happy09 extends BitmapData {
public function pippi_happy09(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 357
//pippi_happy10 (pippi_happy10)
package {
import flash.display.*;
public dynamic class pippi_happy10 extends BitmapData {
public function pippi_happy10(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 358
//pippi_happy11 (pippi_happy11)
package {
import flash.display.*;
public dynamic class pippi_happy11 extends BitmapData {
public function pippi_happy11(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 359
//pippi_happy12 (pippi_happy12)
package {
import flash.display.*;
public dynamic class pippi_happy12 extends BitmapData {
public function pippi_happy12(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 360
//pippi_happy13 (pippi_happy13)
package {
import flash.display.*;
public dynamic class pippi_happy13 extends BitmapData {
public function pippi_happy13(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 361
//pippi_happy14 (pippi_happy14)
package {
import flash.display.*;
public dynamic class pippi_happy14 extends BitmapData {
public function pippi_happy14(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 362
//pippi_happy15 (pippi_happy15)
package {
import flash.display.*;
public dynamic class pippi_happy15 extends BitmapData {
public function pippi_happy15(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 363
//pippi_happy16 (pippi_happy16)
package {
import flash.display.*;
public dynamic class pippi_happy16 extends BitmapData {
public function pippi_happy16(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 364
//pippi_happy17 (pippi_happy17)
package {
import flash.display.*;
public dynamic class pippi_happy17 extends BitmapData {
public function pippi_happy17(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 365
//pippi_happy18 (pippi_happy18)
package {
import flash.display.*;
public dynamic class pippi_happy18 extends BitmapData {
public function pippi_happy18(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 366
//pippi_happy19 (pippi_happy19)
package {
import flash.display.*;
public dynamic class pippi_happy19 extends BitmapData {
public function pippi_happy19(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 367
//pippi_happy20 (pippi_happy20)
package {
import flash.display.*;
public dynamic class pippi_happy20 extends BitmapData {
public function pippi_happy20(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 368
//pippi_intro (pippi_intro)
package {
import flash.display.*;
public dynamic class pippi_intro extends BitmapData {
public function pippi_intro(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 369
//Pippi_smoke_01 (Pippi_smoke_01)
package {
import flash.display.*;
public dynamic class Pippi_smoke_01 extends BitmapData {
public function Pippi_smoke_01(_arg1:int=73, _arg2:int=138){
super(_arg1, _arg2);
}
}
}//package
Section 370
//Pippi_smoke_02 (Pippi_smoke_02)
package {
import flash.display.*;
public dynamic class Pippi_smoke_02 extends BitmapData {
public function Pippi_smoke_02(_arg1:int=73, _arg2:int=138){
super(_arg1, _arg2);
}
}
}//package
Section 371
//pippi_turn01 (pippi_turn01)
package {
import flash.display.*;
public dynamic class pippi_turn01 extends BitmapData {
public function pippi_turn01(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 372
//pippi_turn02 (pippi_turn02)
package {
import flash.display.*;
public dynamic class pippi_turn02 extends BitmapData {
public function pippi_turn02(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 373
//pippi_turn03 (pippi_turn03)
package {
import flash.display.*;
public dynamic class pippi_turn03 extends BitmapData {
public function pippi_turn03(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 374
//pippi_turn04 (pippi_turn04)
package {
import flash.display.*;
public dynamic class pippi_turn04 extends BitmapData {
public function pippi_turn04(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 375
//pippi_turn05 (pippi_turn05)
package {
import flash.display.*;
public dynamic class pippi_turn05 extends BitmapData {
public function pippi_turn05(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 376
//pippi_turn06 (pippi_turn06)
package {
import flash.display.*;
public dynamic class pippi_turn06 extends BitmapData {
public function pippi_turn06(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 377
//pippi_turn07 (pippi_turn07)
package {
import flash.display.*;
public dynamic class pippi_turn07 extends BitmapData {
public function pippi_turn07(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 378
//pippi_turn08 (pippi_turn08)
package {
import flash.display.*;
public dynamic class pippi_turn08 extends BitmapData {
public function pippi_turn08(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 379
//pippi_turn09 (pippi_turn09)
package {
import flash.display.*;
public dynamic class pippi_turn09 extends BitmapData {
public function pippi_turn09(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 380
//pippi_turn10 (pippi_turn10)
package {
import flash.display.*;
public dynamic class pippi_turn10 extends BitmapData {
public function pippi_turn10(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 381
//pippi_turn11 (pippi_turn11)
package {
import flash.display.*;
public dynamic class pippi_turn11 extends BitmapData {
public function pippi_turn11(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 382
//pippi_turn12 (pippi_turn12)
package {
import flash.display.*;
public dynamic class pippi_turn12 extends BitmapData {
public function pippi_turn12(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 383
//pippi_turn13 (pippi_turn13)
package {
import flash.display.*;
public dynamic class pippi_turn13 extends BitmapData {
public function pippi_turn13(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 384
//pippi_turn14 (pippi_turn14)
package {
import flash.display.*;
public dynamic class pippi_turn14 extends BitmapData {
public function pippi_turn14(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 385
//pippi_turn15 (pippi_turn15)
package {
import flash.display.*;
public dynamic class pippi_turn15 extends BitmapData {
public function pippi_turn15(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 386
//pippi_turn16 (pippi_turn16)
package {
import flash.display.*;
public dynamic class pippi_turn16 extends BitmapData {
public function pippi_turn16(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 387
//pippi_turn17 (pippi_turn17)
package {
import flash.display.*;
public dynamic class pippi_turn17 extends BitmapData {
public function pippi_turn17(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 388
//pippi_turn18 (pippi_turn18)
package {
import flash.display.*;
public dynamic class pippi_turn18 extends BitmapData {
public function pippi_turn18(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 389
//pippi_turn19 (pippi_turn19)
package {
import flash.display.*;
public dynamic class pippi_turn19 extends BitmapData {
public function pippi_turn19(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 390
//pippi_turn20 (pippi_turn20)
package {
import flash.display.*;
public dynamic class pippi_turn20 extends BitmapData {
public function pippi_turn20(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 391
//pippi_walk_v01 (pippi_walk_v01)
package {
import flash.display.*;
public dynamic class pippi_walk_v01 extends BitmapData {
public function pippi_walk_v01(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 392
//pippi_walk_v02 (pippi_walk_v02)
package {
import flash.display.*;
public dynamic class pippi_walk_v02 extends BitmapData {
public function pippi_walk_v02(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 393
//pippi_walk_v03 (pippi_walk_v03)
package {
import flash.display.*;
public dynamic class pippi_walk_v03 extends BitmapData {
public function pippi_walk_v03(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 394
//pippi_walk_v04 (pippi_walk_v04)
package {
import flash.display.*;
public dynamic class pippi_walk_v04 extends BitmapData {
public function pippi_walk_v04(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 395
//pippi_walk_v05 (pippi_walk_v05)
package {
import flash.display.*;
public dynamic class pippi_walk_v05 extends BitmapData {
public function pippi_walk_v05(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 396
//pippi_walk_v06 (pippi_walk_v06)
package {
import flash.display.*;
public dynamic class pippi_walk_v06 extends BitmapData {
public function pippi_walk_v06(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 397
//pippi_walk_v07 (pippi_walk_v07)
package {
import flash.display.*;
public dynamic class pippi_walk_v07 extends BitmapData {
public function pippi_walk_v07(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 398
//pippi_walk_v08 (pippi_walk_v08)
package {
import flash.display.*;
public dynamic class pippi_walk_v08 extends BitmapData {
public function pippi_walk_v08(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 399
//resultat_helikopter1 (resultat_helikopter1)
package {
import flash.display.*;
public dynamic class resultat_helikopter1 extends BitmapData {
public function resultat_helikopter1(_arg1:int=44, _arg2:int=42){
super(_arg1, _arg2);
}
}
}//package
Section 400
//resultat_helikopter2 (resultat_helikopter2)
package {
import flash.display.*;
public dynamic class resultat_helikopter2 extends BitmapData {
public function resultat_helikopter2(_arg1:int=44, _arg2:int=42){
super(_arg1, _arg2);
}
}
}//package
Section 401
//resultat_helikopter3 (resultat_helikopter3)
package {
import flash.display.*;
public dynamic class resultat_helikopter3 extends BitmapData {
public function resultat_helikopter3(_arg1:int=44, _arg2:int=42){
super(_arg1, _arg2);
}
}
}//package
Section 402
//resultat_hose1 (resultat_hose1)
package {
import flash.display.*;
public dynamic class resultat_hose1 extends BitmapData {
public function resultat_hose1(_arg1:int=44, _arg2:int=43){
super(_arg1, _arg2);
}
}
}//package
Section 403
//resultat_hose2 (resultat_hose2)
package {
import flash.display.*;
public dynamic class resultat_hose2 extends BitmapData {
public function resultat_hose2(_arg1:int=44, _arg2:int=43){
super(_arg1, _arg2);
}
}
}//package
Section 404
//resultat_hose3 (resultat_hose3)
package {
import flash.display.*;
public dynamic class resultat_hose3 extends BitmapData {
public function resultat_hose3(_arg1:int=44, _arg2:int=43){
super(_arg1, _arg2);
}
}
}//package
Section 405
//rosett_bla (rosett_bla)
package {
import flash.display.*;
public dynamic class rosett_bla extends BitmapData {
public function rosett_bla(_arg1:int=27, _arg2:int=25){
super(_arg1, _arg2);
}
}
}//package
Section 406
//rosett_gron (rosett_gron)
package {
import flash.display.*;
public dynamic class rosett_gron extends BitmapData {
public function rosett_gron(_arg1:int=27, _arg2:int=25){
super(_arg1, _arg2);
}
}
}//package
Section 407
//rosett_rosa (rosett_rosa)
package {
import flash.display.*;
public dynamic class rosett_rosa extends BitmapData {
public function rosett_rosa(_arg1:int=27, _arg2:int=25){
super(_arg1, _arg2);
}
}
}//package
Section 408
//sadbird (sadbird)
package {
import flash.media.*;
public dynamic class sadbird extends Sound {
}
}//package
Section 409
//scorepop (scorepop)
package {
import flash.display.*;
import flash.text.*;
public dynamic class scorepop extends MovieClip {
public var score_text:TextField;
}
}//package
Section 410
//siffra_atta (siffra_atta)
package {
import flash.display.*;
public dynamic class siffra_atta extends BitmapData {
public function siffra_atta(_arg1:int=19, _arg2:int=21){
super(_arg1, _arg2);
}
}
}//package
Section 411
//siffra_atta_vit (siffra_atta_vit)
package {
import flash.display.*;
public dynamic class siffra_atta_vit extends BitmapData {
public function siffra_atta_vit(_arg1:int=19, _arg2:int=21){
super(_arg1, _arg2);
}
}
}//package
Section 412
//siffra_ett (siffra_ett)
package {
import flash.display.*;
public dynamic class siffra_ett extends BitmapData {
public function siffra_ett(_arg1:int=19, _arg2:int=21){
super(_arg1, _arg2);
}
}
}//package
Section 413
//siffra_ett_vit (siffra_ett_vit)
package {
import flash.display.*;
public dynamic class siffra_ett_vit extends BitmapData {
public function siffra_ett_vit(_arg1:int=19, _arg2:int=21){
super(_arg1, _arg2);
}
}
}//package
Section 414
//siffra_fem (siffra_fem)
package {
import flash.display.*;
public dynamic class siffra_fem extends BitmapData {
public function siffra_fem(_arg1:int=19, _arg2:int=21){
super(_arg1, _arg2);
}
}
}//package
Section 415
//siffra_fem_vit (siffra_fem_vit)
package {
import flash.display.*;
public dynamic class siffra_fem_vit extends BitmapData {
public function siffra_fem_vit(_arg1:int=19, _arg2:int=21){
super(_arg1, _arg2);
}
}
}//package
Section 416
//siffra_fyra (siffra_fyra)
package {
import flash.display.*;
public dynamic class siffra_fyra extends BitmapData {
public function siffra_fyra(_arg1:int=19, _arg2:int=21){
super(_arg1, _arg2);
}
}
}//package
Section 417
//siffra_fyra_vit (siffra_fyra_vit)
package {
import flash.display.*;
public dynamic class siffra_fyra_vit extends BitmapData {
public function siffra_fyra_vit(_arg1:int=19, _arg2:int=21){
super(_arg1, _arg2);
}
}
}//package
Section 418
//siffra_nio (siffra_nio)
package {
import flash.display.*;
public dynamic class siffra_nio extends BitmapData {
public function siffra_nio(_arg1:int=19, _arg2:int=21){
super(_arg1, _arg2);
}
}
}//package
Section 419
//siffra_nio_vit (siffra_nio_vit)
package {
import flash.display.*;
public dynamic class siffra_nio_vit extends BitmapData {
public function siffra_nio_vit(_arg1:int=19, _arg2:int=21){
super(_arg1, _arg2);
}
}
}//package
Section 420
//siffra_noll (siffra_noll)
package {
import flash.display.*;
public dynamic class siffra_noll extends BitmapData {
public function siffra_noll(_arg1:int=19, _arg2:int=21){
super(_arg1, _arg2);
}
}
}//package
Section 421
//siffra_noll_vit (siffra_noll_vit)
package {
import flash.display.*;
public dynamic class siffra_noll_vit extends BitmapData {
public function siffra_noll_vit(_arg1:int=19, _arg2:int=21){
super(_arg1, _arg2);
}
}
}//package
Section 422
//siffra_sex (siffra_sex)
package {
import flash.display.*;
public dynamic class siffra_sex extends BitmapData {
public function siffra_sex(_arg1:int=19, _arg2:int=21){
super(_arg1, _arg2);
}
}
}//package
Section 423
//siffra_sex_vit (siffra_sex_vit)
package {
import flash.display.*;
public dynamic class siffra_sex_vit extends BitmapData {
public function siffra_sex_vit(_arg1:int=19, _arg2:int=21){
super(_arg1, _arg2);
}
}
}//package
Section 424
//siffra_sju (siffra_sju)
package {
import flash.display.*;
public dynamic class siffra_sju extends BitmapData {
public function siffra_sju(_arg1:int=19, _arg2:int=21){
super(_arg1, _arg2);
}
}
}//package
Section 425
//siffra_sju_vit (siffra_sju_vit)
package {
import flash.display.*;
public dynamic class siffra_sju_vit extends BitmapData {
public function siffra_sju_vit(_arg1:int=19, _arg2:int=21){
super(_arg1, _arg2);
}
}
}//package
Section 426
//siffra_tre (siffra_tre)
package {
import flash.display.*;
public dynamic class siffra_tre extends BitmapData {
public function siffra_tre(_arg1:int=19, _arg2:int=21){
super(_arg1, _arg2);
}
}
}//package
Section 427
//siffra_tre_vit (siffra_tre_vit)
package {
import flash.display.*;
public dynamic class siffra_tre_vit extends BitmapData {
public function siffra_tre_vit(_arg1:int=19, _arg2:int=21){
super(_arg1, _arg2);
}
}
}//package
Section 428
//siffra_tva (siffra_tva)
package {
import flash.display.*;
public dynamic class siffra_tva extends BitmapData {
public function siffra_tva(_arg1:int=19, _arg2:int=21){
super(_arg1, _arg2);
}
}
}//package
Section 429
//siffra_tva_vit (siffra_tva_vit)
package {
import flash.display.*;
public dynamic class siffra_tva_vit extends BitmapData {
public function siffra_tva_vit(_arg1:int=19, _arg2:int=21){
super(_arg1, _arg2);
}
}
}//package
Section 430
//splash1 (splash1)
package {
import flash.display.*;
public dynamic class splash1 extends BitmapData {
public function splash1(_arg1:int=120, _arg2:int=88){
super(_arg1, _arg2);
}
}
}//package
Section 431
//splash10 (splash10)
package {
import flash.display.*;
public dynamic class splash10 extends BitmapData {
public function splash10(_arg1:int=120, _arg2:int=88){
super(_arg1, _arg2);
}
}
}//package
Section 432
//splash11 (splash11)
package {
import flash.display.*;
public dynamic class splash11 extends BitmapData {
public function splash11(_arg1:int=120, _arg2:int=88){
super(_arg1, _arg2);
}
}
}//package
Section 433
//splash2 (splash2)
package {
import flash.display.*;
public dynamic class splash2 extends BitmapData {
public function splash2(_arg1:int=120, _arg2:int=88){
super(_arg1, _arg2);
}
}
}//package
Section 434
//splash3 (splash3)
package {
import flash.display.*;
public dynamic class splash3 extends BitmapData {
public function splash3(_arg1:int=120, _arg2:int=88){
super(_arg1, _arg2);
}
}
}//package
Section 435
//splash4 (splash4)
package {
import flash.display.*;
public dynamic class splash4 extends BitmapData {
public function splash4(_arg1:int=120, _arg2:int=88){
super(_arg1, _arg2);
}
}
}//package
Section 436
//splash5 (splash5)
package {
import flash.display.*;
public dynamic class splash5 extends BitmapData {
public function splash5(_arg1:int=120, _arg2:int=88){
super(_arg1, _arg2);
}
}
}//package
Section 437
//splash6 (splash6)
package {
import flash.display.*;
public dynamic class splash6 extends BitmapData {
public function splash6(_arg1:int=120, _arg2:int=88){
super(_arg1, _arg2);
}
}
}//package
Section 438
//splash7 (splash7)
package {
import flash.display.*;
public dynamic class splash7 extends BitmapData {
public function splash7(_arg1:int=120, _arg2:int=88){
super(_arg1, _arg2);
}
}
}//package
Section 439
//splash8 (splash8)
package {
import flash.display.*;
public dynamic class splash8 extends BitmapData {
public function splash8(_arg1:int=120, _arg2:int=88){
super(_arg1, _arg2);
}
}
}//package
Section 440
//splash9 (splash9)
package {
import flash.display.*;
public dynamic class splash9 extends BitmapData {
public function splash9(_arg1:int=120, _arg2:int=88){
super(_arg1, _arg2);
}
}
}//package
Section 441
//starburst1 (starburst1)
package {
import flash.display.*;
public dynamic class starburst1 extends BitmapData {
public function starburst1(_arg1:int=64, _arg2:int=72){
super(_arg1, _arg2);
}
}
}//package
Section 442
//starburst2 (starburst2)
package {
import flash.display.*;
public dynamic class starburst2 extends BitmapData {
public function starburst2(_arg1:int=64, _arg2:int=72){
super(_arg1, _arg2);
}
}
}//package
Section 443
//starburst3 (starburst3)
package {
import flash.display.*;
public dynamic class starburst3 extends BitmapData {
public function starburst3(_arg1:int=64, _arg2:int=72){
super(_arg1, _arg2);
}
}
}//package
Section 444
//starburst4 (starburst4)
package {
import flash.display.*;
public dynamic class starburst4 extends BitmapData {
public function starburst4(_arg1:int=64, _arg2:int=72){
super(_arg1, _arg2);
}
}
}//package
Section 445
//starburst5 (starburst5)
package {
import flash.display.*;
public dynamic class starburst5 extends BitmapData {
public function starburst5(_arg1:int=64, _arg2:int=72){
super(_arg1, _arg2);
}
}
}//package
Section 446
//StartLevelSign (StartLevelSign)
package {
import flash.display.*;
public dynamic class StartLevelSign extends MovieClip {
public var levelText_mc:MovieClip;
}
}//package
Section 447
//time_warning1 (time_warning1)
package {
import flash.media.*;
public dynamic class time_warning1 extends Sound {
}
}//package
Section 448
//undulat_happy3 (undulat_happy3)
package {
import flash.media.*;
public dynamic class undulat_happy3 extends Sound {
}
}//package
Section 449
//val_tunga01 (val_tunga01)
package {
import flash.display.*;
public dynamic class val_tunga01 extends BitmapData {
public function val_tunga01(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 450
//val_tunga02 (val_tunga02)
package {
import flash.display.*;
public dynamic class val_tunga02 extends BitmapData {
public function val_tunga02(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 451
//val_tunga03 (val_tunga03)
package {
import flash.display.*;
public dynamic class val_tunga03 extends BitmapData {
public function val_tunga03(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 452
//val_tunga04 (val_tunga04)
package {
import flash.display.*;
public dynamic class val_tunga04 extends BitmapData {
public function val_tunga04(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 453
//val_tunga05 (val_tunga05)
package {
import flash.display.*;
public dynamic class val_tunga05 extends BitmapData {
public function val_tunga05(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 454
//val_tunga06 (val_tunga06)
package {
import flash.display.*;
public dynamic class val_tunga06 extends BitmapData {
public function val_tunga06(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 455
//val_tunga07 (val_tunga07)
package {
import flash.display.*;
public dynamic class val_tunga07 extends BitmapData {
public function val_tunga07(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 456
//val_tunga08 (val_tunga08)
package {
import flash.display.*;
public dynamic class val_tunga08 extends BitmapData {
public function val_tunga08(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 457
//val_tunga09 (val_tunga09)
package {
import flash.display.*;
public dynamic class val_tunga09 extends BitmapData {
public function val_tunga09(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 458
//val_tunga10 (val_tunga10)
package {
import flash.display.*;
public dynamic class val_tunga10 extends BitmapData {
public function val_tunga10(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 459
//val_tunga11 (val_tunga11)
package {
import flash.display.*;
public dynamic class val_tunga11 extends BitmapData {
public function val_tunga11(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 460
//val_tunga12 (val_tunga12)
package {
import flash.display.*;
public dynamic class val_tunga12 extends BitmapData {
public function val_tunga12(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 461
//val_tunga13 (val_tunga13)
package {
import flash.display.*;
public dynamic class val_tunga13 extends BitmapData {
public function val_tunga13(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 462
//val_tunga14 (val_tunga14)
package {
import flash.display.*;
public dynamic class val_tunga14 extends BitmapData {
public function val_tunga14(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 463
//val_tunga15 (val_tunga15)
package {
import flash.display.*;
public dynamic class val_tunga15 extends BitmapData {
public function val_tunga15(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 464
//val_tunga16 (val_tunga16)
package {
import flash.display.*;
public dynamic class val_tunga16 extends BitmapData {
public function val_tunga16(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 465
//valp_blink01 (valp_blink01)
package {
import flash.display.*;
public dynamic class valp_blink01 extends BitmapData {
public function valp_blink01(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 466
//valp_blink02 (valp_blink02)
package {
import flash.display.*;
public dynamic class valp_blink02 extends BitmapData {
public function valp_blink02(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 467
//valp_blink03 (valp_blink03)
package {
import flash.display.*;
public dynamic class valp_blink03 extends BitmapData {
public function valp_blink03(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 468
//valp_burn01 (valp_burn01)
package {
import flash.display.*;
public dynamic class valp_burn01 extends BitmapData {
public function valp_burn01(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 469
//valp_burn02 (valp_burn02)
package {
import flash.display.*;
public dynamic class valp_burn02 extends BitmapData {
public function valp_burn02(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 470
//valp_burn03 (valp_burn03)
package {
import flash.display.*;
public dynamic class valp_burn03 extends BitmapData {
public function valp_burn03(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 471
//valp_burn04 (valp_burn04)
package {
import flash.display.*;
public dynamic class valp_burn04 extends BitmapData {
public function valp_burn04(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 472
//valp_burn05 (valp_burn05)
package {
import flash.display.*;
public dynamic class valp_burn05 extends BitmapData {
public function valp_burn05(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 473
//valp_burn06 (valp_burn06)
package {
import flash.display.*;
public dynamic class valp_burn06 extends BitmapData {
public function valp_burn06(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 474
//valp_burn07 (valp_burn07)
package {
import flash.display.*;
public dynamic class valp_burn07 extends BitmapData {
public function valp_burn07(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 475
//valp_burn08 (valp_burn08)
package {
import flash.display.*;
public dynamic class valp_burn08 extends BitmapData {
public function valp_burn08(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 476
//valp_burn09 (valp_burn09)
package {
import flash.display.*;
public dynamic class valp_burn09 extends BitmapData {
public function valp_burn09(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 477
//valp_burn10 (valp_burn10)
package {
import flash.display.*;
public dynamic class valp_burn10 extends BitmapData {
public function valp_burn10(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 478
//valp_burn11 (valp_burn11)
package {
import flash.display.*;
public dynamic class valp_burn11 extends BitmapData {
public function valp_burn11(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 479
//valp_burn12 (valp_burn12)
package {
import flash.display.*;
public dynamic class valp_burn12 extends BitmapData {
public function valp_burn12(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 480
//valp_burn13 (valp_burn13)
package {
import flash.display.*;
public dynamic class valp_burn13 extends BitmapData {
public function valp_burn13(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 481
//valp_burn14 (valp_burn14)
package {
import flash.display.*;
public dynamic class valp_burn14 extends BitmapData {
public function valp_burn14(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 482
//valp_burn15 (valp_burn15)
package {
import flash.display.*;
public dynamic class valp_burn15 extends BitmapData {
public function valp_burn15(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 483
//valp_burn16 (valp_burn16)
package {
import flash.display.*;
public dynamic class valp_burn16 extends BitmapData {
public function valp_burn16(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 484
//valp_burn17 (valp_burn17)
package {
import flash.display.*;
public dynamic class valp_burn17 extends BitmapData {
public function valp_burn17(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 485
//valp_burn18 (valp_burn18)
package {
import flash.display.*;
public dynamic class valp_burn18 extends BitmapData {
public function valp_burn18(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 486
//valp_burn19 (valp_burn19)
package {
import flash.display.*;
public dynamic class valp_burn19 extends BitmapData {
public function valp_burn19(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 487
//valp_fall01 (valp_fall01)
package {
import flash.display.*;
public dynamic class valp_fall01 extends BitmapData {
public function valp_fall01(_arg1:int=56, _arg2:int=75){
super(_arg1, _arg2);
}
}
}//package
Section 488
//valp_fall010 (valp_fall010)
package {
import flash.display.*;
public dynamic class valp_fall010 extends BitmapData {
public function valp_fall010(_arg1:int=56, _arg2:int=75){
super(_arg1, _arg2);
}
}
}//package
Section 489
//valp_fall011 (valp_fall011)
package {
import flash.display.*;
public dynamic class valp_fall011 extends BitmapData {
public function valp_fall011(_arg1:int=56, _arg2:int=75){
super(_arg1, _arg2);
}
}
}//package
Section 490
//valp_fall012 (valp_fall012)
package {
import flash.display.*;
public dynamic class valp_fall012 extends BitmapData {
public function valp_fall012(_arg1:int=56, _arg2:int=75){
super(_arg1, _arg2);
}
}
}//package
Section 491
//valp_fall02 (valp_fall02)
package {
import flash.display.*;
public dynamic class valp_fall02 extends BitmapData {
public function valp_fall02(_arg1:int=56, _arg2:int=75){
super(_arg1, _arg2);
}
}
}//package
Section 492
//valp_fall03 (valp_fall03)
package {
import flash.display.*;
public dynamic class valp_fall03 extends BitmapData {
public function valp_fall03(_arg1:int=56, _arg2:int=75){
super(_arg1, _arg2);
}
}
}//package
Section 493
//valp_fall04 (valp_fall04)
package {
import flash.display.*;
public dynamic class valp_fall04 extends BitmapData {
public function valp_fall04(_arg1:int=56, _arg2:int=75){
super(_arg1, _arg2);
}
}
}//package
Section 494
//valp_fall05 (valp_fall05)
package {
import flash.display.*;
public dynamic class valp_fall05 extends BitmapData {
public function valp_fall05(_arg1:int=56, _arg2:int=75){
super(_arg1, _arg2);
}
}
}//package
Section 495
//valp_fall06 (valp_fall06)
package {
import flash.display.*;
public dynamic class valp_fall06 extends BitmapData {
public function valp_fall06(_arg1:int=56, _arg2:int=75){
super(_arg1, _arg2);
}
}
}//package
Section 496
//valp_fall07 (valp_fall07)
package {
import flash.display.*;
public dynamic class valp_fall07 extends BitmapData {
public function valp_fall07(_arg1:int=56, _arg2:int=75){
super(_arg1, _arg2);
}
}
}//package
Section 497
//valp_happy01 (valp_happy01)
package {
import flash.display.*;
public dynamic class valp_happy01 extends BitmapData {
public function valp_happy01(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 498
//valp_happy02 (valp_happy02)
package {
import flash.display.*;
public dynamic class valp_happy02 extends BitmapData {
public function valp_happy02(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 499
//valp_happy03 (valp_happy03)
package {
import flash.display.*;
public dynamic class valp_happy03 extends BitmapData {
public function valp_happy03(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 500
//valp_happy04 (valp_happy04)
package {
import flash.display.*;
public dynamic class valp_happy04 extends BitmapData {
public function valp_happy04(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 501
//valp_happy05 (valp_happy05)
package {
import flash.display.*;
public dynamic class valp_happy05 extends BitmapData {
public function valp_happy05(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 502
//valp_happy06 (valp_happy06)
package {
import flash.display.*;
public dynamic class valp_happy06 extends BitmapData {
public function valp_happy06(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 503
//valp_happy07 (valp_happy07)
package {
import flash.display.*;
public dynamic class valp_happy07 extends BitmapData {
public function valp_happy07(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 504
//valp_happy08 (valp_happy08)
package {
import flash.display.*;
public dynamic class valp_happy08 extends BitmapData {
public function valp_happy08(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 505
//valp_happy09 (valp_happy09)
package {
import flash.display.*;
public dynamic class valp_happy09 extends BitmapData {
public function valp_happy09(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 506
//valp_happy10 (valp_happy10)
package {
import flash.display.*;
public dynamic class valp_happy10 extends BitmapData {
public function valp_happy10(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 507
//valp_happy11 (valp_happy11)
package {
import flash.display.*;
public dynamic class valp_happy11 extends BitmapData {
public function valp_happy11(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 508
//valp_happy12 (valp_happy12)
package {
import flash.display.*;
public dynamic class valp_happy12 extends BitmapData {
public function valp_happy12(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 509
//valp_happy13 (valp_happy13)
package {
import flash.display.*;
public dynamic class valp_happy13 extends BitmapData {
public function valp_happy13(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 510
//valp_happy14 (valp_happy14)
package {
import flash.display.*;
public dynamic class valp_happy14 extends BitmapData {
public function valp_happy14(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 511
//valp_happy15 (valp_happy15)
package {
import flash.display.*;
public dynamic class valp_happy15 extends BitmapData {
public function valp_happy15(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 512
//valp_happy16 (valp_happy16)
package {
import flash.display.*;
public dynamic class valp_happy16 extends BitmapData {
public function valp_happy16(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 513
//valp_happy17 (valp_happy17)
package {
import flash.display.*;
public dynamic class valp_happy17 extends BitmapData {
public function valp_happy17(_arg1:int=56, _arg2:int=80){
super(_arg1, _arg2);
}
}
}//package
Section 514
//valp_intro (valp_intro)
package {
import flash.display.*;
public dynamic class valp_intro extends BitmapData {
public function valp_intro(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 515
//valp_shake01 (valp_shake01)
package {
import flash.display.*;
public dynamic class valp_shake01 extends BitmapData {
public function valp_shake01(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 516
//valp_shake02 (valp_shake02)
package {
import flash.display.*;
public dynamic class valp_shake02 extends BitmapData {
public function valp_shake02(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 517
//valp_shake03 (valp_shake03)
package {
import flash.display.*;
public dynamic class valp_shake03 extends BitmapData {
public function valp_shake03(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 518
//valp_shake04 (valp_shake04)
package {
import flash.display.*;
public dynamic class valp_shake04 extends BitmapData {
public function valp_shake04(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 519
//valp_shake05 (valp_shake05)
package {
import flash.display.*;
public dynamic class valp_shake05 extends BitmapData {
public function valp_shake05(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 520
//valp_shake06 (valp_shake06)
package {
import flash.display.*;
public dynamic class valp_shake06 extends BitmapData {
public function valp_shake06(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 521
//valp_shake07 (valp_shake07)
package {
import flash.display.*;
public dynamic class valp_shake07 extends BitmapData {
public function valp_shake07(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 522
//valp_shake08 (valp_shake08)
package {
import flash.display.*;
public dynamic class valp_shake08 extends BitmapData {
public function valp_shake08(_arg1:int=56, _arg2:int=70){
super(_arg1, _arg2);
}
}
}//package
Section 523
//Valp_smoke01 (Valp_smoke01)
package {
import flash.display.*;
public dynamic class Valp_smoke01 extends BitmapData {
public function Valp_smoke01(_arg1:int=73, _arg2:int=138){
super(_arg1, _arg2);
}
}
}//package
Section 524
//Valp_smoke02 (Valp_smoke02)
package {
import flash.display.*;
public dynamic class Valp_smoke02 extends BitmapData {
public function Valp_smoke02(_arg1:int=73, _arg2:int=138){
super(_arg1, _arg2);
}
}
}//package
Section 525
//Valp_smoke03 (Valp_smoke03)
package {
import flash.display.*;
public dynamic class Valp_smoke03 extends BitmapData {
public function Valp_smoke03(_arg1:int=73, _arg2:int=138){
super(_arg1, _arg2);
}
}
}//package
Section 526
//Valp_smoke04 (Valp_smoke04)
package {
import flash.display.*;
public dynamic class Valp_smoke04 extends BitmapData {
public function Valp_smoke04(_arg1:int=73, _arg2:int=138){
super(_arg1, _arg2);
}
}
}//package
Section 527
//Valp_smoke05 (Valp_smoke05)
package {
import flash.display.*;
public dynamic class Valp_smoke05 extends BitmapData {
public function Valp_smoke05(_arg1:int=73, _arg2:int=138){
super(_arg1, _arg2);
}
}
}//package
Section 528
//Valp_smoke06 (Valp_smoke06)
package {
import flash.display.*;
public dynamic class Valp_smoke06 extends BitmapData {
public function Valp_smoke06(_arg1:int=73, _arg2:int=138){
super(_arg1, _arg2);
}
}
}//package
Section 529
//water_hose_collected1 (water_hose_collected1)
package {
import flash.media.*;
public dynamic class water_hose_collected1 extends Sound {
}
}//package
Section 530
//water_splash1 (water_splash1)
package {
import flash.media.*;
public dynamic class water_splash1 extends Sound {
}
}//package
Section 531
//wrong1 (wrong1)
package {
import flash.display.*;
public dynamic class wrong1 extends BitmapData {
public function wrong1(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 532
//wrong2 (wrong2)
package {
import flash.display.*;
public dynamic class wrong2 extends BitmapData {
public function wrong2(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 533
//wrong3 (wrong3)
package {
import flash.display.*;
public dynamic class wrong3 extends BitmapData {
public function wrong3(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package
Section 534
//wrong4 (wrong4)
package {
import flash.display.*;
public dynamic class wrong4 extends BitmapData {
public function wrong4(_arg1:int=120, _arg2:int=100){
super(_arg1, _arg2);
}
}
}//package