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

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

Secret Exit - A puzzle platform game.swf

This is the info page for
Flash #93219

(Click the ID number above for more basic data on this flash file.)


Text
NOT SO SOLID
AS IT SEEMS

GO BACK WHILE YOU CAN

FAST CLICKER

1 LAP TO GO

MISSING

COME BACK
SOON

SHIFT
THIS
BLOCK

LOWER

WHere could I
FIND SOME
HELP

owt neht ruof
neht evif

DO YOU SPEAK
GERMAN

The
corners
of
my
heart

The right
ANSWER IS NEAR
YOU

MAYBE IT IS
sitting on your
left shoulder

OR is in the
center of your
mind

BRING MOUSE
ITS FOOD

I dont want
cheese

1000
ton
man

ENter the
code use your
mouse

WHAT is todays menu

Meet
me
at
midnight

HIDE AND SEEK

LOADING...

LOADING

LOADING.

LOADING..

PLAY

DICE ONE

ENTERTAINMENT

PLAY

MORE GAMES

walkthrough

THE CODE

THE CODE IS  WYWH

INSTRUCTIONS

MOVe   ARROW KEYS
JUMP   SPACE OR UP
USE CLUES TO FIND THE
HIDDEN EXIT

SECRET EXIT

a

B

c

d

H

v

w

x

y

z

BACK

02

01

03

04

05

07

08

09

10

12

13

14

15

17

18

19

20

22

23

24

25

06

11

16

21

JUST
CLIMB

L

m

h

EXIT

MUTE

<p align="center"></p>

<p align="center"></p>

YOU HAVE FOUND THE EXIT

<p align="center"></p>

Flash V-Cam

<p align="left"></p>

<p align="center"></p>

<p align="center"></p>

CONGRATULATIONS
YOU HAVE BEATEN THE
GAME
THANKS FOR PLAYING

NEXT

ActionScript [AS1/AS2]

