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

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

Touhou Marippy Translated.swf

This is the info page for
Flash #106824

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


ActionScript [AS1/AS2]
Combined Code
movieClip 4 ブロック { #initclip Object.registerClass('ブロック', CollidableClip); #endinitclip frame 1 { this._visible = false; } } movieClip 6 { frame 13 { this.gotoAndPlay(1); } } movieClip 8 spark { #initclip Object.registerClass('spark', Spark); #endinitclip frame 71 { this.removeMovieClip(); } frame 171 { this.removeMovieClip(); } } // unknown tag 88 length 120 movieClip 11 { } movieClip 12 score { frame 30 { this.stop(); this.removeMovieClip(); } } movieClip 14 star { #initclip Object.registerClass('star', Star); #endinitclip frame 15 { removeMovieClip(this); } } movieClip 16 hole { #initclip Object.registerClass('hole', Hole); #endinitclip frame 1 { this.stop(); } frame 20 { this.stop(); } } movieClip 24 { } movieClip 25 { frame 41 { this.gotoAndPlay(1); } } movieClip 26 { frame 19 { this.gotoAndPlay(10); } } movieClip 31 doll { #initclip Object.registerClass('doll', Doll); #endinitclip frame 200 { this.state = Enemy.WALKING; this.gotoAndStop('walk_left'); this.vx = -1 * this.walkSpeed; } frame 300 { this.state = Enemy.WALKING; this.gotoAndStop('walk_right'); this.vx = this.walkSpeed; } frame 350 { this.gotoAndPlay('revive_init'); } frame 399 { this.gotoAndPlay('revive_init'); } frame 450 { this.gotoAndPlay('revive_init'); } frame 500 { this.gotoAndPlay('revive_init'); } frame 501 { this.vx = 0; this.ax = 0; this.vy = 0; this._x = _parent.revivepoint_mc._x; this._y = _parent.revivepoint_mc._y; } frame 600 { if (this.direction == CollidableClip.LEFT) { this.gotoAndPlay('revive_left'); } else { if (this.direction == CollidableClip.RIGHT) { this.gotoAndPlay('revive_right'); } } } frame 601 { this.vx = 0; this.vy = 0; } frame 630 { if (_parent.revivepoint_mc.nofloor == true) { this.state = Enemy.FALLING; this.gotoAndStop('jump_left'); } else { this.state = Enemy.WALKING; this.gotoAndStop('walk_left'); this.vx = -1 * this.walkSpeed; } } frame 631 { this.vx = 0; this.vy = 0; } frame 661 { if (_parent.revivepoint_mc.nofloor == true) { this.state = Enemy.FALLING; this.gotoAndStop('jump_right'); } else { this.state = Enemy.WALKING; this.gotoAndStop('walk_right'); this.vx = -1 * this.walkSpeed; } } } movieClip 40 { frame 41 { this.gotoAndPlay(1); } } movieClip 41 { frame 20 { this.gotoAndPlay(10); } } movieClip 47 { frame 23 { this.gotoAndPlay(8); } } movieClip 49 { frame 24 { this.gotoAndPlay(1); } } movieClip 51 alice { #initclip Object.registerClass('alice', Alice); #endinitclip frame 200 { this.state = Enemy.WALKING; this.gotoAndStop('walk_left'); this.vx = -1 * this.walkSpeed; } frame 300 { this.state = Enemy.WALKING; this.gotoAndStop('walk_right'); this.vx = this.walkSpeed; } frame 350 { this.gotoAndPlay('revive_init'); } frame 400 { this.gotoAndPlay('revive_init'); } frame 450 { this.gotoAndPlay('revive_init'); } frame 500 { this.gotoAndPlay('revive_init'); } frame 600 { this.state = Enemy.WALKING; this.gotoAndStop('walk_left'); this.vx = -1 * this.walkSpeed; } frame 700 { this.state = Enemy.WALKING; this.gotoAndStop('walk_right'); this.vx = this.walkSpeed; } frame 800 { this.state = Enemy.WALKING; this.gotoAndStop('walk_left'); this.vx = -1 * this.walkSpeed; } frame 900 { this.state = Enemy.WALKING; this.gotoAndStop('walk_right'); this.vx = this.walkSpeed; } frame 901 { this.vx = 0; this.ax = 0; this.vy = 0; this._x = _parent.revivepoint_mc._x; this._y = _parent.revivepoint_mc._y; } frame 1000 { if (this.direction == CollidableClip.LEFT) { this.gotoAndPlay('revive_left'); } else { if (this.direction == CollidableClip.RIGHT) { this.gotoAndPlay('revive_right'); } } } frame 1001 { this.vx = 0; this.vy = 0; } frame 1030 { if (_parent.revivepoint_mc.nofloor == true) { this.state = Enemy.FALLING; this.gotoAndStop('jump_left'); } else { this.state = Enemy.WALKING; this.gotoAndStop('walk_left'); this.vx = -1 * this.walkSpeed; } } frame 1031 { this.vx = 0; this.vy = 0; } frame 1060 { if (_parent.revivepoint_mc.nofloor == true) { this.state = Enemy.FALLING; this.gotoAndStop('jump_right'); } else { this.state = Enemy.WALKING; this.gotoAndStop('walk_right'); this.vx = this.walkSpeed; } } } movieClip 61 { frame 41 { this.gotoAndPlay(1); } } movieClip 62 { frame 19 { this.gotoAndPlay(10); } } movieClip 64 { frame 19 { this.stop(); } } movieClip 65 { frame 10 { this.stop(); } } movieClip 66 marisa { #initclip Object.registerClass('marisa', Marisa); #endinitclip } movieClip 68 goods02 { #initclip Object.registerClass('goods02', Goods); #endinitclip frame 1 { this.type = 2; this.score = 200; } frame 2 { this.stop(); } frame 32 { if (this.blinking == true) { this.gotoAndPlay('blink'); } else { this.gotoAndStop('stop'); } } } movieClip 70 goods04 { #initclip Object.registerClass('goods04', Goods); #endinitclip frame 1 { this.type = 4; this.score = 400; } frame 2 { this.stop(); } frame 32 { if (this.blinking == true) { this.gotoAndPlay('blink'); } else { this.gotoAndStop('stop'); } } } movieClip 72 goods03 { #initclip Object.registerClass('goods03', Goods); #endinitclip frame 1 { this.type = 3; this.score = 300; } frame 2 { this.stop(); } frame 32 { if (this.blinking == true) { this.gotoAndPlay('blink'); } else { this.gotoAndStop('stop'); } } } movieClip 74 goods01 { #initclip Object.registerClass('goods01', Goods); #endinitclip frame 1 { this.type = 1; this.score = 100; } frame 2 { this.stop(); } frame 32 { if (this.blinking == true) { this.gotoAndPlay('blink'); } else { this.gotoAndStop('stop'); } } } movieClip 112 trampoline { #initclip Object.registerClass('trampoline', Trampoline); #endinitclip frame 1 { this.stop(); } frame 14 { this.gotoAndStop('rest0'); } frame 34 { if (this.durability == 1) { this.gotoAndStop('rest1'); } } frame 54 { if (this.durability == 2) { this.gotoAndStop('rest2'); } } frame 74 { if (this.durability == 3) { this.gotoAndStop('rest3'); } } frame 94 { if (this.durability == 4) { this.gotoAndStop('rest4'); } } } movieClip 116 { } movieClip 117 { } movieClip 119 powerdoor_right { #initclip Object.registerClass('powerdoor_right', Door); #endinitclip frame 1 { this.powerdoor = true; this.direction = CollidableClip.RIGHT; } frame 2 { this.animating = false; this.stop(); } instance of movieClip 117 { onClipEvent (load) { if (_parent.powerdoor == false) { this._visible = false; } } } frame 30 { this.animating = false; this.stop(); } frame 50 { this.animating = false; this.stop(); } } movieClip 120 door_left { #initclip Object.registerClass('door_left', Door); #endinitclip frame 1 { this.powerdoor = false; this.direction = CollidableClip.LEFT; } frame 2 { this.animating = false; this.stop(); } frame 30 { this.animating = false; this.stop(); } frame 50 { this.animating = false; this.stop(); } } movieClip 121 door_right { #initclip Object.registerClass('door_right', Door); #endinitclip frame 1 { this.powerdoor = false; this.direction = CollidableClip.RIGHT; } frame 2 { this.animating = false; this.stop(); } frame 30 { this.animating = false; this.stop(); } frame 50 { this.animating = false; this.stop(); } } movieClip 122 powerdoor_left { #initclip Object.registerClass('powerdoor_left', Door); #endinitclip frame 1 { this.powerdoor = true; this.direction = CollidableClip.LEFT; } frame 2 { this.animating = false; this.stop(); } instance of movieClip 117 { onClipEvent (load) { if (_parent.powerdoor == false) { this._visible = false; } } } frame 30 { this.animating = false; this.stop(); } frame 50 { this.animating = false; this.stop(); } } frame 1 { stop(); delete onEnterFrame; var bgm00 = new Sound(this); bgm00.attachSound('main.wav'); var bgm01 = new Sound(this); bgm01.attachSound('clear.wav'); var currentStageNum = 1; var finalScore = 0; var score_so = SharedObject.getLocal('marippy_highscore'); if (score_so.data.highscore == undefined) { score_so.data.highscore = 0; } } // unknown tag 88 length 70 button 132 { on (press) { getURL('http://chibitami.net/works/', '_new'); } } button 136 { on (release) { _parent.gotoAndStop('gameinit'); } } button 139 { on (release) { _parent.gotoAndStop('manual'); } } movieClip 142 { frame 39 { stop(); _parent.play(); } } movieClip 146 { frame 1 { this.stop(); _quality = 'high'; } frame 2 { this.stop(); _quality = 'midium'; } frame 3 { this.stop(); _quality = 'low'; } frame 4 { this.gotoAndStop(1); } } instance of movieClip 146 { onClipEvent (release) { this.play(); } } movieClip 268 __Packages.CollidableClip { #initclip if (!_global.CollidableClip) { var v1 = function () { super(); }; _global.CollidableClip = v1; _global.CollidableClip extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.collidable = true; if (this.hitRect_mc != undefined) { this.hitRect_mc._visible = false; } this.onLoadAction(); }; v2.onLoadAction = function () {}; v1.UP = 1; v1.DOWN = 2; v1.LEFT = 3; v1.RIGHT = 4; v1.NONE = 0; ASSetPropFlags(_global.CollidableClip.prototype, null, 1); } #endinitclip } movieClip 269 __Packages.CharacterClip { #initclip if (!_global.CharacterClip) { var v1 = function () { super(); }; _global.CharacterClip = v1; _global.CharacterClip extends CollidableClip; var v2 = v1.prototype; v2.collideAction = function (dir) { if (dir == CollidableClip.UP) { } else { if (dir == CollidableClip.DOWN) { } else { if (dir == CollidableClip.LEFT) { } else { if (dir == CollidableClip.RIGHT) { } else { if (dir == CollidableClip.NONE) { } } } } } }; v2.isOverlapping = function (bc) { if (bc._x == undefined) { return false; } var v5 = this._x + this.hitRect_mc._x; var v9 = v5 + this.hitRect_mc._width; var v6 = this._y + this.hitRect_mc._y; var v10 = v6 + this.hitRect_mc._height; var v3; var v7; var v4; var v8; if (bc.hitRect_mc != undefined) { v3 = bc._x + bc.hitRect_mc._x; v7 = v3 + bc.hitRect_mc._width; v4 = bc._y + bc.hitRect_mc._y; v8 = v4 + bc.hitRect_mc._height; } else { v3 = bc._x; v7 = v3 + bc._width; v4 = bc._y; v8 = v4 + bc._height; } if (v10 < v4) { return false; } if (v8 < v6) { return false; } if (v9 < v3) { return false; } if (v7 < v5) { return false; } return true; return false; }; v2.collideCheckAll = function (bcArray) { var v4 = false; var v2; for (var v5 in bcArray) { v2 = this.collideCheck(bcArray[v5]); if (v2 != CollidableClip.NONE) { this.collideAction(v2); v4 = true; } } if (v4 == false) { this.collideAction(CollidableClip.NONE); return false; } else { return true; } }; v2.collideCheck = function (bc) { if (bc.collidable == true && this.isOverlapping(bc)) { var v7 = this._x + this.hitRect_mc._x; var v9 = v7 + this.hitRect_mc._width; var v8 = this._y + this.hitRect_mc._y; var v10 = v8 + this.hitRect_mc._height; var v3; var v5; var v4; var v6; if (bc.hitRect_mc != undefined) { v3 = bc._x + bc.hitRect_mc._x; v5 = v3 + bc.hitRect_mc._width; v4 = bc._y + bc.hitRect_mc._y; v6 = v4 + bc.hitRect_mc._height; } else { v3 = bc._x; v5 = v3 + bc._width; v4 = bc._y; v6 = v4 + bc._height; } if (v10 - v4 <= this.VMAX && this.vy >= 0) { this._y = v4 - this.hitRect_mc._height - this.hitRect_mc._y; return CollidableClip.DOWN; } else { if (v6 - v8 <= this.VMAX && this.vy <= 0) { this._y = v6 - this.hitRect_mc._y; return CollidableClip.UP; } else { if (v9 - v3 <= this.VMAX && this.vx > 0) { this._x = v3 - this.hitRect_mc._width - this.hitRect_mc._x; return CollidableClip.RIGHT; } else { if (v5 - v7 <= this.VMAX && this.vx < 0) { this._x = v5 - this.hitRect_mc._x; return CollidableClip.LEFT; } } } } } else { return CollidableClip.NONE; } }; v2.move = function () { this.vx += this.ax; this.vy += this.ay; var v2 = this.vx; var v3 = this.vy; if (v2 < this.vxmin) { v2 = this.vxmin; } else { if (v2 > this.vxmax) { v2 = this.vxmax; } } if (v3 < this.vymin) { v3 = this.vymin; } else { if (v3 > this.vymax) { v3 = this.vymax; } } this._x += v2; this._y += v3; }; v2.vx = 0; v2.vy = 0; v2.ax = 0; v2.ay = 0; v2.vymin = -100; v2.vymax = 100; v2.vxmin = -100; v2.vxmax = 100; v2.VMAX = 100; ASSetPropFlags(_global.CharacterClip.prototype, null, 1); } #endinitclip } movieClip 270 __Packages.Enemy { #initclip if (!_global.Enemy) { var v1 = function () { super(); }; _global.Enemy = v1; _global.Enemy extends CharacterClip; var v2 = v1.prototype; v2.setInitialVars = function (gs) {}; v2.reset = function (gs) { this._x = this.initialPosX; this._y = this.initialPosY; this.setInitialVars(gs); }; v2.trampolineAction = function (trampoline, dir) { if (dir == CollidableClip.DOWN) { this.vy = -100; this.state = Enemy.TRAMPOLINE; this.setJumpPos(trampoline.maxHeight); } else { if (dir == CollidableClip.UP) { if (this.state == Enemy.TRAMPOLINE) { this.vy = 1; this.state = Enemy.FALLING; } else { if (this.state == Enemy.JUMPING) { this.vy = 0; } } } } }; v2.doorAction = function (door) { if (this.state == Enemy.WALKING || this.state == Enemy.STANDING) { if (door.powerdoor || door.direction != this.direction) { this.collideCheck(door); if (this.direction == CollidableClip.LEFT) { this.turn(CollidableClip.RIGHT); } else { if (this.direction == CollidableClip.RIGHT) { this.turn(CollidableClip.LEFT); } } } else { if (door.direction == this.direction) { this.collideCheck(door); door.changeState(); } } } else { if (this.state == Enemy.JUMPING) { if (this.direction == CollidableClip.LEFT) { this.state = Enemy.FALLING_INIT; this.direction = CollidableClip.RIGHT; } else { if (this.direction == CollidableClip.RIGHT) { this.state = Enemy.FALLING_INIT; this.direction = CollidableClip.LEFT; } } } } }; v2.starAction = function () { this.state = Enemy.ATTACKED_STAR; this.vx = 0; this.ax = 0; }; v2.sparkAction = function () { this.state = Enemy.ATTACKED_SPARK; this.vx = 0; this.ax = 0; }; v2.setJumpPos = function (maxheight) { var v7 = this._x; var v3 = this._parent.getCurrentFloor(this); var v6 = this._parent.marisa_mc._x; var v2 = this._parent.getCurrentFloor(this._parent.marisa_mc); var v5 = Math.random(); if (v5 < this.PROB_TRACK && v3 <= v2 && v3 + maxheight > v2) { if (v7 > v6) { this.direction = CollidableClip.LEFT; } else { this.direction = CollidableClip.RIGHT; } this.targetFloor = v2; } else { var v4 = Math.random(); if (v4 < 0.5) { this.direction = CollidableClip.LEFT; } else { this.direction = CollidableClip.RIGHT; } this.targetFloor = v3 + Math.floor(Math.random() * maxheight); } }; v2.turn = function (dir) { this.direction = dir; if (dir == CollidableClip.LEFT) { this.vx = -1 * this.walkSpeed; } else { if (dir == CollidableClip.RIGHT) { this.vx = this.walkSpeed; } } }; v2.collideAction = function (dir) { if (dir == CollidableClip.UP) { if (this.state == Enemy.TRAMPOLINE) { this.state = Enemy.FALLING; this.vy = 0; } else { this.vy = 0; } } else { if (dir == CollidableClip.DOWN) { if (this.state == Enemy.FALLING) { this.state = Enemy.CRASHED; } else { if (this.state == Enemy.JUMPING) { this.state = Enemy.WALKING; this.vy = 0; } else { if (this.state == Enemy.WALKING) { this.state = Enemy.WALKING; this.vy = 0; } else { if (this.state == Enemy.STANDING) { this.state = Enemy.STANDING; this.vy = 0; } } } } } else { if (dir == CollidableClip.LEFT) { if (this.state == Enemy.FALLING || this.state == Enemy.JUMPING) { this.state = Enemy.FALLING_INIT; } this.direction = CollidableClip.RIGHT; } else { if (dir == CollidableClip.RIGHT) { if (this.state == Enemy.FALLING || this.state == Enemy.JUMPING) { this.state = Enemy.FALLING_INIT; } this.direction = CollidableClip.LEFT; } else { if (dir == CollidableClip.NONE) { if (this.state == Enemy.WALKING) { this.state = Enemy.FALLING_INIT; this.vy = -2; } } } } } } }; v2.enterFrameAction = function () { if (this.state == Enemy.STANDING) { this.vx = 0; } else { if (this.state == Enemy.WALKING) { if (this.direction == CollidableClip.LEFT) { this.vx = -1 * this.walkSpeed; } else { if (this.direction == CollidableClip.RIGHT) { this.vx = this.walkSpeed; } } } else { if (this.state == Enemy.FALLING_INIT) { this.vy = -2; if (this.direction == CollidableClip.LEFT) { this.vx = -3; this.ax = 0.2; } else { if (this.direction == CollidableClip.RIGHT) { this.vx = 3; this.ax = -0.2; } } this.state = Enemy.FALLING; } else { if (this.state == Enemy.FALLING) { if (this.direction == CollidableClip.LEFT && this.vx > 0 || this.direction == CollidableClip.RIGHT && this.vx < 0) { this.ax = 0; this.vx = 0; } } else { if (this.state == Enemy.TRAMPOLINE) { if (this._parent.getCurrentFloor(this) == this.targetFloor + 1) { if (this.direction == CollidableClip.LEFT) { this.state = Enemy.JUMPING; this.vy = -2; this.vx = -3; } else { if (this.direction == CollidableClip.RIGHT) { this.state = Enemy.JUMPING; this.vy = -2; this.vx = 3; } } } } } } } } if (this.isOverlapping(this._parent.marisa_mc) && this.state == Enemy.WALKING) { this._parent.marisa_mc.attackedAction(); } if (this.state != Enemy.WAIT) { this.move(); } if (this.state == Enemy.STANDING) { if (this.direction == CollidableClip.LEFT) { this.gotoAndStop('still_left'); } else { if (this.direction == CollidableClip.RIGHT) { this.gotoAndStop('still_right'); } } } else { if (this.state == Enemy.WALKING) { if (this.direction == CollidableClip.LEFT) { this.gotoAndStop('walk_left'); } else { if (this.direction == CollidableClip.RIGHT) { this.gotoAndStop('walk_right'); } } } else { if (this.state == Enemy.ATTACKED_STAR) { this.state = Enemy.WAIT; if (this.direction == CollidableClip.LEFT) { this.gotoAndPlay('star_left'); } else { if (this.direction == CollidableClip.RIGHT) { this.gotoAndPlay('star_right'); } } } else { if (this.state == Enemy.ATTACKED_SPARK) { this.state = Enemy.WAIT; if (this.direction == CollidableClip.LEFT) { this.gotoAndPlay('spark_left'); } else { if (this.direction == CollidableClip.RIGHT) { this.gotoAndPlay('spark_right'); } } } else { if (this.state == Enemy.CRASHED) { this.state = Enemy.WAIT; if (this.direction == CollidableClip.LEFT) { this.gotoAndPlay('crashed_left'); } else { if (this.direction == CollidableClip.RIGHT) { this.gotoAndPlay('crashed_right'); } } } else { if (this.state == Enemy.FALLING_INIT || this.state == Enemy.FALLING || this.state == Enemy.TRAMPOLINE || this.state == Enemy.JUMPING) { if (this.direction == CollidableClip.LEFT) { this.gotoAndStop('jump_left'); } else { if (this.direction == CollidableClip.RIGHT) { this.gotoAndStop('jump_right'); } } } } } } } } }; v1.WAIT = 0; v1.STANDING = 10; v1.WALKING = 20; v1.FALLING_INIT = 30; v1.FALLING = 40; v1.TRAMPOLINE = 50; v1.JUMPING = 60; v1.DEAD = 100; v1.ATTACKED_STAR = 200; v1.ATTACKED_SPARK = 210; v1.CRASHED = 220; v1.GRAVITY = 0.3; ASSetPropFlags(_global.Enemy.prototype, null, 1); } #endinitclip } movieClip 271 __Packages.Spark { #initclip if (!_global.Spark) { var v1 = function () { super(); }; _global.Spark = v1; _global.Spark extends CharacterClip; var v2 = v1.prototype; v2.init = function (door) { if (door.direction == CollidableClip.LEFT) { this._x = door._x; this._y = door._y - 4; this.gotoAndPlay('left'); } else { if (door.direction == CollidableClip.RIGHT) { this._x = door._x + 8; this._y = door._y - 4; this.gotoAndPlay('right'); } } this.killed = 0; }; v2.onEnterFrame = function () { if (this._parent.alice_mc.isOverlapping(this) && (this._parent.alice_mc.state == Enemy.WALKING || this._parent.alice_mc.state == Enemy.JUMPING || this._parent.alice_mc.state == Enemy.FALLING || this._parent.alice_mc.state == Enemy.TRAMPOLINE)) { if (this._parent.alice_mc._x < this._x) { this._parent.alice_mc.direction = CollidableClip.RIGHT; } else { this._parent.alice_mc.direction = CollidableClip.LEFT; } ++this.killed; this._parent.addScore(200 * this.killed, true, 200 * this.killed, this._parent.alice_mc._x, this._parent.alice_mc._y); this._parent.alice_mc.sparkAction(); } for (var v2 in this._parent.dolls) { if (this._parent.dolls[v2].isOverlapping(this) && (this._parent.dolls[v2].state == Enemy.WALKING || this._parent.dolls[v2].state == Enemy.JUMPING || this._parent.dolls[v2].state == Enemy.FALLING || this._parent.dolls[v2].state == Enemy.TRAMPOLINE)) { if (this._parent.dolls[v2]._x < this._x) { this._parent.dolls[v2].direction = CollidableClip.RIGHT; } else { this._parent.dolls[v2].direction = CollidableClip.LEFT; } ++this.killed; this._parent.addScore(200 * this.killed, true, 200 * this.killed, this._parent.dolls[v2]._x, this._parent.dolls[v2]._y); this._parent.dolls[v2].sparkAction(); } } }; ASSetPropFlags(_global.Spark.prototype, null, 1); } #endinitclip } movieClip 272 __Packages.Star { #initclip if (!_global.Star) { var v1 = function () { super(); }; _global.Star = v1; _global.Star extends CharacterClip; var v2 = v1.prototype; v2.init = function (door) { this.VMAX = 5; if (door.direction == CollidableClip.LEFT) { this.vx = -5; this._x = door._x - 50; this._y = door._y; } else { if (door.direction == CollidableClip.RIGHT) { this.vx = 5; this._x = door._x + 5; this._y = door._y; } } this.gotoAndPlay(1); }; v2.onEnterFrame = function () { if (this._parent.alice_mc.state == Enemy.WALKING && this._parent.alice_mc.isOverlapping(this)) { this._parent.addScore(50, true, '50', this._parent.alice_mc._x, this._parent.alice_mc._y); this._parent.alice_mc.starAction(); } for (var v2 in this._parent.dolls) { if (this._parent.dolls[v2].state == Enemy.WALKING && this._parent.dolls[v2].isOverlapping(this)) { this._parent.addScore(50, true, '50', this._parent.dolls[v2]._x, this._parent.dolls[v2]._y); this._parent.dolls[v2].starAction(); } } this.move(); }; v2.duration = 0; ASSetPropFlags(_global.Star.prototype, null, 1); } #endinitclip } movieClip 273 __Packages.Hole { #initclip if (!_global.Hole) { var v1 = function () { super(); }; _global.Hole = v1; _global.Hole extends CollidableClip; var v2 = v1.prototype; v2.init = function () { this.touched = false; this.gotoAndStop('normal'); }; v2.onEnterFrame = function () { if (this.touched == true) { if (this.someoneOnIt() == false) { this.gotoAndPlay('broken'); _root.se_mc.gotoAndPlay('break'); this.touched = false; } } else { if (this._parent.marisa_mc.collideCheck(this) == CollidableClip.DOWN) { this.touched = true; } } }; v2.someoneOnIt = function () { var v2 = false; if (this._parent.marisa_mc.isOverlapping(this)) { v2 = true; } if (this._parent.alice_mc.isOverlapping(this)) { v2 = true; } for (var v3 in this._parent.dolls) { if (this._parent.dolls[v3].isOverlapping(this)) { v2 = true; } } return v2; }; ASSetPropFlags(_global.Hole.prototype, null, 1); } #endinitclip } movieClip 274 __Packages.Doll { #initclip if (!_global.Doll) { var v1 = function () { super(); }; _global.Doll = v1; _global.Doll extends Enemy; var v2 = v1.prototype; v2.setInitialVars = function (gs) { this.state = Enemy.STANDING; this.direction = CollidableClip.RIGHT; this.walkSpeed = gs.speedx_doll; this.fallSpeed = gs.speedy_doll; this.vx = 0; this.vy = 0; this.ax = 0; this.ay = Enemy.GRAVITY; this.vymin = -1 * this.fallSpeed; this.vymax = this.fallSpeed; this.vxmin = -10; this.vxmax = 10; this.VMAX = 10; this.targetFloor = 0; this.initialPosX = this._x; this.initialPosY = this._y; }; v2.PROB_TRACK = 0.8; ASSetPropFlags(_global.Doll.prototype, null, 1); } #endinitclip } movieClip 275 __Packages.Alice { #initclip if (!_global.Alice) { var v1 = function () { super(); }; _global.Alice = v1; _global.Alice extends Enemy; var v2 = v1.prototype; v2.setInitialVars = function (gs) { this.state = Enemy.STANDING; this.direction = CollidableClip.RIGHT; this.walkSpeed = gs.speedx_alice; this.fallSpeed = gs.speedy_alice; this.vx = 0; this.vy = 0; this.ax = 0; this.ay = Enemy.GRAVITY; this.vymin = -1 * this.fallSpeed; this.vymax = this.fallSpeed; this.vxmin = -10; this.vxmax = 10; this.VMAX = 10; this.targetFloor = 0; this.initialPosX = this._x; this.initialPosY = this._y; }; v2.enterFrameAction = function () { super.enterFrameAction(); for (var v4 in this._parent.goods) { if (this.isOverlapping(this._parent.goods[v4]) && this.state == Enemy.WALKING && this._parent.goods[v4] != this.lastTouchedGoods) { var v3 = Math.random(); if (v3 < this.PROB_GRAB) { this.state = Alice.GRABBING; this.vx = 0; if (this.direction == CollidableClip.LEFT) { this.gotoAndPlay('grab_left'); } else { if (this.direction == CollidableClip.RIGHT) { this.gotoAndPlay('grab_right'); } } this.randGrab = Math.random(); } this.lastTouchedGoods = this._parent.goods[v4]; } } if (this._parent.marisa_mc.isOverlapping(this.lastTouchedGoods) && this.state == Alice.GRABBING) { this.state = Alice.GRAB_FOUND; if (this.direction == CollidableClip.LEFT) { this.gotoAndPlay('found_left'); } else { if (this.direction == CollidableClip.RIGHT) { this.gotoAndPlay('found_right'); } } this._parent.addScore(1000, true, '1000', this._x, this._y); } }; v2.PROB_TRACK = 0.2; v2.PROB_GRAB = 0.75; v1.GRABBING = 300; v1.GRAB_FOUND = 310; ASSetPropFlags(_global.Alice.prototype, null, 1); } #endinitclip } movieClip 276 __Packages.Marisa { #initclip if (!_global.Marisa) { var v1 = function () { super(); }; _global.Marisa = v1; _global.Marisa extends CharacterClip; var v2 = v1.prototype; v2.setInitialVars = function (gs) { this.state = Marisa.STANDING; this.direction = CollidableClip.LEFT; this.walkSpeed = 3; this.fallSpeed = 6; this.vx = 0; this.vy = 0; this.ax = 0; this.ay = Marisa.GRAVITY; this.vymin = -1 * this.fallSpeed; this.vymax = this.fallSpeed; this.vxmin = -10; this.vxmax = 10; this.VMAX = 10; this.initialPosX = this._x; this.initialPosY = this._y; }; v2.reset = function (gs) { this._x = this.initialPosX; this._y = this.initialPosY; this.setInitialVars(gs); }; v2.collideAction = function (dir) { if (dir == CollidableClip.UP) { if (this.state == Marisa.TRAMPOLINE) { this.state = Marisa.FALLING; this.vy = 0; } else { this.vy = 0; } } else { if (dir == CollidableClip.DOWN) { if (this.state == Marisa.JUMPING) { this._parent.resetTrampolines(); this.state = Marisa.STANDING; this.vy = 0; } else { if (this.state == Marisa.FALLING) { this.state = Marisa.CRASHED; } else { if (this.state == Marisa.WALKING) { this.state = Marisa.WALKING; this.vy = 0; } else { if (this.state == Marisa.STANDING) { this.state = Marisa.STANDING; this.vy = 0; } } } } } else { if (dir == CollidableClip.LEFT) { if (this.state == Marisa.FALLING || this.state == Marisa.JUMPING) { this.state = Marisa.FALLING_INIT; this.direction = CollidableClip.RIGHT; } } else { if (dir == CollidableClip.RIGHT) { if (this.state == Marisa.FALLING || this.state == Marisa.JUMPING) { this.state = Marisa.FALLING_INIT; this.direction = CollidableClip.LEFT; } } else { if (dir == CollidableClip.NONE) { if (this.state == Marisa.WALKING || this.state == Marisa.STANDING) { this.state = Marisa.FALLING_INIT; } } } } } } }; v2.keyPressedAction = function (pressed) { if (this.state == Marisa.STANDING || this.state == Marisa.WALKING) { if (pressed == 37) { this.direction = CollidableClip.LEFT; this.state = Marisa.WALKING; this.vx = -1 * this.walkSpeed; } else { if (pressed == 39) { this.direction = CollidableClip.RIGHT; this.state = Marisa.WALKING; this.vx = this.walkSpeed; } else { this.state = Marisa.STANDING; this.vx = 0; } } } else { if (this.state == Marisa.TRAMPOLINE) { if (pressed == 37) { this.direction = CollidableClip.LEFT; this.state = Marisa.JUMPING; this.vy = -3; this.vx = -3; } else { if (pressed == 39) { this.direction = CollidableClip.RIGHT; this.state = Marisa.JUMPING; this.vy = -3; this.vx = 3; } } } } }; v2.enterFrameAction = function () { if (this.state == Marisa.FALLING_INIT) { this.vy = -2; if (this.direction == CollidableClip.LEFT) { this.vx = -3; this.ax = 0.2; } else { if (this.direction == CollidableClip.RIGHT) { this.vx = 3; this.ax = -0.2; } } this.state = Marisa.FALLING; } else { if (this.state == Marisa.FALLING) { if (this.direction == CollidableClip.LEFT && this.vx > 0 || this.direction == CollidableClip.RIGHT && this.vx < 0) { this.ax = 0; this.vx = 0; } } } if (this._y > 50 && this._y < 100) { this.state = Marisa.ATTACKED; this._y = 200; } this.move(); if (this.state == Marisa.STANDING) { if (this.direction == CollidableClip.LEFT) { this.gotoAndStop('still_left'); } else { this.gotoAndStop('still_right'); } } else { if (this.state == Marisa.WALKING) { if (this.direction == CollidableClip.LEFT) { this.gotoAndStop('walk_left'); } else { this.gotoAndStop('walk_right'); } } else { if (this.state == Marisa.ATTACKED) { this.state = Marisa.DEAD; if (this.direction == CollidableClip.LEFT) { this.gotoAndStop('attacked_left'); } else { this.gotoAndStop('attacked_right'); } } else { if (this.state == Marisa.CRASHED) { this.state = Marisa.DEAD; if (this.direction == CollidableClip.LEFT) { this.gotoAndStop('crashed_left'); } else { this.gotoAndStop('crashed_right'); } } else { if (this.state == Marisa.BULLET) { this.state = Marisa.DEAD; if (this.direction == CollidableClip.LEFT) { this.gotoAndStop('bullet_left'); } else { this.gotoAndStop('bullet_right'); } } else { if (this.state == Marisa.FALLING_INIT || this.state == Marisa.FALLING || this.state == Marisa.TRAMPOLINE || this.state == Marisa.JUMPING) { if (this.direction == CollidableClip.LEFT) { this.gotoAndStop('jump_left'); } else { this.gotoAndStop('jump_right'); } } } } } } } }; v2.trampolineAction = function (trampoline, dir) { if (dir == CollidableClip.DOWN) { this.vy = -100; this.state = Marisa.TRAMPOLINE; } else { if (dir == CollidableClip.UP) { if (this.state == Marisa.TRAMPOLINE) { this.vy = 1; this.state = Marisa.FALLING; } else { if (this.state == Marisa.JUMPING) { this.vy = 0; } } } } }; v2.doorAction = function (door) { if (this.state == Marisa.WALKING || this.state == Marisa.STANDING) { this.collideCheck(door); } else { if (this.state == Marisa.JUMPING) { if (this.direction == CollidableClip.LEFT) { this.state = Marisa.FALLING_INIT; this.direction = CollidableClip.RIGHT; } else { if (this.direction == CollidableClip.RIGHT) { this.state = Marisa.FALLING_INIT; this.direction = CollidableClip.LEFT; } } } } }; v2.attackedAction = function () { if (this.state == Marisa.STANDING || this.state == Marisa.WALKING) { this.state = Marisa.ATTACKED; this.vx = 0; } }; v2.bulletAction = function () { this.state = Marisa.BULLET; this.vx = 0; this.vy = 0; this.ax = 0; this.ay = 0; }; v1.WAIT = 0; v1.STANDING = 10; v1.WALKING = 20; v1.FALLING_INIT = 30; v1.FALLING = 40; v1.TRAMPOLINE = 50; v1.JUMPING = 60; v1.DEAD = 100; v1.ATTACKED = 200; v1.CRASHED = 220; v1.BULLET = 230; v1.GRAVITY = 0.3; ASSetPropFlags(_global.Marisa.prototype, null, 1); } #endinitclip } movieClip 277 __Packages.Goods { #initclip if (!_global.Goods) { var v1 = function () { super(); }; _global.Goods = v1; _global.Goods extends CollidableClip; var v2 = v1.prototype; v2.init = function () { this.blinking = false; }; v2.setBlink = function (flag) { if (flag == true) { this.blinking = true; this.gotoAndPlay('blink'); } else { this.blinking = false; this.gotoAndStop('stop'); } }; ASSetPropFlags(_global.Goods.prototype, null, 1); } #endinitclip } movieClip 278 __Packages.Trampoline { #initclip if (!_global.Trampoline) { var v1 = function () { super(); }; _global.Trampoline = v1; _global.Trampoline extends CollidableClip; var v2 = v1.prototype; v2.init = function () { this.durability = 4; this.gotoAndStop('rest4'); this.jumped = false; }; v2.resetDurability = function () { if (this.durability > 0) { this.durability = 4; this.gotoAndStop('rest4'); } }; v2.onEnterFrame = function () { if (this._parent.alice_mc.isOverlapping(this)) { var v3 = this._parent.alice_mc.collideCheck(this); if (this.durability > 0) { this._parent.alice_mc.trampolineAction(this, v3); if (v3 == CollidableClip.DOWN) { this.jumped = true; } _root.se_mc.gotoAndPlay('trampoline'); } } for (var v4 in this._parent.dolls) { if (this._parent.dolls[v4].isOverlapping(this)) { v3 = this._parent.dolls[v4].collideCheck(this); if (this.durability > 0) { this._parent.dolls[v4].trampolineAction(this, v3); if (v3 == CollidableClip.DOWN) { this.jumped = true; } _root.se_mc.gotoAndPlay('trampoline'); } } } if (this._parent.marisa_mc.isOverlapping(this)) { v3 = this._parent.marisa_mc.collideCheck(this); if (this.durability > 1) { this._parent.marisa_mc.trampolineAction(this, v3); if (v3 == CollidableClip.DOWN) { this.jumped = true; } _root.se_mc.gotoAndPlay('trampoline'); } else { if (this.durability == 1) { if (v3 == CollidableClip.DOWN) { this.jumped = true; this.brokenAction(); _root.se_mc.gotoAndPlay('break'); } } } if (v3 == CollidableClip.DOWN) { this.durability -= 1; } } if (this.jumped) { this.gotoAndPlay(this.durability * 20 + 2); this.jumped = false; } }; v2.brokenAction = function () { var v5 = parseInt(this._name.substring(10, 11)); var v3 = parseInt(this._name.substring(11, 12)); var v2 = v5 - 1; while (v2 > 0) { for (var v4 in this._parent.trampolines) { if (this._parent.trampolines[v4]._name == 'trampoline' + v2 + '' + v3 + '_mc') { this._parent.trampolines[v4].maxHeight += this.maxHeight; v2 = 0; } } --v2; } }; ASSetPropFlags(_global.Trampoline.prototype, null, 1); } #endinitclip } movieClip 279 __Packages.Door { #initclip if (!_global.Door) { var v1 = function () { super(); }; _global.Door = v1; _global.Door extends CollidableClip; var v2 = v1.prototype; v2.init = function () { this.animating = false; this.open = false; if (this.powerdoor == true) { this.gotoAndStop('power_close'); } else { this.gotoAndStop('close'); } this.depthID = parseInt(this._name.substring(4, 6)); }; v2.changeState = function () { if (this.animating == false) { this.animating = true; _root.se_mc.gotoAndPlay('door'); if (this.open == false) { this.open = true; this.gotoAndPlay('open_action'); if (this.powerdoor) { var v3 = this._parent.attachMovie('spark', 'spark' + this.depthID + '_mc', GameStage.DEPTH_SPARK + this.depthID); v3.init(this); this.powerdoor = false; } else { var v4 = this._parent.attachMovie('star', 'star' + this.depthID + '_mc', GameStage.DEPTH_STAR + this.depthID); v4.init(this); } return true; } else { this.open = false; this.gotoAndPlay('close_action'); return false; } } }; v2.onEnterFrame = function () { if (!this.open) { if (this._parent.marisa_mc.isOverlapping(this)) { this._parent.marisa_mc.doorAction(this); } if (this._parent.alice_mc.isOverlapping(this)) { this._parent.alice_mc.doorAction(this); } for (var v2 in this._parent.dolls) { if (this._parent.dolls[v2].isOverlapping(this)) { this._parent.dolls[v2].doorAction(this); } } } }; ASSetPropFlags(_global.Door.prototype, null, 1); } #endinitclip } movieClip 280 __Packages.GameStage { #initclip if (!_global.GameStage) { var v1 = function () { super(); }; _global.GameStage = v1; _global.GameStage extends MovieClip; var v2 = v1.prototype; v2.setStage = function () { this.initVars(); this.state = GameStage.PAUSE; this.goodsMultiplying = 2; this.restGoods = 0; this.restTime = this.restTimeMax; this.floors = new Array(); this.trampolines = new Array(); this.goods = new Array(); this.dolls = new Array(); this.doors = new Array(); this.marisa_mc.swapDepths(GameStage.DEPTH_MARISA); this.marisa_mc.setInitialVars(this); this.alice_mc.swapDepths(GameStage.DEPTH_ALICE); this.alice_mc.setInitialVars(this); for (var v2 in this) { if (typeof this[v2] == 'movieclip') { if (this[v2]._name.substring(0, 5) == 'floor') { this.floors.push(this[v2]); } else { if (this[v2]._name.substring(0, 4) == 'door') { this[v2].init(); this.doors.push(this[v2]); } else { if (this[v2]._name.substring(0, 10) == 'trampoline') { this[v2].init(); this.trampolines.push(this[v2]); } else { if (this[v2]._name.substring(0, 5) == 'goods') { this[v2].init(); this.goods.push(this[v2]); ++this.restGoods; } else { if (this[v2]._name.substring(0, 4) == 'hole') { this[v2].init(); this.floors.push(this[v2]); } else { if (this[v2]._name.substring(0, 4) == 'doll') { this[v2].setInitialVars(this); this.dolls.push(this[v2]); this[v2].swapDepths(GameStage.DEPTH_DOLL + parseInt(this[v2]._name.substring(4, 6))); } } } } } } } this[v2]._visible = true; this[v2].enterFrameAction(); } }; v2.startGame = function () { this.state = GameStage.ACTIVE; this.alice_mc.state = Enemy.WALKING; for (var v2 in this.dolls) { this.dolls[v2].state = Enemy.WALKING; } this.enterFrameAction(); }; v2.againGame = function () { this.state = GameStage.PAUSE; this.restTime = this.restTimeMax; this.marisa_mc.reset(this); this.alice_mc.reset(this); for (var v2 in this.dolls) { this.dolls[v2].reset(this); } for (v2 in this.doors) { this.doors[v2].init(); } for (v2 in this.trampolines) { this.trampolines[v2].init(); } for (v2 in this.floors) { this.floors[v2].init(); } for (v2 in this.goods) { this.goods[v2].setBlink(false); } this.goodsMultiplying = 2; this.enterFrameAction(); }; v2.clearGame = function () { for (var v2 in this) { this[v2].removeMovieClip(); } }; v2.timeoverGame = function () { if (this.marisa_mc.state == Marisa.WALKING) { this.marisa_mc.state == Marisa.STANDING; this.marisa_mc.vx = 0; } }; v2.enterFrameAction = function () { if (this.marisa_mc.state == Marisa.DEAD) { this.state = GameStage.DEAD; } if (this.restTime <= 0) { this.state = GameStage.TIMEOVER; } if (this.restGoods == 0) { this.state = GameStage.CLEAR; } if (this.state == GameStage.ACTIVE) { --this.restTime; if (Key.isDown(37)) { this.marisa_mc.keyPressedAction(37); } else { if (Key.isDown(39)) { this.marisa_mc.keyPressedAction(39); } else { this.marisa_mc.keyPressedAction(null); } } if (Key.isDown(90) && (this.marisa_mc.state == Marisa.WALKING || this.marisa_mc.state == Marisa.STANDING)) { for (var v6 in this.doors) { if (this.getCurrentFloor(this.doors[v6]) == this.getCurrentFloor(this.marisa_mc)) { if (this.marisa_mc.direction == CollidableClip.RIGHT) { if (this.marisa_mc._x > this.doors[v6]._x - GameStage.DOORRANGE && this.marisa_mc._x < this.doors[v6]._x) { this.doors[v6].changeState(); } continue; } if (this.marisa_mc.direction == CollidableClip.LEFT) { if (this.marisa_mc._x > this.doors[v6]._x && this.marisa_mc._x < this.doors[v6]._x + GameStage.DOORRANGE) { this.doors[v6].changeState(); } } } } } for (v6 in this.goods) { if (this.marisa_mc.isOverlapping(this.goods[v6]) && this.goods[v6] != null) { var v3; var v4; if (this.goods[v6].blinking) { v3 = this.goods[v6].score * this.goodsMultiplying; v4 = '' + this.goods[v6].score + 'x' + this.goodsMultiplying; ++this.goodsMultiplying; } else { v3 = this.goods[v6].score; v4 = '' + this.goods[v6].score; } this.addScore(v3, true, v4, this.goods[v6]._x, this.goods[v6]._y); _root.se_mc.gotoAndPlay('item'); for (var v5 in this.goods) { if (this.goods[v5].type == this.goods[v6].type) { this.goods[v5].setBlink(true); continue; } this.goods[v5].setBlink(false); } this.goods[v6]._visible = false; this.goods[v6] = null; --this.restGoods; } } } this.marisa_mc.enterFrameAction(); this.alice_mc.enterFrameAction(); for (v6 in this.dolls) { this.dolls[v6].enterFrameAction(); } this.marisa_mc.collideCheckAll(this.floors); this.alice_mc.collideCheckAll(this.floors); for (v6 in this.dolls) { this.dolls[v6].collideCheckAll(this.floors); } }; v2.addScore = function (added, disp, text, px, py) { if (disp) { var v2 = this.attachMovie('score', 'score' + this.scoreCount + '_mc', GameStage.DEPTH_SCORE + this.scoreCount); ++this.scoreCount; if (this.scoreCount > 100) { this.scoreCount = 0; } v2._x = px; v2._y = py; v2.scoretext.textarea.text = text; } this._parent.gamevars_mc.addScore(added); }; v2.getCurrentFloor = function (mc) { return Math.round((-1 * mc._y + GameStage.MARGINHEIGHT - 16) / GameStage.FLOORHEIGHT) + 1; }; v2.resetTrampolines = function () { for (var v2 in this.trampolines) { this.trampolines[v2].resetDurability(); } }; v1.DEPTH_MARISA = 20002; v1.DEPTH_DOLL = 10000; v1.DEPTH_ALICE = 20001; v1.DEPTH_STAR = 2000; v1.DEPTH_SPARK = 2100; v1.DEPTH_GOODS = 3000; v1.DEPTH_SCORE = 6000; v2.scoreCount = 0; v1.FLOORNUM = 6; v1.FLOORHEIGHT = 72; v1.MARGINHEIGHT = 16; v1.DOORRANGE = 64; v1.ACTIVE = 1; v1.PAUSE = 2; v1.CLEAR = 3; v1.DEAD = 4; v1.TIMEOVER = 5; ASSetPropFlags(_global.GameStage.prototype, null, 1); } #endinitclip } movieClip 281 __Packages.GameVars { #initclip if (!_global.GameVars) { var v1 = function () { super(); }; _global.GameVars = v1; _global.GameVars extends MovieClip; var v2 = v1.prototype; v2.onLoad = function () { this.score = 0; this.increased = 0; this.restMissNum = 2; }; v2.addScore = function (added) { this.score += added; if (this.increased < 5 && this.score >= this.upScores[this.increased]) { ++this.restMissNum; ++this.increased; _root.se_mc.gotoAndPlay('extend'); } }; v2.onEnterFrame = function () { this.stageTextArea.text = this._parent.game_mc.stageName; this.scoreTextArea.text = this.score; this.restTimeTextArea.text = Math.ceil(this._parent.game_mc.restTime / 30); this.restMissNumTextArea.text = this.restMissNum; this.fpsTextArea.text = this._parent.game_mc.fps; }; v2.upScores = new Array(20000, 50000, 100000, 200000, 400000); ASSetPropFlags(_global.GameVars.prototype, null, 1); } #endinitclip } frame 2 { this.stop(); this.onEnterFrame = function () { if (Key.isDown(90)) { this.gotoAndStop('gameinit'); } else { if (Key.isDown(88)) { this.gotoAndStop('manual'); } } }; } frame 10 { this.gotoAndStop('error'); } frame 11 { function onKeyDown() { var v2 = Key.getCode(); if (v2 == 37) { if (currentPage <= 1) { Key.removeListener(this); this.gotoAndPlay('title'); } else { this.manual_mc.gotoAndStop(--currentPage); } } else { if (v2 == 39) { if (currentPage >= 4) { Key.removeListener(this); this.gotoAndPlay('title'); } else { this.manual_mc.gotoAndStop(++currentPage); } } else { if (v2 == 88) { Key.removeListener(this); this.gotoAndPlay('title'); } } } } delete onEnterFrame; var currentPage = 1; Key.addListener(this); } // unknown tag 88 length 82 // unknown tag 88 length 82 movieClip 183 goods05 { #initclip Object.registerClass('goods05', Goods); #endinitclip frame 1 { this.type = 5; this.score = 500; } frame 2 { this.stop(); } frame 32 { if (this.blinking == true) { this.gotoAndPlay('blink'); } else { this.gotoAndStop('stop'); } } } movieClip 193 { frame 1 { this.stop(); } } frame 12 { this.stop(); } frame 19 { this.gotoAndStop('error'); } frame 21 { delete onEnterFrame; this.play(); } movieClip 197 { frame 1 { this._visible = false; } } movieClip 204 gamestage { #initclip Object.registerClass('gamestage', GameStage); #endinitclip frame 1 { this.stop(); this.stageName = '1/8'; this.timeMultiplying = 10; this.speedx_alice = 3; this.speedy_alice = 6; this.speedx_doll = 2.5; this.speedy_doll = 5; this.restTimeMax = 6000; this.trampoline11_mc.maxHeight = 5; this.trampoline12_mc.maxHeight = 5; this.trampoline13_mc.maxHeight = 5; this.trampoline14_mc.maxHeight = 5; } frame 3 { this.stop(); this.stageName = '2/8'; this.timeMultiplying = 10; this.speedx_alice = 3.2; this.speedy_alice = 6.4; this.speedx_doll = 2.7; this.speedy_doll = 5.4; this.restTimeMax = 6000; this.trampoline11_mc.maxHeight = 2; this.trampoline12_mc.maxHeight = 5; this.trampoline13_mc.maxHeight = 5; this.trampoline14_mc.maxHeight = 3; this.trampoline31_mc.maxHeight = 3; this.trampoline44_mc.maxHeight = 2; } frame 5 { this.stop(); this.stageName = '3/8'; this.timeMultiplying = 20; this.speedx_alice = 3.4; this.speedy_alice = 6.8; this.speedx_doll = 2.9; this.speedy_doll = 5.8; this.restTimeMax = 4800; this.trampoline11_mc.maxHeight = 4; this.trampoline12_mc.maxHeight = 3; this.trampoline14_mc.maxHeight = 3; this.trampoline15_mc.maxHeight = 4; this.trampoline33_mc.maxHeight = 2; this.trampoline42_mc.maxHeight = 2; this.trampoline44_mc.maxHeight = 2; } frame 7 { this.stop(); this.stageName = '4/8'; this.timeMultiplying = 20; this.speedx_alice = 3.6; this.speedy_alice = 7.2; this.speedx_doll = 3.1; this.speedy_doll = 6.2; this.restTimeMax = 4800; this.trampoline11_mc.maxHeight = 2; this.trampoline12_mc.maxHeight = 4; this.trampoline14_mc.maxHeight = 4; this.trampoline15_mc.maxHeight = 2; this.trampoline23_mc.maxHeight = 4; this.trampoline46_mc.maxHeight = 2; this.trampoline47_mc.maxHeight = 2; } instance revivepoint_mc of movieClip 197 { onClipEvent (load) { this.nofloor = true; } } frame 9 { this.stop(); this.stageName = '5/8'; this.timeMultiplying = 30; this.speedx_alice = 3.8; this.speedy_alice = 7.6; this.speedx_doll = 3.3; this.speedy_doll = 6.6; this.restTimeMax = 4200; this.trampoline11_mc.maxHeight = 5; this.trampoline12_mc.maxHeight = 2; this.trampoline14_mc.maxHeight = 2; this.trampoline15_mc.maxHeight = 5; this.trampoline33_mc.maxHeight = 2; this.trampoline46_mc.maxHeight = 2; this.trampoline47_mc.maxHeight = 2; } frame 11 { this.stop(); this.stageName = '6/8'; this.timeMultiplying = 30; this.speedx_alice = 4; this.speedy_alice = 8; this.speedx_doll = 3.5; this.speedy_doll = 7; this.restTimeMax = 4200; this.trampoline11_mc.maxHeight = 5; this.trampoline22_mc.maxHeight = 3; this.trampoline13_mc.maxHeight = 2; this.trampoline33_mc.maxHeight = 3; this.trampoline24_mc.maxHeight = 3; this.trampoline15_mc.maxHeight = 5; this.trampoline47_mc.maxHeight = 2; } instance revivepoint_mc of movieClip 197 { onClipEvent (load) { this.nofloor = true; } } frame 13 { this.stop(); this.stageName = '7/8'; this.timeMultiplying = 40; this.speedx_alice = 4.2; this.speedy_alice = 8.4; this.speedx_doll = 3.7; this.speedy_doll = 7.2; this.restTimeMax = 3600; this.trampoline11_mc.maxHeight = 3; this.trampoline41_mc.maxHeight = 2; this.trampoline12_mc.maxHeight = 3; this.trampoline23_mc.maxHeight = 4; this.trampoline14_mc.maxHeight = 3; this.trampoline15_mc.maxHeight = 2; this.trampoline35_mc.maxHeight = 3; } instance revivepoint_mc of movieClip 197 { onClipEvent (load) { this.nofloor = true; } } frame 15 { this.stop(); this.stageName = '8/8'; this.timeMultiplying = 50; this.speedx_alice = 4.4; this.speedy_alice = 8.800000000000001; this.speedx_doll = 3.9; this.speedy_doll = 7.8; this.restTimeMax = 3000; this.trampoline11_mc.maxHeight = 2; this.trampoline13_mc.maxHeight = 2; this.trampoline15_mc.maxHeight = 2; this.trampoline22_mc.maxHeight = 3; this.trampoline24_mc.maxHeight = 3; this.trampoline46_mc.maxHeight = 2; this.trampoline47_mc.maxHeight = 2; this.trampoline48_mc.maxHeight = 2; } instance revivepoint_mc of movieClip 197 { onClipEvent (load) { this.nofloor = true; } } frame 17 { this.stop(); this.stageName = 'E-1'; this.timeMultiplying = 10; this.speedx_alice = 3; this.speedy_alice = 6; this.speedx_doll = 2.5; this.speedy_doll = 5; this.restTimeMax = 6000; this.trampoline11_mc.maxHeight = 5; this.trampoline12_mc.maxHeight = 5; this.trampoline13_mc.maxHeight = 5; this.trampoline14_mc.maxHeight = 5; } } instance game_mc of movieClip 204 gamestage { onClipEvent (load) { fr = 48; time = 1000; time_count = 0; old_timer = getTimer(); fps = fr; } onClipEvent (enterFrame) { time_count += 1; if (getTimer() - old_timer >= time) { fps = Math.floor(time_count * 1000 / (getTimer() - old_timer)); old_timer = getTimer(); time_count = 0; } } } movieClip 214 gamevars { #initclip Object.registerClass('gamevars', GameVars); #endinitclip } movieClip 221 { frame 1 { stop(); } frame 12 { stop(); } frame 22 { stop(); } frame 32 { stop(); } frame 42 { stop(); } frame 52 { stop(); } frame 62 { stop(); } frame 72 { stop(); } } frame 22 { stopAllSounds(); bgm00.start(0, 65535); this.game_mc.gotoAndStop(this.currentStageNum * 2 - 1); } frame 23 { this.game_mc.setStage(); this.gotoAndPlay('gameready'); } frame 29 { this.gotoAndStop('error'); } frame 31 { this.stop(); var gw = this.game_mc._width; var mx = this.game_mc.marisa_mc._x; if (mx < 250) { this.game_mc._x = 0; } else { if (mx > gw - 250) { this.game_mc._x = 500 - gw; } else { this.game_mc._x = 250 - mx; } } } movieClip 222 { frame 25 { this.stop(); _parent.play(); } } frame 32 { this.stop(); } movieClip 225 { } movieClip 227 { } movieClip 229 { frame 4 { this.stage_mc.stageTextArea.text = _root.game_mc.stageName; } frame 58 { this.stop(); _parent.play(); } } frame 33 { this.gotoAndStop('game'); } frame 39 { this.gotoAndStop('error'); } frame 41 { this.stop(); this.game_mc.startGame(); this.onEnterFrame = function () { if (this.game_mc.state == GameStage.ACTIVE) { this.game_mc.enterFrameAction(); var v2 = this.game_mc.marisa_mc._x; if (v2 < 250) { this.game_mc._x = 0; } else { if (v2 > gw - 250) { this.game_mc._x = 500 - gw; } else { this.game_mc._x = 250 - v2; } } } else { if (this.game_mc.state == GameStage.CLEAR) { this.gotoAndStop('gameclear'); } else { if (this.game_mc.state == GameStage.TIMEOVER) { this.gotoAndStop('timeover'); } else { if (this.game_mc.state == GameStage.DEAD) { this.gotoAndPlay('gamefailed'); } } } } }; } frame 49 { this.gotoAndStop('error'); } frame 51 { this.stop(); this.game_mc.timeoverGame(); delete onEnterFrame; this.onEnterFrame = function () { this.game_mc.enterFrameAction(); }; } movieClip 231 { frame 58 { this.stop(); _parent.play(); } } frame 52 { this.gotoAndPlay('gameagain'); } frame 59 { this.gotoAndStop('error'); } frame 61 { this.stop(); this.game_mc.timeoverGame(); delete onEnterFrame; this.onEnterFrame = function () { this.game_mc.enterFrameAction(); }; } movieClip 233 { frame 58 { this.stop(); _parent.play(); } } frame 62 { this.gotoAndPlay('gameagain'); } frame 69 { this.gotoAndStop('error'); } frame 71 { this.stop(); delete onEnterFrame; } movieClip 234 { frame 25 { this.stop(); _parent.play(); } } frame 72 { this.game_mc.againGame(); this.gamevars_mc.restMissNum -= 1; if (this.gamevars_mc.restMissNum < 0) { this.finalScore = this.gamevars_mc.score; this.gotoAndPlay('gameover'); } else { this.gotoAndPlay('gameready'); } } frame 79 { this.gotoAndStop('error'); } frame 81 { this.stop(); this.game_mc.clearGame(); delete onEnterFrame; stopAllSounds(); bgm01.start(); } movieClip 250 { } movieClip 251 { frame 30 { var time = Math.ceil(_parent.game_mc.restTime / 30); var multi = _parent.game_mc.timeMultiplying; var score = time * multi; this.timeTextArea.text = time; this.multiplyTextArea.text = multi; this.scoreTextArea.text = score; _parent.gamevars_mc.addScore(score); } frame 53 { this.stop(); } instance of movieClip 250 { onClipEvent (enterFrame) { if (Key.isDown(90)) { this.play(); _root.play(); } } } frame 54 { this.stop(); } } frame 82 { this.stop(); } frame 83 { ++this.currentStageNum; if (currentStageNum <= 8) { this.gotoAndStop('gameinit'); } else { this.finalScore = this.gamevars_mc.score; this.gotoAndPlay('gameend'); } } frame 89 { this.gotoAndStop('error'); } frame 91 { stopAllSounds(); } movieClip 252 { } frame 109 { this.stop(); _root.score_so.data.highscore = Math.max(_root.score_so.data.highscore, finalScore); } movieClip 255 { } instance of movieClip 255 { onClipEvent (enterFrame) { if (Key.isDown(90)) { _root.gotoAndPlay('title'); } } } frame 110 { this.gotoAndStop('error'); } frame 111 { stopAllSounds(); } frame 129 { this.stop(); } movieClip 257 { frame 10 { this.stop(); } } movieClip 259 { } movieClip 261 { frame 282 { this.stop(); _parent.play(); } } frame 130 { this.stop(); _root.score_so.data.highscore = Math.max(_root.score_so.data.highscore, finalScore); this.stop(); this.onEnterFrame = function () { if (Key.isDown(90)) { this.gotoAndStop('title'); } }; } button 262 { on (press) { getURL('http://chibitami.net/works/', '_new'); } } frame 131 { this.gotoAndStop('error'); delete this.onEnterFrame; stopAllSounds(); } // unknown tag 88 length 90 // unknown tag 88 length 90 frame 134 { this.stop(); delete this.onEnterFrame; stopAllSounds(); }




http://swfchan.com/22/106824/info.shtml
Created: 1/3 -2024 05:01:04 Last modified: 1/3 -2024 05:01:04 Server time: 25/04 -2024 15:46:10