HOME | DD

GrappleJuice4percent — Hermetical Instagation by-nc-nd

Published: 2023-09-24 02:20:43 +0000 UTC; Views: 62; Favourites: 1; Downloads: 0
Redirect to original
Description

*You should DOWNLOAD the .swf file to check it out;


Connected with: Sliced Passage



var form=0;    var mani=1;

brick.addEventListener(MouseEvent.CLICK, brk)
function brk(event:MouseEvent):void{floor.play()}

pillars.addEventListener(MouseEvent.CLICK, plr)
function plr(event:MouseEvent):void{hills.play()}

gem.addEventListener(MouseEvent.CLICK, gmg)
function gmg(event:MouseEvent):void{gem.play() ;gem.azure.play() ;
     if(pillars.currentFrame==1) {pillars.gotoAndStop(15) ;mani=2}
else if(pillars.currentFrame==15){pillars.gotoAndStop(29) ;mani=3}
else if(pillars.currentFrame==29){pillars.gotoAndStop(43) ;mani=4}
else if(pillars.currentFrame==43){pillars.gotoAndStop(57) ;mani=5}
else if(pillars.currentFrame==57){pillars.gotoAndStop(1) ; mani=1}

else if(pillars.currentFrame==8 ||pillars.currentFrame==100){pillars.gotoAndPlay(71) ;mani=2}
else if(pillars.currentFrame==22||pillars.currentFrame==113){pillars.gotoAndPlay(75) ;mani=3}
else if(pillars.currentFrame==36||pillars.currentFrame==126){pillars.gotoAndPlay(79) ;mani=4}
else if(pillars.currentFrame==50||pillars.currentFrame==139){pillars.gotoAndPlay(83) ;mani=5}
else if(pillars.currentFrame==64||pillars.currentFrame==152){pillars.gotoAndPlay(87) ;mani=1}
       
else if(pillars.currentFrame==14){pillars.gotoAndStop(28) ;mani=2}
else if(pillars.currentFrame==28){pillars.gotoAndStop(42) ;mani=3}
else if(pillars.currentFrame==42){pillars.gotoAndStop(56) ;mani=4}
else if(pillars.currentFrame==56){pillars.gotoAndStop(70) ;mani=5}
else if(pillars.currentFrame==70){pillars.gotoAndStop(14) ;mani=1}
}

stage.addEventListener(Event.ENTER_FRAME, stg)
function stg(event:Event):void{if(gem.azure.currentFrame==1){
     if(mani==1){gem.azure.gotoAndStop(1)}
else if(mani==2){gem.azure.gotoAndStop(3)}
else if(mani==3){gem.azure.gotoAndStop(5)}
else if(mani==4){gem.azure.gotoAndStop(7)}
else if(mani==5){gem.azure.gotoAndStop(9)}
}}

leaf.addEventListener(MouseEvent.CLICK, lfl)
function lfl(event:MouseEvent):void{
      if(pillars.currentFrame==1) {form=1;leaf.gotoAndPlay(102) ; pillars.play()}
else if(pillars.currentFrame==15){form=1;leaf.gotoAndPlay(102) ; pillars.play()}
else if(pillars.currentFrame==29){form=1;leaf.gotoAndPlay(102) ; pillars.play()}
else if(pillars.currentFrame==43){form=1;leaf.gotoAndPlay(102) ; pillars.play()}
else if(pillars.currentFrame==57){form=1;leaf.gotoAndPlay(102) ; pillars.play()}

else if(pillars.currentFrame==8) {form=0;leaf.gotoAndPlay(101) ; pillars.play()}
else if(pillars.currentFrame==22){form=0;leaf.gotoAndPlay(101) ; pillars.play()}
else if(pillars.currentFrame==36){form=0;leaf.gotoAndPlay(101) ; pillars.play()}
else if(pillars.currentFrame==50){form=0;leaf.gotoAndPlay(101) ; pillars.play()}
else if(pillars.currentFrame==64){form=0;leaf.gotoAndPlay(101) ; pillars.play()}

else if(pillars.currentFrame==14){form=1;leaf.gotoAndPlay(102) ; pillars.gotoAndPlay(95)}
else if(pillars.currentFrame==28){form=1;leaf.gotoAndPlay(102) ; pillars.gotoAndPlay(108)}
else if(pillars.currentFrame==42){form=1;leaf.gotoAndPlay(102) ; pillars.gotoAndPlay(121)}
else if(pillars.currentFrame==56){form=1;leaf.gotoAndPlay(102) ; pillars.gotoAndPlay(134)}
else if(pillars.currentFrame==70){form=1;leaf.gotoAndPlay(102) ; pillars.gotoAndPlay(147)}
    
else if(pillars.currentFrame==100){form=0;leaf.gotoAndPlay(101) ; pillars.play()}
else if(pillars.currentFrame==113){form=0;leaf.gotoAndPlay(101) ; pillars.play()}
else if(pillars.currentFrame==126){form=0;leaf.gotoAndPlay(101) ; pillars.play()}
else if(pillars.currentFrame==139){form=0;leaf.gotoAndPlay(101) ; pillars.play()}
else if(pillars.currentFrame==152){form=0;leaf.gotoAndPlay(101) ; pillars.play()}
}
    
leaf.addEventListener(MouseEvent.MOUSE_OVER, lfr)
function lfr(event:MouseEvent):void{leaf.gotoAndPlay(32)}
leaf.addEventListener(MouseEvent.MOUSE_OUT, lft)
function lft(event:MouseEvent):void{if(form==0){leaf.gotoAndPlay(1)}else if(form==1){leaf.gotoAndPlay(57)}}

Related content
Comments: 0