Frame 2
var theMenu = new ContextMenu(); theMenu.hideBuiltInItems(); _root.menu = theMenu; var i1 = new ContextMenuItem("", exit); theMenu.customItems[0] = i1;
Frame 3
_global.okay = 0; _global.ext = 0; stop();
Frame 4
stop(); var theMenu = new ContextMenu(); theMenu.hideBuiltInItems(); _root.menu = theMenu; var i1 = new ContextMenuItem("", exit); theMenu.customItems[0] = i1; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:21}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; char = {xtile:-2, ytile:11, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop(); btn = 0; local_data = SharedObject.getLocal("user_data"); _global.score = local_data.data.score2; if (local_data.data.score2 > 1) { } else { local_data.data.score2 = 1; local_data.flush(); } if (_global.okay == 1) { _global.okay = 0; }
Instance of Symbol 227 MovieClip in Frame 4
onClipEvent (enterFrame) { play(); }
Instance of Symbol 240 MovieClip in Frame 4
onClipEvent (enterFrame) { if ((_global.score < 21) || (_global.ext == 0)) { this._x = -1000; } }
Instance of Symbol 247 MovieClip "ogi" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "ogo" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 274 MovieClip "kkk2" in Frame 4
onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { startDrag (this); dragging = 1; _root.sys.drag = 1; } } onClipEvent (mouseUp) { if (dragging) { stopDrag(); X = this._x; Y = this._y; if (_root.selected == "normal") { this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing; this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing; } if (_root.selected == "rand") { smallestX = 1000; smallestY = 1000; i = 0; while (i < _root.numLines) { difX = Math.round(Math.abs(gridX[i] - X)); difY = Math.round(Math.abs(gridY[i] - Y)); diffX[difX] = i; diffY[difY] = i; smallestX = Math.min(smallestX, difX); smallestY = Math.min(smallestY, difY); i++; } this._x = gridX[diffX[smallestX]]; this._y = gridY[diffY[smallestY]]; } dragging = 0; _root.sys.drag = 0; } } onClipEvent (enterFrame) { if (this.hitTest(_root.lock)) { this._x = -1000; _root.secret = 1; } }
Instance of Symbol 247 MovieClip "che" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (fin == 0) { this._x = _root.char.clip._x; this._y = _root.char.clip._y; if (this.hitTest(_root._xmouse, _root._ymouse, true)) { _root.secret = 1; fin = 3; this._x = 10000; } } if (this.hitTest(_parent.char.clip) && (fin == 1)) { fin = 0; } }
Instance of Symbol 247 MovieClip "la02" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la03" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la04" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la05" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la06" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la07" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la08" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la09" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la10" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la11" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la12" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la13" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la14" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la15" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la16" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la17" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la18" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la19" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la20" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la21" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la22" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la23" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la24" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la25" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la01" in Frame 4
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 271 MovieClip in Frame 4
onClipEvent (enterFrame) { _root.gad._x = this._x; _root.gad._y = this._y; }
Instance of Symbol 277 MovieClip "tele2" in Frame 4
onClipEvent (enterFrame) { _x = _root.tele._x; _y = _root.tele._y; }
Frame 5
stop(); btn = 0; lvlz = 0;
Instance of Symbol 403 MovieClip "gad" in Frame 5
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 6
play(); lygis = "level 01"; aha = 0; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0], [0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0], [0, 0, 0, 0, 0, 5, 7, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0], [0, 0, 0, 0, 0, 0, 73, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0], [0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0], [0, 0, 0, 0, 0, 0, 5, 4, 4, 74, 4, 1, 4, 7, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 3, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 3, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 3, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 3, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 3, 0, 0, 0]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:2, ytile:11, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop(); stop(); _root.gad._x = 0;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 6
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la01" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la02" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la03" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la04" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la05" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la06" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la07" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la08" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la09" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la10" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la11" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la12" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la13" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la14" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la15" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la16" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la17" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la18" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la19" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la20" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la21" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la22" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la23" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la24" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la25" in Frame 6
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 403 MovieClip "gad" in Frame 6
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 7
if (local_data.data.score2 < 2) { local_data.data.score2 = 2; local_data.flush(); } lygis = "level 02"; secret = 0; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0], [0, 0, 0, 0, 0, 0, 73, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0], [0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 1, 0, 31, 0, 0, 31, 0], [0, 0, 0, 6, 4, 4, 8, 0, 0, 0, 1, 0, 30, 0, 0, 30, 0], [0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 1, 0, 26, 27, 28, 29, 0], [0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; game.tile26 = {walkable:true, frame:26}; game.tile27 = {walkable:true, frame:27}; game.tile28 = {walkable:true, frame:28}; game.tile29 = {walkable:true, frame:29}; game.tile30 = {walkable:true, frame:30}; game.tile31 = {walkable:true, frame:31}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:2, ytile:11, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop(); _root.gad._x = 0;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 7
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart * 2; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip "la01" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la03" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la04" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la05" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la06" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la07" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la08" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la09" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la10" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la11" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la12" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la13" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la14" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la15" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la16" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la17" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la18" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la19" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la20" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la21" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la22" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la23" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la24" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la25" in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip in Frame 7
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 403 MovieClip "gad" in Frame 7
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 8
if (local_data.data.score2 < 3) { local_data.data.score2 = 3; local_data.flush(); } secret = 0; lygis = "level 03"; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 0, 1, 0, 3, 0, 3, 0, 1, 0, 0, 0, 0, 0], [0, 0, 0, 6, 4, 1, 4, 8, 9, 5, 4, 1, 4, 4, 7, 0, 0], [0, 0, 0, 3, 0, 1, 0, 0, 10, 0, 0, 1, 0, 0, 3, 0, 0], [0, 0, 0, 3, 0, 1, 2, 1, 1, 1, 1, 1, 0, 0, 3, 0, 0], [0, 6, 4, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0], [0, 73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 74, 4], [4, 8, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0], [0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0], [0, 1, 0, 0, 0, 0, 32, 33, 34, 35, 0, 0, 0, 0, 0, 1, 0], [1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:75, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; game.tile32 = {walkable:true, frame:32}; game.tile33 = {walkable:true, frame:33}; game.tile34 = {walkable:true, frame:34}; game.tile35 = {walkable:true, frame:35}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:8, ytile:8, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop(); _root.gad._x = 0;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 8
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 8
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 256; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 403 MovieClip "gad" in Frame 8
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 9
if (local_data.data.score2 < 4) { local_data.data.score2 = 4; local_data.flush(); } lygis = "level 04"; secret = 0; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 1], [1, 4, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 4, 4, 1], [1, 0, 3, 0, 0, 36, 37, 38, 39, 40, 41, 0, 0, 0, 0, 0, 1], [1, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 73, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1], [1, 4, 8, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1], [99, 0, 0, 9, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 99], [99, 0, 0, 10, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 99], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; game.tile99 = {walkable:true, frame:2}; game.tile36 = {walkable:true, frame:36}; game.tile37 = {walkable:true, frame:37}; game.tile38 = {walkable:true, frame:38}; game.tile39 = {walkable:true, frame:39}; game.tile40 = {walkable:true, frame:40}; game.tile41 = {walkable:true, frame:41}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:14, ytile:11, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop(); _root.gad._x = 0;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 9
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip "la01" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la03" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la04" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la05" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la06" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la07" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la08" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la09" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la10" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la11" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la12" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la13" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la14" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la15" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la16" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la17" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la18" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la19" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la20" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la21" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la22" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la23" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la24" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "la25" in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip in Frame 9
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "ogo" in Frame 9
onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip)) { _parent.char.xtile = 0; } }
Instance of Symbol 403 MovieClip "gad" in Frame 9
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 10
if (local_data.data.score2 < 5) { local_data.data.score2 = 5; local_data.flush(); } secret = 0; lygis = "level 05"; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0], [1, 1, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0], [1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0, 0, 0, 0, 73, 0, 0, 0, 1, 1, 1, 44], [1, 1, 42, 1, 1, 1, 1, 1, 4, 8, 0, 0, 1, 1, 1, 1, 44], [1, 1, 43, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 15, 13, 13, 44], [1, 1, 43, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 14, 13, 13, 44], [1, 1, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43, 43]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile42 = {walkable:true, frame:42}; game.tile43 = {walkable:false, frame:43}; game.tile44 = {walkable:true, frame:44}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:8, ytile:11, speed:6, jumpstart:20, gravity:1.9, jump:false}; buildMap(myMap1); fall(char); stop(); _root.gad._x = 0;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 10
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 10
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "sex" in Frame 10
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.secret = 1; } }
Instance of Symbol 403 MovieClip "gad" in Frame 10
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Instance of Symbol 247 MovieClip "ogo" in Frame 10
onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip)) { _parent.char.xtile = 0; } }
Frame 11
if (local_data.data.score2 < 6) { local_data.data.score2 = 6; local_data.flush(); } secret = 0; lygis = "level 06"; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0], [0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0], [0, 0, 3, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 3, 0, 0], [0, 0, 3, 0, 0, 0, 1, 1, 46, 1, 1, 0, 0, 0, 3, 0, 0], [4, 74, 8, 0, 12, 0, 1, 1, 1, 1, 1, 0, 0, 0, 3, 0, 0], [0, 0, 0, 0, 11, 0, 1, 1, 46, 1, 1, 0, 0, 0, 3, 0, 0], [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 5, 4, 4], [0, 0, 0, 0, 1, 1, 1, 1, 46, 1, 1, 1, 1, 0, 0, 0, 0], [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 45, 1, 1, 0, 0, 0, 0], [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0], [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0], [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; game.tile45 = {walkable:true, frame:45}; game.tile46 = {walkable:false, frame:46}; game.tile47 = {walkable:true, frame:47}; game.tile48 = {walkable:true, frame:48}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:15, ytile:11, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop(); _root.gad._x = 0;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 11
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 11
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 128; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 403 MovieClip "gad" in Frame 11
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 12
hita = 0; hitb = 0; hitc = 0; hitd = 0; secret = 0; lygis = "level 07"; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1], [1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1], [1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1], [1, 1, 1, 1, 1, 4, 4, 1, 1, 1, 4, 4, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 12, 0, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 11, 0, 1, 1, 1, 1, 1], [1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1], [1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1], [1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1], [1, 1, 1, 1, 1, 0, 30, 0, 0, 0, 30, 0, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 0, 47, 48, 48, 48, 49, 0, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; game.tile47 = {walkable:true, frame:47}; game.tile48 = {walkable:true, frame:48}; game.tile49 = {walkable:true, frame:49}; game.tile50 = {walkable:true, frame:50}; game.tile30 = {walkable:true, frame:30}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:5, ytile:11, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop(); if (local_data.data.score2 < 7) { local_data.data.score2 = 7; local_data.flush(); } _root.gad._x = 0;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 12
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 12
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if ((((_root.hita == 1) && (_root.hitb == 1)) && (_root.hitc == 1)) && (_root.hitd == 1)) { _root.secret = 1; } if (_root.secret == 1) { this._x = 320; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip in Frame 12
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip)) { if (_root.hita == 1) { _root.hitb = 1; } if (_root.hitc == 1) { _root.hita = 0; _root.hitb = 0; _root.hitc = 0; _root.hitd = 0; } } }
Instance of Symbol 247 MovieClip in Frame 12
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip)) { if (_root.hitc == 1) { _root.hitd = 1; } if (_root.hita == 0) { _root.hita = 0; _root.hitb = 0; _root.hitc = 0; _root.hitd = 0; } } }
Instance of Symbol 247 MovieClip in Frame 12
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip)) { _root.hita = 1; if (_root.hitb == 1) { _root.hita = 0; _root.hitb = 0; _root.hitc = 0; _root.hitd = 0; } } }
Instance of Symbol 247 MovieClip in Frame 12
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 320; } if (this.hitTest(_parent.char.clip)) { if (_root.hitb == 1) { _root.hitc = 1; } if (_root.hitd == 1) { _root.hita = 0; _root.hitb = 0; _root.hitc = 0; _root.hitd = 0; } } }
Instance of Symbol 403 MovieClip "gad" in Frame 12
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 13
if (local_data.data.score2 < 8) { local_data.data.score2 = 8; local_data.flush(); } secret = 0; lygis = "level 08"; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [9, 0, 0, 0, 5, 7, 0, 6, 4, 4, 4, 4, 4, 7, 0, 0, 0], [10, 0, 0, 0, 0, 5, 4, 8, 0, 0, 0, 0, 0, 3, 0, 0, 0], [1, 17, 17, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 3, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 5, 74, 4, 4], [0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0], [0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0], [0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0], [0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; game.tile17 = {walkable:false, frame:18}; game.tile52 = {walkable:false, frame:52}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:10, ytile:11, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop(); _root.gad._x = 0;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 13
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 13
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 403 MovieClip "gad" in Frame 13
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 14
if (local_data.data.score2 < 9) { local_data.data.score2 = 9; local_data.flush(); } secret = 0; lygis = "level 09"; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0], [0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 5, 4, 4, 4], [0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 0, 3, 0, 0, 0, 0, 53, 0, 0, 1, 1, 1, 1], [0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 4], [4, 4, 4, 4, 4, 3, 4, 4, 4, 74, 4, 4, 4, 4, 4, 8, 0], [0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1], [12, 0, 0, 0, 0, 73, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0], [11, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; game.tile53 = {walkable:true, frame:53}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:9, ytile:11, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop(); _root.gad._x = 0;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 14
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_global.ext == 1) { _root.secret = 1; } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 14
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 0; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 403 MovieClip "gad" in Frame 14
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 15
secret = 0; timer = 150; lygis = "level 10"; function exit() { _root.secret = 1; } var theMenu = new ContextMenu(); theMenu.hideBuiltInItems(); _root.menu = theMenu; var i1 = new ContextMenuItem("", exit); theMenu.customItems[0] = i1; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 50, 0, 0, 0, 5, 4], [1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 51, 0, 0, 12, 0, 0], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 51, 0, 0, 11, 0, 0], [0, 0, 0, 0, 73, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 6, 4, 4], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile22 = {walkable:true, frame:22}; game.tile23 = {walkable:true, frame:23}; game.tile50 = {walkable:true, frame:50}; game.tile51 = {walkable:true, frame:51}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:5, ytile:5, speed:6, jumpstart:20, gravity:1.9, jump:false}; buildMap(myMap1); fall(char); stop(); if (local_data.data.score2 < 10) { local_data.data.score2 = 10; local_data.flush(); } _root.gad._x = 0;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 15
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { _root.timer = _root.timer - 1; var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; _root.timer = 150; } if (Key.isDown(39)) { dirx = 1; stand = 1; _root.timer = 150; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; _root.timer = 150; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } if (_root.timer < 0) { _root.secret = 1; } }
Instance of Symbol 247 MovieClip in Frame 15
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 448; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 403 MovieClip "gad" in Frame 15
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 16
aha = 0; lygis = "level 11"; secret = 0; stop(); function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 4, 4, 8, 0, 0], [0, 0, 0, 0, 0, 6, 4, 4, 4, 4, 4, 8, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 12, 0, 6, 4, 8, 0, 0, 0, 54, 0, 0, 0, 0, 0, 0, 0], [0, 11, 0, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 3, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 0, 3, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 0, 3, 0, 0, 1, 0, 0, 9, 1, 0, 0, 0, 0, 0, 0], [0, 0, 0, 73, 0, 0, 1, 0, 0, 10, 1, 0, 0, 0, 0, 0, 0], [0, 0, 0, 3, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0], [0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile54 = {walkable:true, frame:54}; game.tile16 = {walkable:false, frame:14}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:13, ytile:5, speed:6, jumpstart:20, gravity:1.9, jump:false}; buildMap(myMap1); fall(char); stop(); if (local_data.data.score2 < 11) { local_data.data.score2 = 11; local_data.flush(); } _root.gad._x = 0;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 16
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(16)) { _root.secret = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 16
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 403 MovieClip "gad" in Frame 16
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 17
secret = 0; aha = 1; lygis = "level 12"; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 5, 4, 7, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 1, 0, 0, 6, 8, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 1, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 9, 0, 0], [0, 0, 0, 0, 0, 0, 0, 3, 1, 1, 1, 0, 0, 0, 55, 0, 0], [0, 0, 0, 0, 0, 0, 0, 73, 0, 0, 0, 0, 0, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile55 = {walkable:true, frame:55}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:2, ytile:11, speed:6, jumpstart:20, gravity:1.9, jump:false}; buildMap(myMap1); fall(char); stop(); if (local_data.data.score2 < 12) { local_data.data.score2 = 12; local_data.flush(); } _root.gad._x = 0;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 17
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 17
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 442; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 274 MovieClip "kkk2" in Frame 17
onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { startDrag (this); dragging = 1; _root.sys.drag = 1; } } onClipEvent (mouseUp) { if (dragging) { stopDrag(); X = this._x; Y = this._y; if (_root.selected == "normal") { this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing; this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing; } if (_root.selected == "rand") { smallestX = 1000; smallestY = 1000; i = 0; while (i < _root.numLines) { difX = Math.round(Math.abs(gridX[i] - X)); difY = Math.round(Math.abs(gridY[i] - Y)); diffX[difX] = i; diffY[difY] = i; smallestX = Math.min(smallestX, difX); smallestY = Math.min(smallestY, difY); i++; } this._x = gridX[diffX[smallestX]]; this._y = gridY[diffY[smallestY]]; } dragging = 0; _root.sys.drag = 0; } } onClipEvent (enterFrame) { if (this.hitTest(_root.lock)) { this._x = -1000; _root.secret = 1; } }
Instance of Symbol 403 MovieClip "gad" in Frame 17
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 18
aha = 1; secreta = 0; _root.gad._x = 0; lygis = "level 13"; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 56, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 56, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0], [0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 73, 0, 0, 0, 0, 0, 0], [0, 11, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:19}; game.tile12 = {walkable:true, frame:20}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile56 = {walkable:true, frame:56}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:14, ytile:2, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop(); if (local_data.data.score2 < 13) { local_data.data.score2 = 13; local_data.flush(); }
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 18
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip "mmm" in Frame 18
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secreta == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } } onClipEvent (load) { var aca = new Date(); aaa = aca.getSeconds(); aa = aca.getMinutes(); a = aca.getHours(); hoursDelta = Math.floor((aa / 61) * 15); minutesDelta = Math.round((seconds / 60) * 6); if ((!hoursDelta) == 0) { this._rotation = (-(hr * 15)) - hoursDelta; } if (a > 12) { hr = a - 12; } else { hr = a + 12; } } onClipEvent (enterFrame) { var aca = new Date(); aaa = aca.getSeconds(); aa = aca.getMinutes(); a = aca.getHours(); hoursDelta = Math.floor((aa / 61) * 15); minutesDelta = Math.round((seconds / 60) * 6); if ((!hoursDelta) == 0) { if ((a == 0) && (aa <= 31)) { _root.secret = 1; } } if (a > 12) { hr = a - 12; } else { hr = a + 12; } } onClipEvent (load) { var aca2 = new Date(); b = aca2.getHours(); this.gotoAndStop(hr); if (b > 12) { hr = b - 12; } else { hr = b + 12; } } onClipEvent (enterFrame) { var aca2 = new Date(); b = aca2.getHours(); this.gotoAndStop(hr); if (b > 12) { hr = b - 12; } else { hr = b + 12; } }
Instance of Symbol 403 MovieClip "gad" in Frame 18
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 19
aha = 0; secret = 0; lygis = "level 14"; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[1, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 1], [1, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 5, 74, 4, 1], [1, 0, 0, 0, 3, 0, 0, 0, 0, 0, 57, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 12, 0, 1], [1, 0, 0, 0, 3, 0, 0, 0, 1, 0, 0, 0, 0, 0, 11, 0, 1], [1, 0, 0, 0, 3, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1], [1, 4, 74, 4, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 1], [1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 1], [1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile57 = {walkable:true, frame:57}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:2, ytile:11, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop(); if (local_data.data.score2 < 14) { local_data.data.score2 = 14; local_data.flush(); } _root.gad._x = 0;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 19
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 19
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_global.okay == 1) { _root.secret = 1; } if (_root.secret == 1) { this._x = 448; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 403 MovieClip "gad" in Frame 19
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 20
secret = 0; lygis = "level 15"; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0], [0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0], [0, 0, 0, 73, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0], [0, 0, 0, 3, 0, 0, 0, 0, 1, 0, 3, 0, 0, 0, 0, 0, 0], [0, 0, 0, 5, 4, 7, 0, 0, 1, 0, 5, 4, 4, 74, 4, 4, 4], [0, 0, 0, 0, 0, 3, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 9, 0, 0, 0, 3, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 10, 0, 0, 0, 3, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; game.tile24 = {walkable:true, frame:24}; game.tile25 = {walkable:true, frame:25}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:14, ytile:7, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop(); if (local_data.data.score2 < 15) { local_data.data.score2 = 15; local_data.flush(); } _root.gad._x = 0;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 20
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 403 MovieClip "gad" in Frame 20
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 21
tw = 0; fo = 0; fi = 0; _root.tele._x = -100; _root.tele2._x = -100; secret = 0; lygis = "level 16"; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 4, 74, 4], [0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11], [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 58, 0, 0, 0, 0, 0, 0], [4, 4, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 3, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0], [0, 0, 3, 0, 1, 0, 0, 3, 0, 0, 0, 1, 0, 0, 0, 0, 0], [0, 0, 3, 0, 1, 0, 0, 73, 0, 0, 0, 1, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 0, 0, 3, 0, 0, 0, 1, 1, 1, 1, 1, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; game.tile58 = {walkable:true, frame:58}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:2, ytile:11, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop(); if (local_data.data.score2 < 16) { local_data.data.score2 = 16; local_data.flush(); } _root.gad.hra._x = -1000; _root.gad.hrb._x = -1000;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 21
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 21
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 512; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 411 MovieClip "asd" in Frame 21
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 512; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 413 MovieClip "asdf" in Frame 21
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 512; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 415 MovieClip in Frame 21
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 512; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 403 MovieClip "gad" in Frame 21
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 22
_root.hita = 0; _root.hitb = 0; _root.hitc = 0; _root.hitd = 0; secret = 0; lygis = "level 17"; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0], [0, 0, 0, 0, 73, 0, 0, 0, 0, 0, 0, 5, 4, 74, 4, 4, 4], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0], [0, 0, 6, 4, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 4], [0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0], [0, 0, 5, 7, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1], [0, 12, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0], [0, 11, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; game.tile59 = {walkable:true, frame:59}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:5, ytile:6, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop(); if (local_data.data.score2 < 17) { local_data.data.score2 = 17; local_data.flush(); } _root.gad._x = 0;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 22
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 22
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if ((((_root.hita == 1) && (_root.hitb == 1)) && (_root.hitc == 1)) && (_root.hitd == 1)) { _root.secret = 1; } if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip in Frame 22
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.hita = 1; fin = 0; } }
Instance of Symbol 247 MovieClip in Frame 22
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.hitb = 1; fin = 0; } }
Instance of Symbol 247 MovieClip in Frame 22
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.hitc = 1; fin = 0; } }
Instance of Symbol 247 MovieClip in Frame 22
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.hitd = 1; fin = 0; } }
Instance of Symbol 403 MovieClip "gad" in Frame 22
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 23
_root.hita = 0; _root.hitb = 0; _root.hitc = 0; _root.hitd = 0; secret = 0; lygis = "level 18"; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 60, 0, 0, 0, 0], [0, 0, 0, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 61, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 62, 0, 0, 0, 0, 0, 0, 0], [0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; game.tile60 = {walkable:true, frame:60}; game.tile61 = {walkable:true, frame:61}; game.tile62 = {walkable:true, frame:62}; char = {xtile:12, ytile:2, speed:5, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop(); if (local_data.data.score2 < 18) { local_data.data.score2 = 18; local_data.flush(); } _root.gad._x = 0;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 23
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 23
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 128; } if ((((_root.hita == 1) && (_root.hitb == 1)) && (_root.hitc == 1)) && (_root.hitd == 1)) { _root.secret = 1; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip in Frame 23
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip)) { if (((_root.hitb == 0) && (_root.hitc == 0)) && (_root.hitd == 0)) { _root.hita = 1; } else { _root.hita = 0; _root.hitb = 0; _root.hitc = 0; _root.hitd = 0; } } }
Instance of Symbol 247 MovieClip in Frame 23
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip)) { _root.hitb = 1; } }
Instance of Symbol 247 MovieClip in Frame 23
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (_root.hitb == 0)) { _root.hita = 0; _root.hitc = 0; _root.hitd = 0; } }
Instance of Symbol 247 MovieClip in Frame 23
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (_root.hitc == 0)) { _root.hita = 0; _root.hitb = 0; _root.hitd = 0; } }
Instance of Symbol 247 MovieClip in Frame 23
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (_root.hitd == 0)) { _root.hita = 0; _root.hitc = 0; _root.hitb = 0; } }
Instance of Symbol 247 MovieClip in Frame 23
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip)) { _root.hitc = 1; } }
Instance of Symbol 247 MovieClip in Frame 23
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (_root.hitd == 0)) { _root.hita = 0; _root.hitc = 0; _root.hitb = 0; } }
Instance of Symbol 247 MovieClip in Frame 23
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (_root.hitc == 0)) { _root.hita = 0; _root.hitb = 0; _root.hitd = 0; } }
Instance of Symbol 247 MovieClip in Frame 23
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip)) { _root.hitd = 1; } }
Instance of Symbol 247 MovieClip in Frame 23
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip)) { if (((_root.hitb == 0) && (_root.hitc == 0)) && (_root.hitd == 0)) { _root.hita = 1; } else { _root.hita = 0; _root.hitb = 0; _root.hitc = 0; _root.hitd = 0; } } }
Instance of Symbol 403 MovieClip "gad" in Frame 23
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 24
secret = 0; lygis = "level 19"; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 3, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 3, 0], [0, 0, 63, 0, 0, 0, 0, 0, 64, 0, 0, 3, 0, 0, 0, 5, 4], [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 5, 74, 4, 7, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 4, 4], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0], [0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 73, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [0, 0, 3, 0, 0, 0, 12, 0, 0, 0, 0, 1, 0, 0, 3, 0, 0], [0, 0, 3, 0, 0, 0, 11, 0, 0, 0, 0, 1, 0, 0, 5, 7, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 3, 0]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; game.tile63 = {walkable:true, frame:63}; game.tile64 = {walkable:true, frame:64}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:5, ytile:5, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop(); if (local_data.data.score2 < 19) { local_data.data.score2 = 19; local_data.flush(); } _root.gad._x = 0;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 24
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 24
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 192; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip "che" in Frame 24
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (fin == 0) { this._x = _root.char.clip._x - 16; this._y = _root.char.clip._y - 26; if (this.hitTest(_root._xmouse, _root._ymouse, true)) { _root.secret = 1; fin = 3; this._x = 10000; } } if (this.hitTest(_parent.char.clip) && (fin == 1)) { fin = 0; } }
Instance of Symbol 403 MovieClip "gad" in Frame 24
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 25
secretz = 0; hita = 0; hitb = 0; lygis = "level 20"; secret = 0; secreth = 0; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 3, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 5, 4, 4], [1, 1, 1, 1, 1, 1, 0, 0, 3, 1, 1, 1, 1, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, 1], [0, 0, 0, 0, 0, 6, 4, 74, 8, 0, 0, 0, 0, 0, 0, 1, 1], [0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 3, 1, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0], [0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 30, 30, 0, 0, 0, 0, 0], [1, 1, 1, 0, 0, 73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1], [0, 0, 0, 9, 0, 3, 0, 0, 0, 0, 0, 65, 0, 0, 0, 0, 0], [0, 0, 0, 55, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; game.tile55 = {walkable:true, frame:55}; game.tile30 = {walkable:true, frame:30}; game.tile65 = {walkable:true, frame:65}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:2, ytile:11, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop(); if (local_data.data.score2 < 20) { local_data.data.score2 = 20; local_data.flush(); } _root.gad._x = 0;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 25
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip "lock" in Frame 25
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 96; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip in Frame 25
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip)) { _root.hita = 1; } }
Instance of Symbol 247 MovieClip "miau" in Frame 25
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (_root.hita == 1)) { _root.hitb = 1; } if (((_root.hita + _root.hitb) == 2) && (fin == 1)) { _root.cam.shk = 10; JumpSound = new Sound(); JumpSound.attachSound("quake"); JumpSound.start(); _root.secret = 1; _root.secreth = 1; fin = 0; } }
Instance of Symbol 247 MovieClip in Frame 25
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip)) { _root.hita = 0; _root.hitb = 0; } }
Instance of Symbol 247 MovieClip in Frame 25
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip)) { _root.hita = 0; _root.hitb = 0; } }
Instance of Symbol 247 MovieClip in Frame 25
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip)) { _root.hita = 0; _root.hitb = 0; } }
Instance of Symbol 247 MovieClip in Frame 25
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip)) { _root.hita = 0; _root.hitb = 0; } }
Instance of Symbol 403 MovieClip "gad" in Frame 25
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Instance of Symbol 424 MovieClip "cam" in Frame 25
onClipEvent (load) { shake = 0; shk = 0; } onClipEvent (enterFrame) { shk = shk - 1; if (shk < 0) { shk = 0; shake = 0; _x = 272; _y = 208; } if (shk > 0) { shake = 1; } randx = 264 + random(16); randy = 200 + random(16); if (shake == 1) { _x = randx; _y = randy; } }
Frame 26
aha = 0; _root.gad._x = 0; ab = 0; ac = 0; ad = 0; ae = 0; lygis = "level 21"; secret = 0; secretz = 0; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 1], [1, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 1], [1, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 5, 4, 4, 4, 1], [1, 0, 0, 5, 4, 4, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 3, 0, 0, 0, 66, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 12, 0, 1], [1, 0, 0, 0, 0, 0, 73, 0, 0, 0, 0, 0, 0, 0, 11, 0, 1], [1, 1, 1, 1, 1, 0, 3, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 1, 3, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; game.tile66 = {walkable:true, frame:66}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:10, ytile:10, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop(); if (local_data.data.score2 < 21) { local_data.data.score2 = 21; local_data.flush(); }
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 26
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 26
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 450; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 271 MovieClip "kkk" in Frame 26
onClipEvent (enterFrame) { if ((((_root.ab + _root.ac) + _root.ad) + _root.ae) == 4) { _root.secret = 1; } else { _root.secret = 0; } }
Instance of Symbol 403 MovieClip "gad" in Frame 26
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 27
secret = 0; secretz = 0; tim = 130; lygis = "level 22"; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 0, 3, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1], [0, 0, 0, 3, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, 0, 0], [4, 74, 4, 8, 0, 0, 0, 11, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 30, 0, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0], [0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0], [0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0], [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; game.tile72 = {walkable:true, frame:72}; game.tile30 = {walkable:true, frame:30}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:7, ytile:11, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop(); if (local_data.data.score2 < 22) { local_data.data.score2 = 22; local_data.flush(); } _root.gad._x = 0;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 27
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 27
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 224; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip in Frame 27
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.tim < 0) { _root.secret = 1; _root.secretz = 1; } if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip)) { _root.tim = _root.tim - 1; } else { _root.tim = 120; } }
Instance of Symbol 271 MovieClip "kkk" in Frame 27
/* no clip actions */
Instance of Symbol 403 MovieClip "gad" in Frame 27
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 28
lygis = "level 23"; secret = 0; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1], [1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:21}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; game.tile18 = {walkable:true, frame:19}; char = {xtile:13, ytile:6, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop(); _root.gad._x = 0; if (local_data.data.score2 < 23) { local_data.data.score2 = 23; local_data.flush(); }
Instance of Symbol 429 MovieClip in Frame 28
onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { startDrag (this, false, -64, 0, 0, 0); dragging = 1; _root.sys.drag = 1; } } onClipEvent (mouseUp) { stopDrag(); }
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 28
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 403 MovieClip "gad" in Frame 28
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 29
function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 6, 4, 4, 74, 4, 4, 4, 4, 7, 0, 0, 0], [0, 0, 68, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 5, 4, 4, 4], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 3, 0, 0, 67, 0, 0, 1, 1, 0, 0, 12, 0], [0, 0, 0, 0, 6, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1], [0, 0, 0, 0, 73, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 3, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile67 = {walkable:true, frame:67}; game.tile68 = {walkable:true, frame:68}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:2, ytile:11, speed:6, jumpstart:20, gravity:1.9, jump:false}; buildMap(myMap1); fall(char); stop(); _root.secret = 0; _root.gad._x = 0; function exit() { _root.secret = 1; } stop(); var theMenu = new ContextMenu(); theMenu.hideBuiltInItems(); _root.menu = theMenu; var i1 = new ContextMenuItem(":::Secret Exit:::", exit); theMenu.customItems[0] = i1; if (local_data.data.score2 < 24) { local_data.data.score2 = 24; local_data.flush(); } lygis = "level 24";
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 29
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 29
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 474; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 403 MovieClip "gad" in Frame 29
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileH); }
Frame 30
aha = 0; _root.gad._x = 0; var theMenu = new ContextMenu(); theMenu.hideBuiltInItems(); _root.menu = theMenu; var i1 = new ContextMenuItem("", exit); theMenu.customItems[0] = i1; secret = 0; lygis = "level 25"; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 70, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [4, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 71, 0], [0, 3, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0], [1, 3, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1], [0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12, 0], [0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 11, 0], [1, 1, 1, 0, 70, 0, 0, 0, 0, 0, 0, 0, 70, 0, 1, 1, 1], [0, 3, 0, 0, 0, 0, 0, 0, 0, 69, 0, 0, 0, 0, 6, 8, 0], [0, 73, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0], [1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1], [0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 71, 0, 0, 0, 3, 0, 0], [0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile69 = {walkable:true, frame:69}; game.tile70 = {walkable:true, frame:70}; game.tile71 = {walkable:true, frame:71}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:8, ytile:11, speed:6, jumpstart:20, gravity:1.9, jump:false}; buildMap(myMap1); fall(char); stop(); if (local_data.data.score2 < 25) { local_data.data.score2 = 25; local_data.flush(); } aha = 0;
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 30
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip "mmm" in Frame 30
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 480; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } } onClipEvent (load) { var time = new Date(); hours = time.getHours(); } onClipEvent (enterFrame) { var time = new Date(); hours = time.getHours(); if (hours == 0) { _root.secret = 1; } }
Instance of Symbol 403 MovieClip "gad" in Frame 30
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 31
_root.gotoAndStop(35); _root.gad._x = 0; secret = 0; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; char = {xtile:2, ytile:11, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop();
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 31
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38)) { } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 31
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 403 MovieClip "gad" in Frame 31
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 32
secret = 0; timer = 150; function exit() { _root.secret = 1; } var theMenu = new ContextMenu(); theMenu.hideBuiltInItems(); _root.menu = theMenu; var i1 = new ContextMenuItem("", exit); theMenu.customItems[0] = i1; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 0], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 3, 0], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 50, 0, 0, 1, 5, 4], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 51, 0, 0, 1, 0, 0], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 51, 0, 0, 1, 0, 0], [0, 0, 0, 0, 73, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 0, 6, 4, 4], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1], [0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile22 = {walkable:true, frame:22}; game.tile23 = {walkable:true, frame:23}; game.tile50 = {walkable:true, frame:50}; game.tile51 = {walkable:true, frame:51}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:5, ytile:5, speed:6, jumpstart:20, gravity:1.9, jump:false}; buildMap(myMap1); fall(char); stop(); if (local_data.data.score2 < 10) { local_data.data.score2 = 10; local_data.flush(); } _root.gad._x = 0; lygis = "level 10";
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 32
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { _root.timer = _root.timer - 1; var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; _root.timer = 150; } if (Key.isDown(39)) { dirx = 1; stand = 1; _root.timer = 150; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; _root.timer = 150; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } if (_root.timer < 0) { _root.secret = 1; } }
Instance of Symbol 247 MovieClip in Frame 32
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(159); fin = 0; } }
Instance of Symbol 403 MovieClip "gad" in Frame 32
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 33
_root.gad._x = 0; secret = 0; _root.gad.hra._x = -1000; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0], [0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0], [0, 0, 0, 73, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0], [0, 0, 0, 3, 0, 0, 0, 0, 1, 0, 3, 0, 0, 0, 0, 0, 0], [0, 0, 0, 5, 4, 7, 0, 0, 1, 0, 5, 4, 4, 74, 4, 4, 4], [0, 0, 0, 0, 0, 3, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 9, 0, 0, 0, 3, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0], [0, 10, 0, 0, 0, 3, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; game.tile24 = {walkable:true, frame:24}; game.tile25 = {walkable:true, frame:25}; game.tile73 = {walkable:true, frame:73}; game.tile74 = {walkable:true, frame:74}; char = {xtile:6, ytile:7, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop(); if (local_data.data.score2 < 15) { local_data.data.score2 = 15; local_data.flush(); } lygis = "level 15";
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 33
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 33
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 403 MovieClip "gad" in Frame 33
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 34
_root.gotoAndStop(21); _root.gad._x = 0; secret = 0; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; char = {xtile:2, ytile:11, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop();
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 34
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38)) { } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 34
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 403 MovieClip "gad" in Frame 34
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 35
klasas = 0; lygis = "THE END"; secret = 0; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:21}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; char = {xtile:-2, ytile:11, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop();
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 35
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38)) { } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 451 MovieClip "gad" in Frame 35
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 36
_root.gotoAndStop(32); _root.gad._x = 0; secret = 0; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; char = {xtile:2, ytile:11, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop();
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 36
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38)) { } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 36
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 403 MovieClip "gad" in Frame 36
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Frame 37
secret = 0; function buildMap(map) { _root.attachMovie("empty", "tiles", 1); game.clip = _root.tiles; var _local6 = map[0].length; var _local7 = map.length; var _local4 = 0; while (_local4 < _local7) { var _local3 = 0; while (_local3 < _local6) { var _local2 = (("t_" + _local4) + "_") + _local3; game[_local2] = game["tile" + map[_local4][_local3]]; game.clip.attachMovie("tile", _local2, (_local4 * 100) + (_local3 * 2)); game.clip[_local2]._x = _local3 * game.tileW; game.clip[_local2]._y = _local4 * game.tileH; game.clip[_local2].gotoAndStop(game[_local2].frame); _local3++; } _local4++; } game.clip.attachMovie("char", "char", 10000); char.clip = game.clip.char; char.x = (char.xtile * game.tileW) + (game.tileW / 2); char.y = (char.ytile * game.tileW) + (game.tileW / 2); char.width = char.clip._width / 2; char.height = char.clip._height / 2; char.clip._x = char.x; char.clip._y = char.y; } function getMyCorners(x, y, ob) { ob.downY = Math.floor(((y + ob.height) - 1) / game.tileH); ob.upY = Math.floor((y - ob.height) / game.tileH); ob.leftX = Math.floor((x - ob.width) / game.tileW); ob.rightX = Math.floor(((x + ob.width) - 1) / game.tileW); ob.upleft = game[(("t_" + ob.upY) + "_") + ob.leftX].walkable; ob.downleft = game[(("t_" + ob.downY) + "_") + ob.leftX].walkable; ob.upright = game[(("t_" + ob.upY) + "_") + ob.rightX].walkable; ob.downright = game[(("t_" + ob.downY) + "_") + ob.rightX].walkable; } function lookCloud(ob) { var _local2 = game[(("t_" + ob.downY) + "_") + ob.leftX].cloud; var _local4 = game[(("t_" + ob.downY) + "_") + ob.rightX].cloud; var _local3 = game[(("t_" + ob.upY) + "_") + ob.leftX].cloud; var _local5 = game[(("t_" + ob.upY) + "_") + ob.rightX].cloud; if ((_local2 or _local4) and (!(_local3 or _local5))) { return(true); } return(false); } function walk(dirx, diry, ob, speed) { getMyCorners(ob.x, ob.y + (speed * diry), ob); if (diry == -1) { if (ob.upleft and ob.upright) { ob.y = ob.y + (speed * diry); } else { ob.y = (ob.ytile * game.tileH) + ob.height; if (ob.jump) { ob.jumpspeed = 0; } } } if (diry == 1) { if (ob.downleft and ob.downright) { if (ob.jump and lookCloud(ob)) { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } else { ob.y = ob.y + (speed * diry); char.clip.gotoAndPlay("jumpd"); } } else { ob.y = ((ob.ytile + 1) * game.tileH) - ob.height; if (ob.jump) { ob.jump = false; } } } getMyCorners(ob.x + (speed * dirx), ob.y, ob); if (dirx == -1) { char.clip._xscale = -100; char.clip.gotoAndStop("walk"); char.clip.gotoAndPlay("walk"); if (ob.downleft and ob.upleft) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = (ob.xtile * game.tileW) + ob.width; } } if (dirx == 1) { char.clip._xscale = 100; char.clip.gotoAndPlay("walk"); if (ob.upright and ob.downright) { ob.x = ob.x + (speed * dirx); fall(ob); } else { ob.x = ((ob.xtile + 1) * game.tileW) - ob.width; } } ob.clip._x = ob.x; ob.clip._y = ob.y; ob.xtile = Math.floor(ob.clip._x / game.tileW); ob.ytile = Math.floor(ob.clip._y / game.tileH); } function jump(ob) { ob.jumpspeed = ob.jumpspeed - ob.gravity; if (ob.jumpspeed > 0) { char.clip.gotoAndPlay("jump"); walk(0, -1, ob, ob.jumpspeed); } else if (ob.jumpspeed < 0) { walk(0, 1, ob, -ob.jumpspeed); } } function fall(ob) { if (!ob.jump) { getMyCorners(ob.x, ob.y, ob); if ((ob.downleft and ob.downright) and (!lookCloud(ob))) { ob.jumpspeed = 0; ob.jump = true; } } } myMap1 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; myMapz = [[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1], [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]]; game = {tileW:32, tileH:32}; game.tile0 = {walkable:true, frame:1}; game.tile1 = {walkable:false, frame:2}; game.tile2 = {walkable:true, frame:3, cloud:true}; game.tile3 = {walkable:true, frame:4}; game.tile4 = {walkable:true, frame:5}; game.tile5 = {walkable:true, frame:6}; game.tile6 = {walkable:true, frame:7}; game.tile7 = {walkable:true, frame:8}; game.tile8 = {walkable:true, frame:9}; game.tile9 = {walkable:true, frame:10}; game.tile10 = {walkable:true, frame:11}; game.tile11 = {walkable:true, frame:12}; game.tile12 = {walkable:true, frame:13}; game.tile13 = {walkable:true, frame:14}; game.tile14 = {walkable:true, frame:15}; game.tile15 = {walkable:true, frame:16}; game.tile16 = {walkable:true, frame:17}; char = {xtile:2, ytile:11, speed:6, jumpstart:21, gravity:2, jump:false}; buildMap(myMap1); fall(char); stop();
Instance of Symbol 151 MovieClip [empty] "controller" in Frame 37
onClipEvent (load) { stand = 0; } onClipEvent (enterFrame) { var dirx = 0; var diry = 0; if (Key.isDown(38)) { } if (Key.isDown(40)) { } if (Key.isDown(37)) { dirx = -1; stand = 1; } if (Key.isDown(39)) { dirx = 1; stand = 1; } if ((!Key.isDown(37)) && (!Key.isDown(39))) { stand = 0; } if (Key.isDown(32) and (!_root.char.jump)) { _root.char.jump = true; _root.char.jumpspeed = _root.char.jumpstart; } if ((dirx != 0) or (diry != 0)) { _root.walk(dirx, diry, _root.char, _root.char.speed); } if (_root.char.jump) { _root.jump(_root.char); _root.char.gotoAndStop("jump"); } }
Instance of Symbol 247 MovieClip in Frame 37
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_parent.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 247 MovieClip in Frame 37
onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip)) { _parent.char.xtile = 19; } }
Instance of Symbol 247 MovieClip in Frame 37
onClipEvent (enterFrame) { if (this.hitTest(_parent.char.clip)) { _parent.char.xtile = 1; } }
Instance of Symbol 403 MovieClip "gad" in Frame 37
onClipEvent (enterFrame) { this.swapDepths(_root.game.tileW); }
Symbol 24 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 2
stop();
Symbol 26 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 2
stop();
Symbol 28 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 2
stop();
Symbol 30 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 2
stop();
Symbol 31 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 2
stop();
Symbol 36 Button
on (press) { score = score + 10; }
Symbol 38 MovieClip Frame 1
stop(); score = 0;
Symbol 38 MovieClip Frame 2
stop(); _root.secret = 1;
Symbol 39 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 2
stop();
Symbol 90 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 50
stop();
Symbol 110 MovieClip Frame 2
stop();
Symbol 110 MovieClip Frame 3
stop();
Instance of Symbol 24 MovieClip in Symbol 130 MovieClip [tile] Frame 12
onClipEvent (enterFrame) { if (_root.secret == 1) { gotoAndStop (2); } }
Instance of Symbol 26 MovieClip in Symbol 130 MovieClip [tile] Frame 13
onClipEvent (enterFrame) { if (_root.secret == 1) { gotoAndStop (2); } }
Instance of Symbol 28 MovieClip in Symbol 130 MovieClip [tile] Frame 14
onClipEvent (enterFrame) { if (_root.secret == 1) { gotoAndStop (2); } }
Instance of Symbol 30 MovieClip in Symbol 130 MovieClip [tile] Frame 15
onClipEvent (enterFrame) { if (_root.secret == 1) { gotoAndStop (2); } }
Instance of Symbol 31 MovieClip in Symbol 130 MovieClip [tile] Frame 16
onClipEvent (enterFrame) { if (_root.secret == 1) { gotoAndStop (2); } }
Instance of Symbol 38 MovieClip "bbb" in Symbol 130 MovieClip [tile] Frame 17
onClipEvent (load) { } onClipEvent (enterFrame) { this.score = this.score - 1; if (this.score < 0) { this.score = 0; } if (score > 80) { this.gotoAndStop(2); } }
Instance of Symbol 39 MovieClip in Symbol 130 MovieClip [tile] Frame 18
onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { this.gotoAndStop(2); } }
Instance of Symbol 24 MovieClip in Symbol 130 MovieClip [tile] Frame 19
onClipEvent (enterFrame) { if (_root.secreta == 1) { gotoAndStop (2); } }
Instance of Symbol 26 MovieClip in Symbol 130 MovieClip [tile] Frame 20
onClipEvent (enterFrame) { if (_root.secreta == 1) { gotoAndStop (2); } }
Instance of Symbol 71 MovieClip in Symbol 130 MovieClip [tile] Frame 44
onClipEvent (enterFrame) { if (_root.secret == 1) { gotoAndStop (2); } }
Instance of Symbol 39 MovieClip in Symbol 130 MovieClip [tile] Frame 52
onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { this.gotoAndStop(2); } }
Instance of Symbol 90 MovieClip in Symbol 130 MovieClip [tile] Frame 55
onClipEvent (load) { ups = 0; } onClipEvent (enterFrame) { if ((_root.secret == 1) && (ups == 0)) { this.play(); ups = 1; } }
Instance of Symbol 39 MovieClip in Symbol 130 MovieClip [tile] Frame 56
onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { this.gotoAndStop(2); } }
Instance of Symbol 110 MovieClip in Symbol 130 MovieClip [tile] Frame 64
onClipEvent (enterFrame) { if (_root.che.fin == 0) { if (Math.sqrt(((_root.che._y - _root.mice._y) * (_root.che._y - _root.mice._y)) + ((_root.che._x - _root.mice._x) * (_root.che._x - _root.mice._x))) < 100) { this.gotoAndStop(3); } else { this.gotoAndStop(2); } } }
Instance of Symbol 39 MovieClip in Symbol 130 MovieClip [tile] Frame 68
onClipEvent (enterFrame) { if (this.hitTest(_root._xmouse, _root._ymouse, true)) { this.gotoAndStop(2); } }
Instance of Symbol 128 MovieClip in Symbol 130 MovieClip [tile] Frame 73
onClipEvent (load) { kebab = random(8000); } onClipEvent (enterFrame) { _rotation = (_rotation + (-4 + (kebab / 1000))); }
Symbol 133 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 1
JumpSound = new Sound(); JumpSound.attachSound("jumpSound"); JumpSound.start();
Symbol 136 MovieClip Frame 9
gotoAndPlay ("loop");
Symbol 139 MovieClip Frame 9
gotoAndPlay ("loop");
Symbol 149 MovieClip Frame 16
gotoAndPlay (1);
Symbol 150 MovieClip [char] Frame 1
stop();
Symbol 150 MovieClip [char] Frame 4
stop();
Symbol 150 MovieClip [char] Frame 7
stop();
Symbol 150 MovieClip [char] Frame 10
stop();
Symbol 165 MovieClip Frame 1
stop();
Instance of Symbol 157 MovieClip "bar1" in Symbol 165 MovieClip Frame 1
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Symbol 165 MovieClip Frame 2
stop();
Symbol 167 Button
on (release) { getURL ("http://www.gamesbutler.com", "_blank"); }
Symbol 171 Button
on (release) { play(); }
Symbol 172 MovieClip Frame 13
stop();
Symbol 172 MovieClip Frame 18
stop(); _parent.play();
Symbol 190 MovieClip Frame 53
stop();
Symbol 196 MovieClip Frame 15
stop();
Symbol 198 MovieClip Frame 15
stop();
Symbol 199 MovieClip Frame 1
_root.stop();
Symbol 199 MovieClip Frame 24
stop();
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 29
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 31
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 33
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 35
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 37
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 39
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Symbol 199 MovieClip Frame 40
stop();
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 41
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 43
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 45
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 47
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 49
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 51
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 53
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 55
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 57
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 59
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 61
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 63
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 65
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 67
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 69
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 71
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 73
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 75
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 77
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 79
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 81
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 83
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 85
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 87
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 89
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 91
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 93
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 95
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 97
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 99
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 101
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 103
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 105
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 107
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 109
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 111
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 113
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 115
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 117
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 119
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 121
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 123
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 125
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 127
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 129
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 131
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 133
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 135
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 137
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 139
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 141
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 143
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 145
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 147
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 149
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 151
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 153
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 155
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 157
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 159
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 161
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 163
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 165
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 167
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 169
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 171
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 173
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 175
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 177
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 179
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 181
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 183
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 185
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 187
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 189
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 191
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 193
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 195
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 197
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 199
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 201
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 203
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 205
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 207
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 209
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 211
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 213
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 215
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 217
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 219
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 221
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 223
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 225
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Instance of Symbol 157 MovieClip "bar1" in Symbol 199 MovieClip Frame 227
onClipEvent (load) { function startMovie() { gotoAndStop (2); _root.preloader.play(); } loadingComplete = false; } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded() / _root.getBytesTotal(); this._xscale = 100 * loaded; if (!loadingComplete) { if (loaded == 1) { loadingComplete = true; } } else { startMovie(); } }
Symbol 199 MovieClip Frame 228
_root.play();
Symbol 223 MovieClip Frame 112
_root.nextFrame();
Symbol 231 Button
on (release) { if (_root.btn == 0) { _root.gads.gotoAndPlay(27); _root.btn = 1; } }
Symbol 233 Button
on (release) { getURL ("http://www.gamesbutler.com/", _blank); }
Symbol 235 Button
on (release) { getURL ("http://www.gamesbutler.com/game/3657/Secret_Exit_Walkthrough/", _blank); if (_global.score > 13) { getURL ("http://www.gamesbutler.com/game/3657/Secret_Exit_Walkthrough/", _blank); _global.okay = 1; } }
Symbol 237 Button
on (release) { gotoAndStop (2); }
Symbol 240 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 2
stop();
Symbol 242 Button
on (press) { gotoAndStop (2); }
Symbol 245 Button
on (rollOut, dragOut) { gotoAndStop (1); }
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 2
stop();
Symbol 253 MovieClip Frame 26
stop();
Symbol 253 MovieClip Frame 27
play();
Symbol 253 MovieClip Frame 43
_root.nextFrame();
Symbol 253 MovieClip Frame 71
stop();
Symbol 253 MovieClip Frame 72
play();
Symbol 253 MovieClip Frame 87
stopAllSounds();
Symbol 253 MovieClip Frame 88
_parent.gad._y = 0; _parent.gad.gotoAndPlay(1); if (_root.lvl == 0) { _global.ext = 0; _root.gotoAndStop(3); } if (_root.lvl == 1) { _global.ext = 0; _root.gotoAndStop(5); } if (_root.lvl == 2) { _global.ext = 0; _root.gotoAndStop(6); } if (_root.lvl == 3) { _global.ext = 0; _root.gotoAndStop(7); } if (_root.lvl == 4) { _global.ext = 0; _root.gotoAndStop(8); } if (_root.lvl == 5) { _global.ext = 0; _root.gotoAndStop(9); } if (_root.lvl == 6) { _global.ext = 0; _root.gotoAndStop(10); } if (_root.lvl == 7) { _global.ext = 0; _root.gotoAndStop(11); } if (_root.lvl == 8) { _global.ext = 0; _root.gotoAndStop(12); } if (_root.lvl == 9) { _global.ext = 0; _root.gotoAndStop(13); } if (_root.lvl == 10) { _root.gotoAndStop(14); } if (_root.lvl == 11) { _global.ext = 0; _root.gotoAndStop(15); } if (_root.lvl == 12) { _global.ext = 0; _root.gotoAndStop(16); } if (_root.lvl == 13) { _global.ext = 0; _root.gotoAndStop(17); } if (_root.lvl == 14) { _global.ext = 0; _root.gotoAndStop(18); } if (_root.lvl == 15) { _global.ext = 0; _root.gotoAndStop(19); } if (_root.lvl == 16) { _global.ext = 0; _root.gotoAndStop(20); } if (_root.lvl == 17) { _global.ext = 0; _root.gotoAndStop(21); } if (_root.lvl == 18) { _global.ext = 0; _root.gotoAndStop(22); } if (_root.lvl == 19) { _global.ext = 0; _root.gotoAndStop(23); } if (_root.lvl == 20) { _global.ext = 0; _root.gotoAndStop(24); } if (_root.lvl == 21) { _global.ext = 0; _root.gotoAndStop(25); } if (_root.lvl == 22) { _global.ext = 0; _root.gotoAndStop(26); } if (_root.lvl == 23) { _global.ext = 0; _root.gotoAndStop(27); } if (_root.lvl == 24) { _global.ext = 0; _root.gotoAndStop(28); } if (_root.lvl == 25) { _global.ext = 0; _root.gotoAndStop(29); } if (_root.lvl == 26) { _global.ext = 0; _root.gotoAndStop(30); } if (_root.lvl == 27) { _global.ext = 0; _root.gotoAndStop(36); } if (_root.lvl == 28) { _global.ext = 0; _root.gotoAndStop(32); } if (_root.lvl == 29) { _global.ext = 0; _root.gotoAndStop(33); } if (_root.lvl == 30) { _global.ext = 0; _root.gotoAndStop(34); }
Symbol 253 MovieClip Frame 89
play();
Symbol 253 MovieClip Frame 105
_root.gotoAndStop(4); this.gotoAndPlay(1);
Symbol 253 MovieClip Frame 208
_root.nextFrame();
Symbol 257 Button
on (press) { nextFrame(); }
Symbol 267 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 7
_root.ab = 1;
Symbol 267 MovieClip Frame 8
_root.ab = 0;
Symbol 267 MovieClip Frame 11
gotoAndStop (1);
Symbol 268 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 9
_root.ac = 1;
Symbol 268 MovieClip Frame 10
_root.ac = 0;
Symbol 268 MovieClip Frame 11
gotoAndStop (1);
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 7
_root.ad = 1;
Symbol 269 MovieClip Frame 8
_root.ad = 0;
Symbol 269 MovieClip Frame 11
gotoAndStop (1);
Symbol 270 MovieClip Frame 1
stop();
Symbol 270 MovieClip Frame 5
_root.ae = 1;
Symbol 270 MovieClip Frame 6
_root.ae = 0;
Symbol 270 MovieClip Frame 11
gotoAndStop (1);
Symbol 271 MovieClip Frame 1
stop();
Symbol 283 Button
on (release) { if (_root.btn == 0) { _root.gads.gotoAndPlay(89); _root.btn = 1; } }
Symbol 287 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 3; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 290 Button
on (release) { if (hit == 0) { _root.lvl = 2; _root.gads.gotoAndPlay(72); gotoAndStop (2); hit = 1; } }
Symbol 292 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 4; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 295 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 5; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 298 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 6; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 301 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 8; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 304 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 9; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 307 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 10; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 310 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; if (_global.score >= 15) { _root.lvl = 27; } else { _root.lvl = 11; } _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 313 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 13; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 316 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 14; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 319 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 15; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 322 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 16; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 325 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 18; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 328 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 19; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 331 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 20; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 334 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 21; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 337 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 23; _root.gad.pff._xscale = 100; _root.gad.pff._yscale = 100; _root.gad.pff.sss = 0; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 340 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 24; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 343 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 25; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 346 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 26; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 349 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 7; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 352 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 12; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 355 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 17; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 358 Button
on (release) { if ((_parent.hit == 0) && (_alpha == 100)) { _parent.hit = 1; _root.lvl = 22; _root.gads.gotoAndPlay(72); gotoAndStop (2); } }
Symbol 360 MovieClip Frame 1
hit = 0; if (_root.lvl > 1) { } else { _root.lvl = 1; } _root.lvl = sharedobject.getLocal("game"); setProperty(_root.lvl, _x , _root.lvl.data.lvl);
Instance of Symbol 288 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 1) { _x = 50; } }
Instance of Symbol 293 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 2) { _x = 100; } }
Instance of Symbol 296 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 3) { _x = 150; } }
Instance of Symbol 299 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 4) { _x = 200; } }
Instance of Symbol 302 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 6) { _x = 50; } }
Instance of Symbol 305 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 7) { _x = 100; } }
Instance of Symbol 308 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 8) { _x = 150; } }
Instance of Symbol 311 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 9) { _x = 200; } }
Instance of Symbol 314 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 11) { _x = 50; } }
Instance of Symbol 317 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 12) { _x = 100; } }
Instance of Symbol 320 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 13) { _x = 150; } }
Instance of Symbol 323 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 14) { _x = 200; } }
Instance of Symbol 326 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 16) { _x = 50; } }
Instance of Symbol 329 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 17) { _x = 100; } }
Instance of Symbol 332 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 18) { _x = 150; } }
Instance of Symbol 335 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 19) { _x = 200; } }
Instance of Symbol 338 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 21) { _x = 50; } }
Instance of Symbol 341 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 22) { _x = 100; } }
Instance of Symbol 344 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 23) { _x = 150; } }
Instance of Symbol 347 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 24) { _x = 200; } }
Instance of Symbol 350 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 5) { _x = 0; } }
Instance of Symbol 353 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 10) { _x = 0; } }
Instance of Symbol 356 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 15) { _x = 0; } }
Instance of Symbol 359 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (enterFrame) { if (_global.score > 20) { _x = 0; } }
Symbol 366 MovieClip Frame 1
stop();
Symbol 366 MovieClip Frame 12
stop();
Symbol 392 Button
on (press) { if (_root.secreta == 0.5) { _root.secreta = 1; } else { _root.secreta = 0.1; } _quality = "low"; }
Symbol 393 Button
on (press) { _quality = "medium"; if (_root.secreta == 0) { _root.secreta = 0.5; } else { _root.secreta = 0.1; } }
Symbol 394 Button
on (press) { _root.secreta = 0; _quality = "high"; }
Symbol 395 Button
on (release) { _global.ext = 1; _parent.gotoAndPlay(161); }
Symbol 396 Button
on (release) { JumpSound = new Sound(); JumpSound.attachSound("jumpSound"); JumpSound.setVolume(0); nextFrame(); _global.mute = 1; }
Symbol 397 Button
on (release) { JumpSound = new Sound(); JumpSound.attachSound("jumpSound"); JumpSound.setVolume(100); prevFrame(); _global.mute = 0; }
Symbol 398 MovieClip Frame 1
if (_global.mute == 1) { gotoAndStop (3); } else { gotoAndStop (2); }
Symbol 398 MovieClip Frame 2
stop();
Symbol 398 MovieClip Frame 3
stop();
Instance of Symbol 274 MovieClip in Symbol 403 MovieClip Frame 1
onClipEvent (enterFrame) { _x = _root.kkk2._x; _y = _root.kkk2._y; if (this.hitTest(_root.lock)) { _parent.loks.play(); this._x = -1000; _root.secret = 1; } if (!(_root.aha === 1)) { _x = -1000; } }
Instance of Symbol 271 MovieClip in Symbol 403 MovieClip Frame 1
onClipEvent (enterFrame) { _x = _root.kkk._x; _y = _root.kkk._y; }
Instance of Symbol 363 MovieClip in Symbol 403 MovieClip Frame 1
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { _x = _root.che._x; _y = _root.che._y; }
Instance of Symbol 365 MovieClip in Symbol 403 MovieClip Frame 1
onClipEvent (enterFrame) { _x = _root.ogi._x; _y = _root.ogi._y; }
Instance of Symbol 365 MovieClip in Symbol 403 MovieClip Frame 1
onClipEvent (enterFrame) { _x = _root.ogo._x; _y = _root.ogo._y; }
Instance of Symbol 366 MovieClip in Symbol 403 MovieClip Frame 1
onClipEvent (load) { aaa = 0; } onClipEvent (enterFrame) { _x = _root.kkk8._x; _y = _root.kkk8._y; if ((_root.secreth == 1) && (aaa == 0)) { aaa = 1; this.play(); } }
Instance of Symbol 281 MovieClip "pff" in Symbol 403 MovieClip Frame 1
onClipEvent (load) { argh = 0; gotoAndStop (1); } onClipEvent (enterFrame) { _x = _root.ugh._x; _y = _root.ugh._y; sss = 1; fff = 0.3; } onClipEvent (enterFrame) { if (_root.secretz == 0) { x = _root.char.clip._x - this._x; y = _root.char.clip._y - this._y; r = Math.sqrt((x * x) + (y * y)); theta = Math.asin(y / r); if (_root.char.clip._x < this._x) { this._rotation = 180 - (theta / 0.0175); } else if (_root.char.clip._x > this._x) { this._rotation = theta / 0.0175; } } else { argh = argh + fff; _rotation = (_rotation + (5 + argh)); _xscale = (_xscale - sss); _yscale = (_yscale - sss); } if (_xscale < 0) { _xscale = 0; _yscale = 0; sss = 0; } }
Instance of Symbol 370 MovieClip in Symbol 403 MovieClip Frame 1
onClipEvent (enterFrame) { _x = _root.la01._x; _y = _root.la01._y; }
Instance of Symbol 277 MovieClip "hrb" in Symbol 403 MovieClip Frame 1
onClipEvent (enterFrame) { _x = _root.tele._x; _y = _root.tele._y; }
Instance of Symbol 372 MovieClip "hra" in Symbol 403 MovieClip Frame 1
onClipEvent (enterFrame) { _x = _root.tele2._x; _y = _root.tele2._y; }
Symbol 403 MovieClip Frame 26
stop();
Symbol 403 MovieClip Frame 160
_parent.gad._x = 0; _root.nextFrame(); gotoAndPlay (1);
Instance of Symbol 274 MovieClip in Symbol 403 MovieClip Frame 161
onClipEvent (mouseDown) { if (this.hitTest(_root._xmouse, _root._ymouse)) { startDrag (this); dragging = 1; _root.sys.drag = 1; } } onClipEvent (mouseUp) { if (dragging) { stopDrag(); X = this._x; Y = this._y; if (_root.selected == "normal") { this._x = Math.round(X / _root.gridSpacing) * _root.gridSpacing; this._y = Math.round(Y / _root.gridSpacing) * _root.gridSpacing; } if (_root.selected == "rand") { smallestX = 1000; smallestY = 1000; i = 0; while (i < _root.numLines) { difX = Math.round(Math.abs(gridX[i] - X)); difY = Math.round(Math.abs(gridY[i] - Y)); diffX[difX] = i; diffY[difY] = i; smallestX = Math.min(smallestX, difX); smallestY = Math.min(smallestY, difY); i++; } this._x = gridX[diffX[smallestX]]; this._y = gridY[diffY[smallestY]]; } dragging = 0; _root.sys.drag = 0; } } onClipEvent (enterFrame) { _x = _root.kkk2._x; _y = _root.kkk2._y; if (this.hitTest(_root.lock)) { this._x = -1000; _root.secret = 1; } if (!(_root.aha === 1)) { _x = -1000; } }
Instance of Symbol 271 MovieClip in Symbol 403 MovieClip Frame 161
onClipEvent (enterFrame) { _x = _root.kkk._x; _y = _root.kkk._y; if (this.myInput == "wywh") { _root.secret = 1; } }
Symbol 403 MovieClip Frame 176
stopAllSounds();
Symbol 403 MovieClip Frame 177
_root.gotoAndStop(4);
Symbol 411 MovieClip Frame 1
stop();
Instance of Symbol 247 MovieClip in Symbol 411 MovieClip Frame 1
onClipEvent (enterFrame) { if (Key.isDown(53)) { _parent.gotoAndStop(2); } }
Symbol 411 MovieClip Frame 2
stop(); _root.to = 1;
Symbol 413 MovieClip Frame 1
stop();
Instance of Symbol 247 MovieClip in Symbol 413 MovieClip Frame 1
onClipEvent (enterFrame) { if (Key.isDown(52)) { if (_root.to == 1) { _parent.gotoAndStop(2); } } }
Symbol 413 MovieClip Frame 2
stop(); _root.fo = 1;
Symbol 415 MovieClip Frame 1
stop();
Instance of Symbol 247 MovieClip in Symbol 415 MovieClip Frame 1
onClipEvent (enterFrame) { if (Key.isDown(50)) { if (_root.fo == 1) { _parent.gotoAndStop(2); } } }
Symbol 415 MovieClip Frame 2
stop(); _root.fi = 1; _root.secret = 1;
Symbol 424 MovieClip Frame 1
function camControl() { parentColor.setTransform(camColor.getTransform()); var _local4 = sX / this._width; var _local3 = sY / this._height; _parent._x = cX - (this._x * _local4); _parent._y = cY - (this._y * _local3); _parent._xscale = 100 * _local4; _parent._yscale = 100 * _local3; } function resetStage() { var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0}; parentColor.setTransform(_local2); _parent._xscale = 100; _parent._yscale = 100; _parent._x = 0; _parent._y = 0; } parentColor.setTransform(camColor.getTransform()); this._visible = false; var oldMode = Stage.scaleMode; Stage.scaleMode = "exactFit"; var cX = (Stage.width / 2); var cY = (Stage.height / 2); var sX = Stage.width; var sY = Stage.height; Stage.scaleMode = oldMode; var camColor = new Color(this); var parentColor = new Color(_parent); this.onEnterFrame = camControl; camControl(); this.onUnload = resetStage;
Instance of Symbol 247 MovieClip in Symbol 429 MovieClip Frame 1
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { if (_root.secret == 1) { this._x = 32; } if (this.hitTest(_root.char.clip) && (fin == 1)) { _root.gad.gotoAndPlay(27); fin = 0; } }
Instance of Symbol 128 MovieClip in Symbol 429 MovieClip Frame 1
onClipEvent (load) { kebab = random(8000); } onClipEvent (enterFrame) { _rotation = (_rotation + (-4 + (kebab / 1000))); }
Instance of Symbol 128 MovieClip in Symbol 429 MovieClip Frame 1
onClipEvent (load) { kebab = random(8000); } onClipEvent (enterFrame) { _rotation = (_rotation + (-4 + (kebab / 1000))); }
Instance of Symbol 128 MovieClip in Symbol 437 MovieClip Frame 1
onClipEvent (load) { kebab = random(8000); } onClipEvent (enterFrame) { _rotation = (_rotation + (-4 + (kebab / 1000))); }
Instance of Symbol 128 MovieClip in Symbol 437 MovieClip Frame 1
onClipEvent (load) { kebab = random(8000); } onClipEvent (enterFrame) { _rotation = (_rotation + (-4 + (kebab / 1000))); }
Instance of Symbol 128 MovieClip in Symbol 437 MovieClip Frame 1
onClipEvent (load) { kebab = random(8000); } onClipEvent (enterFrame) { _rotation = (_rotation + (-4 + (kebab / 1000))); }
Instance of Symbol 128 MovieClip in Symbol 437 MovieClip Frame 1
onClipEvent (load) { kebab = random(8000); } onClipEvent (enterFrame) { _rotation = (_rotation + (-4 + (kebab / 1000))); }
Instance of Symbol 128 MovieClip in Symbol 437 MovieClip Frame 1
onClipEvent (load) { kebab = random(8000); } onClipEvent (enterFrame) { _rotation = (_rotation + (-4 + (kebab / 1000))); }
Instance of Symbol 437 MovieClip in Symbol 445 MovieClip Frame 1
onClipEvent (enterFrame) { _x = (_x - 0.3); }
Symbol 449 MovieClip Frame 17
stop();
Symbol 449 MovieClip Frame 33
stopAllSounds();
Symbol 449 MovieClip Frame 34
_root.gotoAndStop(4);
Symbol 450 Button
on (release) { if (_root.klasas == 0) { _global.ext = 1; _root.klasas = 1; ssss.gotoAndPlay(18); } }
Instance of Symbol 274 MovieClip in Symbol 451 MovieClip Frame 1
onClipEvent (enterFrame) { _x = _root.kkk2._x; _y = _root.kkk2._y; if (this.hitTest(_root.lock)) { _parent.loks.play(); this._x = -1000; _root.secret = 1; } if (!(_root.aha === 1)) { _x = -1000; } }
Instance of Symbol 271 MovieClip in Symbol 451 MovieClip Frame 1
onClipEvent (enterFrame) { _x = _root.kkk._x; _y = _root.kkk._y; }
Instance of Symbol 363 MovieClip in Symbol 451 MovieClip Frame 1
onClipEvent (load) { fin = 1; } onClipEvent (enterFrame) { _x = _root.che._x; _y = _root.che._y; }
Instance of Symbol 365 MovieClip in Symbol 451 MovieClip Frame 1
onClipEvent (enterFrame) { _x = _root.ogi._x; _y = _root.ogi._y; }
Instance of Symbol 365 MovieClip in Symbol 451 MovieClip Frame 1
onClipEvent (enterFrame) { _x = _root.ogo._x; _y = _root.ogo._y; }
Instance of Symbol 366 MovieClip in Symbol 451 MovieClip Frame 1
onClipEvent (load) { aaa = 0; } onClipEvent (enterFrame) { _x = _root.kkk8._x; _y = _root.kkk8._y; if ((_root.secreth == 1) && (aaa == 0)) { aaa = 1; this.play(); } }
Instance of Symbol 281 MovieClip "pff" in Symbol 451 MovieClip Frame 1
onClipEvent (load) { argh = 0; gotoAndStop (1); } onClipEvent (enterFrame) { _x = _root.ugh._x; _y = _root.ugh._y; sss = 1; fff = 0.3; } onClipEvent (enterFrame) { if (_root.secretz == 0) { x = _root.char.clip._x - this._x; y = _root.char.clip._y - this._y; r = Math.sqrt((x * x) + (y * y)); theta = Math.asin(y / r); if (_root.char.clip._x < this._x) { this._rotation = 180 - (theta / 0.0175); } else if (_root.char.clip._x > this._x) { this._rotation = theta / 0.0175; } } else { argh = argh + fff; _rotation = (_rotation + (5 + argh)); _xscale = (_xscale - sss); _yscale = (_yscale - sss); } if (_xscale < 0) { _xscale = 0; _yscale = 0; sss = 0; } }
Instance of Symbol 370 MovieClip in Symbol 451 MovieClip Frame 1
onClipEvent (enterFrame) { _x = _root.la01._x; _y = _root.la01._y; }
Instance of Symbol 277 MovieClip in Symbol 451 MovieClip Frame 1
onClipEvent (enterFrame) { _x = _root.tele._x; _y = _root.tele._y; }
Instance of Symbol 372 MovieClip in Symbol 451 MovieClip Frame 1
onClipEvent (enterFrame) { _x = _root.tele2._x; _y = _root.tele2._y; }
Symbol 451 MovieClip Frame 17
stop();

Library Items

Symbol 1 Sound [quake]
Symbol 2 GraphicUsed by:3 199
Symbol 3 MovieClip [ngbutton]Uses:2Used by:199
Symbol 4 BitmapUsed by:5 25 427 434
Symbol 5 GraphicUses:4Used by:24 26 39 71 130
Symbol 6 BitmapUsed by:7 27 70 129 364 438
Symbol 7 GraphicUses:6Used by:130
Symbol 8 GraphicUsed by:130
Symbol 9 BitmapUsed by:10 12 427 428 435 436
Symbol 10 GraphicUses:9Used by:130 437
Symbol 11 GraphicUsed by:130
Symbol 12 GraphicUses:9Used by:130
Symbol 13 BitmapUsed by:14 428 435 436
Symbol 14 GraphicUses:13Used by:130
Symbol 15 BitmapUsed by:16 19 435
Symbol 16 GraphicUses:15Used by:130
Symbol 17 BitmapUsed by:18 427 428 435 436
Symbol 18 GraphicUses:17Used by:130
Symbol 19 GraphicUses:15Used by:130
Symbol 20 BitmapUsed by:21 25 249 401 427 440
Symbol 21 GraphicUses:20Used by:31 130
Symbol 22 BitmapUsed by:23 29 249 401 427 440
Symbol 23 GraphicUses:22Used by:24 90 130
Symbol 24 MovieClipUses:5 23Used by:130
Symbol 25 GraphicUses:20 4Used by:26
Symbol 26 MovieClipUses:5 25Used by:130
Symbol 27 GraphicUses:6Used by:28 30 31 130
Symbol 28 MovieClipUses:27Used by:130
Symbol 29 GraphicUses:22Used by:30
Symbol 30 MovieClipUses:27 29Used by:130
Symbol 31 MovieClipUses:27 21Used by:130
Symbol 32 GraphicUsed by:36 37
Symbol 33 GraphicUsed by:36 37
Symbol 34 GraphicUsed by:36 37
Symbol 35 SoundUsed by:36 37
Symbol 36 ButtonUses:32 33 34 35Used by:38
Symbol 37 ButtonUses:32 33 34 35Used by:38
Symbol 38 MovieClipUses:36 37Used by:130
Symbol 39 MovieClipUses:5Used by:130
Symbol 40 GraphicUsed by:130
Symbol 41 GraphicUsed by:130
Symbol 42 GraphicUsed by:130
Symbol 43 GraphicUsed by:130
Symbol 44 GraphicUsed by:130
Symbol 45 GraphicUsed by:65 130
Symbol 46 GraphicUsed by:130
Symbol 47 GraphicUsed by:130
Symbol 48 BitmapUsed by:49
Symbol 49 GraphicUses:48Used by:130
Symbol 50 BitmapUsed by:51
Symbol 51 GraphicUses:50Used by:130
Symbol 52 FontUsed by:53 66 72 75 80 82 84 92 94 96 97 99 101 102 103 107 109 112 114 115 119 125 229 232 234 236 239 241 244 248 282 285 289 291 294 297 300 303 306 309 312 315 318 321 324 327 330 333 336 339 342 345 348 351 354 357 368
Symbol 53 TextUses:52Used by:130
Symbol 54 GraphicUsed by:130
Symbol 55 GraphicUsed by:130
Symbol 56 GraphicUsed by:130
Symbol 57 GraphicUsed by:130
Symbol 58 GraphicUsed by:64 130
Symbol 59 GraphicUsed by:60 257
Symbol 60 MovieClipUses:59Used by:62 63
Symbol 61 GraphicUsed by:62 63
Symbol 62 MovieClipUses:60 61Used by:64 65
Symbol 63 MovieClipUses:61 60Used by:64 65
Symbol 64 MovieClipUses:58 62 63Used by:130
Symbol 65 MovieClipUses:45 62 63Used by:130
Symbol 66 TextUses:52Used by:130
Symbol 67 BitmapUsed by:68
Symbol 68 GraphicUses:67Used by:130
Symbol 69 GraphicUsed by:130
Symbol 70 GraphicUses:6Used by:71
Symbol 71 MovieClipUses:70 5Used by:130
Symbol 72 TextUses:52Used by:130
Symbol 73 GraphicUsed by:130
Symbol 74 GraphicUsed by:130
Symbol 75 TextUses:52Used by:130
Symbol 76 GraphicUsed by:130
Symbol 77 BitmapUsed by:78
Symbol 78 GraphicUses:77Used by:130
Symbol 79 GraphicUsed by:130
Symbol 80 TextUses:52Used by:130
Symbol 81 GraphicUsed by:130
Symbol 82 TextUses:52Used by:130
Symbol 83 GraphicUsed by:130
Symbol 84 TextUses:52Used by:130
Symbol 85 BitmapUsed by:86
Symbol 86 GraphicUses:85Used by:90
Symbol 87 BitmapUsed by:88
Symbol 88 GraphicUses:87Used by:90
Symbol 89 SoundUsed by:90
Symbol 90 MovieClipUses:23 86 88 89Used by:130
Symbol 91 GraphicUsed by:130
Symbol 92 TextUses:52Used by:130
Symbol 93 GraphicUsed by:130
Symbol 94 TextUses:52Used by:130
Symbol 95 GraphicUsed by:130
Symbol 96 TextUses:52Used by:130
Symbol 97 TextUses:52Used by:130
Symbol 98 GraphicUsed by:130
Symbol 99 TextUses:52Used by:130
Symbol 100 GraphicUsed by:130
Symbol 101 TextUses:52Used by:130
Symbol 102 TextUses:52Used by:130
Symbol 103 TextUses:52Used by:130
Symbol 104 BitmapUsed by:105
Symbol 105 GraphicUses:104Used by:130
Symbol 106 GraphicUsed by:110
Symbol 107 TextUses:52Used by:110
Symbol 108 SoundUsed by:110
Symbol 109 TextUses:52Used by:110
Symbol 110 MovieClipUses:106 107 108 109Used by:130
Symbol 111 GraphicUsed by:130
Symbol 112 TextUses:52Used by:130
Symbol 113 GraphicUsed by:130
Symbol 114 TextUses:52Used by:130
Symbol 115 TextUses:52Used by:130
Symbol 116 BitmapUsed by:117
Symbol 117 GraphicUses:116Used by:130
Symbol 118 GraphicUsed by:130
Symbol 119 TextUses:52Used by:130
Symbol 120 BitmapUsed by:121
Symbol 121 GraphicUses:120Used by:130
Symbol 122 BitmapUsed by:123
Symbol 123 GraphicUses:122Used by:130
Symbol 124 GraphicUsed by:130
Symbol 125 TextUses:52Used by:130
Symbol 126 BitmapUsed by:127
Symbol 127 GraphicUses:126Used by:128
Symbol 128 MovieClipUses:127Used by:130 429 437
Symbol 129 GraphicUses:6Used by:130
Symbol 130 MovieClip [tile]Uses:5 7 8 10 11 12 14 16 18 19 21 23 24 26 28 30 31 38 39 40 41 42 43 44 45 46 47 49 51 53 54 55 56 57 64 65 66 27 68 69 71 72 73 58 74 75 76 78 79 80 81 82 83 84 90 91 92 93 94 95 96 97 98 99 100 101 102 103 105 110 111 112 113 114 115 117 118 119 121 123 124 125 128 129
Symbol 131 BitmapUsed by:132 144
Symbol 132 GraphicUses:131Used by:133
Symbol 133 MovieClipUses:132Used by:150
Symbol 134 BitmapUsed by:135
Symbol 135 GraphicUses:134Used by:136
Symbol 136 MovieClipUses:135Used by:150
Symbol 137 BitmapUsed by:138
Symbol 138 GraphicUses:137Used by:139
Symbol 139 MovieClipUses:138Used by:150
Symbol 140 BitmapUsed by:141
Symbol 141 GraphicUses:140Used by:149
Symbol 142 BitmapUsed by:143
Symbol 143 GraphicUses:142Used by:149
Symbol 144 GraphicUses:131Used by:149
Symbol 145 BitmapUsed by:146
Symbol 146 GraphicUses:145Used by:149
Symbol 147 BitmapUsed by:148
Symbol 148 GraphicUses:147Used by:149
Symbol 149 MovieClipUses:141 143 144 146 148Used by:150 445
Symbol 150 MovieClip [char]Uses:133 136 139 149
Symbol 151 MovieClip [empty]Used by:Timeline
Symbol 152 GraphicUsed by:199
Symbol 153 GraphicUsed by:199
Symbol 154 GraphicUsed by:155
Symbol 155 MovieClipUses:154Used by:199
Symbol 156 GraphicUsed by:157 275
Symbol 157 MovieClipUses:156Used by:165 199
Symbol 158 FontUsed by:159 160 161 162 168
Symbol 159 TextUses:158Used by:163
Symbol 160 TextUses:158Used by:163
Symbol 161 TextUses:158Used by:163
Symbol 162 TextUses:158Used by:163
Symbol 163 MovieClipUses:159 160 161 162Used by:164
Symbol 164 MovieClipUses:163Used by:165 199
Symbol 165 MovieClipUses:157 164Used by:199
Symbol 166 GraphicUsed by:167
Symbol 167 ButtonUses:166Used by:199
Symbol 168 TextUses:158Used by:170 171
Symbol 169 GraphicUsed by:170 171
Symbol 170 ButtonUses:168 169Used by:172
Symbol 171 ButtonUses:168 169Used by:172
Symbol 172 MovieClipUses:170 171Used by:199
Symbol 173 GraphicUsed by:176
Symbol 174 GraphicUsed by:175
Symbol 175 MovieClipUses:174Used by:176
Symbol 176 MovieClipUses:173 175Used by:190
Symbol 177 GraphicUsed by:178
Symbol 178 MovieClipUses:177Used by:190
Symbol 179 GraphicUsed by:180
Symbol 180 MovieClipUses:179Used by:190
Symbol 181 GraphicUsed by:190
Symbol 182 ShapeTweeningUsed by:189
Symbol 183 ShapeTweeningUsed by:189
Symbol 184 ShapeTweeningUsed by:189
Symbol 185 ShapeTweeningUsed by:189
Symbol 186 ShapeTweeningUsed by:189
Symbol 187 ShapeTweeningUsed by:189
Symbol 188 GraphicUsed by:189
Symbol 189 MovieClipUses:182 183 184 185 186 187 188Used by:190
Symbol 190 MovieClipUses:176 178 180 181 189Used by:199
Symbol 191 SoundUsed by:199
Symbol 192 GraphicUsed by:193
Symbol 193 MovieClipUses:192Used by:199
Symbol 194 GraphicUsed by:196
Symbol 195 SoundUsed by:196
Symbol 196 MovieClipUses:194 195Used by:199
Symbol 197 GraphicUsed by:198 223 247 253 403 449
Symbol 198 MovieClipUses:197Used by:199
Symbol 199 MovieClipUses:152 153 2 155 165 167 3 164 157 172 190 191 193 196 198Used by:Timeline
Symbol 200 GraphicUsed by:Timeline
Symbol 201 FontUsed by:202 203 430
Symbol 202 TextUses:201Used by:Timeline
Symbol 203 TextUses:201Used by:Timeline
Symbol 204 GraphicUsed by:223 253 403 451
Symbol 205 GraphicUsed by:223 253 403
Symbol 206 GraphicUsed by:223 253 403 449
Symbol 207 GraphicUsed by:223 253 403 449
Symbol 208 GraphicUsed by:223 253 403 449
Symbol 209 GraphicUsed by:223 253 403 449
Symbol 210 GraphicUsed by:223 253 403 449
Symbol 211 GraphicUsed by:223 253 403 449
Symbol 212 GraphicUsed by:223 253 403 449
Symbol 213 GraphicUsed by:223 253 403 449
Symbol 214 GraphicUsed by:223 253 403 449
Symbol 215 GraphicUsed by:223 253 403 449
Symbol 216 GraphicUsed by:223 253 403 449
Symbol 217 GraphicUsed by:223 253 403 449
Symbol 218 GraphicUsed by:223 253 403 449
Symbol 219 GraphicUsed by:223 253 403 449
Symbol 220 GraphicUsed by:223 253 403
Symbol 221 GraphicUsed by:223 253 403 449
Symbol 222 SoundUsed by:223 403 449
Symbol 223 MovieClipUses:197 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222Used by:Timeline
Symbol 224 BitmapUsed by:225 226
Symbol 225 ShapeTweeningUses:224Used by:227
Symbol 226 GraphicUses:224Used by:227
Symbol 227 MovieClipUses:225 226Used by:Timeline
Symbol 228 GraphicUsed by:231 233 235 237 242 283
Symbol 229 TextUses:52Used by:231
Symbol 230 GraphicUsed by:231 233 235 237 242 283
Symbol 231 ButtonUses:228 229 230Used by:Timeline
Symbol 232 TextUses:52Used by:233
Symbol 233 ButtonUses:228 232 230Used by:Timeline
Symbol 234 TextUses:52Used by:235
Symbol 235 ButtonUses:228 234 230Used by:Timeline
Symbol 236 TextUses:52Used by:237
Symbol 237 ButtonUses:228 236 230Used by:240
Symbol 238 GraphicUsed by:240
Symbol 239 TextUses:52Used by:240
Symbol 240 MovieClipUses:237 238 239Used by:Timeline
Symbol 241 TextUses:52Used by:242 245
Symbol 242 ButtonUses:228 241 230Used by:246
Symbol 243 GraphicUsed by:245
Symbol 244 TextUses:52Used by:245
Symbol 245 ButtonUses:243 241 244Used by:246
Symbol 246 MovieClipUses:242 245Used by:Timeline
Symbol 247 MovieClipUses:197Used by:411 413 415 429  Timeline
Symbol 248 TextUses:52Used by:Timeline
Symbol 249 GraphicUses:20 22Used by:Timeline
Symbol 250 GraphicUsed by:253
Symbol 251 SoundUsed by:253
Symbol 252 GraphicUsed by:253
Symbol 253 MovieClipUses:197 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 250 251 252Used by:Timeline
Symbol 254 GraphicUsed by:267 268 269 270
Symbol 255 FontUsed by:256 258 259 260 261 262 263 264 265 266 375 379 381 384 387 389 399 402 444 446
Symbol 256 TextUses:255Used by:267 268 269 270
Symbol 257 ButtonUses:59Used by:267 268 269 270
Symbol 258 TextUses:255Used by:267 268 269 270
Symbol 259 TextUses:255Used by:267 268 269 270
Symbol 260 TextUses:255Used by:267 268 269 270
Symbol 261 TextUses:255Used by:267 268 269 270
Symbol 262 TextUses:255Used by:267 268 269 270
Symbol 263 TextUses:255Used by:267 268 269 270
Symbol 264 TextUses:255Used by:267 268 269 270
Symbol 265 TextUses:255Used by:267 268 269 270
Symbol 266 TextUses:255Used by:267 268 269 270
Symbol 267 MovieClipUses:254 256 257 258 259 260 261 262 263 264 265 266Used by:271
Symbol 268 MovieClipUses:254 256 257 258 259 260 261 262 263 264 265 266Used by:271
Symbol 269 MovieClipUses:254 256 257 258 259 260 261 262 263 264 265 266Used by:271
Symbol 270 MovieClipUses:254 256 257 258 259 260 261 262 263 264 265 266Used by:271
Symbol 271 MovieClipUses:267 268 269 270Used by:403 451  Timeline
Symbol 272 BitmapUsed by:273
Symbol 273 GraphicUses:272Used by:274
Symbol 274 MovieClipUses:273Used by:366 403 451  Timeline
Symbol 275 MovieClipUses:156Used by:277 372
Symbol 276 GraphicUsed by:277
Symbol 277 MovieClipUses:275 276Used by:403 451  Timeline
Symbol 278 BitmapUsed by:280
Symbol 279 BitmapUsed by:280
Symbol 280 GraphicUses:278 279Used by:281
Symbol 281 MovieClipUses:280Used by:403 451  Timeline
Symbol 282 TextUses:52Used by:283
Symbol 283 ButtonUses:228 282 230Used by:Timeline
Symbol 284 GraphicUsed by:287 290 292 295 298 301 304 307 310 313 316 319 322 325 328 331 334 337 340 343 346 349 352 355 358
Symbol 285 TextUses:52Used by:287
Symbol 286 GraphicUsed by:287 290 292 295 298 301 304 307 310 313 316 319 322 325 328 331 334 337 340 343 346 349 352 355 358
Symbol 287 ButtonUses:284 285 286Used by:288
Symbol 288 MovieClipUses:287Used by:360
Symbol 289 TextUses:52Used by:290
Symbol 290 ButtonUses:284 289 286Used by:360
Symbol 291 TextUses:52Used by:292
Symbol 292 ButtonUses:284 291 286Used by:293
Symbol 293 MovieClipUses:292Used by:360
Symbol 294 TextUses:52Used by:295
Symbol 295 ButtonUses:284 294 286Used by:296
Symbol 296 MovieClipUses:295Used by:360
Symbol 297 TextUses:52Used by:298
Symbol 298 ButtonUses:284 297 286Used by:299
Symbol 299 MovieClipUses:298Used by:360
Symbol 300 TextUses:52Used by:301
Symbol 301 ButtonUses:284 300 286Used by:302
Symbol 302 MovieClipUses:301Used by:360
Symbol 303 TextUses:52Used by:304
Symbol 304 ButtonUses:284 303 286Used by:305
Symbol 305 MovieClipUses:304Used by:360
Symbol 306 TextUses:52Used by:307
Symbol 307 ButtonUses:284 306 286Used by:308
Symbol 308 MovieClipUses:307Used by:360
Symbol 309 TextUses:52Used by:310
Symbol 310 ButtonUses:284 309 286Used by:311
Symbol 311 MovieClipUses:310Used by:360
Symbol 312 TextUses:52Used by:313
Symbol 313 ButtonUses:284 312 286Used by:314
Symbol 314 MovieClipUses:313Used by:360
Symbol 315 TextUses:52Used by:316
Symbol 316 ButtonUses:284 315 286Used by:317
Symbol 317 MovieClipUses:316Used by:360
Symbol 318 TextUses:52Used by:319
Symbol 319 ButtonUses:284 318 286Used by:320
Symbol 320 MovieClipUses:319Used by:360
Symbol 321 TextUses:52Used by:322
Symbol 322 ButtonUses:284 321 286Used by:323
Symbol 323 MovieClipUses:322Used by:360
Symbol 324 TextUses:52Used by:325
Symbol 325 ButtonUses:284 324 286Used by:326
Symbol 326 MovieClipUses:325Used by:360
Symbol 327 TextUses:52Used by:328
Symbol 328 ButtonUses:284 327 286Used by:329
Symbol 329 MovieClipUses:328Used by:360
Symbol 330 TextUses:52Used by:331
Symbol 331 ButtonUses:284 330 286Used by:332
Symbol 332 MovieClipUses:331Used by:360
Symbol 333 TextUses:52Used by:334
Symbol 334 ButtonUses:284 333 286Used by:335
Symbol 335 MovieClipUses:334Used by:360
Symbol 336 TextUses:52Used by:337
Symbol 337 ButtonUses:284 336 286Used by:338
Symbol 338 MovieClipUses:337Used by:360
Symbol 339 TextUses:52Used by:340
Symbol 340 ButtonUses:284 339 286Used by:341
Symbol 341 MovieClipUses:340Used by:360
Symbol 342 TextUses:52Used by:343
Symbol 343 ButtonUses:284 342 286Used by:344
Symbol 344 MovieClipUses:343Used by:360
Symbol 345 TextUses:52Used by:346
Symbol 346 ButtonUses:284 345 286Used by:347
Symbol 347 MovieClipUses:346Used by:360
Symbol 348 TextUses:52Used by:349
Symbol 349 ButtonUses:284 348 286Used by:350
Symbol 350 MovieClipUses:349Used by:360
Symbol 351 TextUses:52Used by:352
Symbol 352 ButtonUses:284 351 286Used by:353
Symbol 353 MovieClipUses:352Used by:360
Symbol 354 TextUses:52Used by:355
Symbol 355 ButtonUses:284 354 286Used by:356
Symbol 356 MovieClipUses:355Used by:360
Symbol 357 TextUses:52Used by:358
Symbol 358 ButtonUses:284 357 286Used by:359
Symbol 359 MovieClipUses:358Used by:360
Symbol 360 MovieClipUses:288 290 293 296 299 302 305 308 311 314 317 320 323 326 329 332 335 338 341 344 347 350 353 356 359Used by:Timeline
Symbol 361 BitmapUsed by:362
Symbol 362 GraphicUses:361Used by:363
Symbol 363 MovieClipUses:362Used by:403 451
Symbol 364 GraphicUses:6Used by:365
Symbol 365 MovieClipUses:364Used by:403 451
Symbol 366 MovieClipUses:274Used by:403 451
Symbol 367 GraphicUsed by:370
Symbol 368 TextUses:52Used by:370
Symbol 369 GraphicUsed by:370
Symbol 370 MovieClipUses:367 368 369Used by:403 451
Symbol 371 GraphicUsed by:372
Symbol 372 MovieClipUses:275 371Used by:403 451
Symbol 373 GraphicUsed by:390
Symbol 374 GraphicUsed by:377 392
Symbol 375 TextUses:255Used by:377 392
Symbol 376 GraphicUsed by:377 380 382 392 393 394
Symbol 377 ButtonUses:374 375 376Used by:390
Symbol 378 GraphicUsed by:380 382 393 394
Symbol 379 TextUses:255Used by:380 393
Symbol 380 ButtonUses:378 379 376Used by:390
Symbol 381 TextUses:255Used by:382 394
Symbol 382 ButtonUses:378 381 376Used by:390
Symbol 383 GraphicUsed by:386 388 395 396 397 447 450
Symbol 384 TextUses:255Used by:386 395
Symbol 385 GraphicUsed by:386 388 395 396 397 447 450
Symbol 386 ButtonUses:383 384 385Used by:390
Symbol 387 TextUses:255Used by:388 396 397
Symbol 388 ButtonUses:383 387 385Used by:390 398
Symbol 389 EditableTextUses:255Used by:390
Symbol 390 MovieClipUses:373 377 380 382 386 388 389Used by:403
Symbol 391 GraphicUsed by:400
Symbol 392 ButtonUses:374 375 376Used by:400
Symbol 393 ButtonUses:378 379 376Used by:400
Symbol 394 ButtonUses:378 381 376Used by:400
Symbol 395 ButtonUses:383 384 385Used by:400
Symbol 396 ButtonUses:383 387 385Used by:398
Symbol 397 ButtonUses:383 387 385Used by:398
Symbol 398 MovieClipUses:388 396 397Used by:400
Symbol 399 EditableTextUses:255Used by:400
Symbol 400 MovieClipUses:391 392 393 394 395 398 399Used by:403
Symbol 401 GraphicUses:22 20Used by:403
Symbol 402 TextUses:255Used by:403
Symbol 403 MovieClipUses:274 271 363 365 366 281 370 277 372 197 204 390 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 400 220 221 401 402 222Used by:Timeline
Symbol 404 FontUsed by:405 406 407 408 416 417 418 419
Symbol 405 EditableTextUses:404Used by:Timeline
Symbol 406 EditableTextUses:404Used by:Timeline
Symbol 407 EditableTextUses:404Used by:Timeline
Symbol 408 EditableTextUses:404Used by:Timeline
Symbol 409 GraphicUsed by:411 413 415
Symbol 410 GraphicUsed by:411
Symbol 411 MovieClipUses:409 247 410Used by:Timeline
Symbol 412 GraphicUsed by:413
Symbol 413 MovieClipUses:409 247 412Used by:Timeline
Symbol 414 GraphicUsed by:415
Symbol 415 MovieClipUses:409 247 414Used by:Timeline
Symbol 416 EditableTextUses:404Used by:Timeline
Symbol 417 EditableTextUses:404Used by:Timeline
Symbol 418 EditableTextUses:404Used by:Timeline
Symbol 419 EditableTextUses:404Used by:Timeline
Symbol 420 FontUsed by:421 423 431 432
Symbol 421 EditableTextUses:420Used by:Timeline
Symbol 422 GraphicUsed by:424
Symbol 423 TextUses:420Used by:424
Symbol 424 MovieClipUses:422 423Used by:Timeline
Symbol 425 FontUsed by:426
Symbol 426 EditableTextUses:425Used by:Timeline
Symbol 427 GraphicUses:9 17 20 22 4Used by:429
Symbol 428 GraphicUses:9 13 17Used by:429
Symbol 429 MovieClipUses:247 427 128 428Used by:Timeline
Symbol 430 EditableTextUses:201Used by:Timeline
Symbol 431 EditableTextUses:420Used by:Timeline
Symbol 432 EditableTextUses:420Used by:Timeline
Symbol 433 SoundUsed by:Timeline
Symbol 434 GraphicUses:4Used by:451
Symbol 435 GraphicUses:9 15 13 17Used by:437
Symbol 436 GraphicUses:9 13 17Used by:437
Symbol 437 MovieClipUses:435 128 436 10Used by:445
Symbol 438 GraphicUses:6Used by:439
Symbol 439 MovieClipUses:438Used by:445
Symbol 440 GraphicUses:20 22Used by:441
Symbol 441 MovieClipUses:440Used by:442
Symbol 442 MovieClipUses:441Used by:445
Symbol 443 GraphicUsed by:445
Symbol 444 TextUses:255Used by:445
Symbol 445 MovieClipUses:437 439 442 149 443 444Used by:451
Symbol 446 TextUses:255Used by:447 450
Symbol 447 ButtonUses:383 446 385Used by:451
Symbol 448 GraphicUsed by:451
Symbol 449 MovieClipUses:197 206 207 208 209 210 211 212 213 214 215 216 217 218 219 221 222Used by:451
Symbol 450 ButtonUses:383 446 385Used by:451
Symbol 451 MovieClipUses:434 204 445 447 274 271 363 365 366 281 370 277 372 448 449 450Used by:Timeline

Instance Names

"preloader"Frame 1Symbol 199 MovieClip
"gads"Frame 3Symbol 223 MovieClip
"ogi"Frame 4Symbol 247 MovieClip
"ogo"Frame 4Symbol 247 MovieClip
"kkk8"Frame 4Symbol 247 MovieClip
"gads"Frame 4Symbol 253 MovieClip
"kkk"Frame 4Symbol 271 MovieClip
"kkk2"Frame 4Symbol 274 MovieClip
"che"Frame 4Symbol 247 MovieClip
"la02"Frame 4Symbol 247 MovieClip
"la03"Frame 4Symbol 247 MovieClip
"la04"Frame 4Symbol 247 MovieClip
"la05"Frame 4Symbol 247 MovieClip
"la06"Frame 4Symbol 247 MovieClip
"la07"Frame 4Symbol 247 MovieClip
"la08"Frame 4Symbol 247 MovieClip
"la09"Frame 4Symbol 247 MovieClip
"la10"Frame 4Symbol 247 MovieClip
"la11"Frame 4Symbol 247 MovieClip
"la12"Frame 4Symbol 247 MovieClip
"la13"Frame 4Symbol 247 MovieClip
"la14"Frame 4Symbol 247 MovieClip
"la15"Frame 4Symbol 247 MovieClip
"la16"Frame 4Symbol 247 MovieClip
"la17"Frame 4Symbol 247 MovieClip
"la18"Frame 4Symbol 247 MovieClip
"la19"Frame 4Symbol 247 MovieClip
"la20"Frame 4Symbol 247 MovieClip
"la21"Frame 4Symbol 247 MovieClip
"la22"Frame 4Symbol 247 MovieClip
"la23"Frame 4Symbol 247 MovieClip
"la24"Frame 4Symbol 247 MovieClip
"la25"Frame 4Symbol 247 MovieClip
"la01"Frame 4Symbol 247 MovieClip
"lok"Frame 4Symbol 247 MovieClip
"tele2"Frame 4Symbol 277 MovieClip
"ugh"Frame 4Symbol 281 MovieClip
"gad"Frame 5Symbol 403 MovieClip
"controller"Frame 6Symbol 151 MovieClip [empty]
"la01"Frame 6Symbol 247 MovieClip
"la02"Frame 6Symbol 247 MovieClip
"la03"Frame 6Symbol 247 MovieClip
"la04"Frame 6Symbol 247 MovieClip
"la05"Frame 6Symbol 247 MovieClip
"la06"Frame 6Symbol 247 MovieClip
"la07"Frame 6Symbol 247 MovieClip
"la08"Frame 6Symbol 247 MovieClip
"la09"Frame 6Symbol 247 MovieClip
"la10"Frame 6Symbol 247 MovieClip
"la11"Frame 6Symbol 247 MovieClip
"la12"Frame 6Symbol 247 MovieClip
"la13"Frame 6Symbol 247 MovieClip
"la14"Frame 6Symbol 247 MovieClip
"la15"Frame 6Symbol 247 MovieClip
"la16"Frame 6Symbol 247 MovieClip
"la17"Frame 6Symbol 247 MovieClip
"la18"Frame 6Symbol 247 MovieClip
"la19"Frame 6Symbol 247 MovieClip
"la20"Frame 6Symbol 247 MovieClip
"la21"Frame 6Symbol 247 MovieClip
"la22"Frame 6Symbol 247 MovieClip
"la23"Frame 6Symbol 247 MovieClip
"la24"Frame 6Symbol 247 MovieClip
"la25"Frame 6Symbol 247 MovieClip
"gad"Frame 6Symbol 403 MovieClip
"controller"Frame 7Symbol 151 MovieClip [empty]
"la01"Frame 7Symbol 247 MovieClip
"la03"Frame 7Symbol 247 MovieClip
"la04"Frame 7Symbol 247 MovieClip
"la05"Frame 7Symbol 247 MovieClip
"la06"Frame 7Symbol 247 MovieClip
"la07"Frame 7Symbol 247 MovieClip
"la08"Frame 7Symbol 247 MovieClip
"la09"Frame 7Symbol 247 MovieClip
"la10"Frame 7Symbol 247 MovieClip
"la11"Frame 7Symbol 247 MovieClip
"la12"Frame 7Symbol 247 MovieClip
"la13"Frame 7Symbol 247 MovieClip
"la14"Frame 7Symbol 247 MovieClip
"la15"Frame 7Symbol 247 MovieClip
"la16"Frame 7Symbol 247 MovieClip
"la17"Frame 7Symbol 247 MovieClip
"la18"Frame 7Symbol 247 MovieClip
"la19"Frame 7Symbol 247 MovieClip
"la20"Frame 7Symbol 247 MovieClip
"la21"Frame 7Symbol 247 MovieClip
"la22"Frame 7Symbol 247 MovieClip
"la23"Frame 7Symbol 247 MovieClip
"la24"Frame 7Symbol 247 MovieClip
"la25"Frame 7Symbol 247 MovieClip
"gad"Frame 7Symbol 403 MovieClip
"controller"Frame 8Symbol 151 MovieClip [empty]
"gad"Frame 8Symbol 403 MovieClip
"controller"Frame 9Symbol 151 MovieClip [empty]
"la01"Frame 9Symbol 247 MovieClip
"la03"Frame 9Symbol 247 MovieClip
"la04"Frame 9Symbol 247 MovieClip
"la05"Frame 9Symbol 247 MovieClip
"la06"Frame 9Symbol 247 MovieClip
"la07"Frame 9Symbol 247 MovieClip
"la08"Frame 9Symbol 247 MovieClip
"la09"Frame 9Symbol 247 MovieClip
"la10"Frame 9Symbol 247 MovieClip
"la11"Frame 9Symbol 247 MovieClip
"la12"Frame 9Symbol 247 MovieClip
"la13"Frame 9Symbol 247 MovieClip
"la14"Frame 9Symbol 247 MovieClip
"la15"Frame 9Symbol 247 MovieClip
"la16"Frame 9Symbol 247 MovieClip
"la17"Frame 9Symbol 247 MovieClip
"la18"Frame 9Symbol 247 MovieClip
"la19"Frame 9Symbol 247 MovieClip
"la20"Frame 9Symbol 247 MovieClip
"la21"Frame 9Symbol 247 MovieClip
"la22"Frame 9Symbol 247 MovieClip
"la23"Frame 9Symbol 247 MovieClip
"la24"Frame 9Symbol 247 MovieClip
"la25"Frame 9Symbol 247 MovieClip
"ogi"Frame 9Symbol 247 MovieClip
"ogo"Frame 9Symbol 247 MovieClip
"gad"Frame 9Symbol 403 MovieClip
"controller"Frame 10Symbol 151 MovieClip [empty]
"sex"Frame 10Symbol 247 MovieClip
"gad"Frame 10Symbol 403 MovieClip
"ogi"Frame 10Symbol 247 MovieClip
"ogo"Frame 10Symbol 247 MovieClip
"controller"Frame 11Symbol 151 MovieClip [empty]
"gad"Frame 11Symbol 403 MovieClip
"controller"Frame 12Symbol 151 MovieClip [empty]
"gad"Frame 12Symbol 403 MovieClip
"controller"Frame 13Symbol 151 MovieClip [empty]
"iui"Frame 13Symbol 247 MovieClip
"gad"Frame 13Symbol 403 MovieClip
"controller"Frame 14Symbol 151 MovieClip [empty]
"gad"Frame 14Symbol 403 MovieClip
"controller"Frame 15Symbol 151 MovieClip [empty]
"tele2"Frame 15Symbol 277 MovieClip
"gad"Frame 15Symbol 403 MovieClip
"controller"Frame 16Symbol 151 MovieClip [empty]
"gad"Frame 16Symbol 403 MovieClip
"controller"Frame 17Symbol 151 MovieClip [empty]
"lock"Frame 17Symbol 247 MovieClip
"lok"Frame 17Symbol 247 MovieClip
"kkk2"Frame 17Symbol 274 MovieClip
"gad"Frame 17Symbol 403 MovieClip
"controller"Frame 18Symbol 151 MovieClip [empty]
"mmm"Frame 18Symbol 247 MovieClip
"gad"Frame 18Symbol 403 MovieClip
"controller"Frame 19Symbol 151 MovieClip [empty]
"gad"Frame 19Symbol 403 MovieClip
"controller"Frame 20Symbol 151 MovieClip [empty]
"tele"Frame 20Symbol 277 MovieClip
"gad"Frame 20Symbol 403 MovieClip
"controller"Frame 21Symbol 151 MovieClip [empty]
"asd"Frame 21Symbol 411 MovieClip
"asdf"Frame 21Symbol 413 MovieClip
"gad"Frame 21Symbol 403 MovieClip
"tele"Frame 21Symbol 277 MovieClip
"controller"Frame 22Symbol 151 MovieClip [empty]
"gad"Frame 22Symbol 403 MovieClip
"controller"Frame 23Symbol 151 MovieClip [empty]
"gad"Frame 23Symbol 403 MovieClip
"controller"Frame 24Symbol 151 MovieClip [empty]
"che"Frame 24Symbol 247 MovieClip
"mice"Frame 24Symbol 247 MovieClip
"gad"Frame 24Symbol 403 MovieClip
"controller"Frame 25Symbol 151 MovieClip [empty]
"lock"Frame 25Symbol 247 MovieClip
"kkk8"Frame 25Symbol 247 MovieClip
"miau"Frame 25Symbol 247 MovieClip
"gad"Frame 25Symbol 403 MovieClip
"cam"Frame 25Symbol 424 MovieClip
"controller"Frame 26Symbol 151 MovieClip [empty]
"kkk"Frame 26Symbol 271 MovieClip
"gad"Frame 26Symbol 403 MovieClip
"controller"Frame 27Symbol 151 MovieClip [empty]
"kkk"Frame 27Symbol 271 MovieClip
"ugh"Frame 27Symbol 281 MovieClip
"gad"Frame 27Symbol 403 MovieClip
"controller"Frame 28Symbol 151 MovieClip [empty]
"gad"Frame 28Symbol 403 MovieClip
"controller"Frame 29Symbol 151 MovieClip [empty]
"gad"Frame 29Symbol 403 MovieClip
"controller"Frame 30Symbol 151 MovieClip [empty]
"mmm"Frame 30Symbol 247 MovieClip
"gad"Frame 30Symbol 403 MovieClip
"controller"Frame 31Symbol 151 MovieClip [empty]
"gad"Frame 31Symbol 403 MovieClip
"controller"Frame 32Symbol 151 MovieClip [empty]
"tele2"Frame 32Symbol 277 MovieClip
"gad"Frame 32Symbol 403 MovieClip
"controller"Frame 33Symbol 151 MovieClip [empty]
"tele"Frame 33Symbol 277 MovieClip
"tele2"Frame 33Symbol 277 MovieClip
"gad"Frame 33Symbol 403 MovieClip
"controller"Frame 34Symbol 151 MovieClip [empty]
"gad"Frame 34Symbol 403 MovieClip
"controller"Frame 35Symbol 151 MovieClip [empty]
"gad"Frame 35Symbol 451 MovieClip
"controller"Frame 36Symbol 151 MovieClip [empty]
"gad"Frame 36Symbol 403 MovieClip
"controller"Frame 37Symbol 151 MovieClip [empty]
"gad"Frame 37Symbol 403 MovieClip
"bbb"Symbol 130 MovieClip [tile] Frame 17Symbol 38 MovieClip
"bar1"Symbol 165 MovieClip Frame 1Symbol 157 MovieClip
"loading"Symbol 199 MovieClip Frame 18Symbol 165 MovieClip
"ngbutton"Symbol 199 MovieClip Frame 24Symbol 3 MovieClip [ngbutton]
"bar1"Symbol 199 MovieClip Frame 29Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 31Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 33Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 35Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 37Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 39Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 41Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 43Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 45Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 47Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 49Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 51Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 53Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 55Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 57Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 59Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 61Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 63Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 65Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 67Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 69Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 71Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 73Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 75Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 77Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 79Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 81Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 83Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 85Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 87Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 89Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 91Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 93Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 95Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 97Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 99Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 101Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 103Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 105Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 107Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 109Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 111Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 113Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 115Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 117Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 119Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 121Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 123Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 125Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 127Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 129Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 131Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 133Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 135Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 137Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 139Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 141Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 143Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 145Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 147Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 149Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 151Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 153Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 155Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 157Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 159Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 161Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 163Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 165Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 167Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 169Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 171Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 173Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 175Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 177Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 179Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 181Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 183Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 185Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 187Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 189Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 191Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 193Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 195Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 197Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 199Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 201Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 203Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 205Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 207Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 209Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 211Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 213Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 215Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 217Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 219Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 221Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 223Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 225Symbol 157 MovieClip
"bar1"Symbol 199 MovieClip Frame 227Symbol 157 MovieClip
"pff"Symbol 403 MovieClip Frame 1Symbol 281 MovieClip
"hrb"Symbol 403 MovieClip Frame 1Symbol 277 MovieClip
"hra"Symbol 403 MovieClip Frame 1Symbol 372 MovieClip
"pff"Symbol 451 MovieClip Frame 1Symbol 281 MovieClip
"ssss"Symbol 451 MovieClip Frame 1Symbol 449 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
Protect (24)Timeline Frame 131 bytes "..$1$ZN$WmqG1MpGjCkldtzN4R/C41."
ExportAssets (56)Timeline Frame 1Symbol 1 as "quake"
ExportAssets (56)Timeline Frame 1Symbol 3 as "ngbutton"
ExportAssets (56)Timeline Frame 1Symbol 130 as "tile"
ExportAssets (56)Timeline Frame 1Symbol 150 as "char"
ExportAssets (56)Timeline Frame 1Symbol 151 as "empty"

Labels

"loop"Symbol 136 MovieClip Frame 2
"loop"Symbol 139 MovieClip Frame 2
"stand"Symbol 150 MovieClip [char] Frame 1
"jump"Symbol 150 MovieClip [char] Frame 2
"jumpd"Symbol 150 MovieClip [char] Frame 5
"walk"Symbol 150 MovieClip [char] Frame 8

Dynamic Text Variables

_root.lygisSymbol 389 EditableText"<p align="center"></p>"
_root.lygisSymbol 399 EditableText"<p align="center"></p>"
_root.hitaSymbol 405 EditableText""
_root.hitbSymbol 406 EditableText""
_root.hitcSymbol 407 EditableText""
_root.hitdSymbol 408 EditableText""
_root.hitaSymbol 416 EditableText""
_root.hitbSymbol 417 EditableText""
_root.hitcSymbol 418 EditableText""
_root.hitdSymbol 419 EditableText""
_root.cam.shkSymbol 421 EditableText"<p align="center"></p>"
_root.timSymbol 426 EditableText""
_root.mmm.hoursSymbol 430 EditableText"<p align="left"></p>"
_root.mmm.aSymbol 431 EditableText"<p align="center"></p>"
_root.mmm.aaSymbol 432 EditableText"<p align="center"></p>"




http://swfchan.com/19/93219/info.shtml
Created: 27/3 -2019 01:21:26 Last modified: 27/3 -2019 01:21:26 Server time: 10/05 -2024 07:18:23