/*Compiled using CheerpJ (R) 2.3 by Leaning Technologies Ltd*/
cheerpjCL={cl:null};
var N6agents10HumanAgentG;
function N6agents10HumanAgent(){N4java3awt5event10KeyAdapter.call(this);this.actions0=null;}
N6agents10HumanAgent.cl=cheerpjCL;
function N6agents10HumanAgentX(a){a.f=N6agents10HumanAgentX;if(cheerpjSafeInitGuard('N6agents10HumanAgent')) return;a.pc=-116;;if((N4java3awt5event10KeyAdapterG|0)==0){cjG(a);}var q=a.q=N6agents10HumanAgent.prototype=Object.create(N4java3awt5event10KeyAdapter.prototype);q.constructor=N6agents10HumanAgent;q.ifs=["engine/core/MarioAgent","java/awt/event/KeyListener","java/util/EventListener"];q.c4UaClahKVGKrCQt0yG0qGl4eruVBceH485ezbeny6mqS40hbtx0hh3IWqe59c=q.v14=_c4Vaw0SbrZKunDifdqJgrmiarc4UaClahgVGKr4vd;q.fBqmPjqapHlDQt0yG0qGl4eruVBceH485ezbeny6mqS40hbtx0hi3IWqe5Pnd=q.v15=_c4Vaw0SbrZKunDifdqJgrmiarcjXWtAceWZWsE2;q.oBqmPzq0mDcWq86jr_=q.v16=_c4Vaw0SbrZKunDifdqJgrmWOqse8urjy8jadH3n;q.kRqGLgrijrmyq_pFdynLtur0mXtsG5recc79c=q.v12=_c4Vaw0SbrZKunDifdqJgrmiarmRqGLgrijrm4Hd;q.lRqGTsSqairmyq_pFdynLtur0mXtsG5recc79c=q.v13=_c4Vaw0SbrZKunDifdqJgrmiqZnRqGTsSqairm4Ld;N6agents10HumanAgentG=1;cheerpjSafeInitFinish('N6agents10HumanAgent');}
var N6engine6helper12MarioActionsG;
var N4java3awt5event10KeyAdapterG;
function _c4Vaw0SbrZKunDifdqJgrmiGac7rd(d,p){var a={p:p,pc:0,f:_c4Vaw0SbrZKunDifdqJgrmiGac7rd,d:d};a.pc=-99;_h4V23awt5event10KeyAdapterC2E0(d,a);d.actions0=null;}function _c4Vaw0SbrZKunDifdqJgrmiarc4UaClahgVGKr4vd(k,j,h,p){var c=null;var a={p:p,pc:0,f:_c4Vaw0SbrZKunDifdqJgrmiarc4UaClahgVGKr4vd,k:k};a.pc=-138;;if((N6engine6helper12MarioActionsG|0)==0){cjG(a);};a.pc=-200;c=_c4_16engine6helper12MarioAceWJYs6valuesE0(a);c=new Int8Array(((c.length-1|0)+1|0));c[0]=90;k.actions0=c;}function _c4Vaw0SbrZKunDifdqJgrmiarcjXWtAceWZWsE2(k,j,h,p){var c=null;var a={p:p,pc:0,f:_c4Vaw0SbrZKunDifdqJgrmiarcjXWtAceWZWsE2,c:null};a.pc=-137;a.c=c=k.actions0.v3(k.actions0,a);a.pc=7;;if(c&&!(c[0]==90)){cjCastFailure(a,c);};return c;}function _c4Vaw0SbrZKunDifdqJgrmWOqse8urjy8jadH3n(d,p){return cheerpjInternString("HumanAgent");}function _c4Vaw0SbrZKunDifdqJgrmiarmRqGLgrijrm4Hd(h,g,p){var c=0;var a={p:p,pc:0,f:_c4Vaw0SbrZKunDifdqJgrmiarmRqGLgrijrm4Hd,h:h};a.pc=-129;c=g.v30(g,a)|0;_c4Vaw0SbrZKunDifdqJgrmWC_KJHXcbjbMNo(h,c,1,p);}function _c4Vaw0SbrZKunDifdqJgrmiqZnRqGTsSqairm4Ld(h,g,p){var c=0;var a={p:p,pc:0,f:_c4Vaw0SbrZKunDifdqJgrmiqZnRqGTsSqairm4Ld,h:h};a.pc=-131;c=g.v30(g,a)|0;_c4Vaw0SbrZKunDifdqJgrmWC_KJHXcbjbMNo(h,c,0,p);}function _c4Vaw0SbrZKunDifdqJgrmWC_KJHXcbjbMNo(l,k,j,p){var d=null,c=0;var a={p:p,pc:0,f:_c4Vaw0SbrZKunDifdqJgrmWC_KJHXcbjbMNo,j:j|0,d:null};L0:do{if(l.actions0!==null){switch(k|0){case 37:{a.d=d=l.actions0;a.pc=-207;;if((N6engine6helper12MarioActionsG|0)==0){cjG(a);};a.pc=-269;c=N6engine6helper12MarioActions.LEFT0.v16(N6engine6helper12MarioActions.LEFT0,a)|0;d[(c+1|0)]=j;break L0;}case 39:{a.d=d=l.actions0;a.pc=-411;;if((N6engine6helper12MarioActionsG|0)==0){cjG(a);};a.pc=-473;c=N6engine6helper12MarioActions.RIGHT1.v16(N6engine6helper12MarioActions.RIGHT1,a)|0;d[(c+1|0)]=j;break L0;}case 40:{a.d=d=l.actions0;a.pc=-617;;if((N6engine6helper12MarioActionsG|0)==0){cjG(a);};a.pc=-679;c=N6engine6helper12MarioActions.DOWN2.v16(N6engine6helper12MarioActions.DOWN2,a)|0;d[(c+1|0)]=j;break L0;}case 65:{a.d=d=l.actions0;a.pc=-821;;if((N6engine6helper12MarioActionsG|0)==0){cjG(a);};a.pc=-883;c=N6engine6helper12MarioActions.SPEED3.v16(N6engine6helper12MarioActions.SPEED3,a)|0;d[(c+1|0)]=j;break L0;}case 83:{a.d=d=l.actions0;a.pc=-1027;;if((N6engine6helper12MarioActionsG|0)==0){cjG(a);};a.pc=-1090;c=N6engine6helper12MarioActions.JUMP4.v16(N6engine6helper12MarioActions.JUMP4,a)|0;d[(c+1|0)]=j;break L0;}default:{}}}}while(0);}var N6agents11ReplayAgentG;
function N6agents11ReplayAgent(){N4java4lang6Object.call(this);this.p0=0;this.actions1=null;}
N6agents11ReplayAgent.cl=cheerpjCL;
function N6agents11ReplayAgentX(a){a.f=N6agents11ReplayAgentX;if(cheerpjSafeInitGuard('N6agents11ReplayAgent')) return;var q=a.q=N6agents11ReplayAgent.prototype=Object.create(N4java4lang6Object.prototype);q.constructor=N6agents11ReplayAgent;q.ifs=["engine/core/MarioAgent"];q.c4UaClahKVGKrCQt0yG0qGl4eruVBceH485ezbeny6mqS40hbtx0hh3IWqe59c=q.v11=_c4Vaw4SbrZKuD9kXZcaMgrniarc4UaClahgVGKr4rd;q.v12=_c4Vaw4SbrZKuD9kXZcaMgrnGCEeHeXKNn;q.fBqmPjqapHlDQt0yG0qGl4eruVBceH485ezbeny6mqS40hbtx0hi3IWqe5Pnd=q.v13=_c4Vaw4SbrZKuD9kXZcaMgrniarcnXWtAceWZWsE3;q.oBqmPzq0mDcWq86jr_=q.v14=_c4Vaw4SbrZKuD9kXZcaMgrnWOqte8urjy8jadHho;N6agents11ReplayAgentG=1;cheerpjSafeInitFinish('N6agents11ReplayAgent');}
var N4java4lang6ObjectG;
function _c4Vaw4SbrZKuD9kXZcaMgrniarc4UaClahgVGKr4rd(j,h,g,p){}function _c4Vaw4SbrZKuD9kXZcaMgrniGac7vd(g,e,p){var a={p:p,pc:0,f:_c4Vaw4SbrZKuD9kXZcaMgrniGac7vd,g:g,e:e};a.pc=-107;_n4VYObjectC2E0(g,a);g.actions1=e;g.p0=0;}function _c4Vaw4SbrZKuD9kXZcaMgrnGCEeHeXKNn(d,p){d.p0=0;}function _c4Vaw4SbrZKuD9kXZcaMgrniarcnXWtAceWZWsE3(l,k,j,p){var d=0,c=null;d=l.p0|0;if((d|0)<(l.actions1.length-1|0|0)){c=l.actions1;d=(l.p0|0)+1|0;l.p0=d;return c[d];}c=new Int8Array(6);c[0]=90;return c;}function _c4Vaw4SbrZKuD9kXZcaMgrnWOqte8urjy8jadHho(d,p){return cheerpjInternString("ReplayAgent");}var N6engine4core10MarioAgentG;
function N6engine4core10MarioAgent(){N4java4lang6Object.call(this);}
N6engine4core10MarioAgent.cl=cheerpjCL;
function N6engine4core10MarioAgentX(a){a.f=N6engine4core10MarioAgentX;if(cheerpjSafeInitGuard('N6engine4core10MarioAgent')) return;var q=a.q=N6engine4core10MarioAgent.prototype=Object.create(N4java4lang6Object.prototype);q.constructor=N6engine4core10MarioAgent;N6engine4core10MarioAgentG=1;cheerpjSafeInitFinish('N6engine4core10MarioAgent');}
var N6engine4core15MarioAgentEventG;
function N6engine4core15MarioAgentEvent(){N4java4lang6Object.call(this);this.actions0=null;this.marioX1=-0;this.marioY2=-0;this.marioState3=0;this.marioOnGround4=0;this.time5=0;}
N6engine4core15MarioAgentEvent.cl=cheerpjCL;
function N6engine4core15MarioAgentEventX(a){a.f=N6engine4core15MarioAgentEventX;if(cheerpjSafeInitGuard('N6engine4core15MarioAgentEvent')) return;var q=a.q=N6engine4core15MarioAgentEvent.prototype=Object.create(N4java4lang6Object.prototype);q.constructor=N6engine4core15MarioAgentEvent;q.v11=_c4p56engine4core15MarioAgentEvent10getAceWZWsE1;q.v12=_c4F46engine4core15MarioAgentEvent9getfjXWXE2;q.v13=_c4F46engine4core15MarioAgentEvent9getfjXWYE3;q.v14=_c4V46engine4core15MarioAgentEvent13getfnHaXlqpdt4Hd;q.v15=_c4V46engine4core15MarioAgentEvent16getfnHYOnGroundE5;q.v16=_c4_56engine4core15MarioAgentEvent7getTimeE6;N6engine4core15MarioAgentEventG=1;cheerpjSafeInitFinish('N6engine4core15MarioAgentEvent');}
function _c4F46engine4core15MarioAgentEventC2E0(s,r,q,o,n,m,l,p){var a=new createStacklet_c4F46engine4core15MarioAgentEventC2E0(p,s,r,q,o,n,m,l);a.pc=-145;_n4VYObjectC2E0(s,a);s.actions0=r;s.marioX1=q;s.marioY2=o;s.marioState3=n;s.marioOnGround4=m;s.time5=l;}function _c4p56engine4core15MarioAgentEvent10getAceWZWsE1(d,p){return d.actions0;}function _c4F46engine4core15MarioAgentEvent9getfjXWXE2(d,p){return +d.marioX1;}function _c4F46engine4core15MarioAgentEvent9getfjXWYE3(d,p){return +d.marioY2;}function _c4V46engine4core15MarioAgentEvent13getfnHaXlqpdt4Hd(d,p){return d.marioState3|0|0;}function _c4V46engine4core15MarioAgentEvent16getfnHYOnGroundE5(d,p){return (d.marioOnGround4|0)&255|0;}function _c4_56engine4core15MarioAgentEvent7getTimeE6(d,p){return d.time5|0|0;}function createStacklet_c4F46engine4core15MarioAgentEventC2E0(p,s,r,q,o,n,m,l){this.p=p;this.pc=0;this.f=_c4F46engine4core15MarioAgentEventC2E0;this.s=s;this.r=r;this.q=+q;this.o=+o;this.n=n|0;this.m=m|0;this.l=l|0;}var N6engine4core11MarioEffectG;
function N6engine4core11MarioEffect(){N4java4lang6Object.call(this);this.x0=-0;this.y1=-0;this.xv2=-0;this.yv3=-0;this.xa4=-0;this.ya5=-0;this.life6=0;this.startingIndex7=0;this.graphics8=null;}
N6engine4core11MarioEffect.cl=cheerpjCL;
function N6engine4core11MarioEffectX(a){a.f=N6engine4core11MarioEffectX;if(cheerpjSafeInitGuard('N6engine4core11MarioEffect')) return;var q=a.q=N6engine4core11MarioEffect.prototype=Object.create(N4java4lang6Object.prototype);q.constructor=N6engine4core11MarioEffect;q.v11=_c4V46engine4core11MarioEffect6renderE1;N6engine4core11MarioEffectG=1;cheerpjSafeInitFinish('N6engine4core11MarioEffect');}
var N6engine8graphics10MarioImageG;
var N6engine6helper6AssetsG;
function _c4F36engine4core11MarioEffectC2E0(d,x,e,g,h,j,k,l,m,p){var c=null;var a=new createStacklet_c4F36engine4core11MarioEffectC2E0(p,d,x,e,g,h,j,k,l,m);a.pc=-156;_n4VYObjectC2E0(d,a);d.x0=x;d.y1=e;d.xv2=g;d.yv3=h;d.xa4=j;d.ya5=k;d.life6=m;a.pc=-243;;if((N6engine8graphics10MarioImageG|0)==0){cjG(a);};a.c=c=new N6engine8graphics10MarioImage();a.pc=-347;;if((N6engine6helper6AssetsG|0)==0){cjG(a);};a.pc=-402;_c4p46engine8graphics10MarioImageC2E0(c,N6engine6helper6Assets.particles6,l,a);d.graphics8=c;d.graphics8.width6=16;d.graphics8.height7=16;d.graphics8.originX2=8;d.graphics8.originY3=8;d.startingIndex7=l;}function _c4V46engine4core11MarioEffect6renderE1(q,o,n,m,p){var e=0,d=0,c=-0.,g=null;var a={p:p,pc:0,f:_c4V46engine4core11MarioEffect6renderE1};if((q.life6|0|0)>0){q.life6=((q.life6|0)-1|0);c=+q.x0;q.x0=cjF(c+ +q.xv2);c=+q.y1;q.y1=cjF(c+ +q.yv3);c=+q.xv2;q.xv2=cjF(c+ +q.xa4);c=+q.yv3;q.yv3=cjF(c+ +q.ya5);g=q.graphics8;c=cjF( +q.x0-n);e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}c=cjF( +q.y1-m);d=~~c;if( +Math.trunc(c)!==cjF((d|0))){d=cjN2I(c)|0;}a.pc=-458;g.v11(g,o,e,d,a);}}function createStacklet_c4F36engine4core11MarioEffectC2E0(p,d,x,e,g,h,j,k,l,m){this.p=p;this.pc=0;this.f=_c4F36engine4core11MarioEffectC2E0;this.d=d;this.x=+x;this.e=+e;this.g=+g;this.h=+h;this.j=+j;this.k=+k;this.l=l|0;this.m=m|0;this.c=null;}var N6engine4core10MarioEventG;
function N6engine4core10MarioEvent(){N4java4lang6Object.call(this);this.eventType0=null;this.eventParam1=0;this.marioX2=-0;this.marioY3=-0;this.marioState4=0;this.time5=0;}
N6engine4core10MarioEvent.cl=cheerpjCL;
function N6engine4core10MarioEventX(a){a.f=N6engine4core10MarioEventX;if(cheerpjSafeInitGuard('N6engine4core10MarioEvent')) return;var q=a.q=N6engine4core10MarioEvent.prototype=Object.create(N4java4lang6Object.prototype);q.constructor=N6engine4core10MarioEvent;q.v11=_c4F36engine4core10MarioEvent12getfLGXTypeE4;q.v12=_c4F36engine4core10MarioEvent13getfLWXParamE5;q.v13=_c4p36engine4core10MarioEvent9getf1WWXE6;q.v14=_c4p36engine4core10MarioEvent9getf1WWYE7;q.v15=_c4F36engine4core10MarioEvent13getf5GaXlqpdt4Xd;q.v16=_c4V46engine4core10MarioEvent7getTimeE9;q.v2=_c4V46engine4core10MarioEvent6equalsE10;N6engine4core10MarioEventG=1;cheerpjSafeInitFinish('N6engine4core10MarioEvent');}
function _c4p36engine4core10MarioEventC2E0(g,e,p){var a={p:p,pc:0,f:_c4p36engine4core10MarioEventC2E0,g:g,e:e};a.pc=-111;_n4VYObjectC2E0(g,a);g.eventType0=e;g.eventParam1=0;g.marioX2=cjF(0);g.marioY3=cjF(0);g.marioState4=0;g.time5=0;}function _c4p36engine4core10MarioEventC2E1(j,h,g,p){var a={p:p,pc:0,f:_c4p36engine4core10MarioEventC2E1,j:j,h:h,g:g|0};a.pc=-119;_n4VYObjectC2E0(j,a);j.eventType0=h;j.eventParam1=g;j.marioX2=cjF(0);j.marioY3=cjF(0);j.marioState4=0;j.time5=0;}function _c4p36engine4core10MarioEventC2E2(q,o,n,m,l,k,p){var a=new createStacklet_c4p36engine4core10MarioEventC2E2(p,q,o,n,m,l,k);a.pc=-131;_n4VYObjectC2E0(q,a);q.eventType0=o;q.eventParam1=0;q.marioX2=n;q.marioY3=m;q.marioState4=l;q.time5=k;}function _c4p36engine4core10MarioEventC2E3(s,r,q,o,n,m,l,p){var a=new createStacklet_c4p36engine4core10MarioEventC2E3(p,s,r,q,o,n,m,l);a.pc=-135;_n4VYObjectC2E0(s,a);s.eventType0=r;s.eventParam1=q;s.marioX2=o;s.marioY3=n;s.marioState4=m;s.time5=l;}function _c4F36engine4core10MarioEvent12getfLGXTypeE4(d,p){return d.eventType0.v16(d.eventType0,p)|0|0;}function _c4F36engine4core10MarioEvent13getfLWXParamE5(d,p){return d.eventParam1|0|0;}function _c4p36engine4core10MarioEvent9getf1WWXE6(d,p){return +d.marioX2;}function _c4p36engine4core10MarioEvent9getf1WWYE7(d,p){return +d.marioY3;}function _c4F36engine4core10MarioEvent13getf5GaXlqpdt4Xd(d,p){return d.marioState4|0|0;}function _c4V46engine4core10MarioEvent7getTimeE9(d,p){return d.time5|0|0;}function _c4V46engine4core10MarioEvent6equalsE10(j,h,p){var d=null,c=0;var a={p:p,pc:0,f:_c4V46engine4core10MarioEvent6equalsE10,j:j,h:h};a.pc=1;;if(h&&!(((N6engine4core10MarioEventG|0)&&h instanceof N6engine4core10MarioEvent)>>0)){cjCastFailure(a,h);};d=j.eventType0;if(d===h.eventType0){if((j.eventParam1|0|0)!==0){c=j.eventParam1|0;if((c|0)!==(h.eventParam1|0|0)){return 0|0;}}return 1|0;}return 0|0;}function createStacklet_c4p36engine4core10MarioEventC2E3(p,s,r,q,o,n,m,l){this.p=p;this.pc=0;this.f=_c4p36engine4core10MarioEventC2E3;this.s=s;this.r=r;this.q=q|0;this.o=+o;this.n=+n;this.m=m|0;this.l=l|0;}function createStacklet_c4p36engine4core10MarioEventC2E2(p,q,o,n,m,l,k){this.p=p;this.pc=0;this.f=_c4p36engine4core10MarioEventC2E2;this.q=q;this.o=o;this.n=+n;this.m=+m;this.l=l|0;this.k=k|0;}var N6engine4core19MarioForwardModel$1G;
function N6engine4core19MarioForwardModel$1(){N4java4lang6Object.call(this);}
N6engine4core19MarioForwardModel$1.cl=cheerpjCL;
function N6engine4core19MarioForwardModel$1X(a){a.f=N6engine4core19MarioForwardModel$1X;if(cheerpjSafeInitGuard('N6engine4core19MarioForwardModel$1')) return;var q=a.q=N6engine4core19MarioForwardModel$1.prototype=Object.create(N4java4lang6Object.prototype);q.constructor=N6engine4core19MarioForwardModel$1;N6engine4core19MarioForwardModel$1.$SwitchMap$engine$helper$SpriteType0=null;a.pc=-383;_c4F56engine4core19MarioForwardModel$1XXE0(a);N6engine4core19MarioForwardModel$1G=1;cheerpjSafeInitFinish('N6engine4core19MarioForwardModel$1');}
var N6engine6helper10SpriteTypeG;
function _c4F56engine4core19MarioForwardModel$1XXE0(p){var c=null,d=0;var a={p:p,pc:0,f:_c4F56engine4core19MarioForwardModel$1XXE0,c:null};a.pc=2;;a.pc=0;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};a.pc=1;c=_c4_46engine6helper10SpriteType6valuesE0(a);a.pc=3;;c=new Int32Array(((c.length-1|0)+1|0));c[0]=73;N6engine4core19MarioForwardModel$1.$SwitchMap$engine$helper$SpriteType0=c;a.c=c=N6engine4core19MarioForwardModel$1.$SwitchMap$engine$helper$SpriteType0;a.pc=15;d=N6engine6helper10SpriteType.MARIO2.v12(N6engine6helper10SpriteType.MARIO2,a);a.pc=4;;c[(d+1|0)]=1;a.pc=5;;a.c=c=N6engine4core19MarioForwardModel$1.$SwitchMap$engine$helper$SpriteType0;a.pc=30;d=N6engine6helper10SpriteType.FIREBALL3.v12(N6engine6helper10SpriteType.FIREBALL3,a);a.pc=6;;c[(d+1|0)]=2;a.pc=7;;a.c=c=N6engine4core19MarioForwardModel$1.$SwitchMap$engine$helper$SpriteType0;a.pc=45;d=N6engine6helper10SpriteType.MUSHROOM14.v12(N6engine6helper10SpriteType.MUSHROOM14,a);a.pc=8;;c[(d+1|0)]=3;a.pc=9;;a.c=c=N6engine4core19MarioForwardModel$1.$SwitchMap$engine$helper$SpriteType0;a.pc=60;d=N6engine6helper10SpriteType.LIFE_MUSHROOM17.v12(N6engine6helper10SpriteType.LIFE_MUSHROOM17,a);a.pc=10;;c[(d+1|0)]=4;a.pc=11;;a.c=c=N6engine4core19MarioForwardModel$1.$SwitchMap$engine$helper$SpriteType0;a.pc=75;d=N6engine6helper10SpriteType.FIRE_FLOWER15.v12(N6engine6helper10SpriteType.FIRE_FLOWER15,a);a.pc=12;;c[(d+1|0)]=5;a.pc=13;;a.c=c=N6engine4core19MarioForwardModel$1.$SwitchMap$engine$helper$SpriteType0;a.pc=90;d=N6engine6helper10SpriteType.BULLET_BILL12.v12(N6engine6helper10SpriteType.BULLET_BILL12,a);a.pc=14;;c[(d+1|0)]=6;a.pc=16;;a.c=c=N6engine4core19MarioForwardModel$1.$SwitchMap$engine$helper$SpriteType0;a.pc=106;d=N6engine6helper10SpriteType.SHELL16.v12(N6engine6helper10SpriteType.SHELL16,a);a.pc=17;;c[(d+1|0)]=7;a.pc=18;;a.c=c=N6engine4core19MarioForwardModel$1.$SwitchMap$engine$helper$SpriteType0;a.pc=122;d=N6engine6helper10SpriteType.GOOMBA4.v12(N6engine6helper10SpriteType.GOOMBA4,a);a.pc=19;;c[(d+1|0)]=8;a.pc=20;;a.c=c=N6engine4core19MarioForwardModel$1.$SwitchMap$engine$helper$SpriteType0;a.pc=138;d=N6engine6helper10SpriteType.GOOMBA_WINGED5.v12(N6engine6helper10SpriteType.GOOMBA_WINGED5,a);a.pc=21;;c[(d+1|0)]=9;a.pc=22;;a.c=c=N6engine4core19MarioForwardModel$1.$SwitchMap$engine$helper$SpriteType0;a.pc=154;d=N6engine6helper10SpriteType.GREEN_KOOPA8.v12(N6engine6helper10SpriteType.GREEN_KOOPA8,a);a.pc=23;;c[(d+1|0)]=10;a.pc=24;;a.c=c=N6engine4core19MarioForwardModel$1.$SwitchMap$engine$helper$SpriteType0;a.pc=170;d=N6engine6helper10SpriteType.GREEN_KOOPA_WINGED9.v12(N6engine6helper10SpriteType.GREEN_KOOPA_WINGED9,a);a.pc=25;;c[(d+1|0)]=11;a.pc=26;;a.c=c=N6engine4core19MarioForwardModel$1.$SwitchMap$engine$helper$SpriteType0;a.pc=186;d=N6engine6helper10SpriteType.RED_KOOPA6.v12(N6engine6helper10SpriteType.RED_KOOPA6,a);a.pc=27;;c[(d+1|0)]=12;a.pc=28;;a.c=c=N6engine4core19MarioForwardModel$1.$SwitchMap$engine$helper$SpriteType0;a.pc=202;d=N6engine6helper10SpriteType.RED_KOOPA_WINGED7.v12(N6engine6helper10SpriteType.RED_KOOPA_WINGED7,a);a.pc=29;;c[(d+1|0)]=13;a.pc=31;;a.c=c=N6engine4core19MarioForwardModel$1.$SwitchMap$engine$helper$SpriteType0;a.pc=218;d=N6engine6helper10SpriteType.SPIKY10.v12(N6engine6helper10SpriteType.SPIKY10,a);a.pc=32;;c[(d+1|0)]=14;a.pc=33;;a.c=c=N6engine4core19MarioForwardModel$1.$SwitchMap$engine$helper$SpriteType0;a.pc=234;d=N6engine6helper10SpriteType.SPIKY_WINGED11.v12(N6engine6helper10SpriteType.SPIKY_WINGED11,a);a.pc=34;;c[(d+1|0)]=15;a.pc=35;;a.c=c=N6engine4core19MarioForwardModel$1.$SwitchMap$engine$helper$SpriteType0;a.pc=250;d=N6engine6helper10SpriteType.ENEMY_FLOWER13.v12(N6engine6helper10SpriteType.ENEMY_FLOWER13,a);a.pc=36;;c[(d+1|0)]=16;a.pc=37;;}function ec4F56engine4core19MarioForwardModel$1XXE0(a,b){a.f=ec4F56engine4core19MarioForwardModel$1XXE0;var c=a.c;var pc=a.pc;a.pc=38;;a.c=c=b;if((pc>=9&&pc<20)&&self.hasOwnProperty("N4java4lang16NoSuchFieldError")&&(b instanceof N4java4lang16NoSuchFieldError)|0){a.f=_c4F56engine4core19MarioForwardModel$1XXE0;a.pc=5;buildContinuations(a, true);currentThread.state='READY';throw 'CheerpJContinue';}a.pc=39;;if((pc>=24&&pc<35)&&self.hasOwnProperty("N4java4lang16NoSuchFieldError")&&(b instanceof N4java4lang16NoSuchFieldError)|0){a.f=_c4F56engine4core19MarioForwardModel$1XXE0;a.pc=7;buildContinuations(a, true);currentThread.state='READY';throw 'CheerpJContinue';}a.pc=40;;if((pc>=39&&pc<50)&&self.hasOwnProperty("N4java4lang16NoSuchFieldError")&&(b instanceof N4java4lang16NoSuchFieldError)|0){a.f=_c4F56engine4core19MarioForwardModel$1XXE0;a.pc=9;buildContinuations(a, true);currentThread.state='READY';throw 'CheerpJContinue';}a.pc=41;;if((pc>=54&&pc<65)&&self.hasOwnProperty("N4java4lang16NoSuchFieldError")&&(b instanceof N4java4lang16NoSuchFieldError)|0){a.f=_c4F56engine4core19MarioForwardModel$1XXE0;a.pc=11;buildContinuations(a, true);currentThread.state='READY';throw 'CheerpJContinue';}a.pc=42;;if((pc>=69&&pc<80)&&self.hasOwnProperty("N4java4lang16NoSuchFieldError")&&(b instanceof N4java4lang16NoSuchFieldError)|0){a.f=_c4F56engine4core19MarioForwardModel$1XXE0;a.pc=13;buildContinuations(a, true);currentThread.state='READY';throw 'CheerpJContinue';}a.pc=43;;if((pc>=84&&pc<96)&&self.hasOwnProperty("N4java4lang16NoSuchFieldError")&&(b instanceof N4java4lang16NoSuchFieldError)|0){a.f=_c4F56engine4core19MarioForwardModel$1XXE0;a.pc=16;buildContinuations(a, true);currentThread.state='READY';throw 'CheerpJContinue';}a.pc=44;;if((pc>=100&&pc<112)&&self.hasOwnProperty("N4java4lang16NoSuchFieldError")&&(b instanceof N4java4lang16NoSuchFieldError)|0){a.f=_c4F56engine4core19MarioForwardModel$1XXE0;a.pc=18;buildContinuations(a, true);currentThread.state='READY';throw 'CheerpJContinue';}a.pc=46;;if((pc>=116&&pc<128)&&self.hasOwnProperty("N4java4lang16NoSuchFieldError")&&(b instanceof N4java4lang16NoSuchFieldError)|0){a.f=_c4F56engine4core19MarioForwardModel$1XXE0;a.pc=20;buildContinuations(a, true);currentThread.state='READY';throw 'CheerpJContinue';}a.pc=47;;if((pc>=132&&pc<144)&&self.hasOwnProperty("N4java4lang16NoSuchFieldError")&&(b instanceof N4java4lang16NoSuchFieldError)|0){a.f=_c4F56engine4core19MarioForwardModel$1XXE0;a.pc=22;buildContinuations(a, true);currentThread.state='READY';throw 'CheerpJContinue';}a.pc=48;;if((pc>=148&&pc<160)&&self.hasOwnProperty("N4java4lang16NoSuchFieldError")&&(b instanceof N4java4lang16NoSuchFieldError)|0){a.f=_c4F56engine4core19MarioForwardModel$1XXE0;a.pc=24;buildContinuations(a, true);currentThread.state='READY';throw 'CheerpJContinue';}a.pc=49;;if((pc>=164&&pc<176)&&self.hasOwnProperty("N4java4lang16NoSuchFieldError")&&(b instanceof N4java4lang16NoSuchFieldError)|0){a.f=_c4F56engine4core19MarioForwardModel$1XXE0;a.pc=26;buildContinuations(a, true);currentThread.state='READY';throw 'CheerpJContinue';}a.pc=50;;if((pc>=180&&pc<192)&&self.hasOwnProperty("N4java4lang16NoSuchFieldError")&&(b instanceof N4java4lang16NoSuchFieldError)|0){a.f=_c4F56engine4core19MarioForwardModel$1XXE0;a.pc=28;buildContinuations(a, true);currentThread.state='READY';throw 'CheerpJContinue';}a.pc=51;;if((pc>=196&&pc<208)&&self.hasOwnProperty("N4java4lang16NoSuchFieldError")&&(b instanceof N4java4lang16NoSuchFieldError)|0){a.f=_c4F56engine4core19MarioForwardModel$1XXE0;a.pc=31;buildContinuations(a, true);currentThread.state='READY';throw 'CheerpJContinue';}a.pc=52;;if((pc>=212&&pc<224)&&self.hasOwnProperty("N4java4lang16NoSuchFieldError")&&(b instanceof N4java4lang16NoSuchFieldError)|0){a.f=_c4F56engine4core19MarioForwardModel$1XXE0;a.pc=33;buildContinuations(a, true);currentThread.state='READY';throw 'CheerpJContinue';}a.pc=53;;if((pc>=228&&pc<240)&&self.hasOwnProperty("N4java4lang16NoSuchFieldError")&&(b instanceof N4java4lang16NoSuchFieldError)|0){a.f=_c4F56engine4core19MarioForwardModel$1XXE0;a.pc=35;buildContinuations(a, true);currentThread.state='READY';throw 'CheerpJContinue';}a.pc=54;;if((pc>=244&&pc<256)&&self.hasOwnProperty("N4java4lang16NoSuchFieldError")&&(b instanceof N4java4lang16NoSuchFieldError)|0){a.f=_c4F56engine4core19MarioForwardModel$1XXE0;a.pc=37;buildContinuations(a, true);currentThread.state='READY';throw 'CheerpJContinue';}else{a.pc=55;;a.pc=-1;return;}}var N6engine4core17MarioForwardModelG;
function N6engine4core17MarioForwardModel(){N4java4lang6Object.call(this);this.obsGridWidth0=0;this.obsGridHeight1=0;this.world2=null;this.fallKill3=0;this.stompKill4=0;this.fireKill5=0;this.shellKill6=0;this.mushrooms7=0;this.flowers8=0;this.breakBlock9=0;}
N6engine4core17MarioForwardModel.cl=cheerpjCL;
function N6engine4core17MarioForwardModelX(a){a.f=N6engine4core17MarioForwardModelX;if(cheerpjSafeInitGuard('N6engine4core17MarioForwardModel')) return;var q=a.q=N6engine4core17MarioForwardModel.prototype=Object.create(N4java4lang6Object.prototype);q.constructor=N6engine4core17MarioForwardModel;q.v11=_c4_56engine4core17MarioForwardModel5cloneE3;q.v12=_c4F66engine4core17MarioForwardModel7advanceE4;q.v13=_c4p86engine4core17MarioForwardModel13getGameStatusE5;q.v14=_c4V66engine4core17MarioForwardModel23getCompleeWtWPeCGalwmGbHNo;q.v15=_c4V$6engine4core17MarioForwardModel23getLevelFloatDimensionsE7;q.v16=_c4F66engine4core17MarioForwardModel16getRemaieGSXTimeE8;q.v17=_c4p56engine4core17MarioForwardModel16getgvHaykqpfN6i51d;q.v18=_c4p56engine4core17MarioForwardModel21getgvHaykqpl_sS4iGmH5vtd;q.v19=_c4p56engine4core17MarioForwardModel21getfvb0CanJumpHigherE11;q.v20=_c4p56engine4core17MarioForwardModel12getfvbromSxTn;q.v21=_c4_46engine4core17MarioForwardModel15isfrXYOnGroundE13;q.v22=_c4p56engine4core17MarioForwardModel12mayfvXXJumpE14;q.v23=_c4V96engine4core17MarioForwardModel18getEnemiesFloatPosE15;q.v24=_c4F86engine4core17MarioForwardModel13getKillsTotalE16;q.v25=_c4V86engine4core17MarioForwardModel14getKillsByFireE17;q.v26=_c4_86engine4core17MarioForwardModel15getKillsByStompE18;q.v27=_c4_86engine4core17MarioForwardModel15getKillsByShellE19;q.v28=_c4V86engine4core17MarioForwardModel14getKillsByFallE20;q.v29=_c4_76engine4core17MarioForwardModel11getNumLivesE21;q.v30=_c4V66engine4core17MarioForwardModel24getNumColeGKaEWSjL0rKJdJKNTn;q.v31=_c4V66engine4core17MarioForwardModel25getNumColeGKaEi8hcblDSJfrKN9n;q.v32=_c4V66engine4core17MarioForwardModel20getNumColeGKaEiecc4oXsE24;q.v33=_c4F$6engine4core17MarioForwardModel21getNumDestroyedBricksE25;q.v34=_c4p56engine4core17MarioForwardModel21getfvb0ScreenTilePosE26;q.v35=_c4p96engine4core17MarioForwardModel28getScreenCompleteObeixb9mSN9o;q.v36=_c4_86engine4core17MarioForwardModel27getScreenEnemiesObeixb9mSNnp;q.v37=_c4F86engine4core17MarioForwardModel25getScreenSceneObeixb9mSNDp;q.v38=_c4p56engine4core17MarioForwardModel27getfvHYCompleteObeixb9mS3nn;q.v39=_c4p56engine4core17MarioForwardModel26getfvrYEnemiesObeixb9mS3Dn;q.v40=_c4p56engine4core17MarioForwardModel24getfvXXSceneObeixb9mS3Tn;q.v41=_c4p96engine4core17MarioForwardModel28getScreenCompleteObeixb9mS39n;q.v42=_c4_86engine4core17MarioForwardModel27getScreenEnemiesObeixb9mS3no;q.v43=_c4F86engine4core17MarioForwardModel25getScreenSceneObeixb9mS3Do;q.v44=_c4p56engine4core17MarioForwardModel27getfvHYCompleteObeixb9mS3To;q.v45=_c4p56engine4core17MarioForwardModel26getfvrYEnemiesObeixb9mS39o;q.v46=_c4p56engine4core17MarioForwardModel24getfvXXSceneObeixb9mS3np;q.v3=_c4p66engine4core17MarioForwardModel5cloneE39;N6engine4core17MarioForwardModel.OBS_SCENE_SHIFT0=16;N6engine4core17MarioForwardModel.OBS_NONE1=0;N6engine4core17MarioForwardModel.OBS_UNDEF2=-42;N6engine4core17MarioForwardModel.OBS_SOLID3=17;N6engine4core17MarioForwardModel.OBS_BRICK4=22;N6engine4core17MarioForwardModel.OBS_QUESTION_BLOCK5=24;N6engine4core17MarioForwardModel.OBS_COIN6=31;N6engine4core17MarioForwardModel.OBS_PYRAMID_SOLID7=18;N6engine4core17MarioForwardModel.OBS_PIPE_BODY_RIGHT8=37;N6engine4core17MarioForwardModel.OBS_PIPE_BODY_LEFT9=36;N6engine4core17MarioForwardModel.OBS_PIPE_TOP_RIGHT10=35;N6engine4core17MarioForwardModel.OBS_PIPE_TOP_LEFT11=34;N6engine4core17MarioForwardModel.OBS_USED_BLOCK12=30;N6engine4core17MarioForwardModel.OBS_BULLET_BILL_BODY13=21;N6engine4core17MarioForwardModel.OBS_BULLET_BILL_NECT14=20;N6engine4core17MarioForwardModel.OBS_BULLET_BILL_HEAD15=19;N6engine4core17MarioForwardModel.OBS_BACKGROUND16=63;N6engine4core17MarioForwardModel.OBS_PLATFORM_SINGLE17=59;N6engine4core17MarioForwardModel.OBS_PLATFORM_LEFT18=60;N6engine4core17MarioForwardModel.OBS_PLATFORM_RIGHT19=61;N6engine4core17MarioForwardModel.OBS_PLATFORM_CENTER20=62;N6engine4core17MarioForwardModel.OBS_PLATFORM21=59;N6engine4core17MarioForwardModel.OBS_CANNON22=19;N6engine4core17MarioForwardModel.OBS_PIPE23=34;N6engine4core17MarioForwardModel.OBS_SCENE_OBJECT24=100;N6engine4core17MarioForwardModel.OBS_FIREBALL25=16;N6engine4core17MarioForwardModel.OBS_GOOMBA26=2;N6engine4core17MarioForwardModel.OBS_GOOMBA_WINGED27=3;N6engine4core17MarioForwardModel.OBS_RED_KOOPA28=4;N6engine4core17MarioForwardModel.OBS_RED_KOOPA_WINGED29=5;N6engine4core17MarioForwardModel.OBS_GREEN_KOOPA30=6;N6engine4core17MarioForwardModel.OBS_GREEN_KOOPA_WINGED31=7;N6engine4core17MarioForwardModel.OBS_SPIKY32=8;N6engine4core17MarioForwardModel.OBS_SPIKY_WINGED33=9;N6engine4core17MarioForwardModel.OBS_BULLET_BILL34=10;N6engine4core17MarioForwardModel.OBS_ENEMY_FLOWER35=11;N6engine4core17MarioForwardModel.OBS_MUSHROOM36=12;N6engine4core17MarioForwardModel.OBS_FIRE_FLOWER37=13;N6engine4core17MarioForwardModel.OBS_SHELL38=14;N6engine4core17MarioForwardModel.OBS_LIFE_MUSHROOM39=15;N6engine4core17MarioForwardModel.OBS_STOMPABLE_ENEMY40=2;N6engine4core17MarioForwardModel.OBS_NONSTOMPABLE_ENEMY41=8;N6engine4core17MarioForwardModel.OBS_SPECIAL_ITEM42=12;N6engine4core17MarioForwardModel.OBS_ENEMY43=1;N6engine4core17MarioForwardModelG=1;cheerpjSafeInitFinish('N6engine4core17MarioForwardModel');}
var N6engine4core11MarioSpriteG;
var N6engine6helper9EventTypeG;
function _c4_96engine4core17MarioForwardModel27getSpriteTypeGeneralizf0JWE0(j,h,p){var d=null,c=0;var a={p:p,pc:0,f:_c4_96engine4core17MarioForwardModel27getSpriteTypeGeneralizf0JWE0,j:j,d:null};L0:do{switch(h|0){case 0:{a.pc=-221;;if((N6engine4core19MarioForwardModel$1G|0)==0){cjG(a);};a.d=d=N6engine4core19MarioForwardModel$1.$SwitchMap$engine$helper$SpriteType0;a.pc=-366;c=j.v12(j,a)|0;if((d[(c+1|0)]|0|0)===1){return 0|0;}a.pc=-428;j.v16(j,a)|0;break L0;}case 1:{break L0;}case 2:{a.pc=-487;;if((N6engine4core19MarioForwardModel$1G|0)==0){cjG(a);};a.d=d=N6engine4core19MarioForwardModel$1.$SwitchMap$engine$helper$SpriteType0;a.pc=-632;c=j.v12(j,a)|0;return ((d[(c+1|0)]|0)-1>>>0>4?1:0)|0;}default:{return  -42|0;}}}while(0);a.pc=-731;;if((N6engine4core19MarioForwardModel$1G|0)==0){cjG(a);};a.d=d=N6engine4core19MarioForwardModel$1.$SwitchMap$engine$helper$SpriteType0;a.pc=-876;c=j.v12(j,a)|0;switch(d[(c+1|0)]|0|0){case 16:{}case 14:{}case 15:{return 8|0;}case 2:{return 16|0;}case 3:{}case 4:{}case 5:{return 12|0;}case 6:{}case 7:{}case 8:{}case 9:{}case 10:{}case 11:{}case 12:{}case 13:{return 2|0;}default:{return 0|0;}}}function _c4_96engine4core17MarioForwardModel27getBlockValueGeneralizf0JWE1(h,g,p){var c=0;if((h|0)===0){return 0|0;}switch(g|0){case 0:{switch(h|0){case 6:{}case 7:{}case 50:{}case 51:{return 22|0;}case 8:{}case 11:{return 24|0;}case 48:{}case 49:{return 0|0;}default:{return h+16|0;}}}case 1:{switch(h|0){case 1:{}case 2:{}case 14:{return 17|0;}case 3:{}case 4:{}case 5:{return 19|0;}case 6:{}case 7:{}case 51:{}case 50:{return 22|0;}case 8:{}case 11:{return 24|0;}case 44:{}case 45:{}case 46:{return 59|0;}case 15:{return 31|0;}case 21:{}case 18:{}case 19:{}case 20:{return 34|0;}default:{return 0|0;}}}case 2:{c=h-47>>>0<3?0|0:100|0;return c|0;}default:{return  -42|0;}}}function _c4_46engine4core17MarioForwardModelC2E2(g,e,p){var a={p:p,pc:0,f:_c4_46engine4core17MarioForwardModelC2E2,g:g,e:e};a.pc=-125;_n4VYObjectC2E0(g,a);g.obsGridWidth0=16;g.obsGridHeight1=16;g.world2=e;}function _c4_56engine4core17MarioForwardModel5cloneE3(g,p){var c=null,d=null;var a={p:p,pc:0,f:_c4_56engine4core17MarioForwardModel5cloneE3,g:g,c:null};a.c=c=new N6engine4core17MarioForwardModel();a.pc=-197;d=g.world2.v14(g.world2,a);a.pc=-234;_c4_46engine4core17MarioForwardModelC2E2(c,d,a);c.fallKill3=(g.fallKill3|0);c.stompKill4=(g.stompKill4|0);c.fireKill5=(g.fireKill5|0);c.shellKill6=(g.shellKill6|0);c.mushrooms7=(g.mushrooms7|0);c.flowers8=(g.flowers8|0);c.breakBlock9=(g.breakBlock9|0);return c;}function _c4F66engine4core17MarioForwardModel7advanceE4(l,k,p){var g=null,e=0,d=null,c=0;var a={p:p,pc:0,f:_c4F66engine4core17MarioForwardModel7advanceE4,l:l,g:null,e:0,d:null};a.pc=-177;l.world2.v27(l.world2,k,a);a.pc=-214;a.g=g=l.world2.lastFrameEvents12.v11(l.world2.lastFrameEvents12,a);a.pc=-291;e=g.kFaiDsCn96nd(g,a)|0;if((e|0)!==0){while(1){a.pc=-348;a.d=d=g.cSQa1j8Rhd9BmAqcHWe(g,a);a.pc=34;;if(d&&!(((N6engine4core10MarioEventG|0)&&d instanceof N6engine4core10MarioEvent)>>0)){cjCastFailure(a,d);};a.pc=-507;a.e=e=d.v11(d,a)|0;a.pc=-536;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-594;c=N6engine6helper9EventType.FIRE_KILL2.v16(N6engine6helper9EventType.FIRE_KILL2,a)|0;if((e|0)===(c|0)){l.fireKill5=((l.fireKill5|0)+1|0);}a.pc=-742;a.e=e=d.v11(d,a)|0;a.pc=-771;c=N6engine6helper9EventType.STOMP_KILL1.v16(N6engine6helper9EventType.STOMP_KILL1,a)|0;if((e|0)===(c|0)){l.stompKill4=((l.stompKill4|0)+1|0);}a.pc=-923;a.e=e=d.v11(d,a)|0;a.pc=-952;c=N6engine6helper9EventType.FALL_KILL4.v16(N6engine6helper9EventType.FALL_KILL4,a)|0;if((e|0)===(c|0)){l.fallKill3=((l.fallKill3|0)+1|0);}a.pc=-1100;a.e=e=d.v11(d,a)|0;a.pc=-1130;c=N6engine6helper9EventType.SHELL_KILL3.v16(N6engine6helper9EventType.SHELL_KILL3,a)|0;if((e|0)===(c|0)){l.shellKill6=((l.shellKill6|0)+1|0);}a.pc=-1283;a.e=e=d.v11(d,a)|0;a.pc=-1313;c=N6engine6helper9EventType.COLLECT7.v16(N6engine6helper9EventType.COLLECT7,a)|0;if((e|0)===(c|0)){a.pc=-1423;a.e=e=d.v12(d,a)|0;a.pc=-1453;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};a.pc=-1514;c=N6engine6helper10SpriteType.FIRE_FLOWER15.v16(N6engine6helper10SpriteType.FIRE_FLOWER15,a)|0;if((e|0)===(c|0)){l.flowers8=((l.flowers8|0)+1|0);}a.pc=-1671;a.e=e=d.v12(d,a)|0;a.pc=-1701;c=N6engine6helper10SpriteType.MUSHROOM14.v16(N6engine6helper10SpriteType.MUSHROOM14,a)|0;if((e|0)===(c|0)){l.mushrooms7=((l.mushrooms7|0)+1|0);}}a.pc=-1857;a.e=e=d.v11(d,a)|0;a.pc=-1887;c=N6engine6helper9EventType.BUMP0.v16(N6engine6helper9EventType.BUMP0,a)|0;if((e|0)===(c|0)){a.pc=-1991;c=d.v12(d,a)|0;if((c|0)===22){a.pc=-2032;c=d.v15(d,a)|0;if((c|0)>=1){l.breakBlock9=((l.breakBlock9|0)+1|0);}}}a.pc=-2112;c=g.kFaiDsCn96nd(g,a)|0;if((c|0)!==0)continue;break;}}}function _c4p86engine4core17MarioForwardModel13getGameStatusE5(d,p){return d.world2.gameStatus0;}function _c4V66engine4core17MarioForwardModel23getCompleeWtWPeCGalwmGbHNo(e,p){var c=-0.;c=+e.world2.mario6.x2;return cjF(c/cjF(((e.world2.level7.exitTileX7|0)<<4|0)));}function _c4V$6engine4core17MarioForwardModel23getLevelFloatDimensionsE7(e,p){var c=null;c=new Float32Array(3);c[0]=70;c[1]=cjF((e.world2.level7.width0|0|0));c[2]=cjF((e.world2.level7.height2|0|0));return c;}function _c4F66engine4core17MarioForwardModel16getRemaieGSXTimeE8(d,p){return d.world2.currentTimer3|0|0;}function _c4p56engine4core17MarioForwardModel16getgvHaykqpfN6i51d(e,p){var c=null;c=new Float32Array(3);c[0]=70;c[1]= +e.world2.mario6.x2;c[2]= +e.world2.mario6.y3;return c;}function _c4p56engine4core17MarioForwardModel21getgvHaykqpl_sS4iGmH5vtd(e,p){var c=null;c=new Float32Array(3);c[0]=70;c[1]= +e.world2.mario6.xa4;c[2]= +e.world2.mario6.ya5;return c;}function _c4p56engine4core17MarioForwardModel21getfvb0CanJumpHigherE11(d,p){return ((d.world2.mario6.jumpTime19|0|0)>0?1:0)|0;}function _c4p56engine4core17MarioForwardModel12getfvbromSxTn(g,p){var c=0,d=0;c=g.world2.mario6.isLarge11|0;d=g.world2.mario6.isFire12|0;c=(d&255)===0?((c&255)!==0?1:0)|0:2|0;return c|0;}function _c4_46engine4core17MarioForwardModel15isfrXYOnGroundE13(d,p){return (d.world2.mario6.onGround13|0)&255|0;}function _c4p56engine4core17MarioForwardModel12mayfvXXJumpE14(d,p){return (d.world2.mario6.mayJump17|0)&255|0;}function _c4V96engine4core17MarioForwardModel18getEnemiesFloatPosE15(l,p){var c=0,e=null,g=null,h=0,d=null,j=0;var a={p:p,pc:0,f:_c4V96engine4core17MarioForwardModel18getEnemiesFloatPosE15,c:0,e:null,g:null,h:0,d:null};a.pc=-219;a.e=e=l.world2.v13(l.world2,a);a.pc=-260;c=e.v12(e,a)|0;a.g=g=new Float32Array(((Math.imul(c,3)|0)+1|0));g[0]=70;a.pc=-342;c=e.v12(e,a)|0;if((c|0)>0){a.c=c=0;while(1){a.h=h=Math.imul(c,3)|0;a.pc=-419;a.d=d=e.v24(e,c,a);a.pc=36;;if(d&&!(((N6engine4core11MarioSpriteG|0)&&d instanceof N6engine4core11MarioSprite)>>0)){cjCastFailure(a,d);};a.pc=-566;j=d.type0.v16(d.type0,a)|0;g[(h+1|0)]=cjF((j|0));a.pc=-625;a.d=d=e.v24(e,c,a);a.pc=58;;if(d&&!(((N6engine4core11MarioSpriteG|0)&&d instanceof N6engine4core11MarioSprite)>>0)){cjCastFailure(a,d);};g[(h+2|0)]= +d.x2;a.pc=-790;a.d=d=e.v24(e,c,a);a.pc=76;;if(d&&!(((N6engine4core11MarioSpriteG|0)&&d instanceof N6engine4core11MarioSprite)>>0)){cjCastFailure(a,d);};g[(h+3|0)]= +d.y3;a.c=c=c+1|0;a.pc=-967;j=e.v12(e,a)|0;if((c|0)<(j|0))continue;break;}}return g;}function _c4F86engine4core17MarioForwardModel13getKillsTotalE16(h,p){var e=0,d=0,c=0;e=h.fallKill3|0;d=h.fireKill5|0;c=h.shellKill6|0;return ((d+e|0)+c|0)+(h.stompKill4|0)|0;}function _c4V86engine4core17MarioForwardModel14getKillsByFireE17(d,p){return d.fireKill5|0|0;}function _c4_86engine4core17MarioForwardModel15getKillsByStompE18(d,p){return d.stompKill4|0|0;}function _c4_86engine4core17MarioForwardModel15getKillsByShellE19(d,p){return d.shellKill6|0|0;}function _c4V86engine4core17MarioForwardModel14getKillsByFallE20(d,p){return d.fallKill3|0|0;}function _c4_76engine4core17MarioForwardModel11getNumLivesE21(d,p){return d.world2.lives11|0|0;}function _c4V66engine4core17MarioForwardModel24getNumColeGKaEWSjL0rKJdJKNTn(d,p){return d.mushrooms7|0|0;}function _c4V66engine4core17MarioForwardModel25getNumColeGKaEi8hcblDSJfrKN9n(d,p){return d.flowers8|0|0;}function _c4V66engine4core17MarioForwardModel20getNumColeGKaEiecc4oXsE24(d,p){return d.world2.coins10|0|0;}function _c4F$6engine4core17MarioForwardModel21getNumDestroyedBricksE25(d,p){return d.breakBlock9|0|0;}function _c4p56engine4core17MarioForwardModel21getfvb0ScreenTilePosE26(h,p){var e=0,d=null,c=-0.;d=new Int32Array(3);d[0]=73;c=+h.world2.mario6.x2;c=cjF(cjF(c- +h.world2.cameraX4)*cjF(.0625));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}d[1]=e;c=cjF( +h.world2.mario6.y3*cjF(.0625));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){d[2]=(cjN2I(c)|0);return d;}d[2]=e;return d;}function _c4p96engine4core17MarioForwardModel28getScreenCompleteObeixb9mSN9o(d,p){return d.v41(d,1,0,p);}function _c4_86engine4core17MarioForwardModel27getScreenEnemiesObeixb9mSNnp(d,p){return d.v42(d,0,p);}function _c4F86engine4core17MarioForwardModel25getScreenSceneObeixb9mSNDp(d,p){return d.v43(d,1,p);}function _c4p56engine4core17MarioForwardModel27getfvHYCompleteObeixb9mS3nn(d,p){return d.v44(d,1,0,p);}function _c4p56engine4core17MarioForwardModel26getfvrYEnemiesObeixb9mS3Dn(d,p){return d.v45(d,0,p);}function _c4p56engine4core17MarioForwardModel24getfvXXSceneObeixb9mS3Tn(d,p){return d.v46(d,1,p);}function _c4p96engine4core17MarioForwardModel28getScreenCompleteObeixb9mS39n(k,j,h,p){var c=null;c=k.world2;return c.v26(c,cjF( +k.world2.cameraX4+cjF(128)),cjF(128),j,h,p);}function _c4_86engine4core17MarioForwardModel27getScreenEnemiesObeixb9mS3no(h,g,p){var c=null;c=h.world2;return c.v25(c,cjF( +h.world2.cameraX4+cjF(128)),cjF(128),g,p);}function _c4F86engine4core17MarioForwardModel25getScreenSceneObeixb9mS3Do(h,g,p){var c=null;c=h.world2;return c.v24(c,cjF( +h.world2.cameraX4+cjF(128)),cjF(128),g,p);}function _c4p56engine4core17MarioForwardModel27getfvHYCompleteObeixb9mS3To(l,k,j,p){var d=null,c=-0.;d=l.world2;c=+l.world2.mario6.x2;return d.v26(d,c, +l.world2.mario6.y3,k,j,p);}function _c4p56engine4core17MarioForwardModel26getfvrYEnemiesObeixb9mS39o(j,h,p){var d=null,c=-0.;d=j.world2;c=+j.world2.mario6.x2;return d.v25(d,c, +j.world2.mario6.y3,h,p);}function _c4p56engine4core17MarioForwardModel24getfvXXSceneObeixb9mS3np(j,h,p){var d=null,c=-0.;d=j.world2;c=+j.world2.mario6.x2;return d.v24(d,c, +j.world2.mario6.y3,h,p);}function _c4p66engine4core17MarioForwardModel5cloneE39(d,p){return d.v11(d,p);}var N6engine4core9MarioGameG;
function N6engine4core9MarioGame(){N4java4lang6Object.call(this);this.pause0=0;this.killEvents1=null;this.window2=null;this.render3=null;this.agent4=null;this.world5=null;}
N6engine4core9MarioGame.cl=cheerpjCL;
function N6engine4core9MarioGameX(a){a.f=N6engine4core9MarioGameX;if(cheerpjSafeInitGuard('N6engine4core9MarioGame')) return;var q=a.q=N6engine4core9MarioGame.prototype=Object.create(N4java4lang6Object.prototype);q.constructor=N6engine4core9MarioGame;q.v11=_c4_26engine4core9MarioGame8playeHGWE4;q.v12=_c4V26engine4core9MarioGame7runeDGWE5;q.v13=_c4V26engine4core9MarioGame7runeDGWE6;N6engine4core9MarioGame.maxTime0=40;N6engine4core9MarioGame.maxTime0h=0;N6engine4core9MarioGame.graceTime1=10;N6engine4core9MarioGame.graceTime1h=0;N6engine4core9MarioGame.width2=256;N6engine4core9MarioGame.height3=256;N6engine4core9MarioGame.tileWidth4=16;N6engine4core9MarioGame.tileHeight5=16;N6engine4core9MarioGame.verbose6=0;N6engine4core9MarioGameG=1;cheerpjSafeInitFinish('N6engine4core9MarioGame');}
var N6engine4core11MarioRenderG;
var N6engine4core11MarioResultG;
var N6engine4core10MarioTimerG;
var N6engine4core10MarioWorldG;
var N6engine6helper10GameStatusG;
var N6engine6helper6ReplayG;
var N4java4lang6ThreadG;
var N4java4util9ArrayListG;
var N5javax5swing6JFrameG;
function _c4V26engine4core9MarioGameC2E0(d,p){var a={p:p,pc:0,f:_c4V26engine4core9MarioGameC2E0,d:d};a.pc=-101;_n4VYObjectC2E0(d,a);d.pause0=0;d.window2=null;d.render3=null;d.agent4=null;d.world5=null;}function _c4V26engine4core9MarioGameC2E1(g,e,p){var a={p:p,pc:0,f:_c4V26engine4core9MarioGameC2E1,g:g,e:e};a.pc=-107;_n4VYObjectC2E0(g,a);g.pause0=0;g.window2=null;g.render3=null;g.agent4=null;g.world5=null;g.killEvents1=e;}function _c4F46engine4core9MarioGame8getDelayE2(g,e,p){if((e|0)>0){return 1000/(e|0)|0;}return 0|0;}function _c4F46engine4core9MarioGame8setAgentE3(j,h,p){var d=null,c=null;var a={p:p,pc:0,f:_c4F46engine4core9MarioGame8setAgentE3,d:null,c:null};j.agent4=h;if(((N4java3awt5event10KeyAdapterG|0)&&h instanceof N4java3awt5event10KeyAdapter)>>0|0){a.d=d=j.render3;a.c=c=j.agent4;a.pc=20;;if(c&&!(((N4java3awt5event10KeyAdapterG|0)&&c instanceof N4java3awt5event10KeyAdapter)>>0)){cjCastFailure(a,c);};a.pc=-397;d.v190(d,c,a);}}function _c4_26engine4core9MarioGame8playeHGWE4(n,m,l,k,j,p){return n.v13(n,m,l,k,0,1,30,cjF(2),j,p);}function _c4V26engine4core9MarioGame7runeDGWE5(l,k,j,h,p){return l.v13(l,k,j,h,0,1,0,cjF(2),cheerpjInternString(""),p);}function _c4V26engine4core9MarioGame7runeDGWE6(e,y,g,h,j,k,l,m,n,p){var d=0,c=null;var a=new createStacklet_c4V26engine4core9MarioGame7runeDGWE6(p,e,y,g,h,j,l,m,n);a.d=d=k&255;if((k&255)!==0){a.pc=-192;;if((N5javax5swing6JFrameG|0)==0){cjG(a);};a.c=c=new N5javax5swing6JFrame();a.pc=-278;_c4pdzVS$4xeadbNTNn(c,cheerpjInternString("Mario AI Framewor\x6b"),a);e.window2=c;a.pc=-370;;if((N6engine4core11MarioRenderG|0)==0){cjG(a);};a.c=c=new N6engine4core11MarioRender();a.pc=-468;_c4F36engine4core11MarioRenderC2E0(c,m,a);e.render3=c;c=e.window2;a.pc=-544;c.v495(c,e.render3,a);a.pc=-576;e.window2.v399(e.window2,a);a.pc=-614;e.window2.v471(e.window2,0,a);a.pc=-654;e.window2.v484(e.window2,3,a);a.pc=-694;e.render3.v497(e.render3,a);a.pc=-732;e.window2.v52(e.window2,1,a);}a.pc=-772;_c4F46engine4core9MarioGame8setAgentE3(e,y,a);return _c4F46engine4core9MarioGame8gameLoopE7(e,g,h,j,d,l,n,p);}function _c4F46engine4core9MarioGame8gameLoopE7(y,z,A,B,C,D,E,p){var e=null,g=null,h=null,l=0,m=0,c=null,d=null,j=null,o=null,r=null,n=null,u=-0.,t=-0.,k=0,q=0,s=0;var a=new createStacklet_c4F46engine4core9MarioGame8gameLoopE7(p,y,z,A,B,C,D,E);a.pc=0;;a.pc=1;;if((N6engine4core10MarioWorldG|0)==0){cjG(a);};a.e=e=new N6engine4core10MarioWorld();a.pc=9;_c4p36engine4core10MarioWorldC2E0(e,y.killEvents1,a);a.pc=2;;y.world5=e;y.world5.visuals8=C;a.pc=34;y.world5.v12(y.world5,z,(Math.imul(A,1000)|0),a);a.pc=3;;if((C&255)!==0){a.pc=4;;a.e=e=y.world5;a.pc=50;n=y.render3.v25(y.render3,a);a.pc=5;;a.pc=53;e.v11(e,n,a);}a.pc=6;;y.world5.mario6.isLarge11=((B|0)>0?1:0);y.world5.mario6.isFire12=((B|0)>1?1:0);a.e=e=y.world5;a.pc=99;;if((N6engine6helper12MarioActionsG|0)==0){cjG(a);};a.pc=100;l=_c4_16engine6helper12MarioAceWZYs15numberOfhbHWE5(a);a.pc=7;;g=new Int8Array((l+1|0));g[0]=90;a.pc=104;e.v27(e,g,a);a.pc=8;;a.pc=108;a.m=m=_o4_2ystem17currentTimeMillisE14(a);a.pc=10;;a.l=l=hSlot|0;if((C&255)===0){a.h=h=null;a.g=g=null;a.e=e=null;}else{a.pc=11;;a.pc=136;a.e=e=y.render3.v145(y.render3,256,256,a);a.pc=12;;a.pc=145;a.g=g=y.render3.v122(y.render3,a);a.pc=13;;a.pc=152;a.h=h=e.v14(e,a);a.pc=14;;n=y.render3;a.pc=165;n.v177(n,y.render3,a);}a.pc=15;;a.pc=168;;if((N6engine4core10MarioTimerG|0)==0){cjG(a);};a.c=c=new N6engine4core10MarioTimer();a.pc=175;_c4p36engine4core10MarioTimerC2E0(c,40,0,a);a.pc=16;;a.d=d=y.agent4;a.pc=184;;if((N6engine4core17MarioForwardModelG|0)==0){cjG(a);};a.j=j=new N6engine4core17MarioForwardModel();a.pc=192;o=y.world5.v14(y.world5,a);a.pc=17;;a.pc=195;_c4_46engine4core17MarioForwardModelC2E2(j,o,a);a.pc=18;;a.pc=200;d.c4UaClahKVGKrCQt0yG0qGl4eruVBceH485ezbeny6mqS40hbtx0hh3IWqe59c(d,j,c,a);a.pc=19;;a.pc=205;;if((N4java4util9ArrayListG|0)==0){cjG(a);};a.c=c=new N4java4util9ArrayList();a.pc=209;_i4pbN6CVwueawjI0eNTxn(c,a);a.pc=20;;a.d=d=new N4java4util9ArrayList();a.pc=218;_i4pbN6CVwueawjI0eNTxn(d,a);a.pc=21;;L72:while(1){a.pc=22;;while(1){a.pc=23;;a.j=j=y.world5.gameStatus0;a.pc=230;;if((N6engine6helper10GameStatusG|0)==0){cjG(a);};if(j!==N6engine6helper10GameStatus.RUNNING0){break L72;}a.pc=24;;if(((y.pause0|0)&255)===0){a.pc=25;;a.j=j=new N6engine4core10MarioTimer();a.pc=250;_c4p36engine4core10MarioTimerC2E0(j,40,0,a);a.pc=26;;a.o=o=y.agent4;a.r=r=new N6engine4core17MarioForwardModel();a.pc=267;n=y.world5.v14(y.world5,a);a.pc=27;;a.pc=270;_c4_46engine4core17MarioForwardModelC2E2(r,n,a);a.pc=28;;a.pc=275;a.j=j=o.fBqmPjqapHlDQt0yG0qGl4eruVBceH485ezbeny6mqS40hbtx0hi3IWqe5Pnd(o,r,j,a);a.pc=29;;a.pc=288;y.world5.v27(y.world5,j,a);a.pc=30;;a.pc=300;c.v20(c,y.world5.lastFrameEvents12,a);a.pc=31;;a.pc=306;;if((N6engine4core15MarioAgentEventG|0)==0){cjG(a);};a.o=o=new N6engine4core15MarioAgentEvent();u=+y.world5.mario6.x2;t=+y.world5.mario6.y3;k=y.world5.mario6.isLarge11|0;q=y.world5.mario6.isFire12|0;s=y.world5.mario6.onGround13|0;a.pc=386;_c4F46engine4core15MarioAgentEventC2E0(o,j,u,t,(((q&255)!==0?1:0)+((k&255)!==0?1:0)|0),(s&255),(y.world5.currentTick9|0),a);a.pc=32;;a.pc=389;d.v17(d,o,a);}a.pc=33;;if((C&255)!==0){a.pc=35;;n=y.render3;a.pc=412;n.v498(n,y.world5,e,g,h,a);}a.pc=36;;a.pc=418;k=_c4F46engine4core9MarioGame8getDelayE2(y,D,a);a.pc=37;;if((k|0)>=1){break;}}a.pc=38;;a.pc=429;k=_c4F46engine4core9MarioGame8getDelayE2(y,D,a);a.pc=39;;a.m=m=add64(m>>>0,l>>>0,k>>>0,(k>>31)>>>0)|0;a.l=l=hSlot|0;a.pc=440;k=_o4_2ystem17currentTimeMillisE14(a);a.pc=40;;k=sub64(m>>>0,l>>>0,k>>>0,(hSlot|0)>>>0)|0;a.pc=444;a.k=k=_m4pZ4Math3maxE45(0,0,k,(hSlot|0),a);a.pc=41;;a.q=q=hSlot|0;a.pc=446;;if((N4java4lang6ThreadG|0)==0){cjG(a);};a.pc=447;_n4VZThread5sleepE6(k,q,a);}a.pc=42;;a.g=g=d;a.e=e=c;a.pc=43;;a.pc=457;;if((N6engine4core11MarioResultG|0)==0){cjG(a);};a.h=h=new N6engine4core11MarioResult();a.pc=469;_c4F36engine4core11MarioResultC2E0(h,y.world5,e,g,a);a.pc=44;;a.pc=476;s=E.v12(E,a);a.pc=45;;if((s|0)===0){a.pc=46;;a.pc=486;a.h=h=h.v16(h,a);a.pc=47;;a.pc=489;;if((N6engine6helper6ReplayG|0)==0){cjG(a);};a.pc=490;_c4_26engine6helper6Replay10savegTGWE3(E,h,a);}a.pc=48;;a.h=h=new N6engine4core11MarioResult();a.pc=504;_c4F36engine4core11MarioResultC2E0(h,y.world5,e,g,a);a.pc=49;;return h;}function ec4F46engine4core9MarioGame8gameLoopE7(a,b){a.f=ec4F46engine4core9MarioGame8gameLoopE7;var e=a.e,g=a.g,h=a.h,l=a.l|0,m=a.m|0,y=a.y,z=a.z,A=a.A|0,B=a.B|0,C=a.C|0,D=a.D|0,E=a.E,c=a.c,d=a.d,j=a.j,o=a.o,r=a.r,k=a.k|0,q=a.q|0;var pc=a.pc;if(pc===9){}else if(pc===50){}else if(pc===100){}else if(pc===136){}else if(pc===175){}else if(pc===250){a.g=g=d;a.e=e=c;}else if(pc===412){a.g=g=d;a.e=e=c;}else if(pc===418){a.g=g=d;a.e=e=c;}else if(pc===429){a.g=g=d;a.e=e=c;}else if(pc===34){}else if(pc===53){}else if(pc===104){}else if(pc===108){}else if(pc===145){}else if(pc===152){}else if(pc===165){}else if(pc===192){}else if(pc===195){}else if(pc===200){}else if(pc===209){}else if(pc===218){a.e=e=c;}else if(pc===267){a.g=g=d;a.e=e=c;}else if(pc===270){a.g=g=d;a.e=e=c;}else if(pc===275){a.g=g=d;a.e=e=c;}else if(pc===288){a.g=g=d;a.e=e=c;}else if(pc===300){a.g=g=d;a.e=e=c;}else if(pc===386){a.g=g=d;a.e=e=c;}else if(pc===389){a.g=g=d;a.e=e=c;}else if(pc===440){a.g=g=d;a.e=e=c;}else if(pc===444){a.g=g=d;a.e=e=c;}else if(pc===447){a.g=g=d;a.e=e=c;}a.pc=51;;a.h=h=b;if((pc>=424&&pc<449)&&self.hasOwnProperty("N4java4lang20InterruptedException")&&(b instanceof N4java4lang20InterruptedException)|0){a.f=_c4F46engine4core9MarioGame8gameLoopE7;a.pc=43;buildContinuations(a, true);currentThread.state='READY';throw 'CheerpJContinue';}else{a.pc=52;;a.pc=-1;return;}}function _c4_56engine4core9MarioGame13showNewWindowE8(e,p){var c=null;var a={p:p,pc:0,f:_c4_56engine4core9MarioGame13showNewWindowE8,e:e,c:null};a.pc=-145;;if((N5javax5swing6JFrameG|0)==0){cjG(a);};a.c=c=new N5javax5swing6JFrame();a.pc=-231;_c4pdzVS$4xeadbNTNn(c,cheerpjInternString("\u65b0\u7684\u7a97\u53e3"),a);a.pc=-314;c.v81(c,250,250,a);a.pc=-343;c.v455(c,e,a);c.v52(c,1,p);}function createStacklet_c4F46engine4core9MarioGame8gameLoopE7(p,y,z,A,B,C,D,E){this.p=p;this.pc=0;this.f=_c4F46engine4core9MarioGame8gameLoopE7;this.e=null;this.g=null;this.h=null;this.l=0;this.m=0;this.y=y;this.z=z;this.A=A|0;this.B=B|0;this.C=C|0;this.D=D|0;this.E=E;this.c=null;this.d=null;this.j=null;this.o=null;this.r=null;this.k=0;this.q=0;}function createStacklet_c4V26engine4core9MarioGame7runeDGWE6(p,e,y,g,h,j,l,m,n){this.p=p;this.pc=0;this.f=_c4V26engine4core9MarioGame7runeDGWE6;this.e=e;this.y=y;this.g=g;this.h=h|0;this.j=j|0;this.l=l|0;this.m=+m;this.n=n;this.d=0;this.c=null;}function _c4p36engine4core10MarioLevelC2E0(a0,a1,a2,p){var label=0;var a={p:p,f:_c4p36engine4core10MarioLevelC2E0,l0:a0,l1:a1,l2:a2,l3:null,l4:null,l5:null,l6:null,l7:null,l8:null,l9:null,l10:null,s0:null,s1:null,s2:null,s3:null,s4:null};a.pc=0;a.s0=a.l0;a.pc=-255;_n4VYObjectC2E0(a.s0,a);a.s0=a.l0;a.s1=256;a.s0.width0=a.s1;a.s0=a.l0;a.s1=16;a.s0.tileWidth1=a.s1;a.s0=a.l0;a.s1=256;a.s0.height2=a.s1;a.s0=a.l0;a.s1=16;a.s0.tileHeight3=a.s1;a.s0=a.l0;a.s1=0;a.s0.totalCoins4=a.s1;a.s0=a.l1;a.pc=-490;a.s0=a.s0.v58(a.s0,a);a.pc=-522;a.s0=a.s0.v11(a.s0,a);if(!(a.s0>>0!=0)){a.pc=45;a.s0=a.l0;a.s1=0;a.s0.tileWidth1=a.s1;a.s0=a.l0;a.s1=0;a.s0.width0=a.s1;a.s0=a.l0;a.s1=0;a.s0.tileHeight3=a.s1;a.s0=a.l0;a.s1=0;a.s0.height2=a.s1;return;}a.pc=66;a.s0=a.l1;a.pc=-752;a.s1=cheerpjInternString("\\r?\\n");a.pc=-798;a.s0=a.s0.v53(a.s0,a.s1,a);a.l3=a.s0;a.s0=a.l0;a.s1=a.l3;a.s2=0;a.s1=a.s1[a.s2+1];a.pc=-890;a.s1=a.s1.v11(a.s1,a);a.s0.tileWidth1=a.s1;a.s0=a.l0;a.s1=a.l0;a.s1=a.s1.tileWidth1;a.s2=16;a.s1=Math.imul(a.s2,a.s1)>>0;a.s0.width0=a.s1;a.s0=a.l0;a.s1=a.l3;a.s1=a.s1.length-1;a.s0.tileHeight3=a.s1;a.s0=a.l0;a.s1=a.l0;a.s1=a.s1.tileHeight3;a.s2=16;a.s1=Math.imul(a.s2,a.s1)>>0;a.s0.height2=a.s1;a.s0=a.l0;a.s1=a.l3;a.s2=0;a.s1=a.s1[a.s2+1];a.pc=-1241;a.s1=a.s1.v11(a.s1,a);a.s2=a.l3;a.s2=a.s2.length-1;var __i0__=a.s1;var __i1__=a.s2;a.s1=["[[I"];for(var i0=0;i0<__i0__;i0++){a.s2=new Int32Array(1+__i1__);a.s2[0]=73;a.s1[i0+1]=a.s2;}a.s0.levelTiles9=a.s1;a.s0=a.l0;a.s1=a.l3;a.s2=0;a.s1=a.s1[a.s2+1];a.pc=-1502;a.s1=a.s1.v11(a.s1,a);a.s2=a.l3;a.s2=a.s2.length-1;var __i0__=a.s1;var __i1__=a.s2;a.s1=["[[Lengine/helper/SpriteType;"];for(var i0=0;i0<__i0__;i0++){a.s2=["[Lengine/helper/SpriteType;"];for(var i1=0;i1<__i1__;i1++){a.s2[i1+1]=null;}a.s1[i0+1]=a.s2;}a.s0.spriteTemplates10=a.s1;a.s0=a.l0;a.s1=a.l3;a.s2=0;a.s1=a.s1[a.s2+1];a.pc=-1836;a.s1=a.s1.v11(a.s1,a);a.s2=a.l3;a.s2=a.s2.length-1;var __i0__=a.s1;var __i1__=a.s2;a.s1=["[[I"];for(var i0=0;i0<__i0__;i0++){a.s2=new Int32Array(1+__i1__);a.s2[0]=73;a.s1[i0+1]=a.s2;}a.s0.lastSpawnTime11=a.s1;a.s0=0;a.l4=a.s0;while(1){a.pc=162;a.s0=a.l4;a.s1=a.l3;a.s1=a.s1.length-1;if(a.s1<=a.s0){break;}a.pc=169;a.s0=0;a.l5=a.s0;while(1){a.pc=172;a.s0=a.l5;a.s1=a.l3;a.s2=a.l4;a.s1=a.s1[a.s2+1];a.pc=-2244;a.s1=a.s1.v11(a.s1,a);if(a.s1<=a.s0){break;}a.pc=184;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l5;a.s0=a.s0[a.s1+1];a.s1=a.l4;a.s2=0;a.s0[a.s1+1]=a.s2;a.s0=a.l0;a.s0=a.s0.spriteTemplates10;a.s1=a.l5;a.s0=a.s0[a.s1+1];a.s1=a.l4;a.pc=-2479;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);}a.s2=N6engine6helper10SpriteType.NONE0;a.s0[a.s1+1]=a.s2;a.s0=a.l0;a.s0=a.s0.lastSpawnTime11;a.s1=a.l5;a.s0=a.s0[a.s1+1];a.s1=a.l4;a.s2=-40;a.s0[a.s1+1]=a.s2;a.l5+=1;}a.pc=226;a.l4+=1;}a.pc=232;a.s0=0;a.l4=a.s0;a.s0=0;a.l5=a.s0;a.s0=0;a.l6=a.s0;while(1){a.pc=241;a.s0=a.l6;a.s1=a.l3;a.s1=a.s1.length-1;if(a.s1<=a.s0){break;}a.pc=248;a.s0=0;a.l7=a.s0;while(1){a.pc=251;a.s0=a.l7;a.s1=a.l3;a.s2=a.l6;a.s1=a.s1[a.s2+1];a.pc=-2955;a.s1=a.s1.v11(a.s1,a);if(a.s1<=a.s0){break;}a.pc=263;a.s0=a.l3;a.s1=a.l6;a.s0=a.s0[a.s1+1];a.s1=a.l7;a.pc=-3067;a.s0=a.s0.v13(a.s0,a.s1,a);a.pc=-3105;;if((N4java4lang9CharacterG|0)==0){cjG(a);}a.pc=273;a.s0=_m4p19Character7valueOfE1(a.s0,a);a.l8=a.s0;a.s0=a.l8;a.pc=-3227;a.s0=a.s0.v11(a.s0,a);do{if(a.s0===33||a.s0===81){a.pc=1090;a.s0=a.l0;a.s1=a.s0=a.s0;a.s1=a.s1.totalCoins4;a.s2=1;a.s1=a.s2+a.s1>>0;a.s0.totalCoins4=a.s1;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=11;a.s0[a.s1+1]=a.s2;}else if(a.s0===35){a.pc=842;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=2;a.s0[a.s1+1]=a.s2;}else if(a.s0===37){a.pc=856;a.s0=0;a.l9=a.s0;a.s0=a.l7;do{if(!(a.s0>>0<=0)){a.pc=864;a.s0=a.l3;a.s1=a.l6;a.s0=a.s0[a.s1+1];a.s1=a.l7;a.s2=1;a.s1=a.s1-a.s2>>0;a.pc=-3771;a.s0=a.s0.v13(a.s0,a.s1,a);a.s1=37;if(a.s1!==a.s0){break;}a.pc=880;a.l9+=2;}}while(0);a.pc=883;a.s0=a.l7;a.s1=a.l0;a.s1=a.s1.levelTiles9;a.s1=a.s1.length-1;a.s2=1;a.s1=a.s1-a.s2>>0;do{if(!(a.s1<=a.s0)){a.pc=895;a.s0=a.l3;a.s1=a.l6;a.s0=a.s0[a.s1+1];a.s1=a.l7;a.s2=1;a.s1=a.s2+a.s1>>0;a.pc=-4066;a.s0=a.s0.v13(a.s0,a.s1,a);a.s1=37;if(a.s1!==a.s0){break;}a.pc=911;a.l9+=1;}}while(0);a.pc=914;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=43;a.s3=a.l9;a.s2=a.s3+a.s2>>0;a.s0[a.s1+1]=a.s2;}else if(a.s0===42){a.pc=947;a.s0=0;a.l9=a.s0;a.s0=a.l6;do{if(!(a.s0>>0<=0)){a.pc=955;a.s0=a.l3;a.s1=a.l6;a.s2=1;a.s1=a.s1-a.s2>>0;a.s0=a.s0[a.s1+1];a.s1=a.l7;a.pc=-4455;a.s0=a.s0.v13(a.s0,a.s1,a);a.s1=42;if(a.s1!==a.s0){break;}a.pc=971;a.l9+=1;}}while(0);a.pc=974;a.s0=a.l6;a.s1=1;do{if(!(a.s1>=a.s0)){a.pc=980;a.s0=a.l3;a.s1=a.l6;a.s2=2;a.s1=a.s1-a.s2>>0;a.s0=a.s0[a.s1+1];a.s1=a.l7;a.pc=-4681;a.s0=a.s0.v13(a.s0,a.s1,a);a.s1=42;if(a.s1!==a.s0){break;}a.pc=996;a.l9+=1;}}while(0);a.pc=999;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=3;a.s3=a.l9;a.s2=a.s3+a.s2>>0;a.s0[a.s1+1]=a.s2;}else if(a.s0===49){a.pc=1115;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=48;a.s0[a.s1+1]=a.s2;}else if(a.s0===50){a.pc=1130;a.s0=a.l0;a.s1=a.s0=a.s0;a.s1=a.s1.totalCoins4;a.s2=1;a.s1=a.s2+a.s1>>0;a.s0.totalCoins4=a.s1;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=49;a.s0[a.s1+1]=a.s2;}else if(a.s0===60){a.pc=1658;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=18;a.s0[a.s1+1]=a.s2;}else if(a.s0===62){a.pc=1673;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=19;a.s0[a.s1+1]=a.s2;}else if(a.s0===63||a.s0===64){a.pc=1075;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=8;a.s0[a.s1+1]=a.s2;}else if(a.s0===66){a.pc=1016;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=3;a.s0[a.s1+1]=a.s2;}else if(a.s0===67){a.pc=1185;a.s0=a.l0;a.s1=a.s0=a.s0;a.s1=a.s1.totalCoins4;a.s2=1;a.s1=a.s2+a.s1>>0;a.s0.totalCoins4=a.s1;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=7;a.s0[a.s1+1]=a.s2;}else if(a.s0===68){a.pc=1155;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=14;a.s0[a.s1+1]=a.s2;}else if(a.s0===69||a.s0===103){a.pc=732;a.s0=a.l0;a.s0=a.s0.spriteTemplates10;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.pc=-6231;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);}a.s2=N6engine6helper10SpriteType.GOOMBA4;a.s0[a.s1+1]=a.s2;}else if(a.s0===70){a.pc=682;a.s0=a.l0;a.s1=a.l7;a.s0.exitTileX7=a.s1;a.s0=a.l0;a.s1=a.l6;a.s0.exitTileY8=a.s1;a.s0=1;a.l5=a.s0;}else if(a.s0===71){a.pc=748;a.s0=a.l0;a.s0=a.s0.spriteTemplates10;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.pc=-6583;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);}a.s2=N6engine6helper10SpriteType.GOOMBA_WINGED5;a.s0[a.s1+1]=a.s2;}else if(a.s0===75){a.pc=780;a.s0=a.l0;a.s0=a.s0.spriteTemplates10;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.pc=-6814;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);}a.s2=N6engine6helper10SpriteType.GREEN_KOOPA_WINGED9;a.s0[a.s1+1]=a.s2;}else if(a.s0===76){a.pc=1225;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=51;a.s0[a.s1+1]=a.s2;}else if(a.s0===77){a.pc=664;a.s0=a.l0;a.s1=a.l7;a.s0.marioTileX5=a.s1;a.s0=a.l0;a.s1=a.l6;a.s0.marioTileY6=a.s1;a.s0=1;a.l4=a.s0;}else if(a.s0===82){a.pc=812;a.s0=a.l0;a.s0=a.s0.spriteTemplates10;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.pc=-7306;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);}a.s2=N6engine6helper10SpriteType.RED_KOOPA_WINGED7;a.s0[a.s1+1]=a.s2;}else if(a.s0===83){a.pc=1170;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=6;a.s0[a.s1+1]=a.s2;}else if(a.s0===84){a.pc=1452;a.s0=0;a.l9=a.s0;a.s0=a.l7;a.s1=a.l3;a.s2=a.l6;a.s1=a.s1[a.s2+1];a.pc=-7655;a.s1=a.s1.v11(a.s1,a);a.s2=1;a.s1=a.s1-a.s2>>0;do{if(a.s1<=a.s0){label=248;}else{a.pc=1469;a.s0=a.l3;a.s1=a.l6;a.s0=a.s0[a.s1+1];a.s1=a.l7;a.s2=1;a.s1=a.s2+a.s1>>0;a.pc=-7830;a.s0=a.s0.v13(a.s0,a.s1,a);a.pc=-7868;;if((N4java4lang9CharacterG|0)==0){cjG(a);}a.pc=1481;a.s0=_m4V29Character11toLowerCaseE64(a.s0,a);a.s1=116;if(a.s1===a.s0){label=248;break;}a.pc=1488;a.s0=a.l7;if(a.s0>>0<=0){label=248;break;}a.pc=1493;a.s0=a.l3;a.s1=a.l6;a.s0=a.s0[a.s1+1];a.s1=a.l7;a.s2=1;a.s1=a.s1-a.s2>>0;a.pc=-8154;a.s0=a.s0.v13(a.s0,a.s1,a);a.pc=-8192;;if((N4java4lang9CharacterG|0)==0){cjG(a);}a.pc=1505;a.s0=_m4V29Character11toLowerCaseE64(a.s0,a);a.s1=116;if(a.s1===a.s0){label=248;break;}a.pc=1512;a.s0=1;break;}}while(0);if(label===248){label=0;a.pc=1516;a.s0=0;}a.pc=1517;a.l10=a.s0;a.s0=a.l7;do{if(!(a.s0>>0<=0)){a.pc=1524;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s2=1;a.s1=a.s1-a.s2>>0;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s0=a.s0[a.s1+1];a.s1=18;if(!(a.s1===a.s0)){a.pc=1541;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s2=1;a.s1=a.s1-a.s2>>0;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s0=a.s0[a.s1+1];a.s1=20;if(a.s1!==a.s0){break;}}a.pc=1558;a.l9+=1;}}while(0);a.pc=1561;a.s0=a.l6;do{if(!(a.s0>>0<=0)){a.pc=1566;a.s0=a.l3;a.s1=a.l6;a.s2=1;a.s1=a.s1-a.s2>>0;a.s0=a.s0[a.s1+1];a.s1=a.l7;a.pc=-8929;a.s0=a.s0.v13(a.s0,a.s1,a);a.pc=-8967;;if((N4java4lang9CharacterG|0)==0){cjG(a);}a.pc=1578;a.s0=_m4V29Character11toLowerCaseE64(a.s0,a);a.s1=116;if(a.s1!==a.s0){break;}a.pc=1585;a.s0=a.l10;if(a.s0>>0==0){a.pc=1596;a.l9+=2;break;}else{a.pc=1590;a.l9+=1;break;}}}while(0);a.pc=1599;a.s0=a.l10;if(!(a.s0>>0==0)){a.pc=1604;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=52;a.s3=a.l9;a.s2=a.s3+a.s2>>0;a.s0[a.s1+1]=a.s2;break;}a.pc=1622;a.s0=a.l9;if(!(a.s0>>0!=0)){a.pc=1627;a.s0=a.l0;a.s0=a.s0.spriteTemplates10;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.pc=-9514;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);}a.s2=N6engine6helper10SpriteType.ENEMY_FLOWER13;a.s0[a.s1+1]=a.s2;}a.pc=1640;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=18;a.s3=a.l9;a.s2=a.s3+a.s2>>0;a.s0[a.s1+1]=a.s2;}else if(a.s0===85){a.pc=1210;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=50;a.s0[a.s1+1]=a.s2;}else if(a.s0===88){a.pc=828;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=1;a.s0[a.s1+1]=a.s2;}else if(a.s0===89){a.pc=716;a.s0=a.l0;a.s0=a.s0.spriteTemplates10;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.pc=-10130;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);}a.s2=N6engine6helper10SpriteType.SPIKY_WINGED11;a.s0[a.s1+1]=a.s2;}else if(a.s0===91){a.pc=1688;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=20;a.s0[a.s1+1]=a.s2;}else if(a.s0===93){a.pc=1703;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=21;a.s0[a.s1+1]=a.s2;}else if(a.s0===98){a.pc=1030;a.s0=0;a.l9=a.s0;a.s0=a.l6;a.s1=1;do{if(!(a.s1>=a.s0)){a.pc=1039;a.s0=a.l3;a.s1=a.l6;a.s2=2;a.s1=a.s1-a.s2>>0;a.s0=a.s0[a.s1+1];a.s1=a.l7;a.pc=-10677;a.s0=a.s0.v13(a.s0,a.s1,a);a.s1=66;if(a.s1!==a.s0){break;}a.pc=1055;a.l9+=1;}}while(0);a.pc=1058;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=4;a.s3=a.l9;a.s2=a.s3+a.s2>>0;a.s0[a.s1+1]=a.s2;}else if(a.s0===107){a.pc=764;a.s0=a.l0;a.s0=a.s0.spriteTemplates10;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.pc=-11015;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);}a.s2=N6engine6helper10SpriteType.GREEN_KOOPA8;a.s0[a.s1+1]=a.s2;}else if(a.s0===111){a.pc=1240;a.s0=a.l0;a.s1=a.s0=a.s0;a.s1=a.s1.totalCoins4;a.s2=1;a.s1=a.s2+a.s1>>0;a.s0.totalCoins4=a.s1;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=15;a.s0[a.s1+1]=a.s2;}else if(a.s0===114){a.pc=796;a.s0=a.l0;a.s0=a.s0.spriteTemplates10;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.pc=-11467;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);}a.s2=N6engine6helper10SpriteType.RED_KOOPA6;a.s0[a.s1+1]=a.s2;}else if(a.s0===116){a.pc=1265;a.s0=0;a.l9=a.s0;a.s0=0;a.l10=a.s0;a.s0=a.l7;a.s1=a.l3;a.s2=a.l6;a.s1=a.s1[a.s2+1];a.pc=-11704;a.s1=a.s1.v11(a.s1,a);a.s2=1;a.s1=a.s1-a.s2>>0;do{if(!(a.s1<=a.s0)){a.pc=1285;a.s0=a.l3;a.s1=a.l6;a.s0=a.s0[a.s1+1];a.s1=a.l7;a.s2=1;a.s1=a.s2+a.s1>>0;a.pc=-11867;a.s0=a.s0.v13(a.s0,a.s1,a);a.pc=-11906;;if((N4java4lang9CharacterG|0)==0){cjG(a);}a.pc=1297;a.s0=_m4V29Character11toLowerCaseE64(a.s0,a);a.s1=116;if(a.s1===a.s0){break;}a.pc=1304;a.s0=a.l7;if(a.s0>>0<=0){break;}a.pc=1309;a.s0=a.l3;a.s1=a.l6;a.s0=a.s0[a.s1+1];a.s1=a.l7;a.s2=1;a.s1=a.s1-a.s2>>0;a.pc=-12173;a.s0=a.s0.v13(a.s0,a.s1,a);a.pc=-12212;;if((N4java4lang9CharacterG|0)==0){cjG(a);}a.pc=1321;a.s0=_m4V29Character11toLowerCaseE64(a.s0,a);a.s1=116;if(a.s1===a.s0){break;}a.pc=1328;a.s0=1;a.l10=a.s0;}}while(0);a.pc=1331;a.s0=a.l7;do{if(!(a.s0>>0<=0)){a.pc=1336;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s2=1;a.s1=a.s1-a.s2>>0;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s0=a.s0[a.s1+1];a.s1=18;if(!(a.s1===a.s0)){a.pc=1353;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s2=1;a.s1=a.s1-a.s2>>0;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s0=a.s0[a.s1+1];a.s1=20;if(a.s1!==a.s0){break;}}a.pc=1370;a.l9+=1;}}while(0);a.pc=1373;a.s0=a.l6;do{if(!(a.s0>>0<=0)){a.pc=1378;a.s0=a.l3;a.s1=a.l6;a.s2=1;a.s1=a.s1-a.s2>>0;a.s0=a.s0[a.s1+1];a.s1=a.l7;a.pc=-12892;a.s0=a.s0.v13(a.s0,a.s1,a);a.pc=-12931;;if((N4java4lang9CharacterG|0)==0){cjG(a);}a.pc=1390;a.s0=_m4V29Character11toLowerCaseE64(a.s0,a);a.s1=116;if(a.s1!==a.s0){break;}a.pc=1397;a.s0=a.l10;if(a.s0>>0==0){a.pc=1408;a.l9+=2;break;}else{a.pc=1402;a.l9+=1;break;}}}while(0);a.pc=1411;a.s0=a.l10;if(a.s0>>0==0){a.pc=1434;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=18;a.s3=a.l9;a.s2=a.s3+a.s2>>0;a.s0[a.s1+1]=a.s2;break;}else{a.pc=1416;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=52;a.s3=a.l9;a.s2=a.s3+a.s2>>0;a.s0[a.s1+1]=a.s2;break;}}else if(a.s0===121){a.pc=700;a.s0=a.l0;a.s0=a.s0.spriteTemplates10;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.pc=-13604;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);}a.s2=N6engine6helper10SpriteType.SPIKY10;a.s0[a.s1+1]=a.s2;}else if(a.s0===124){a.pc=932;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=47;a.s0[a.s1+1]=a.s2;}}while(0);a.pc=1715;a.l7+=1;}a.pc=1721;a.l6+=1;}a.pc=1727;a.s0=a.l4;if(!(a.s0>>0!=0)){a.pc=1732;a.s0=a.l0;a.s1=0;a.s0.marioTileX5=a.s1;a.s0=a.l0;a.s1=a.l0;a.s2=a.l3;a.s3=a.l0;a.s3=a.s3.marioTileX5;a.pc=-14048;a.s1=_c4_66engine4core10MarioLevel14findFirstFloorE11(a.s1,a.s2,a.s3,a);a.s0.marioTileY6=a.s1;}a.pc=1750;a.s0=a.l5;if(!(a.s0>>0!=0)){a.pc=1755;a.s0=a.l0;a.s1=a.l3;a.s2=0;a.s1=a.s1[a.s2+1];a.pc=-14248;a.s1=a.s1.v11(a.s1,a);a.s2=1;a.s1=a.s1-a.s2>>0;a.s0.exitTileX7=a.s1;a.s0=a.l0;a.s1=a.l0;a.s2=a.l3;a.s3=a.l0;a.s3=a.s3.exitTileX7;a.pc=-14389;a.s1=_c4_66engine4core10MarioLevel14findFirstFloorE11(a.s1,a.s2,a.s3,a);a.s0.exitTileY8=a.s1;}a.pc=1780;a.s0=a.l0;a.s0=a.s0.exitTileY8;a.l6=a.s0;while(1){a.pc=1786;a.s0=a.l6;a.s1=1;a.s2=a.l0;a.s2=a.s2.exitTileY8;a.s3=11;a.s2=a.s2-a.s3>>0;a.pc=-14639;;if((N4java4lang4MathG|0)==0){cjG(a);}a.pc=1797;a.s1=_m4pZ4Math3maxE44(a.s1,a.s2,a);if(a.s1>=a.s0){break;}a.pc=1802;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l0;a.s1=a.s1.exitTileX7;a.s0=a.s0[a.s1+1];a.s1=a.l6;a.s2=40;a.s0[a.s1+1]=a.s2;a.l6+=-1;}a.pc=1822;a.s0=a.l0;a.s0=a.s0.levelTiles9;a.s1=a.l0;a.s1=a.s1.exitTileX7;a.s0=a.s0[a.s1+1];a.s1=1;a.s2=a.l0;a.s2=a.s2.exitTileY8;a.s3=11;a.s2=a.s2-a.s3>>0;a.pc=-15049;;if((N4java4lang4MathG|0)==0){cjG(a);}a.pc=1840;a.s1=_m4pZ4Math3maxE44(a.s1,a.s2,a);a.s2=39;a.s0[a.s1+1]=a.s2;a.s0=a.l2;if(!(a.s0>>0==0)){a.pc=1849;a.s0=a.l0;a.pc=-15219;;if((N6engine8graphics12MarioTilemapG|0)==0){cjG(a);}a.s1=new N6engine8graphics12MarioTilemap;a.s2=a.s1=a.s1;a.pc=-15340;;if((N6engine6helper6AssetsG|0)==0){cjG(a);}a.s3=N6engine6helper6Assets.level5;a.s4=a.l0;a.s4=a.s4.levelTiles9;a.pc=-15463;_c4V46engine8graphics12MarioTilemapC2E0(a.s2,a.s3,a.s4,a);a.s0.graphics12=a.s1;a.s0=a.l0;a.pc=-15564;;if((N6engine8graphics10MarioImageG|0)==0){cjG(a);}a.s1=new N6engine8graphics10MarioImage;a.s2=a.s1=a.s1;a.pc=-15681;;if((N6engine6helper6AssetsG|0)==0){cjG(a);}a.s3=N6engine6helper6Assets.level5;a.s4=41;a.pc=-15780;_c4p46engine8graphics10MarioImageC2E0(a.s2,a.s3,a.s4,a);a.s0.flag13=a.s1;a.s0=a.l0;a.s0=a.s0.flag13;a.s1=16;a.s0.width6=a.s1;a.s0=a.l0;a.s0=a.s0.flag13;a.s1=16;a.s0.height7=a.s1;}a.pc=1901;return;}function _c4p46engine4core10MarioLevel5cloneE1(a0,p){var a={p:p,f:_c4p46engine4core10MarioLevel5cloneE1,l0:a0,l1:null,l2:null,l3:null,s0:null,s1:null,s2:null,s3:null};a.pc=0;a.s0=new N6engine4core10MarioLevel;a.s1=a.s0=a.s0;a.pc=-224;a.s2=cheerpjInternString("");a.s3=0;a.pc=-270;_c4p36engine4core10MarioLevelC2E0(a.s1,a.s2,a.s3,a);a.l1=a.s0;a.s0=a.l1;a.s1=a.l0;a.s1=a.s1.width0;a.s0.width0=a.s1;a.s0=a.l1;a.s1=a.l0;a.s1=a.s1.height2;a.s0.height2=a.s1;a.s0=a.l1;a.s1=a.l0;a.s1=a.s1.tileWidth1;a.s0.tileWidth1=a.s1;a.s0=a.l1;a.s1=a.l0;a.s1=a.s1.tileHeight3;a.s0.tileHeight3=a.s1;a.s0=a.l1;a.s1=a.l0;a.s1=a.s1.totalCoins4;a.s0.totalCoins4=a.s1;a.s0=a.l1;a.s1=a.l0;a.s1=a.s1.marioTileX5;a.s0.marioTileX5=a.s1;a.s0=a.l1;a.s1=a.l0;a.s1=a.s1.marioTileY6;a.s0.marioTileY6=a.s1;a.s0=a.l1;a.s1=a.l0;a.s1=a.s1.exitTileX7;a.s0.exitTileX7=a.s1;a.s0=a.l1;a.s1=a.l0;a.s1=a.s1.exitTileY8;a.s0.exitTileY8=a.s1;a.s0=a.l1;a.s1=a.l0;a.s1=a.s1.levelTiles9;a.s1=a.s1.length-1;a.s2=a.l0;a.s2=a.s2.levelTiles9;a.s3=0;a.s2=a.s2[a.s3+1];a.s2=a.s2.length-1;var __i0__=a.s1;var __i1__=a.s2;a.s1=["[[I"];for(var i0=0;i0<__i0__;i0++){a.s2=new Int32Array(1+__i1__);a.s2[0]=73;a.s1[i0+1]=a.s2;}a.s0.levelTiles9=a.s1;a.s0=a.l1;a.s1=a.l0;a.s1=a.s1.levelTiles9;a.s1=a.s1.length-1;a.s2=a.l0;a.s2=a.s2.levelTiles9;a.s3=0;a.s2=a.s2[a.s3+1];a.s2=a.s2.length-1;var __i0__=a.s1;var __i1__=a.s2;a.s1=["[[I"];for(var i0=0;i0<__i0__;i0++){a.s2=new Int32Array(1+__i1__);a.s2[0]=73;a.s1[i0+1]=a.s2;}a.s0.lastSpawnTime11=a.s1;a.s0=0;a.l2=a.s0;while(1){a.pc=125;a.s0=a.l2;a.s1=a.l1;a.s1=a.s1.levelTiles9;a.s1=a.s1.length-1;if(a.s1<=a.s0){break;}a.pc=134;a.s0=0;a.l3=a.s0;while(1){a.pc=136;a.s0=a.l3;a.s1=a.l1;a.s1=a.s1.levelTiles9;a.s2=a.l2;a.s1=a.s1[a.s2+1];a.s1=a.s1.length-1;if(a.s1<=a.s0){break;}a.pc=147;a.s0=a.l1;a.s0=a.s0.levelTiles9;a.s1=a.l2;a.s0=a.s0[a.s1+1];a.s1=a.l3;a.s2=a.l0;a.s2=a.s2.levelTiles9;a.s3=a.l2;a.s2=a.s2[a.s3+1];a.s3=a.l3;a.s2=a.s2[a.s3+1];a.s0[a.s1+1]=a.s2;a.s0=a.l1;a.s0=a.s0.lastSpawnTime11;a.s1=a.l2;a.s0=a.s0[a.s1+1];a.s1=a.l3;a.s2=a.l0;a.s2=a.s2.lastSpawnTime11;a.s3=a.l2;a.s2=a.s2[a.s3+1];a.s3=a.l3;a.s2=a.s2[a.s3+1];a.s0[a.s1+1]=a.s2;a.l3+=1;}a.pc=185;a.l2+=1;}a.pc=191;a.s0=a.l1;a.s1=a.l0;a.s1=a.s1.spriteTemplates10;a.s0.spriteTemplates10=a.s1;a.s0=a.l1;return a.s0;}var N6engine4core10MarioLevelG;
function N6engine4core10MarioLevel(){N4java4lang6Object.call(this);this.width0=0;this.tileWidth1=0;this.height2=0;this.tileHeight3=0;this.totalCoins4=0;this.marioTileX5=0;this.marioTileY6=0;this.exitTileX7=0;this.exitTileY8=0;this.levelTiles9=null;this.spriteTemplates10=null;this.lastSpawnTime11=null;this.graphics12=null;this.flag13=null;}
N6engine4core10MarioLevel.cl=cheerpjCL;
function N6engine4core10MarioLevelX(a){a.f=N6engine4core10MarioLevelX;if(cheerpjSafeInitGuard('N6engine4core10MarioLevel')) return;var q=a.q=N6engine4core10MarioLevel.prototype=Object.create(N4java4lang6Object.prototype);q.constructor=N6engine4core10MarioLevel;q.v11=_c4p46engine4core10MarioLevel5cloneE1;q.v12=_c4V56engine4core10MarioLevel10isBlockingE2;q.v13=_c4_46engine4core10MarioLevel8getBlockE3;q.v14=_c4_46engine4core10MarioLevel8setBlockE4;q.v15=_c4F66engine4core10MarioLevel13setShiftIndexE5;q.v16=_c4F66engine4core10MarioLevel13getSpriteTypeE6;q.v17=_c4p76engine4core10MarioLevel16getLastSpawnTickE7;q.v18=_c4p76engine4core10MarioLevel16setLastSpawnTickE8;q.v19=_c4F66engine4core10MarioLevel13getSpriteCodeE9;q.v20=_c4V46engine4core10MarioLevel6updateE12;q.v21=_c4V46engine4core10MarioLevel6renderE13;q.v3=_c4F46engine4core10MarioLevel5cloneE14;N6engine4core10MarioLevelG=1;cheerpjSafeInitFinish('N6engine4core10MarioLevel');}
var N6engine8graphics12MarioTilemapG;
var N6engine6helper11TileFeatureG;
var N4java4lang9CharacterG;
var N4java4lang4MathG;
var N4java4lang13StringBuilderG;
function _c4V56engine4core10MarioLevel10isBlockingE2(r,q,o,n,m,p){var c=0,d=null,e=0;var a={p:p,pc:0,f:_c4V56engine4core10MarioLevel10isBlockingE2,c:0,m:+m,d:null,e:0};a.pc=-168;a.c=c=r.v13(r,q,o,a)|0;a.pc=-201;;if((N6engine6helper11TileFeatureG|0)==0){cjG(a);};a.pc=-262;a.d=d=_c4p46engine6helper11TileFeature11gete9GXTypeE3(c,a);a.pc=-331;a.e=e=d.v14(d,N6engine6helper11TileFeature.BLOCK_ALL1,a)|0;if(m<cjF(0)){a.pc=-413;c=d.v14(d,N6engine6helper11TileFeature.BLOCK_UPPER0,a)|0;c=(c|0)!==0?1:0;}else{c=0;}a.c=c|=e;if(m>cjF(0)){a.pc=-529;e=d.v14(d,N6engine6helper11TileFeature.BLOCK_LOWER2,a)|0;return c|((e|0)!==0?1:0)|0;}return c|0|0;}function _c4_46engine4core10MarioLevel8getBlockE3(k,j,h,p){var c=0;c=(j|0)<0?0|0:j|0;if((c|0)>((k.tileWidth1|0)-1|0)){c=k.tileWidth1|0;c=c-1|0;}if((h|0)>=0){if(((k.tileHeight3|0)-1|0)>=(h|0)){return k.levelTiles9[(c+1|0)][(h+1|0)]|0|0;}}return 0|0;}function _c4_46engine4core10MarioLevel8setBlockE4(l,k,j,h,p){if((j|k|0)>=0){if(((l.tileWidth1|0)-1|0)>=(k|0)){if(((l.tileHeight3|0)-1|0)>=(j|0)){l.levelTiles9[(k+1|0)][(j+1|0)]=h;return ;}}}}function _c4F66engine4core10MarioLevel13setShiftIndexE5(l,k,j,h,p){if(!((j|k|0)<0||l.graphics12===null)){if(((l.tileWidth1|0)-1|0)>=(k|0)){if(((l.tileHeight3|0)-1|0)>=(j|0)){l.graphics12.moveShift11[(k+1|0)][(j+1|0)]=cjF((h|0));return ;}}}}function _c4F66engine4core10MarioLevel13getSpriteTypeE6(j,h,g,p){var a={p:p,pc:0,f:_c4F66engine4core10MarioLevel13getSpriteTypeE6};if((g|h|0)>=0){if((j.tileWidth1|0|0)>(h|0)){if((j.tileHeight3|0|0)>(g|0)){return j.spriteTemplates10[(h+1|0)][(g+1|0)];}}}a.pc=-253;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};return N6engine6helper10SpriteType.NONE0;}function _c4p76engine4core10MarioLevel16getLastSpawnTickE7(j,h,g,p){if((g|h|0)>=0){if(((j.tileWidth1|0)-1|0)>=(h|0)){if(((j.tileHeight3|0)-1|0)>=(g|0)){return j.lastSpawnTime11[(h+1|0)][(g+1|0)]|0|0;}}}return 0|0;}function _c4p76engine4core10MarioLevel16setLastSpawnTickE8(l,k,j,h,p){if((j|k|0)>=0){if(((l.tileWidth1|0)-1|0)>=(k|0)){if(((l.tileHeight3|0)-1|0)>=(j|0)){l.lastSpawnTime11[(k+1|0)][(j+1|0)]=h;return ;}}}}function _c4F66engine4core10MarioLevel13getSpriteCodeE9(m,l,k,p){var c=null,d=null,e=0;var a={p:p,pc:0,f:_c4F66engine4core10MarioLevel13getSpriteCodeE9,m:m,l:l|0,k:k|0,c:null};a.pc=-176;;if((N4java4lang13StringBuilderG|0)==0){cjG(a);};a.c=c=new N4java4lang13StringBuilder();a.pc=-274;_m4FJge_YBuilderC2E0(c,a);a.pc=-310;c=c.v74(c,l,a);a.pc=-335;c=c.v66(c,cheerpjInternString("_"),a);a.pc=-383;c=c.v74(c,k,a);a.pc=-408;a.c=c=c.v66(c,cheerpjInternString("_"),a);a.pc=-460;d=m.v16(m,l,k,a);a.pc=-487;e=d.v16(d,a)|0;a.pc=-512;d=c.v74(c,e,a);return d.v4(d,p);}function _c4_46engine4core10MarioLevel7isSolidE10(g,e,p){return ((e&65535)!==84&&((e&65535)===116||(e&65535)===37||(e&65535)===68||(e&65535)===85||(e&65535)===83||(e&65535)===63||(e&65535)===93||(e&65535)===91||((e|2)&65535)===62||(e&65535)===81||((e|1)&65535)===67||(e&65535)===33||(e&65535)===64||(e&65535)===88||(e&65535)===35?1:0)^1?1:0)^1|0;}function _c4_66engine4core10MarioLevel14findFirstFloorE11(n,m,l,p){var g=0,c=0,e=null,d=0;var a=new createStacklet_c4_66engine4core10MarioLevel14findFirstFloorE11(p,n,m,l);c=m.length-1|0;a.g=g=0;while(1){a.d=d=c-1|0;if((d|0)<0){return  -1|0;}a.pc=-242;a.c=c=m[c].v13(m[c],l,a)|0;a.pc=-279;;if((N4java4lang9CharacterG|0)==0){cjG(a);};a.pc=-333;a.e=e=_m4p19Character7valueOfE1(c,a);a.pc=-380;c=e.v11(e,a)|0;a.pc=-405;c=_c4_46engine4core10MarioLevel7isSolidE10(n,c,a)|0;if((c|0)===0){if(!(g)){c=d;continue;}a.g=g=d;e=e;a.pc=-516;c=e.v11(e,a)|0;a.pc=-541;c=_c4_46engine4core10MarioLevel7isSolidE10(n,c,a)|0;if((c|0)===0){c=g;return c|0;}c=g;}else{c=d;}a.g=g=1;continue;}}function _c4V46engine4core10MarioLevel6updateE12(j,h,g,p){}function _c4V46engine4core10MarioLevel6renderE13(o,n,m,l,p){var e=null,d=0,c=0;var a={p:p,pc:0,f:_c4V46engine4core10MarioLevel6renderE13,o:o,n:n,m:m|0,l:l|0};a.pc=-158;o.graphics12.v11(o.graphics12,n,m,l,a);if((m+256|0)>=((o.exitTileX7|0)<<4|0)){e=o.flag13;d=o.exitTileX7|0;c=(o.exitTileY8|0)-11|0;c=(c|0)>1?c|0:1|0;a.pc=-316;e.v11(e,n,(( -8-m|0)+(d<<4)|0),((16-l|0)+(c<<4)|0),a);}}function _c4F46engine4core10MarioLevel5cloneE14(d,p){return d.v11(d,p);}function createStacklet_c4_66engine4core10MarioLevel14findFirstFloorE11(p,n,m,l){this.p=p;this.pc=0;this.f=_c4_66engine4core10MarioLevel14findFirstFloorE11;this.g=0;this.c=0;this.e=null;this.n=n;this.m=m;this.l=l|0;this.d=0;}var N6engine4core19MarioLevelGeneratorG;
function N6engine4core19MarioLevelGenerator(){N4java4lang6Object.call(this);}
N6engine4core19MarioLevelGenerator.cl=cheerpjCL;
function N6engine4core19MarioLevelGeneratorX(a){a.f=N6engine4core19MarioLevelGeneratorX;if(cheerpjSafeInitGuard('N6engine4core19MarioLevelGenerator')) return;var q=a.q=N6engine4core19MarioLevelGenerator.prototype=Object.create(N4java4lang6Object.prototype);q.constructor=N6engine4core19MarioLevelGenerator;N6engine4core19MarioLevelGeneratorG=1;cheerpjSafeInitFinish('N6engine4core19MarioLevelGenerator');}
function _c4F46engine4core15MarioLevelModelC2E9(a0,a1,a2,p){var a={p:p,f:_c4F46engine4core15MarioLevelModelC2E9,l0:a0,l1:a1,l2:a2,s0:null,s1:null,s2:null};a.pc=0;a.s0=a.l0;a.pc=-172;_n4VYObjectC2E0(a.s0,a);a.s0=a.l0;a.s1=a.l1;a.s2=a.l2;var __i0__=a.s1;var __i1__=a.s2;a.s1=["[[C"];for(var i0=0;i0<__i0__;i0++){a.s2=new Uint16Array(1+__i1__);a.s2[0]=67;a.s1[i0+1]=a.s2;}a.s0.map0=a.s1;return;}var N6engine4core15MarioLevelModelG;
function N6engine4core15MarioLevelModel(){N4java4lang6Object.call(this);this.map0=null;}
N6engine4core15MarioLevelModel.cl=cheerpjCL;
function N6engine4core15MarioLevelModelX(a){a.f=N6engine4core15MarioLevelModelX;if(cheerpjSafeInitGuard('N6engine4core15MarioLevelModel')) return;var q=a.q=N6engine4core15MarioLevelModel.prototype=Object.create(N4java4lang6Object.prototype);q.constructor=N6engine4core15MarioLevelModel;q.v11=_c4V56engine4core15MarioLevelModel5cloneE10;q.v12=_c4F66engine4core15MarioLevelModel8getWidthE11;q.v13=_c4V66engine4core15MarioLevelModel9getHeightE12;q.v14=_c4F66engine4core15MarioLevelModel8getBlockE13;q.v15=_c4F66engine4core15MarioLevelModel8setBlockE14;q.v16=_c4V76engine4core15MarioLevelModel12setRectangleE15;q.v17=_c4_56engine4core15MarioLevelModel14copyFromge_WE16;q.v18=_c4_56engine4core15MarioLevelModel14copyFromge_WE17;q.v19=_c4F66engine4core15MarioLevelModel8clearMapE18;q.v20=_c4_56engine4core15MarioLevelModel6getMapE19;q.v3=_c4V56engine4core15MarioLevelModel5cloneE20;N6engine4core15MarioLevelModel.MARIO_START0=77;N6engine4core15MarioLevelModel.MARIO_EXIT1=70;N6engine4core15MarioLevelModel.EMPTY2=45;N6engine4core15MarioLevelModel.GROUND3=88;N6engine4core15MarioLevelModel.PYRAMID_BLOCK4=35;N6engine4core15MarioLevelModel.NORMAL_BRICK5=83;N6engine4core15MarioLevelModel.COIN_BRICK6=67;N6engine4core15MarioLevelModel.LIFE_BRICK7=76;N6engine4core15MarioLevelModel.SPECIAL_BRICK8=85;N6engine4core15MarioLevelModel.SPECIAL_QUESTION_BLOCK9=64;N6engine4core15MarioLevelModel.COIN_QUESTION_BLOCK10=33;N6engine4core15MarioLevelModel.COIN_HIDDEN_BLOCK11=50;N6engine4core15MarioLevelModel.LIFE_HIDDEN_BLOCK12=49;N6engine4core15MarioLevelModel.USED_BLOCK13=68;N6engine4core15MarioLevelModel.COIN14=111;N6engine4core15MarioLevelModel.PIPE15=116;N6engine4core15MarioLevelModel.PIPE_FLOWER16=84;N6engine4core15MarioLevelModel.BULLET_BILL17=42;N6engine4core15MarioLevelModel.PLATFORM_BACKGROUND18=124;N6engine4core15MarioLevelModel.PLATFORM19=37;N6engine4core15MarioLevelModel.GOOMBA20=103;N6engine4core15MarioLevelModel.GOOMBA_WINGED21=71;N6engine4core15MarioLevelModel.RED_KOOPA22=114;N6engine4core15MarioLevelModel.RED_KOOPA_WINGED23=82;N6engine4core15MarioLevelModel.GREEN_KOOPA24=107;N6engine4core15MarioLevelModel.GREEN_KOOPA_WINGED25=75;N6engine4core15MarioLevelModel.SPIKY26=121;N6engine4core15MarioLevelModel.SPIKY_WINGED27=89;N6engine4core15MarioLevelModelG=1;cheerpjSafeInitFinish('N6engine4core15MarioLevelModel');}
function _c4V76engine4core15MarioLevelModel13getEnemyTilesE0(p){var c=null;c=new Uint16Array(3);c[0]=67;c[1]=42;c[2]=84;return c;}function _c4F86engine4core15MarioLevelModel16getBumpableTilesE1(p){var c=null;c=new Uint16Array(7);c[0]=67;c[1]=83;c[2]=67;c[3]=76;c[4]=85;c[5]=64;c[6]=33;return c;}function _c4V76engine4core15MarioLevelModel13getBlockTilesE2(p){var c=null;c=new Uint16Array(13);c[0]=67;c[1]=88;c[2]=35;c[3]=68;c[4]=83;c[5]=67;c[6]=76;c[7]=85;c[8]=64;c[9]=33;c[10]=116;c[11]=84;c[12]=42;return c;}function _c4p$6engine4core15MarioLevelModel23getBlockNonSpecialTilesE3(p){var c=null;c=new Uint16Array(5);c[0]=67;c[1]=88;c[2]=35;c[3]=68;c[4]=116;return c;}function _c4p96engine4core15MarioLevelModel19getNonBlockingTilesE4(p){var c=null;c=new Uint16Array(5);c[0]=67;c[1]=111;c[2]=50;c[3]=49;c[4]=124;return c;}function _c4F56engine4core15MarioLevelModel20getColeGeZablesTilesE5(p){var c=null;c=new Uint16Array(9);c[0]=67;c[1]=111;c[2]=67;c[3]=76;c[4]=85;c[5]=64;c[6]=33;c[7]=50;c[8]=49;return c;}function _c4V96engine4core15MarioLevelModel21getWingedEnemyVersionE6(h,g,p){var c=0;c=h&65535;if((g&255)===0){if((h&65535)===71){return 103|0;}if((h&65535)===75){return 107|0;}if((h&65535)===82){return 114|0;}c=(h&65535)===89?121|0:c|0;return c|0;}if((h&65535)===103){return 71|0;}if((h&65535)===107){return 75|0;}if((h&65535)===114){return 82|0;}c=(h&65535)===121?89|0:c|0;return c|0;}function _c4_86engine4core15MarioLevelModel18getEnemyCharactersE7(p){var c=null;c=new Uint16Array(9);c[0]=67;c[1]=103;c[2]=71;c[3]=114;c[4]=82;c[5]=107;c[6]=75;c[7]=121;c[8]=89;return c;}function _c4_86engine4core15MarioLevelModel18getEnemyCharactersE8(e,p){var c=null;c=new Uint16Array(5);c[0]=67;if((e&255)===0){c[1]=103;c[2]=114;c[3]=107;c[4]=121;return c;}c[1]=71;c[2]=82;c[3]=75;c[4]=89;return c;}function _c4V56engine4core15MarioLevelModel5cloneE10(k,p){var e=0,c=0,d=null,h=null,g=0;var a={p:p,pc:0,f:_c4V56engine4core15MarioLevelModel5cloneE10,e:0,c:0,k:k,d:null};a.d=d=new N6engine4core15MarioLevelModel();a.pc=-213;a.e=e=k.v12(k,a)|0;a.pc=-242;c=k.v13(k,a)|0;a.pc=-267;_c4F46engine4core15MarioLevelModelC2E9(d,e,c,a);a.pc=-325;c=d.v12(d,a)|0;if((c|0)>0){a.e=e=0;while(1){a.pc=-379;c=d.v13(d,a)|0;a.e=e=e+1|0;if((c|0)>0){c=0;while(1){h=d.map0[e];a.c=c=c+1|0;h[c]=(k.map0[e][c]|0);a.pc=-487;g=d.v13(d,a)|0;if((c|0)<(g|0)){c=c;continue;}break;}}a.pc=-550;g=d.v12(d,a)|0;if((e|0)<(g|0))continue;break;}}return d;}function _c4F66engine4core15MarioLevelModel8getWidthE11(d,p){return d.map0.length-1|0|0;}function _c4V66engine4core15MarioLevelModel9getHeightE12(d,p){return d.map0[1].length-1|0|0;}function _c4F66engine4core15MarioLevelModel8getBlockE13(l,k,j,p){var d=0,c=0;d=(k|0)<0?0|0:k|0;c=(j|0)<0?0|0:j|0;if(((l.map0.length-1|0)-1|0)<(k|0)){d=l.map0.length-1|0;d=d-1|0;}if(((l.map0[1].length-1|0)-1|0)<(j|0)){c=l.map0[1].length-1|0;c=c-1|0;}return (l.map0[(d+1|0)][(c+1|0)]|0)&65535|0;}function _c4F66engine4core15MarioLevelModel8setBlockE14(l,k,j,h,p){if((j|k|0)>=0){if(((l.map0.length-1|0)-1|0)>=(k|0)){if(((l.map0[1].length-1|0)-1|0)>=(j|0)){l.map0[(k+1|0)][(j+1|0)]=h;return ;}}}}function _c4V76engine4core15MarioLevelModel12setRectangleE15(u,t,s,r,q,o,p){var d=0,c=0,h=0,e=0,g=0;var a=new createStacklet_c4V76engine4core15MarioLevelModel12setRectangleE15(p,u,t,s,r,q);a.h=h=o&65535;if((r|0)>0){a.e=e=(q|0)>0?1:0;a.d=d=0;while(1){if(e){a.g=g=d+t|0;a.c=c=0;while(1){a.pc=-285;u.v15(u,g,(c+s|0),h,a);c=c+1|0;if((c|0)<(q|0)){a.c=c=c;continue;}break;}}d=d+1|0;if((d|0)<(r|0)){a.d=d=d;continue;}break;}}}function _c4_56engine4core15MarioLevelModel14copyFromge_WE16(j,h,p){var d=0,c=0;var a={p:p,pc:0,f:_c4_56engine4core15MarioLevelModel14copyFromge_WE16,j:j,h:h,d:0};a.pc=-163;a.d=d=j.v12(j,a)|0;a.pc=-192;c=j.v13(j,a)|0;j.v18(j,0,0,0,0,d,c,h,p);}function _c4_56engine4core15MarioLevelModel14copyFromge_WE17(o,q,r,s,t,u,D,v,p){var g=0,d=0,e=null,l=0,m=0,j=0,c=0,h=0,k=0;var a=new createStacklet_c4_56engine4core15MarioLevelModel14copyFromge_WE17(p,o,q,r,s,t,u,D);a.pc=-216;a.e=e=v.v53(v,cheerpjInternString("\n"),a);if((D|0)>0){a.l=l=(u|0)>0?1:0;a.g=g=0;while(1){if(l){a.m=m=g+r|0;a.j=j=g+t|0;a.d=d=0;while(1){a.pc=-363;c=e[1].v11(e[1],a)|0;h=(e.length-1|0)-1|0;h=(h|0)<(j|0)?h|0:j|0;k=d+s|0;c=c-1|0;c=(c|0)<(k|0)?c|0:k|0;a.pc=-475;c=e[(h+1|0)].v13(e[(h+1|0)],c,a)|0;a.pc=-520;o.v15(o,(d+q|0),m,c,a);c=d+1|0;if((c|0)<(u|0)){a.d=d=c;continue;}break;}}c=g+1|0;if((c|0)<(D|0)){a.g=g=c;continue;}break;}}}function _c4F66engine4core15MarioLevelModel8clearMapE18(g,p){var d=0,c=0;var a={p:p,pc:0,f:_c4F66engine4core15MarioLevelModel8clearMapE18,g:g,d:0};a.pc=-147;a.d=d=g.v12(g,a)|0;a.pc=-176;c=g.v13(g,a)|0;g.v16(g,0,0,d,c,45,p);}function _c4_56engine4core15MarioLevelModel6getMapE19(k,p){var c=null,g=0,d=0,e=null,h=0;var a=new createStacklet_c4_56engine4core15MarioLevelModel6getMapE19(p,k);c=cheerpjInternString("");if((k.map0[1].length-1|0|0)<=0){return c;}a.g=g=0;a.c=c=c;while(1){a.d=d=k.map0.length-1|0;a.pc=-280;;if((N4java4lang13StringBuilderG|0)==0){cjG(a);};a.e=e=new N4java4lang13StringBuilder();a.pc=-378;_m4FJge_YBuilderC2E0(e,a);a.pc=-414;c=e.v66(e,c,a);a.g=g=g+1|0;if((d|0)>0){d=0;while(1){a.d=d=d+1|0;a.pc=-488;c=c.v73(c,((k.map0[d][g]|0)&65535),a);a.pc=-536;a.c=c=c.v4(c,a);a.h=h=k.map0.length-1|0;a.pc=-586;;if((N4java4lang13StringBuilderG|0)==0){cjG(a);};a.e=e=new N4java4lang13StringBuilder();a.pc=-684;_m4FJge_YBuilderC2E0(e,a);a.pc=-720;c=e.v66(e,c,a);if((d|0)<(h|0)){d=d;continue;}break;}}a.pc=-783;c=c.v66(c,cheerpjInternString("\n"),a);a.pc=-832;c=c.v4(c,a);if((g|0)<(k.map0[1].length-1|0|0)){a.c=c=c;continue;}break;}return c;}function _c4V56engine4core15MarioLevelModel5cloneE20(d,p){return d.v11(d,p);}function createStacklet_c4_56engine4core15MarioLevelModel6getMapE19(p,k){this.p=p;this.pc=0;this.f=_c4_56engine4core15MarioLevelModel6getMapE19;this.c=null;this.g=0;this.d=0;this.k=k;this.e=null;this.h=0;}function createStacklet_c4V76engine4core15MarioLevelModel12setRectangleE15(p,u,t,s,r,q){this.p=p;this.pc=0;this.f=_c4V76engine4core15MarioLevelModel12setRectangleE15;this.d=0;this.c=0;this.u=u;this.t=t|0;this.s=s|0;this.r=r|0;this.q=q|0;this.h=0;this.e=0;this.g=0;}function createStacklet_c4_56engine4core15MarioLevelModel14copyFromge_WE17(p,o,q,r,s,t,u,D){this.p=p;this.pc=0;this.f=_c4_56engine4core15MarioLevelModel14copyFromge_WE17;this.g=0;this.d=0;this.o=o;this.q=q|0;this.r=r|0;this.s=s|0;this.t=t|0;this.u=u|0;this.D=D|0;this.e=null;this.l=0;this.m=0;this.j=0;}function N6engine4core11MarioRender(){N5javax5swing10JComponent.call(this);this.scale99=-0;this.graphicsConfiguration100=null;this.frame101=0;this.animator102=null;this.focused103=0;}
N6engine4core11MarioRender.cl=cheerpjCL;
function N6engine4core11MarioRenderX(a){a.f=N6engine4core11MarioRenderX;if(cheerpjSafeInitGuard('N6engine4core11MarioRender')) return;a.pc=-134;;if((N5javax5swing10JComponentG|0)==0){cjG(a);}var q=a.q=N6engine4core11MarioRender.prototype=Object.create(N5javax5swing10JComponent.prototype);q.constructor=N6engine4core11MarioRender;q.ifs=["java/awt/MenuContainer","java/awt/event/FocusListener","java/awt/image/ImageObserver","java/io/Serializable","java/util/EventListener","javax/swing/TransferHandler$HasGetTransferHandler"];q.v497=_c4p46engine4core11MarioRender4initE1;q.v498=_c4p36engine4core11MarioRender11rfDWXWorldE2;q.v499=_c4_36engine4core11MarioRender20drawgepZDropShadowE3;q.lx4iqjbcG0qmyq_nFdynLtur0mvt_rehb7r0cc79c=q.v500=_c4p66engine4core11MarioRender11focusGainedE5;q.jx4iqjv6inzq_nFdynLtur0mvt_rKgb7r0cc79c=q.v501=_c4V16engine4core11MarioReneK1YfocusLostE6;N6engine4core11MarioRender.serialVersionUID0=2004384873;N6engine4core11MarioRender.serialVersionUID0h=184140814;N6engine4core11MarioRender.TICKS_PER_SECOND1=24;N6engine4core11MarioRenderG=1;cheerpjSafeInitFinish('N6engine4core11MarioRender');}
var N4java3awt9DimensionG;
var N4java4lang7IntegerG;
var N5javax5swing10JComponentG;
function _c4F36engine4core11MarioRenderC2E0(l,k,p){var g=0,e=0,d=null,c=-0.;var a={p:p,pc:0,f:_c4F36engine4core11MarioRenderC2E0,l:l,k:+k,d:null};a.pc=-146;_c4Fdzdn9iNdZJtdrZeNTxTn(l,a);a.pc=-186;l.v239(l,1,a);a.pc=-210;l.v46(l,1,a);l.scale99=k;a.pc=-245;;if((N4java3awt9DimensionG|0)==0){cjG(a);};a.d=d=new N4java3awt9Dimension();c=cjF(k*cjF(256));g=~~c;if( +Math.trunc(c)!==cjF((g|0))){g=cjN2I(c)|0;}c=cjF(k*cjF(240));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}a.pc=-473;_h4V03awt9DimensionC2E3(d,g,e,a);a.pc=-516;l.v99(l,d,a);a.pc=-539;l.v103(l,d,a);a.pc=-563;l.v107(l,d,a);l.v239(l,1,p);}function _c4p46engine4core11MarioRender4initE1(e,p){var c=null;var a={p:p,pc:0,f:_c4p46engine4core11MarioRender4initE1,e:e,c:null};a.pc=-131;c=e.v25(e,a);e.graphicsConfiguration100=c;a.c=c=e.graphicsConfiguration100;a.pc=-216;;if((N6engine6helper6AssetsG|0)==0){cjG(a);};_c4p36engine6helper6Assets4initE1(c,p);}function _c4p36engine4core11MarioRender11rfDWXWorldE2(t,s,r,q,o,p){var c=null,g=0,e=0,h=null,d=-0.;var a=new createStacklet_c4p36engine4core11MarioRender11rfDWXWorldE2(p,t,s,r,q,o);a.pc=-181;o.v29(o,0,0,256,240,a);a.pc=-214;s.v30(s,o,a);a.pc=-237;;if((N4java4lang13StringBuilderG|0)==0){cjG(a);};a.c=c=new N4java4lang13StringBuilder();a.pc=-335;_m4FJge_YBuilderC2E0(c,a);a.pc=-371;c=c.v66(c,cheerpjInternString("Lives: "),a);a.pc=-425;c=c.v74(c,(s.lives11|0),a);a.pc=-462;c=c.v4(c,a);a.pc=-484;t.v499(t,o,c,0,0,7,a);a.c=c=new N4java4lang13StringBuilder();a.pc=-555;_m4FJge_YBuilderC2E0(c,a);a.pc=-591;c=c.v66(c,cheerpjInternString("Coins: "),a);a.pc=-645;c=c.v74(c,(s.coins10|0),a);a.pc=-682;c=c.v4(c,a);a.pc=-704;t.v499(t,o,c,11,0,7,a);a.c=c=new N4java4lang13StringBuilder();a.pc=-776;_m4FJge_YBuilderC2E0(c,a);a.pc=-812;a.h=h=c.v66(c,cheerpjInternString("Time: "),a);if((s.currentTimer3|0|0)===-1){c=cheerpjInternString("Inf");}else{a.pc=-935;a.d=d=+_m4FZ4Math4ceilE15(cjF(cjF((s.currentTimer3|0|0))/cjF(1000)),0.,a);a.pc=-1019;;if((N4java4lang7IntegerG|0)==0){cjG(a);};a.pc=-1072;c=_m4_07Integer7valueOfE17(~~d,a);}a.pc=-1118;c=h.v65(h,c,a);a.pc=-1144;c=c.v4(c,a);a.pc=-1167;t.v499(t,o,c,22,0,7,a);if( +t.scale99>cjF(1)){d=cjF( +t.scale99*cjF(256));g=~~d;if( +Math.trunc(d)!==cjF((g|0))){g=cjN2I(d)|0;}d=cjF( +t.scale99*cjF(240));e=~~d;if( +Math.trunc(d)!==cjF((e|0))){e=cjN2I(d)|0;}a.pc=-1386;q.v50(q,r,0,0,g,e,null,a)|0;}else{a.pc=-1431;q.v49(q,r,0,0,null,a)|0;}}function _c4_36engine4core11MarioRender20drawgepZDropShadowE3(s,r,q,o,n,m,p){var d=0,c=0;var a=new createStacklet_c4_36engine4core11MarioRender20drawgepZDropShadowE3(p,s,r,q,m);a.d=d=o<<3;a.c=c=n<<3;a.pc=-199;_c4_36engine4core11MarioRender10drawgeVWE4(s,r,q,(d+5|0),(c+5|0),0,a);_c4_36engine4core11MarioRender10drawgeVWE4(s,r,q,(d+4|0),(c+4|0),m,p);}function _c4_36engine4core11MarioRender10drawgeVWE4(v,j,k,l,m,n,p){var e=0,d=null,h=0,g=null,c=0;var a=new createStacklet_c4_36engine4core11MarioRender10drawgeVWE4(p,j,l,m,n);a.pc=-175;a.d=d=k.v59(k,a);if((d.length-1|0|0)>0){a.h=h=n+1|0;a.e=e=0;while(1){a.pc=-254;;if((N6engine6helper6AssetsG|0)==0){cjG(a);};g=N6engine6helper6Assets.font7;a.c=c=e+1|0;a.pc=-352;j.v49(j,g[(((d[c]|0)&65535)-31|0)][h],((e<<3)+l|0),m,null,a)|0;if((c|0)<(d.length-1|0|0)){a.e=e=c;continue;}break;}}}function _c4p66engine4core11MarioRender11focusGainedE5(g,e,p){g.focused103=1;}function _c4V16engine4core11MarioReneK1YfocusLostE6(g,e,p){g.focused103=0;}function createStacklet_c4_36engine4core11MarioRender10drawgeVWE4(p,j,l,m,n){this.p=p;this.pc=0;this.f=_c4_36engine4core11MarioRender10drawgeVWE4;this.e=0;this.j=j;this.l=l|0;this.m=m|0;this.n=n|0;this.d=null;this.h=0;this.c=0;}function createStacklet_c4p36engine4core11MarioRender11rfDWXWorldE2(p,t,s,r,q,o){this.p=p;this.pc=0;this.f=_c4p36engine4core11MarioRender11rfDWXWorldE2;this.c=null;this.t=t;this.s=s;this.r=r;this.q=q;this.o=o;this.h=null;this.d=-0.;}function createStacklet_c4_36engine4core11MarioRender20drawgepZDropShadowE3(p,s,r,q,m){this.p=p;this.pc=0;this.f=_c4_36engine4core11MarioRender20drawgepZDropShadowE3;this.s=s;this.r=r;this.q=q;this.m=m|0;this.d=0;this.c=0;}function N6engine4core11MarioResult(){N4java4lang6Object.call(this);this.world0=null;this.gameEvents1=null;this.agentEvents2=null;}
N6engine4core11MarioResult.cl=cheerpjCL;
function N6engine4core11MarioResultX(a){a.f=N6engine4core11MarioResultX;if(cheerpjSafeInitGuard('N6engine4core11MarioResult')) return;var q=a.q=N6engine4core11MarioResult.prototype=Object.create(N4java4lang6Object.prototype);q.constructor=N6engine4core11MarioResult;q.v11=_c4V66engine4core11MarioResult13getGameStatusE1;q.v12=_c4p56engine4core11MarioResult23getCompleeWtWPeCGalwmGbHNn;q.v13=_c4_46engine4core11MarioResult16getRemaieGSXTimeE3;q.v14=_c4V36engine4core11MarioResult12getf9GXModeE4;q.v15=_c4V66engine4core11MarioResult13getGameEventsE5;q.v16=_c4_66engine4core11MarioResult14getAgentEventsE6;q.v17=_c4V66engine4core11MarioResult13getKillsTotalE7;q.v18=_c4_66engine4core11MarioResult14getKillsByFireE8;q.v19=_c4p76engine4core11MarioResult15getKillsByStompE9;q.v20=_c4F76engine4core11MarioResult15getKillsByShellE10;q.v21=_c4V36engine4core11MarioResult16getf9WYNumKillsE11;q.v22=_c4V36engine4core11MarioResult16getf9WYNumHurtsE12;q.v23=_c4F66engine4core11MarioResult23getNumBumpQueseWdYBlockE13;q.v24=_c4F76engine4core11MarioResult15getNumBumpBrickE14;q.v25=_c4p76engine4core11MarioResult14getKillsByFallE15;q.v26=_c4F66engine4core11MarioResult11getNumJumpsE16;q.v27=_c4F66engine4core11MarioResult11getMaxXJumpE17;q.v28=_c4_76engine4core11MarioResult17getMaxJumpAirTimeE18;q.v29=_c4F76engine4core11MarioResult15getCurrentLivesE19;q.v30=_c4F76engine4core11MarioResult15getCurrentCoinsE20;q.v31=_c4p56engine4core11MarioResult24getNumColeGKaEWSjL0rKJdJKNDn;q.v32=_c4p56engine4core11MarioResult25getNumColeGKaEi8hcblDSJfrKNTn;q.v33=_c4p56engine4core11MarioResult24getNumColeGKaEWClYcbNdsJKN9n;q.v34=_c4_86engine4core11MarioResult21getNumDestroyedBricksE24;N6engine4core11MarioResultG=1;cheerpjSafeInitFinish('N6engine4core11MarioResult');}
function _c4F36engine4core11MarioResultC2E0(l,k,j,h,p){var a={p:p,pc:0,f:_c4F36engine4core11MarioResultC2E0,l:l,k:k,j:j,h:h};a.pc=-125;_n4VYObjectC2E0(l,a);l.world0=k;l.gameEvents1=j;l.agentEvents2=h;}function _c4V66engine4core11MarioResult13getGameStatusE1(d,p){return d.world0.gameStatus0;}function _c4p56engine4core11MarioResult23getCompleeWtWPeCGalwmGbHNn(e,p){var c=-0.;c=+e.world0.mario6.x2;return cjF(c/cjF(((e.world0.level7.exitTileX7|0)<<4|0)));}function _c4_46engine4core11MarioResult16getRemaieGSXTimeE3(d,p){return d.world0.currentTimer3|0|0;}function _c4V36engine4core11MarioResult12getf9GXModeE4(g,p){var c=0,d=0;c=g.world0.mario6.isLarge11|0;d=g.world0.mario6.isFire12|0;c=(d&255)===0?((c&255)!==0?1:0)|0:2|0;return c|0;}function _c4V66engine4core11MarioResult13getGameEventsE5(d,p){return d.gameEvents1;}function _c4_66engine4core11MarioResult14getAgentEventsE6(d,p){return d.agentEvents2;}function _c4V66engine4core11MarioResult13getKillsTotalE7(k,p){var h=0,g=null,d=0,c=null,e=0;var a={p:p,pc:0,f:_c4V66engine4core11MarioResult13getKillsTotalE7,h:0,g:null,d:0,c:null};a.pc=-181;a.g=g=k.gameEvents1.v11(k.gameEvents1,a);a.h=h=0;while(1){a.pc=-249;d=g.kFaiDsCn96nd(g,a)|0;if((d|0)===0){return h|0;}a.pc=-309;a.c=c=g.cSQa1j8Rhd9BmAqcHWe(g,a);a.pc=25;;if(c&&!(((N6engine4core10MarioEventG|0)&&c instanceof N6engine4core10MarioEvent)>>0)){cjCastFailure(a,c);};a.pc=-468;a.d=d=c.v11(c,a)|0;a.pc=-497;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-555;e=N6engine6helper9EventType.STOMP_KILL1.v16(N6engine6helper9EventType.STOMP_KILL1,a)|0;if((d|0)!==(e|0)){a.pc=-670;a.d=d=c.v11(c,a)|0;a.pc=-699;e=N6engine6helper9EventType.FIRE_KILL2.v16(N6engine6helper9EventType.FIRE_KILL2,a)|0;if((d|0)!==(e|0)){a.pc=-812;a.d=d=c.v11(c,a)|0;a.pc=-841;e=N6engine6helper9EventType.FALL_KILL4.v16(N6engine6helper9EventType.FALL_KILL4,a)|0;if((d|0)!==(e|0)){a.pc=-954;a.d=d=c.v11(c,a)|0;a.pc=-983;e=N6engine6helper9EventType.SHELL_KILL3.v16(N6engine6helper9EventType.SHELL_KILL3,a)|0;if((d|0)!==(e|0))continue;}}}a.h=h=h+1|0;continue;}}function _c4_66engine4core11MarioResult14getKillsByFireE8(k,p){var c=0,d=null,g=null,h=0,e=0;var a={p:p,pc:0,f:_c4_66engine4core11MarioResult14getKillsByFireE8,c:0,d:null,g:null,h:0};a.pc=-183;a.d=d=k.gameEvents1.v11(k.gameEvents1,a);a.pc=-234;c=d.kFaiDsCn96nd(d,a)|0;if((c|0)===0){return 0|0;}a.c=c=0;while(1){a.pc=-311;a.g=g=d.cSQa1j8Rhd9BmAqcHWe(d,a);a.pc=25;;if(g&&!(((N6engine4core10MarioEventG|0)&&g instanceof N6engine4core10MarioEvent)>>0)){cjCastFailure(a,g);};a.pc=-470;a.h=h=g.v11(g,a)|0;a.pc=-499;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-557;e=N6engine6helper9EventType.FIRE_KILL2.v16(N6engine6helper9EventType.FIRE_KILL2,a)|0;a.c=c=((h|0)===(e|0)?1:0)+c|0;a.pc=-682;e=d.kFaiDsCn96nd(d,a)|0;if((e|0)!==0)continue;break;}c=c;return c|0;}function _c4p76engine4core11MarioResult15getKillsByStompE9(k,p){var c=0,d=null,g=null,h=0,e=0;var a={p:p,pc:0,f:_c4p76engine4core11MarioResult15getKillsByStompE9,c:0,d:null,g:null,h:0};a.pc=-185;a.d=d=k.gameEvents1.v11(k.gameEvents1,a);a.pc=-236;c=d.kFaiDsCn96nd(d,a)|0;if((c|0)===0){return 0|0;}a.c=c=0;while(1){a.pc=-313;a.g=g=d.cSQa1j8Rhd9BmAqcHWe(d,a);a.pc=25;;if(g&&!(((N6engine4core10MarioEventG|0)&&g instanceof N6engine4core10MarioEvent)>>0)){cjCastFailure(a,g);};a.pc=-472;a.h=h=g.v11(g,a)|0;a.pc=-501;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-559;e=N6engine6helper9EventType.STOMP_KILL1.v16(N6engine6helper9EventType.STOMP_KILL1,a)|0;a.c=c=((h|0)===(e|0)?1:0)+c|0;a.pc=-686;e=d.kFaiDsCn96nd(d,a)|0;if((e|0)!==0)continue;break;}c=c;return c|0;}function _c4F76engine4core11MarioResult15getKillsByShellE10(k,p){var c=0,d=null,g=null,h=0,e=0;var a={p:p,pc:0,f:_c4F76engine4core11MarioResult15getKillsByShellE10,c:0,d:null,g:null,h:0};a.pc=-187;a.d=d=k.gameEvents1.v11(k.gameEvents1,a);a.pc=-238;c=d.kFaiDsCn96nd(d,a)|0;if((c|0)===0){return 0|0;}a.c=c=0;while(1){a.pc=-315;a.g=g=d.cSQa1j8Rhd9BmAqcHWe(d,a);a.pc=25;;if(g&&!(((N6engine4core10MarioEventG|0)&&g instanceof N6engine4core10MarioEvent)>>0)){cjCastFailure(a,g);};a.pc=-474;a.h=h=g.v11(g,a)|0;a.pc=-503;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-561;e=N6engine6helper9EventType.SHELL_KILL3.v16(N6engine6helper9EventType.SHELL_KILL3,a)|0;a.c=c=((h|0)===(e|0)?1:0)+c|0;a.pc=-688;e=d.kFaiDsCn96nd(d,a)|0;if((e|0)!==0)continue;break;}c=c;return c|0;}function _c4V36engine4core11MarioResult16getf9WYNumKillsE11(m,l,p){var h=0,c=null,g=null,e=0,d=0;var a={p:p,pc:0,f:_c4V36engine4core11MarioResult16getf9WYNumKillsE11,h:0,c:null,l:l|0,g:null,e:0};a.pc=-195;a.g=g=m.gameEvents1.v11(m.gameEvents1,a);a.h=h=0;while(1){a.pc=-263;e=g.kFaiDsCn96nd(g,a)|0;if((e|0)===0){return h|0;}a.pc=-323;a.c=c=g.cSQa1j8Rhd9BmAqcHWe(g,a);a.pc=25;;if(c&&!(((N6engine4core10MarioEventG|0)&&c instanceof N6engine4core10MarioEvent)>>0)){cjCastFailure(a,c);};a.pc=-482;a.e=e=c.v11(c,a)|0;a.pc=-511;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-569;d=N6engine6helper9EventType.SHELL_KILL3.v16(N6engine6helper9EventType.SHELL_KILL3,a)|0;if((e|0)===(d|0)){c=c;}else{a.pc=-694;a.e=e=c.v11(c,a)|0;a.pc=-723;d=N6engine6helper9EventType.FIRE_KILL2.v16(N6engine6helper9EventType.FIRE_KILL2,a)|0;if((e|0)===(d|0)){c=c;}else{a.pc=-846;a.e=e=c.v11(c,a)|0;a.pc=-875;d=N6engine6helper9EventType.STOMP_KILL1.v16(N6engine6helper9EventType.STOMP_KILL1,a)|0;if((e|0)!==(d|0))continue;c=c;}}a.pc=-1004;d=c.v12(c,a)|0;a.h=h=((d|0)===(l|0)?1:0)+h|0;continue;}}function _c4V36engine4core11MarioResult16getf9WYNumHurtsE12(k,p){var c=0,d=null,g=null,h=0,e=0;var a={p:p,pc:0,f:_c4V36engine4core11MarioResult16getf9WYNumHurtsE12,c:0,d:null,g:null,h:0};a.pc=-187;a.d=d=k.gameEvents1.v11(k.gameEvents1,a);a.pc=-238;c=d.kFaiDsCn96nd(d,a)|0;if((c|0)===0){return 0|0;}a.c=c=0;while(1){a.pc=-315;a.g=g=d.cSQa1j8Rhd9BmAqcHWe(d,a);a.pc=25;;if(g&&!(((N6engine4core10MarioEventG|0)&&g instanceof N6engine4core10MarioEvent)>>0)){cjCastFailure(a,g);};a.pc=-474;a.h=h=g.v11(g,a)|0;a.pc=-503;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-561;e=N6engine6helper9EventType.HURT8.v16(N6engine6helper9EventType.HURT8,a)|0;a.c=c=((h|0)===(e|0)?1:0)+c|0;a.pc=-676;e=d.kFaiDsCn96nd(d,a)|0;if((e|0)!==0)continue;break;}c=c;return c|0;}function _c4F66engine4core11MarioResult23getNumBumpQueseWdYBlockE13(k,p){var h=0,c=null,g=null,e=0,d=0;var a={p:p,pc:0,f:_c4F66engine4core11MarioResult23getNumBumpQueseWdYBlockE13,h:0,c:null,g:null,e:0};a.pc=-203;a.g=g=k.gameEvents1.v11(k.gameEvents1,a);a.h=h=0;while(1){a.pc=-271;e=g.kFaiDsCn96nd(g,a)|0;if((e|0)===0){return h|0;}a.pc=-331;a.c=c=g.cSQa1j8Rhd9BmAqcHWe(g,a);a.pc=25;;if(c&&!(((N6engine4core10MarioEventG|0)&&c instanceof N6engine4core10MarioEvent)>>0)){cjCastFailure(a,c);};a.pc=-490;a.e=e=c.v11(c,a)|0;a.pc=-519;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-577;d=N6engine6helper9EventType.BUMP0.v16(N6engine6helper9EventType.BUMP0,a)|0;if((e|0)!==(d|0))continue;c=c;a.pc=-692;d=c.v12(c,a)|0;a.h=h=((d|0)===24?1:0)+h|0;continue;}}function _c4F76engine4core11MarioResult15getNumBumpBrickE14(k,p){var h=0,c=null,g=null,e=0,d=0;var a={p:p,pc:0,f:_c4F76engine4core11MarioResult15getNumBumpBrickE14,h:0,c:null,g:null,e:0};a.pc=-187;a.g=g=k.gameEvents1.v11(k.gameEvents1,a);a.h=h=0;while(1){a.pc=-255;e=g.kFaiDsCn96nd(g,a)|0;if((e|0)===0){return h|0;}a.pc=-315;a.c=c=g.cSQa1j8Rhd9BmAqcHWe(g,a);a.pc=25;;if(c&&!(((N6engine4core10MarioEventG|0)&&c instanceof N6engine4core10MarioEvent)>>0)){cjCastFailure(a,c);};a.pc=-474;a.e=e=c.v11(c,a)|0;a.pc=-503;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-561;d=N6engine6helper9EventType.BUMP0.v16(N6engine6helper9EventType.BUMP0,a)|0;if((e|0)!==(d|0))continue;c=c;a.pc=-676;d=c.v12(c,a)|0;a.h=h=((d|0)===22?1:0)+h|0;continue;}}function _c4p76engine4core11MarioResult14getKillsByFallE15(k,p){var c=0,d=null,g=null,h=0,e=0;var a={p:p,pc:0,f:_c4p76engine4core11MarioResult14getKillsByFallE15,c:0,d:null,g:null,h:0};a.pc=-185;a.d=d=k.gameEvents1.v11(k.gameEvents1,a);a.pc=-236;c=d.kFaiDsCn96nd(d,a)|0;if((c|0)===0){return 0|0;}a.c=c=0;while(1){a.pc=-313;a.g=g=d.cSQa1j8Rhd9BmAqcHWe(d,a);a.pc=25;;if(g&&!(((N6engine4core10MarioEventG|0)&&g instanceof N6engine4core10MarioEvent)>>0)){cjCastFailure(a,g);};a.pc=-472;a.h=h=g.v11(g,a)|0;a.pc=-501;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-559;e=N6engine6helper9EventType.FALL_KILL4.v16(N6engine6helper9EventType.FALL_KILL4,a)|0;a.c=c=((h|0)===(e|0)?1:0)+c|0;a.pc=-684;e=d.kFaiDsCn96nd(d,a)|0;if((e|0)!==0)continue;break;}c=c;return c|0;}function _c4F66engine4core11MarioResult11getNumJumpsE16(k,p){var c=0,d=null,g=null,h=0,e=0;var a={p:p,pc:0,f:_c4F66engine4core11MarioResult11getNumJumpsE16,c:0,d:null,g:null,h:0};a.pc=-179;a.d=d=k.gameEvents1.v11(k.gameEvents1,a);a.pc=-230;c=d.kFaiDsCn96nd(d,a)|0;if((c|0)===0){return 0|0;}a.c=c=0;while(1){a.pc=-307;a.g=g=d.cSQa1j8Rhd9BmAqcHWe(d,a);a.pc=25;;if(g&&!(((N6engine4core10MarioEventG|0)&&g instanceof N6engine4core10MarioEvent)>>0)){cjCastFailure(a,g);};a.pc=-466;a.h=h=g.v11(g,a)|0;a.pc=-495;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-553;e=N6engine6helper9EventType.JUMP5.v16(N6engine6helper9EventType.JUMP5,a)|0;a.c=c=((h|0)===(e|0)?1:0)+c|0;a.pc=-668;e=d.kFaiDsCn96nd(d,a)|0;if((e|0)!==0)continue;break;}c=c;return c|0;}function _c4F66engine4core11MarioResult11getMaxXJumpE17(m,p){var c=-0.,h=-0.,d=null,g=null,k=0,e=0,j=-0.;var a={p:p,pc:0,f:_c4F66engine4core11MarioResult11getMaxXJumpE17,c:-0.,h:-0.,d:null,g:null,k:0};a.pc=-201;a.g=g=m.gameEvents1.v11(m.gameEvents1,a);a.pc=-252;k=g.kFaiDsCn96nd(g,a)|0;if((k|0)===0){return cjF(0);}a.h=h=cjF(0);c=cjF(-100);L0:while(1){a.c=c=c;while(1){a.pc=-369;a.d=d=g.cSQa1j8Rhd9BmAqcHWe(g,a);a.pc=28;;if(d&&!(((N6engine4core10MarioEventG|0)&&d instanceof N6engine4core10MarioEvent)>>0)){cjCastFailure(a,d);};a.pc=-528;a.k=k=d.v11(d,a)|0;a.pc=-557;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-615;e=N6engine6helper9EventType.JUMP5.v16(N6engine6helper9EventType.JUMP5,a)|0;if((k|0)===(e|0)){a.pc=-718;c=+d.v13(d,a);a.c=c=c;}a.pc=-751;a.k=k=d.v11(d,a)|0;a.pc=-780;e=N6engine6helper9EventType.LAND6.v16(N6engine6helper9EventType.LAND6,a)|0;if((k|0)===(e|0)){a.pc=-883;j=+d.v13(d,a);a.pc=-907;j=+_m4pZ4Math3absE42(cjF(j-c),a);if(j>h){d=d;a.pc=-962;j=+d.v13(d,a);a.pc=-986;a.h=h=+_m4pZ4Math3absE42(cjF(j-c),a);a.pc=-1033;e=g.kFaiDsCn96nd(g,a)|0;if((e|0)===0){c=h;return c;}c=c;continue L0;}}a.pc=-1114;e=g.kFaiDsCn96nd(g,a)|0;if((e|0)!==0)continue;break;}c=h;return c;}}function _c4_76engine4core11MarioResult17getMaxJumpAirTimeE18(l,p){var c=0,h=0,e=null,g=null,j=0,d=0;var a={p:p,pc:0,f:_c4_76engine4core11MarioResult17getMaxJumpAirTimeE18,c:0,h:0,e:null,g:null,j:0};a.pc=-199;a.g=g=l.gameEvents1.v11(l.gameEvents1,a);a.pc=-250;c=g.kFaiDsCn96nd(g,a)|0;if((c|0)===0){return 0|0;}a.h=h=0;c=-100;L0:while(1){a.c=c=c;while(1){a.pc=-354;a.e=e=g.cSQa1j8Rhd9BmAqcHWe(g,a);a.pc=28;;if(e&&!(((N6engine4core10MarioEventG|0)&&e instanceof N6engine4core10MarioEvent)>>0)){cjCastFailure(a,e);};a.pc=-513;a.j=j=e.v11(e,a)|0;a.pc=-542;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-600;d=N6engine6helper9EventType.JUMP5.v16(N6engine6helper9EventType.JUMP5,a)|0;if((j|0)===(d|0)){a.pc=-703;d=e.v16(e,a)|0;a.c=c=d;}a.pc=-737;a.j=j=e.v11(e,a)|0;a.pc=-766;d=N6engine6helper9EventType.LAND6.v16(N6engine6helper9EventType.LAND6,a)|0;if((j|0)===(d|0)){a.pc=-869;d=e.v16(e,a)|0;if((d-c|0)>(h|0)){e=e;a.pc=-916;d=e.v16(e,a)|0;a.h=h=d-c|0;a.pc=-953;d=g.kFaiDsCn96nd(g,a)|0;if((d|0)===0){c=h;return c|0;}c=c;continue L0;}}a.pc=-1035;d=g.kFaiDsCn96nd(g,a)|0;if((d|0)!==0)continue;break;}c=h;return c|0;}}function _c4F76engine4core11MarioResult15getCurrentLivesE19(d,p){return d.world0.lives11|0|0;}function _c4F76engine4core11MarioResult15getCurrentCoinsE20(d,p){return d.world0.coins10|0|0;}function _c4p56engine4core11MarioResult24getNumColeGKaEWSjL0rKJdJKNDn(k,p){var h=0,c=null,g=null,d=0,e=0;var a={p:p,pc:0,f:_c4p56engine4core11MarioResult24getNumColeGKaEWSjL0rKJdJKNDn,h:0,c:null,g:null,d:0};a.pc=-207;a.g=g=k.gameEvents1.v11(k.gameEvents1,a);a.h=h=0;while(1){a.pc=-275;d=g.kFaiDsCn96nd(g,a)|0;if((d|0)===0){return h|0;}a.pc=-335;a.c=c=g.cSQa1j8Rhd9BmAqcHWe(g,a);a.pc=25;;if(c&&!(((N6engine4core10MarioEventG|0)&&c instanceof N6engine4core10MarioEvent)>>0)){cjCastFailure(a,c);};a.pc=-494;a.d=d=c.v11(c,a)|0;a.pc=-523;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-581;e=N6engine6helper9EventType.COLLECT7.v16(N6engine6helper9EventType.COLLECT7,a)|0;if((d|0)!==(e|0))continue;c=c;a.pc=-702;a.d=d=c.v12(c,a)|0;a.pc=-731;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};a.pc=-791;e=N6engine6helper10SpriteType.MUSHROOM14.v16(N6engine6helper10SpriteType.MUSHROOM14,a)|0;a.h=h=((d|0)===(e|0)?1:0)+h|0;continue;}}function _c4p56engine4core11MarioResult25getNumColeGKaEi8hcblDSJfrKNTn(k,p){var h=0,c=null,g=null,d=0,e=0;var a={p:p,pc:0,f:_c4p56engine4core11MarioResult25getNumColeGKaEi8hcblDSJfrKNTn,h:0,c:null,g:null,d:0};a.pc=-209;a.g=g=k.gameEvents1.v11(k.gameEvents1,a);a.h=h=0;while(1){a.pc=-277;d=g.kFaiDsCn96nd(g,a)|0;if((d|0)===0){return h|0;}a.pc=-337;a.c=c=g.cSQa1j8Rhd9BmAqcHWe(g,a);a.pc=25;;if(c&&!(((N6engine4core10MarioEventG|0)&&c instanceof N6engine4core10MarioEvent)>>0)){cjCastFailure(a,c);};a.pc=-496;a.d=d=c.v11(c,a)|0;a.pc=-525;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-583;e=N6engine6helper9EventType.COLLECT7.v16(N6engine6helper9EventType.COLLECT7,a)|0;if((d|0)!==(e|0))continue;c=c;a.pc=-704;a.d=d=c.v12(c,a)|0;a.pc=-733;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};a.pc=-793;e=N6engine6helper10SpriteType.FIRE_FLOWER15.v16(N6engine6helper10SpriteType.FIRE_FLOWER15,a)|0;a.h=h=((d|0)===(e|0)?1:0)+h|0;continue;}}function _c4p56engine4core11MarioResult24getNumColeGKaEWClYcbNdsJKN9n(k,p){var h=0,c=null,g=null,e=0,d=0;var a={p:p,pc:0,f:_c4p56engine4core11MarioResult24getNumColeGKaEWClYcbNdsJKN9n,h:0,c:null,g:null,e:0};a.pc=-207;a.g=g=k.gameEvents1.v11(k.gameEvents1,a);a.h=h=0;while(1){a.pc=-275;e=g.kFaiDsCn96nd(g,a)|0;if((e|0)===0){return h|0;}a.pc=-335;a.c=c=g.cSQa1j8Rhd9BmAqcHWe(g,a);a.pc=25;;if(c&&!(((N6engine4core10MarioEventG|0)&&c instanceof N6engine4core10MarioEvent)>>0)){cjCastFailure(a,c);};a.pc=-494;a.e=e=c.v11(c,a)|0;a.pc=-523;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-581;d=N6engine6helper9EventType.COLLECT7.v16(N6engine6helper9EventType.COLLECT7,a)|0;if((e|0)!==(d|0))continue;c=c;a.pc=-702;d=c.v12(c,a)|0;a.h=h=((d|0)===31?1:0)+h|0;continue;}}function _c4_86engine4core11MarioResult21getNumDestroyedBricksE24(k,p){var c=0,e=null,g=null,h=0,d=0;var a={p:p,pc:0,f:_c4_86engine4core11MarioResult21getNumDestroyedBricksE24,c:0,e:null,g:null,h:0};a.pc=-199;a.g=g=k.gameEvents1.v11(k.gameEvents1,a);a.pc=-250;c=g.kFaiDsCn96nd(g,a)|0;if((c|0)===0){return 0|0;}a.c=c=0;while(1){a.pc=-327;a.e=e=g.cSQa1j8Rhd9BmAqcHWe(g,a);a.pc=25;;if(e&&!(((N6engine4core10MarioEventG|0)&&e instanceof N6engine4core10MarioEvent)>>0)){cjCastFailure(a,e);};a.pc=-486;a.h=h=e.v11(e,a)|0;a.pc=-515;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-573;d=N6engine6helper9EventType.BUMP0.v16(N6engine6helper9EventType.BUMP0,a)|0;if((h|0)===(d|0)){a.pc=-676;d=e.v12(e,a)|0;if((d|0)===22){e=e;a.pc=-720;d=e.v15(e,a)|0;a.c=c=((d|0)>0?1:0)+c|0;a.pc=-769;d=g.kFaiDsCn96nd(g,a)|0;if((d|0)!==0)continue;c=c;return c|0;}}a.pc=-842;d=g.kFaiDsCn96nd(g,a)|0;if((d|0)!==0)continue;break;}c=c;return c|0;}function N6engine4core11MarioSprite(){N4java4lang6Object.call(this);this.type0=null;this.initialCode1=null;this.x2=-0;this.y3=-0;this.xa4=-0;this.ya5=-0;this.width6=0;this.height7=0;this.facing8=0;this.alive9=0;this.world10=null;}
N6engine4core11MarioSprite.cl=cheerpjCL;
function N6engine4core11MarioSpriteX(a){a.f=N6engine4core11MarioSpriteX;if(cheerpjSafeInitGuard('N6engine4core11MarioSprite')) return;var q=a.q=N6engine4core11MarioSprite.prototype=Object.create(N4java4lang6Object.prototype);q.constructor=N6engine4core11MarioSprite;q.v11=_c4F46engine4core11MarioSprite5cloneE1;q.v12=_c4F46engine4core11MarioSprite5addedE2;q.v13=_c4_46engine4core11MarioSprite7removedE3;q.v14=_c4_46engine4core11MarioSprite7getMapXE4;q.v15=_c4_46engine4core11MarioSprite7getMapYE5;q.v16=_c4V46engine4core11MarioSprite6renderE6;q.v17=_c4V46engine4core11MarioSprite6updateE7;q.v18=_c4F66engine4core11MarioSprite12collideCheckE8;q.v19=_c4F56engine4core11MarioSprite9bumpCheckE9;q.v20=_c4_76engine4core11MarioSprite17shellCollideCheckE10;q.v21=_c4p56engine4core11MarioSprite7releaseE11;q.v22=_c4V86engine4core11MarioSprite20fireballCollideCheckE12;q.v3=_c4V46engine4core11MarioSprite5cloneE13;N6engine4core11MarioSpriteG=1;cheerpjSafeInitFinish('N6engine4core11MarioSprite');}
function _c4F36engine4core11MarioSpriteC2E0(l,k,j,h,p){var a={p:p,pc:0,f:_c4F36engine4core11MarioSpriteC2E0,l:l,k:+k,j:+j,h:h};a.pc=-127;_n4VYObjectC2E0(l,a);a.pc=-158;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};l.type0=N6engine6helper10SpriteType.UNDEF1;l.initialCode1=cheerpjInternString("");l.x2=k;l.y3=j;l.xa4=cjF(0);l.ya5=cjF(0);l.facing8=1;l.alive9=1;l.world10=null;l.width6=16;l.height7=16;l.type0=h;}function _c4F46engine4core11MarioSprite5cloneE1(d,p){return null;}function _c4F46engine4core11MarioSprite5addedE2(d,p){}function _c4_46engine4core11MarioSprite7removedE3(d,p){}function _c4_46engine4core11MarioSprite7getMapXE4(g,p){var c=-0.,d=0;c=cjF( +g.x2*cjF(.0625));d=~~c;if( +Math.trunc(c)!==cjF((d|0))){return cjN2I(c)|0|0;}return d|0;}function _c4_46engine4core11MarioSprite7getMapYE5(g,p){var c=-0.,d=0;c=cjF( +g.y3*cjF(.0625));d=~~c;if( +Math.trunc(c)!==cjF((d|0))){return cjN2I(c)|0|0;}return d|0;}function _c4V46engine4core11MarioSprite6renderE6(g,e,p){}function _c4V46engine4core11MarioSprite6updateE7(d,p){}function _c4F66engine4core11MarioSprite12collideCheckE8(d,p){}function _c4F56engine4core11MarioSprite9bumpCheckE9(j,h,g,p){}function _c4_76engine4core11MarioSprite17shellCollideCheckE10(g,e,p){return 0|0;}function _c4p56engine4core11MarioSprite7releaseE11(g,e,p){}function _c4V86engine4core11MarioSprite20fireballCollideCheckE12(g,e,p){return 0|0;}function _c4V46engine4core11MarioSprite5cloneE13(d,p){return d.v11(d,p);}function N6engine4core10MarioTimer(){N4java4lang6Object.call(this);this.startTimer0=0;this.startTimer0h=0;this.remainingTime1=0;this.remainingTime1h=0;}
N6engine4core10MarioTimer.cl=cheerpjCL;
function N6engine4core10MarioTimerX(a){a.f=N6engine4core10MarioTimerX;if(cheerpjSafeInitGuard('N6engine4core10MarioTimer')) return;var q=a.q=N6engine4core10MarioTimer.prototype=Object.create(N4java4lang6Object.prototype);q.constructor=N6engine4core10MarioTimer;q.v11=_c4V46engine4core10MarioTimer16getRemaieGmrsiSxn;N6engine4core10MarioTimerG=1;cheerpjSafeInitFinish('N6engine4core10MarioTimer');}
function _c4p36engine4core10MarioTimerC2E0(l,k,j,p){var d=0,c=0;var a={p:p,pc:0,f:_c4p36engine4core10MarioTimerC2E0,l:l,k:k|0,j:j|0};a.pc=-133;_n4VYObjectC2E0(l,a);a.pc=-164;d=_o4_2ystem17currentTimeMillisE14(a)|0;c=hSlot|0;l.startTimer0=d;l.startTimer0h=c;l.remainingTime1=k;l.remainingTime1h=j;}function _c4V46engine4core10MarioTimer16getRemaieGmrsiSxn(k,p){var h=0,g=0,c=0,e=0,d=0;var a={p:p,pc:0,f:_c4V46engine4core10MarioTimer16getRemaieGmrsiSxn,k:k,h:0,g:0};a.h=h=k.remainingTime1|0;a.g=g=k.remainingTime1h|0;a.pc=-218;c=_o4_2ystem17currentTimeMillisE14(a)|0;e=hSlot|0;d=k.startTimer0|0;c=sub64(c>>>0,e>>>0,d>>>0,(k.startTimer0h|0)>>>0)|0;c=sub64(h>>>0,g>>>0,c>>>0,(hSlot|0)>>>0)|0;a.pc=-391;c=_m4pZ4Math3maxE45(0,0,c,(hSlot|0),a)|0;hSlot=(hSlot|0);return c|0;}function _c4p56engine4core10MarioWorld19getSceneObeixb9mSxno(a0,a1,a2,a3,p){var label=0;var a={p:p,f:_c4p56engine4core10MarioWorld19getSceneObeixb9mSxno,l0:a0,l1:a1,l2:a2,l3:a3,l4:null,l5:null,l6:null,l7:null,l8:null,l9:null,l10:null,l11:null,l12:null,s0:null,s1:null,s2:null,s3:null,s4:null};a.pc=0;a.s0=16;a.s1=16;var __i0__=a.s0;var __i1__=a.s1;a.s0=["[[I"];for(var i0=0;i0<__i0__;i0++){a.s1=new Int32Array(1+__i1__);a.s1[0]=73;a.s0[i0+1]=a.s1;}a.l4=a.s0;a.s0=a.l1;a.s0=a.s0;if((a.s0|0)!==Math.trunc(a.s0)){a.s0=cjN2I(a.s0);}else{a.s0=a.s0|0;}a.s1=16;a.s0=a.s0/a.s1>>0;a.l5=a.s0;a.s0=a.l2;a.s0=a.s0;if((a.s0|0)!==Math.trunc(a.s0)){a.s0=cjN2I(a.s0);}else{a.s0=a.s0|0;}a.s1=16;a.s0=a.s0/a.s1>>0;a.l6=a.s0;a.s0=a.l6;a.s1=8;a.s0=a.s0-a.s1>>0;a.l7=a.s0;a.s0=0;a.l8=a.s0;while(1){a.pc=34;a.s0=a.l7;a.s1=a.l6;a.s2=8;a.s1=a.s2+a.s1>>0;if(a.s1<=a.s0){break;}a.pc=44;a.s0=a.l5;a.s1=8;a.s0=a.s0-a.s1>>0;a.l9=a.s0;a.s0=0;a.l10=a.s0;while(1){a.pc=54;a.s0=a.l9;a.s1=a.l5;a.s2=8;a.s1=a.s2+a.s1>>0;if(a.s1<=a.s0){break;}a.pc=64;a.s0=a.l9;a.l11=a.s0;a.s0=a.l11;if(!(a.s0>>0>=0)){a.pc=73;a.s0=0;a.l11=a.s0;}a.pc=76;a.s0=a.l11;a.s1=a.l0;a.s1=a.s1.level7;a.s1=a.s1.tileWidth1;a.s2=1;a.s1=a.s1-a.s2>>0;if(!(a.s1>=a.s0)){a.pc=90;a.s0=a.l0;a.s0=a.s0.level7;a.s0=a.s0.tileWidth1;a.s1=1;a.s0=a.s0-a.s1>>0;a.l11=a.s0;}a.pc=101;a.s0=a.l7;a.l12=a.s0;a.s0=a.l12;if(!(a.s0>>0>=0)){a.pc=110;a.s0=0;a.l12=a.s0;}a.pc=113;a.s0=a.l12;a.s1=a.l0;a.s1=a.s1.level7;a.s1=a.s1.tileHeight3;a.s2=1;a.s1=a.s1-a.s2>>0;if(!(a.s1>=a.s0)){a.pc=127;a.s0=a.l0;a.s0=a.s0.level7;a.s0=a.s0.tileHeight3;a.s1=1;a.s0=a.s0-a.s1>>0;a.l12=a.s0;}a.pc=138;a.s0=a.l4;a.s1=a.l10;a.s0=a.s0[a.s1+1];a.s1=a.l8;a.s2=a.l0;a.s2=a.s2.level7;a.s3=a.l11;a.s4=a.l12;a.pc=-1696;a.s2=a.s2.v13(a.s2,a.s3,a.s4,a);a.s3=a.l3;a.pc=-1749;;if((N6engine4core17MarioForwardModelG|0)==0){cjG(a);}a.pc=158;a.s2=_c4_96engine4core17MarioForwardModel27getBlockValueGeneralizf0JWE1(a.s2,a.s3,a);a.s0[a.s1+1]=a.s2;a.l9+=1;a.l10+=1;}a.pc=170;a.l7+=1;a.l8+=1;}a.pc=179;a.s0=a.l4;return a.s0;}function _c4V56engine4core10MarioWorld21getEnemiesObeixb9mSxDo(a0,a1,a2,a3,p){var label=0;var a={p:p,f:_c4V56engine4core10MarioWorld21getEnemiesObeixb9mSxDo,l0:a0,l1:a1,l2:a2,l3:a3,l4:null,l5:null,l6:null,l7:null,l8:null,l9:null,l10:null,s0:null,s1:null,s2:null,s3:null};a.pc=0;a.s0=16;a.s1=16;var __i0__=a.s0;var __i1__=a.s1;a.s0=["[[I"];for(var i0=0;i0<__i0__;i0++){a.s1=new Int32Array(1+__i1__);a.s1[0]=73;a.s0[i0+1]=a.s1;}a.l4=a.s0;a.s0=a.l1;a.s0=a.s0;if((a.s0|0)!==Math.trunc(a.s0)){a.s0=cjN2I(a.s0);}else{a.s0=a.s0|0;}a.s1=16;a.s0=a.s0/a.s1>>0;a.l5=a.s0;a.s0=a.l2;a.s0=a.s0;if((a.s0|0)!==Math.trunc(a.s0)){a.s0=cjN2I(a.s0);}else{a.s0=a.s0|0;}a.s1=16;a.s0=a.s0/a.s1>>0;a.l6=a.s0;a.s0=0;a.l7=a.s0;while(1){a.pc=27;a.s0=a.l7;a.s1=a.l4;a.s1=a.s1.length-1;if(a.s1<=a.s0){break;}a.pc=35;a.s0=0;a.l8=a.s0;while(1){a.pc=38;a.s0=a.l8;a.s1=a.l4;a.s2=0;a.s1=a.s1[a.s2+1];a.s1=a.s1.length-1;if(a.s1<=a.s0){break;}a.pc=48;a.s0=a.l4;a.s1=a.l7;a.s0=a.s0[a.s1+1];a.s1=a.l8;a.s2=0;a.s0[a.s1+1]=a.s2;a.l8+=1;}a.pc=63;a.l7+=1;}a.pc=69;a.s0=a.l0;a.s0=a.s0.sprites14;a.pc=-1052;a.s0=a.s0.v11(a.s0,a);a.l7=a.s0;while(1){a.pc=78;a.s0=a.l7;a.pc=-1122;a.s0=a.s0.kFaiDsCn96nd(a.s0,a);if(a.s0>>0==0){break;}a.pc=88;a.s0=a.l7;a.pc=-1204;a.s0=a.s0.cSQa1j8Rhd9BmAqcHWe(a.s0,a);a.s0=a.s0;a.s1=a.s0;a.pc=-1273;;if(a.s1&&!(((N6engine4core11MarioSpriteG|0)&&a.s1 instanceof N6engine4core11MarioSprite)>>0)){cjCastFailure(a,a.s1);}a.l8=a.s0;a.s0=a.l8;a.s0=a.s0.type0;a.pc=-1438;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);}a.s1=N6engine6helper10SpriteType.MARIO2;if(!(a.s1!==a.s0)){a.pc=111;continue;}a.pc=114;a.s0=a.l8;a.pc=-1595;a.s0=a.s0.v14(a.s0,a);do{if(!(a.s0>>0<0)){a.pc=122;a.s0=a.l8;a.pc=-1667;a.s0=a.s0.v14(a.s0,a);a.s1=a.l5;a.s2=8;a.s1=a.s1-a.s2>>0;if(a.s1>=a.s0){break;}a.pc=135;a.s0=a.l8;a.pc=-1776;a.s0=a.s0.v14(a.s0,a);a.s1=a.l5;a.s2=8;a.s1=a.s2+a.s1>>0;if(a.s1<=a.s0){break;}a.pc=148;a.s0=a.l8;a.pc=-1885;a.s0=a.s0.v15(a.s0,a);if(a.s0>>0<0){break;}a.pc=156;a.s0=a.l8;a.pc=-1958;a.s0=a.s0.v15(a.s0,a);a.s1=a.l6;a.s2=8;a.s1=a.s1-a.s2>>0;if(a.s1>=a.s0){break;}a.pc=169;a.s0=a.l8;a.pc=-2067;a.s0=a.s0.v15(a.s0,a);a.s1=a.l6;a.s2=8;a.s1=a.s2+a.s1>>0;if(a.s1<=a.s0){break;}a.pc=182;a.s0=a.l8;a.pc=-2176;a.s0=a.s0.v14(a.s0,a);a.s1=a.l5;a.s0=a.s0-a.s1>>0;a.s1=8;a.s0=a.s1+a.s0>>0;a.l9=a.s0;a.s0=a.l8;a.pc=-2282;a.s0=a.s0.v15(a.s0,a);a.s1=a.l6;a.s0=a.s0-a.s1>>0;a.s1=8;a.s0=a.s1+a.s0>>0;a.l10=a.s0;a.s0=a.l4;a.s1=a.l9;a.s0=a.s0[a.s1+1];a.s1=a.l10;a.s2=a.l8;a.s2=a.s2.type0;a.s3=a.l3;a.pc=-2464;;if((N6engine4core17MarioForwardModelG|0)==0){cjG(a);}a.pc=222;a.s2=_c4_96engine4core17MarioForwardModel27getSpriteTypeGeneralizf0JWE0(a.s2,a.s3,a);a.s0[a.s1+1]=a.s2;}}while(0);a.pc=225;}a.pc=228;a.s0=a.l4;return a.s0;}function _c4F56engine4core10MarioWorld20getMergedObeixb9mSxTo(a0,a1,a2,a3,a4,p){var label=0;var a={p:p,f:_c4F56engine4core10MarioWorld20getMergedObeixb9mSxTo,l0:a0,l1:a1,l2:a2,l3:a3,l4:a4,l5:null,l6:null,l7:null,l8:null,l9:null,l10:null,l11:null,l12:null,l13:null,s0:null,s1:null,s2:null,s3:null,s4:null};a.pc=0;a.s0=16;a.s1=16;var __i0__=a.s0;var __i1__=a.s1;a.s0=["[[I"];for(var i0=0;i0<__i0__;i0++){a.s1=new Int32Array(1+__i1__);a.s1[0]=73;a.s0[i0+1]=a.s1;}a.l5=a.s0;a.s0=a.l1;a.s0=a.s0;if((a.s0|0)!==Math.trunc(a.s0)){a.s0=cjN2I(a.s0);}else{a.s0=a.s0|0;}a.s1=16;a.s0=a.s0/a.s1>>0;a.l6=a.s0;a.s0=a.l2;a.s0=a.s0;if((a.s0|0)!==Math.trunc(a.s0)){a.s0=cjN2I(a.s0);}else{a.s0=a.s0|0;}a.s1=16;a.s0=a.s0/a.s1>>0;a.l7=a.s0;a.s0=a.l7;a.s1=8;a.s0=a.s0-a.s1>>0;a.l8=a.s0;a.s0=0;a.l9=a.s0;while(1){a.pc=34;a.s0=a.l8;a.s1=a.l7;a.s2=8;a.s1=a.s2+a.s1>>0;if(a.s1<=a.s0){break;}a.pc=44;a.s0=a.l6;a.s1=8;a.s0=a.s0-a.s1>>0;a.l10=a.s0;a.s0=0;a.l11=a.s0;while(1){a.pc=54;a.s0=a.l10;a.s1=a.l6;a.s2=8;a.s1=a.s2+a.s1>>0;if(a.s1<=a.s0){break;}a.pc=64;a.s0=a.l10;a.l12=a.s0;a.s0=a.l12;if(!(a.s0>>0>=0)){a.pc=73;a.s0=0;a.l12=a.s0;}a.pc=76;a.s0=a.l12;a.s1=a.l0;a.s1=a.s1.level7;a.s1=a.s1.tileWidth1;a.s2=1;a.s1=a.s1-a.s2>>0;if(!(a.s1>=a.s0)){a.pc=90;a.s0=a.l0;a.s0=a.s0.level7;a.s0=a.s0.tileWidth1;a.s1=1;a.s0=a.s0-a.s1>>0;a.l12=a.s0;}a.pc=101;a.s0=a.l8;a.l13=a.s0;a.s0=a.l13;if(!(a.s0>>0>=0)){a.pc=110;a.s0=0;a.l13=a.s0;}a.pc=113;a.s0=a.l13;a.s1=a.l0;a.s1=a.s1.level7;a.s1=a.s1.tileHeight3;a.s2=1;a.s1=a.s1-a.s2>>0;if(!(a.s1>=a.s0)){a.pc=127;a.s0=a.l0;a.s0=a.s0.level7;a.s0=a.s0.tileHeight3;a.s1=1;a.s0=a.s0-a.s1>>0;a.l13=a.s0;}a.pc=138;a.s0=a.l5;a.s1=a.l11;a.s0=a.s0[a.s1+1];a.s1=a.l9;a.s2=a.l0;a.s2=a.s2.level7;a.s3=a.l10;a.s4=a.l8;a.pc=-1710;a.s2=a.s2.v13(a.s2,a.s3,a.s4,a);a.s3=a.l3;a.pc=-1763;;if((N6engine4core17MarioForwardModelG|0)==0){cjG(a);}a.pc=158;a.s2=_c4_96engine4core17MarioForwardModel27getBlockValueGeneralizf0JWE1(a.s2,a.s3,a);a.s0[a.s1+1]=a.s2;a.l10+=1;a.l11+=1;}a.pc=170;a.l8+=1;a.l9+=1;}a.pc=179;a.s0=a.l0;a.s0=a.s0.sprites14;a.pc=-2024;a.s0=a.s0.v11(a.s0,a);a.l8=a.s0;while(1){a.pc=188;a.s0=a.l8;a.pc=-2095;a.s0=a.s0.kFaiDsCn96nd(a.s0,a);if(a.s0>>0==0){break;}a.pc=198;a.s0=a.l8;a.pc=-2178;a.s0=a.s0.cSQa1j8Rhd9BmAqcHWe(a.s0,a);a.s0=a.s0;a.s1=a.s0;a.pc=-2247;;if(a.s1&&!(((N6engine4core11MarioSpriteG|0)&&a.s1 instanceof N6engine4core11MarioSprite)>>0)){cjCastFailure(a,a.s1);}a.l9=a.s0;a.s0=a.l9;a.s0=a.s0.type0;a.pc=-2412;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);}a.s1=N6engine6helper10SpriteType.MARIO2;if(!(a.s1!==a.s0)){a.pc=221;continue;}a.pc=224;a.s0=a.l9;a.pc=-2569;a.s0=a.s0.v14(a.s0,a);do{if(!(a.s0>>0<0)){a.pc=232;a.s0=a.l9;a.pc=-2641;a.s0=a.s0.v14(a.s0,a);a.s1=a.l6;a.s2=8;a.s1=a.s1-a.s2>>0;if(a.s1>=a.s0){break;}a.pc=245;a.s0=a.l9;a.pc=-2750;a.s0=a.s0.v14(a.s0,a);a.s1=a.l6;a.s2=8;a.s1=a.s2+a.s1>>0;if(a.s1<=a.s0){break;}a.pc=258;a.s0=a.l9;a.pc=-2859;a.s0=a.s0.v15(a.s0,a);if(a.s0>>0<0){break;}a.pc=266;a.s0=a.l9;a.pc=-2932;a.s0=a.s0.v15(a.s0,a);a.s1=a.l7;a.s2=8;a.s1=a.s1-a.s2>>0;if(a.s1>=a.s0){break;}a.pc=279;a.s0=a.l9;a.pc=-3041;a.s0=a.s0.v15(a.s0,a);a.s1=a.l7;a.s2=8;a.s1=a.s2+a.s1>>0;if(a.s1<=a.s0){break;}a.pc=292;a.s0=a.l9;a.pc=-3150;a.s0=a.s0.v14(a.s0,a);a.s1=a.l6;a.s0=a.s0-a.s1>>0;a.s1=8;a.s0=a.s1+a.s0>>0;a.l10=a.s0;a.s0=a.l9;a.pc=-3257;a.s0=a.s0.v15(a.s0,a);a.s1=a.l7;a.s0=a.s0-a.s1>>0;a.s1=8;a.s0=a.s1+a.s0>>0;a.l11=a.s0;a.s0=a.l9;a.s0=a.s0.type0;a.s1=a.l4;a.pc=-3390;;if((N6engine4core17MarioForwardModelG|0)==0){cjG(a);}a.pc=326;a.s0=_c4_96engine4core17MarioForwardModel27getSpriteTypeGeneralizf0JWE0(a.s0,a.s1,a);a.l12=a.s0;a.s0=a.l12;a.pc=-3571;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);}a.s1=N6engine6helper10SpriteType.NONE0;a.pc=-3670;a.s1=a.s1.v16(a.s1,a);if(a.s1===a.s0){break;}a.pc=341;a.s0=a.l5;a.s1=a.l10;a.s0=a.s0[a.s1+1];a.s1=a.l11;a.s2=a.l12;a.s0[a.s1+1]=a.s2;}}while(0);a.pc=351;}a.pc=354;a.s0=a.l5;return a.s0;}var N6engine4core10MarioWorldG;
function N6engine4core10MarioWorld(){N4java4lang6Object.call(this);this.gameStatus0=null;this.pauseTimer1=0;this.fireballsOnScreen2=0;this.currentTimer3=0;this.cameraX4=-0;this.cameraY5=-0;this.mario6=null;this.level7=null;this.visuals8=0;this.currentTick9=0;this.coins10=0;this.lives11=0;this.lastFrameEvents12=null;this.killEvents13=null;this.sprites14=null;this.shellsToCheck15=null;this.fireballsToCheck16=null;this.addedSprites17=null;this.removedSprites18=null;this.effects19=null;this.backgrounds20=null;}
N6engine4core10MarioWorld.cl=cheerpjCL;
function N6engine4core10MarioWorldX(a){a.f=N6engine4core10MarioWorldX;if(cheerpjSafeInitGuard('N6engine4core10MarioWorld')) return;var q=a.q=N6engine4core10MarioWorld.prototype=Object.create(N4java4lang6Object.prototype);q.constructor=N6engine4core10MarioWorld;q.v11=_c4F76engine4core10MarioWorld17initializeVisualsE1;q.v12=_c4_66engine4core10MarioWorld15initializeLevelE2;q.v13=_c4V56engine4core10MarioWorld10getEnemiesE3;q.v14=_c4p46engine4core10MarioWorld5cloneE4;q.v15=_c4_46engine4core10MarioWorld8addEventE5;q.v16=_c4p56engine4core10MarioWorld9addEffectE6;q.v17=_c4p56engine4core10MarioWorld9addSpriteE7;q.v18=_c4p66engine4core10MarioWorld12removeSpriteE8;q.v19=_c4F26engine4core10MarioWorld1eam0ckShellCollideE9;q.v20=_c4F86engine4core10MarioWorld20checkFireballCollideE10;q.v21=_c4_36engine4core10MarioWorld3winE11;q.v22=_c4p46engine4core10MarioWorld4loseE12;q.v23=_c4_46engine4core10MarioWorld7timeoutE13;q.v24=_c4p56engine4core10MarioWorld19getSceneObeixb9mSxno;q.v25=_c4V56engine4core10MarioWorld21getEnemiesObeixb9mSxDo;q.v26=_c4F56engine4core10MarioWorld20getMergedObeixb9mSxTo;q.v27=_c4V46engine4core10MarioWorld6updateE18;q.v28=_c4p46engine4core10MarioWorld4bumpE19;q.v29=_c4p56engine4core10MarioWorld8bumpIntoE20;q.v30=_c4V46engine4core10MarioWorld6renderE21;q.v3=_c4F46engine4core10MarioWorld5cloneE22;N6engine4core10MarioWorldG=1;cheerpjSafeInitFinish('N6engine4core10MarioWorld');}
var N6engine4core10MarioLevelG;
var N6engine7effects11BrickEffectG;
var N6engine7effects10CoinEffectG;
var N6engine7effects14FireballEffectG;
var N6engine8graphics15MarioBackgroundG;
var N6engine7sprites10BulletBillG;
var N6engine7sprites5EnemyG;
var N6engine7sprites10FireFlowerG;
var N6engine7sprites8FireballG;
var N6engine7sprites11FlowerEnemyG;
var N6engine7sprites12LifeMushroomG;
var N6engine7sprites5MarioG;
var N6engine7sprites8MushroomG;
var N6engine7sprites5ShellG;
function _c4p36engine4core10MarioWorldC2E0(h,g,p){var c=null;var a={p:p,pc:0,f:_c4p36engine4core10MarioWorldC2E0,h:h,g:g,c:null};a.pc=-129;_n4VYObjectC2E0(h,a);h.pauseTimer1=0;h.fireballsOnScreen2=0;h.currentTimer3= -1;c=["[Lengine/graphics/MarioBackground;"];for(var i=1;i<=2;i=i+1|0)c[i|0]=null;;h.backgrounds20=c;h.pauseTimer1=0;a.pc=-332;;if((N6engine6helper10GameStatusG|0)==0){cjG(a);};h.gameStatus0=N6engine6helper10GameStatus.RUNNING0;a.pc=-443;;if((N4java4util9ArrayListG|0)==0){cjG(a);};a.c=c=new N4java4util9ArrayList();a.pc=-531;_i4pbN6CVwueawjI0eNTxn(c,a);h.sprites14=c;a.c=c=new N4java4util9ArrayList();a.pc=-617;_i4pbN6CVwueawjI0eNTxn(c,a);h.shellsToCheck15=c;a.c=c=new N4java4util9ArrayList();a.pc=-709;_i4pbN6CVwueawjI0eNTxn(c,a);h.fireballsToCheck16=c;a.c=c=new N4java4util9ArrayList();a.pc=-804;_i4pbN6CVwueawjI0eNTxn(c,a);h.addedSprites17=c;a.c=c=new N4java4util9ArrayList();a.pc=-895;_i4pbN6CVwueawjI0eNTxn(c,a);h.removedSprites18=c;a.c=c=new N4java4util9ArrayList();a.pc=-988;_i4pbN6CVwueawjI0eNTxn(c,a);h.effects19=c;a.c=c=new N4java4util9ArrayList();a.pc=-1074;_i4pbN6CVwueawjI0eNTxn(c,a);h.lastFrameEvents12=c;h.killEvents13=g;}function _c4F76engine4core10MarioWorld17initializeVisualsE1(k,j,p){var d=null,c=null,e=null;var a={p:p,pc:0,f:_c4F76engine4core10MarioWorld17initializeVisualsE1,k:k,j:j,d:null,c:null,e:null};a.d=d=["[[I"];for(var i=1;i<=16;i=i+1|0)d[i|0]=null;;c=new Int32Array(2);c[0]=73;c[1]=42;d[1]=c;c=new Int32Array(2);c[0]=73;c[1]=42;d[2]=c;c=new Int32Array(2);c[0]=73;c[1]=42;d[3]=c;c=new Int32Array(2);c[0]=73;c[1]=42;d[4]=c;c=new Int32Array(2);c[0]=73;c[1]=42;d[5]=c;c=new Int32Array(2);c[0]=73;c[1]=42;d[6]=c;c=new Int32Array(2);c[0]=73;c[1]=42;d[7]=c;c=new Int32Array(2);c[0]=73;c[1]=42;d[8]=c;c=new Int32Array(2);c[0]=73;c[1]=42;d[9]=c;c=new Int32Array(2);c[0]=73;c[1]=42;d[10]=c;c=new Int32Array(2);c[0]=73;c[1]=42;d[11]=c;c=new Int32Array(2);c[0]=73;c[1]=42;d[12]=c;c=new Int32Array(2);c[0]=73;c[1]=42;d[13]=c;c=new Int32Array(2);c[0]=73;c[1]=42;d[14]=c;c=new Int32Array(2);c[0]=73;c[1]=42;d[15]=c;c=new Int32Array(2);c[0]=73;c[1]=42;d[16]=c;a.c=c=k.backgrounds20;a.pc=-961;;if((N6engine8graphics15MarioBackgroundG|0)==0){cjG(a);};a.e=e=new N6engine8graphics15MarioBackground();a.pc=-1075;_c4F56engine8graphics15MarioBackgroundC2E0(e,j,256,d,a);c[1]=e;d=["[[I"];for(var i=1;i<=9;i=i+1|0)d[i|0]=null;;c=new Int32Array(17);c[0]=73;c[1]=0;c[2]=0;c[3]=0;c[4]=0;c[5]=0;c[6]=0;c[7]=0;c[8]=0;c[9]=0;c[10]=0;c[11]=0;c[12]=0;c[13]=0;c[14]=0;c[15]=0;c[16]=0;d[1]=c;c=new Int32Array(17);c[0]=73;c[1]=0;c[2]=0;c[3]=0;c[4]=0;c[5]=0;c[6]=0;c[7]=0;c[8]=0;c[9]=0;c[10]=0;c[11]=0;c[12]=0;c[13]=0;c[14]=0;c[15]=0;c[16]=0;d[2]=c;c=new Int32Array(17);c[0]=73;c[1]=31;c[2]=32;c[3]=33;c[4]=0;c[5]=0;c[6]=0;c[7]=0;c[8]=0;c[9]=0;c[10]=0;c[11]=0;c[12]=0;c[13]=0;c[14]=0;c[15]=0;c[16]=0;d[3]=c;c=new Int32Array(17);c[0]=73;c[1]=34;c[2]=35;c[3]=36;c[4]=0;c[5]=0;c[6]=0;c[7]=0;c[8]=0;c[9]=0;c[10]=0;c[11]=0;c[12]=0;c[13]=0;c[14]=0;c[15]=0;c[16]=0;d[4]=c;c=new Int32Array(17);c[0]=73;c[1]=0;c[2]=0;c[3]=0;c[4]=0;c[5]=0;c[6]=0;c[7]=0;c[8]=0;c[9]=0;c[10]=0;c[11]=0;c[12]=0;c[13]=0;c[14]=0;c[15]=0;c[16]=0;d[5]=c;c=new Int32Array(17);c[0]=73;c[1]=0;c[2]=0;c[3]=0;c[4]=0;c[5]=0;c[6]=0;c[7]=0;c[8]=0;c[9]=31;c[10]=32;c[11]=33;c[12]=0;c[13]=0;c[14]=0;c[15]=0;c[16]=0;d[6]=c;c=new Int32Array(17);c[0]=73;c[1]=0;c[2]=0;c[3]=0;c[4]=0;c[5]=0;c[6]=0;c[7]=0;c[8]=0;c[9]=34;c[10]=35;c[11]=36;c[12]=0;c[13]=0;c[14]=0;c[15]=0;c[16]=0;d[7]=c;c=new Int32Array(17);c[0]=73;c[1]=0;c[2]=0;c[3]=0;c[4]=0;c[5]=0;c[6]=0;c[7]=0;c[8]=0;c[9]=0;c[10]=0;c[11]=0;c[12]=0;c[13]=0;c[14]=0;c[15]=0;c[16]=0;d[8]=c;c=new Int32Array(17);c[0]=73;c[1]=0;c[2]=0;c[3]=0;c[4]=0;c[5]=0;c[6]=0;c[7]=0;c[8]=0;c[9]=0;c[10]=0;c[11]=0;c[12]=0;c[13]=0;c[14]=0;c[15]=0;c[16]=0;d[9]=c;a.c=c=k.backgrounds20;a.e=e=new N6engine8graphics15MarioBackground();a.pc=-2673;_c4F56engine8graphics15MarioBackgroundC2E0(e,j,256,d,a);c[2]=e;}function _c4_66engine4core10MarioWorld15initializeLevelE2(m,l,k,p){var c=null,e=0,d=0;var a={p:p,pc:0,f:_c4_66engine4core10MarioWorld15initializeLevelE2,m:m,l:l,c:null};m.currentTimer3=k;a.pc=-187;;if((N6engine4core10MarioLevelG|0)==0){cjG(a);};a.c=c=new N6engine4core10MarioLevel();a.pc=-283;_c4p36engine4core10MarioLevelC2E0(c,l,((m.visuals8|0)&255),a);m.level7=c;a.pc=-366;;if((N6engine7sprites5MarioG|0)==0){cjG(a);};a.c=c=new N6engine7sprites5Mario();e=m.visuals8|0;d=m.level7.marioTileX5|0;a.pc=-496;_c4F26engine7sprites5MarioC2E0(c,(e&255),cjF((d<<4|0)),cjF(((m.level7.marioTileY6|0)<<4|0)),a);m.mario6=c;m.mario6.alive9=1;m.mario6.world10=m;c=m.sprites14;c.v17(c,m.mario6,p)|0;}function _c4V56engine4core10MarioWorld10getEnemiesE3(j,p){var g=null,e=null,d=0,c=null;var a={p:p,pc:0,f:_c4V56engine4core10MarioWorld10getEnemiesE3,j:j,g:null,e:null,c:null};a.pc=-175;;if((N4java4util9ArrayListG|0)==0){cjG(a);};a.g=g=new N4java4util9ArrayList();a.pc=-263;_i4pbN6CVwueawjI0eNTxn(g,a);a.pc=-301;a.e=e=j.sprites14.v11(j.sprites14,a);a.pc=-348;d=e.kFaiDsCn96nd(e,a)|0;if((d|0)!==0){while(1){a.pc=-405;a.c=c=e.cSQa1j8Rhd9BmAqcHWe(e,a);a.pc=31;;if(c&&!(((N6engine4core11MarioSpriteG|0)&&c instanceof N6engine4core11MarioSprite)>>0)){cjCastFailure(a,c);};a.pc=-566;d=_c4_46engine4core10MarioWorld7isEnemyE17(j,c,a)|0;if((d|0)!==0){a.pc=-642;g.v17(g,c,a)|0;}a.pc=-668;d=e.kFaiDsCn96nd(e,a)|0;if((d|0)!==0)continue;break;}}return g;}function _c4p46engine4core10MarioWorld5cloneE4(k,p){var c=null,e=null,g=0,d=null,h=null;var a={p:p,pc:0,f:_c4p46engine4core10MarioWorld5cloneE4,k:k,c:null,e:null,d:null,h:null};a.c=c=new N6engine4core10MarioWorld();a.pc=-215;_c4p36engine4core10MarioWorldC2E0(c,k.killEvents13,a);c.visuals8=0;c.cameraX4= +k.cameraX4;c.cameraY5= +k.cameraY5;c.fireballsOnScreen2=(k.fireballsOnScreen2|0);c.gameStatus0=k.gameStatus0;c.pauseTimer1=(k.pauseTimer1|0);c.currentTimer3=(k.currentTimer3|0);c.currentTick9=(k.currentTick9|0);a.pc=-516;e=k.level7.v11(k.level7,a);c.level7=e;a.pc=-564;a.e=e=k.sprites14.v11(k.sprites14,a);a.pc=-611;g=e.kFaiDsCn96nd(e,a)|0;if((g|0)!==0){while(1){a.pc=-668;a.d=d=e.cSQa1j8Rhd9BmAqcHWe(e,a);a.pc=107;;if(d&&!(((N6engine4core11MarioSpriteG|0)&&d instanceof N6engine4core11MarioSprite)>>0)){cjCastFailure(a,d);};a.pc=-830;a.d=d=d.v11(d,a);d.world10=c;a.h=h=d.type0;a.pc=-883;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};if(h===N6engine6helper10SpriteType.MARIO2){a.pc=137;;if(d&&!(((N6engine7sprites5MarioG|0)&&d instanceof N6engine7sprites5Mario)>>0)){cjCastFailure(a,d);};c.mario6=d;}a.pc=-1109;c.sprites14.v17(c.sprites14,d,a)|0;a.pc=-1155;g=e.kFaiDsCn96nd(e,a)|0;if((g|0)!==0)continue;break;}}if(c.mario6===null){a.pc=-1240;a.e=e=k.mario6.v11(k.mario6,a);a.pc=171;;if(e&&!(((N6engine7sprites5MarioG|0)&&e instanceof N6engine7sprites5Mario)>>0)){cjCastFailure(a,e);};c.mario6=e;}c.coins10=(k.coins10|0);c.lives11=(k.lives11|0);return c;}function _c4_46engine4core10MarioWorld8addEventE5(q,o,n,p){var d=0,j=0,h=null,c=null,g=-0.,e=-0.;var a=new createStacklet_c4_46engine4core10MarioWorld8addEventE5(p,q,o,n);d=q.mario6.isLarge11|0;j=q.mario6.isFire12|0;a.d=d=(j&255)===0?((d&255)!==0?1:0)|0:2|0;a.h=h=q.lastFrameEvents12;a.pc=-284;;if((N6engine4core10MarioEventG|0)==0){cjG(a);};a.c=c=new N6engine4core10MarioEvent();g=+q.mario6.x2;e=+q.mario6.y3;a.pc=-410;_c4p36engine4core10MarioEventC2E3(c,o,n,g,e,d,(q.currentTick9|0),a);h.v17(h,c,p)|0;}function _c4p56engine4core10MarioWorld9addEffectE6(g,e,p){g.effects19.v17(g.effects19,e,p)|0;}function _c4p56engine4core10MarioWorld9addSpriteE7(g,e,p){var a={p:p,pc:0,f:_c4p56engine4core10MarioWorld9addSpriteE7,g:g,e:e};a.pc=-127;g.addedSprites17.v17(g.addedSprites17,e,a)|0;e.alive9=1;e.world10=g;a.pc=-205;e.v12(e,a);e.v17(e,p);}function _c4p66engine4core10MarioWorld12removeSpriteE8(g,e,p){var a={p:p,pc:0,f:_c4p66engine4core10MarioWorld12removeSpriteE8,e:e};a.pc=-131;g.removedSprites18.v17(g.removedSprites18,e,a)|0;e.alive9=0;a.pc=-201;e.v13(e,a);e.world10=null;}function _c4F26engine4core10MarioWorld1eam0ckShellCollideE9(g,e,p){g.shellsToCheck15.v17(g.shellsToCheck15,e,p)|0;}function _c4F86engine4core10MarioWorld20checkFireballCollideE10(g,e,p){g.fireballsToCheck16.v17(g.fireballsToCheck16,e,p)|0;}function _c4_36engine4core10MarioWorld3winE11(d,p){var a={p:p,pc:0,f:_c4_36engine4core10MarioWorld3winE11,d:d};a.pc=-111;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-169;d.v15(d,N6engine6helper9EventType.WIN11,0,a);a.pc=-224;;if((N6engine6helper10GameStatusG|0)==0){cjG(a);};d.gameStatus0=N6engine6helper10GameStatus.WIN1;}function _c4p46engine4core10MarioWorld4loseE12(d,p){var a={p:p,pc:0,f:_c4p46engine4core10MarioWorld4loseE12,d:d};a.pc=-113;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-171;d.v15(d,N6engine6helper9EventType.LOSE10,0,a);a.pc=-227;;if((N6engine6helper10GameStatusG|0)==0){cjG(a);};d.gameStatus0=N6engine6helper10GameStatus.LOSE2;d.mario6.alive9=0;}function _c4_46engine4core10MarioWorld7timeoutE13(d,p){var a={p:p,pc:0,f:_c4_46engine4core10MarioWorld7timeoutE13,d:d};a.pc=-119;;if((N6engine6helper10GameStatusG|0)==0){cjG(a);};d.gameStatus0=N6engine6helper10GameStatus.TIME_OUT3;d.mario6.alive9=0;}function _c4_46engine4core10MarioWorld7isEnemyE17(g,e,p){if(!(((N6engine7sprites5EnemyG|0)&&e instanceof N6engine7sprites5Enemy)>>0|0)){if(!(((N6engine7sprites11FlowerEnemyG|0)&&e instanceof N6engine7sprites11FlowerEnemy)>>0|0)){return (((N6engine7sprites10BulletBillG|0)&&e instanceof N6engine7sprites10BulletBill)>>0|0?1:0)|0;}}return 1|0;}function _c4V46engine4core10MarioWorld6updateE18(t,s,p){var c=0,g=0,l=0,e=null,h=-0.,d=null,k=null,j=null,o=0,m=-0.,n=0;var a=new createStacklet_c4V46engine4core10MarioWorld6updateE18(p,t,s);a.e=e=t.gameStatus0;a.pc=-211;;if((N6engine6helper10GameStatusG|0)==0){cjG(a);};L0:do{if(e===N6engine6helper10GameStatus.RUNNING0){if((t.pauseTimer1|0|0)<1){if((t.currentTimer3|0|0)>=1){t.currentTimer3=((t.currentTimer3|0)-30|0);if((t.currentTimer3|0|0)<=0){t.currentTimer3=0;a.pc=-467;t.v23(t,a);break L0;}}t.currentTick9=((t.currentTick9|0)+1|0);t.cameraX4=cjF( +t.mario6.x2+cjF(-128));h=+t.cameraX4;if(cjF(h+cjF(256))>cjF((t.level7.width0|0|0))){t.cameraX4=cjF(((t.level7.width0|0)-256|0));}if( +t.cameraX4<cjF(0)){t.cameraX4=cjF(0);}t.cameraY5=cjF( +t.mario6.y3+cjF(-128));h=+t.cameraY5;if(cjF(h+cjF(256))>cjF((t.level7.height2|0|0))){t.cameraY5=cjF(((t.level7.height2|0)-256|0));}if( +t.cameraY5<cjF(0)){t.cameraY5=cjF(0);}a.pc=-919;t.lastFrameEvents12.v23(t.lastFrameEvents12,a);t.fireballsOnScreen2=0;a.pc=-999;a.e=e=t.sprites14.v11(t.sprites14,a);a.pc=-1046;c=e.kFaiDsCn96nd(e,a)|0;if((c|0)!==0){while(1){a.pc=-1104;a.d=d=e.cSQa1j8Rhd9BmAqcHWe(e,a);a.pc=249;;if(d&&!(((N6engine4core11MarioSpriteG|0)&&d instanceof N6engine4core11MarioSprite)>>0)){cjCastFailure(a,d);};m=+d.x2;L1:do{if(!(m<cjF( +t.cameraX4+cjF(-64)))){m=+d.x2;h=cjF(cjF( +t.cameraX4+cjF(256))+cjF(64));if(!(m>h&&m>=h)){m=+d.y3;if(!(m>cjF(((t.level7.height2|0)+32|0)))){a.d=d=d.type0;a.pc=-1448;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};if(d!==N6engine6helper10SpriteType.FIREBALL3)break L1;t.fireballsOnScreen2=((t.fireballsOnScreen2|0)+1|0);break L1;}}}a.k=k=d.type0;a.pc=-1641;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};if(k===N6engine6helper10SpriteType.MARIO2){a.pc=-1745;t.v22(t,a);}a.pc=-1768;t.v18(t,d,a);a.pc=-1792;c=_c4_46engine4core10MarioWorld7isEnemyE17(t,d,a)|0;if((c|0)!==0){if( +d.y3>cjF(288)){a.pc=-1889;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.k=k=N6engine6helper9EventType.FALL_KILL4;a.pc=-1991;c=d.type0.v16(d.type0,a)|0;a.pc=-2029;t.v15(t,k,c,a);}}}while(0);a.pc=-2067;c=e.kFaiDsCn96nd(e,a)|0;if((c|0)!==0)continue;break;}}e=t.level7;h=+t.cameraX4;c=~~h;if( +Math.trunc(h)!==cjF((c|0))){c=cjN2I(h)|0;}h=+t.cameraY5;g=~~h;if( +Math.trunc(h)!==cjF((g|0))){g=cjN2I(h)|0;}a.pc=-2277;e.v20(e,c,g,a);h=+t.cameraX4;c=~~h;if( +Math.trunc(h)!==cjF((c|0))){c=cjN2I(h)|0;}a.c=c=((c|0)/16|0)-1|0;L1:while(1){h=cjF( +t.cameraX4+cjF(256));g=~~h;if( +Math.trunc(h)!==cjF((g|0))){g=cjN2I(h)|0;}if((c|0)>(((g|0)/16|0)+1|0)){t.mario6.actions18=s;a.pc=-2537;a.e=e=t.sprites14.v11(t.sprites14,a);a.pc=-2585;c=e.kFaiDsCn96nd(e,a)|0;if((c|0)!==0){while(1){a.pc=-2643;a.d=d=e.cSQa1j8Rhd9BmAqcHWe(e,a);a.pc=780;;if(d&&!(((N6engine4core11MarioSpriteG|0)&&d instanceof N6engine4core11MarioSprite)>>0)){cjCastFailure(a,d);};if(((d.alive9|0)&255)!==0){a.pc=-2833;d.v17(d,a);}a.pc=-2856;c=e.kFaiDsCn96nd(e,a)|0;if((c|0)!==0)continue;break;}}a.pc=-2921;a.e=e=t.sprites14.v11(t.sprites14,a);a.pc=-2969;c=e.kFaiDsCn96nd(e,a)|0;if((c|0)!==0){while(1){a.pc=-3027;a.d=d=e.cSQa1j8Rhd9BmAqcHWe(e,a);a.pc=824;;if(d&&!(((N6engine4core11MarioSpriteG|0)&&d instanceof N6engine4core11MarioSprite)>>0)){cjCastFailure(a,d);};if(((d.alive9|0)&255)!==0){a.pc=-3217;d.v18(d,a);}a.pc=-3240;c=e.kFaiDsCn96nd(e,a)|0;if((c|0)!==0)continue;break;}}a.pc=-3305;a.e=e=t.shellsToCheck15.v11(t.shellsToCheck15,a);a.pc=-3365;c=e.kFaiDsCn96nd(e,a)|0;if((c|0)!==0){while(1){a.pc=-3423;a.d=d=e.cSQa1j8Rhd9BmAqcHWe(e,a);a.pc=868;;if(d&&!(((N6engine7sprites5ShellG|0)&&d instanceof N6engine7sprites5Shell)>>0)){cjCastFailure(a,d);};a.pc=-3578;a.k=k=t.sprites14.v11(t.sprites14,a);a.pc=-3626;c=k.kFaiDsCn96nd(k,a)|0;if((c|0)!==0){while(1){a.pc=-3684;a.j=j=k.cSQa1j8Rhd9BmAqcHWe(k,a);a.pc=898;;if(j&&!(((N6engine4core11MarioSpriteG|0)&&j instanceof N6engine4core11MarioSprite)>>0)){cjCastFailure(a,j);};if(j!==d){if(((d.alive9|0)&255)!==0){if(((j.alive9|0)&255)!==0){a.pc=-3911;c=j.v20(j,d,a)|0;if((c|0)!==0){a.pc=-3953;t.v18(t,j,a);}}}}a.pc=-3981;c=k.kFaiDsCn96nd(k,a)|0;if((c|0)!==0)continue;break;}}a.pc=-4046;c=e.kFaiDsCn96nd(e,a)|0;if((c|0)!==0)continue;break;}}a.pc=-4111;t.shellsToCheck15.v23(t.shellsToCheck15,a);a.pc=-4165;a.e=e=t.fireballsToCheck16.v11(t.fireballsToCheck16,a);a.pc=-4231;c=e.kFaiDsCn96nd(e,a)|0;if((c|0)!==0){while(1){a.pc=-4289;a.d=d=e.cSQa1j8Rhd9BmAqcHWe(e,a);a.pc=975;;if(d&&!(((N6engine7sprites8FireballG|0)&&d instanceof N6engine7sprites8Fireball)>>0)){cjCastFailure(a,d);};a.pc=-4450;a.k=k=t.sprites14.v11(t.sprites14,a);a.pc=-4498;c=k.kFaiDsCn96nd(k,a)|0;if((c|0)!==0){while(1){a.pc=-4556;a.j=j=k.cSQa1j8Rhd9BmAqcHWe(k,a);a.pc=1005;;if(j&&!(((N6engine4core11MarioSpriteG|0)&&j instanceof N6engine4core11MarioSprite)>>0)){cjCastFailure(a,j);};if(j!==d){if(((d.alive9|0)&255)!==0){if(((j.alive9|0)&255)!==0){a.pc=-4784;c=j.v22(j,d,a)|0;if((c|0)!==0){if(((t.visuals8|0)&255)!==0){a.pc=-4855;;if((N6engine7effects14FireballEffectG|0)==0){cjG(a);};a.j=j=new N6engine7effects14FireballEffect();h=+d.x2;a.pc=-4974;_c4V26engine7effects14FireballEfbHaciShn(j,h, +d.y3,a);a.pc=-5040;t.v16(t,j,a);}a.pc=-5065;t.v18(t,d,a);}}}}a.pc=-5093;c=k.kFaiDsCn96nd(k,a)|0;if((c|0)!==0)continue;break;}}a.pc=-5158;c=e.kFaiDsCn96nd(e,a)|0;if((c|0)!==0)continue;break;}}a.pc=-5223;t.fireballsToCheck16.v23(t.fireballsToCheck16,a);e=t.sprites14;a.pc=-5297;e.v30(e,0,t.addedSprites17,a)|0;e=t.sprites14;a.pc=-5354;e.v21(e,t.removedSprites18,a)|0;a.pc=-5397;t.addedSprites17.v23(t.addedSprites17,a);a.pc=-5449;t.removedSprites18.v23(t.removedSprites18,a);if(t.killEvents13!==null){a.e=e=t.killEvents13;a.c=c=e.length-1|0;if((c|0)>0){g=0;while(1){a.g=g=g+1|0;d=e[g];a.pc=-5615;l=t.lastFrameEvents12.v14(t.lastFrameEvents12,d,a)|0;if((l|0)!==0){a.pc=-5693;t.v22(t,a);}if((g|0)<(c|0)){g=g;continue;}break;}}}}else{h=+t.cameraY5;g=~~h;if( +Math.trunc(h)!==cjF((g|0))){g=cjN2I(h)|0;}a.o=o=(c<<4)+8|0;a.h=h=cjF((o|0));a.g=g=((g|0)/16|0)-1|0;while(1){m=cjF( +t.cameraY5+cjF(256));l=~~m;if( +Math.trunc(m)!==cjF((l|0))){l=cjN2I(m)|0;}if((g|0)>(((l|0)/16|0)+1|0)){a.c=c=c+1|0;continue L1;}if(h>cjF( +t.mario6.x2+cjF(16))){l=-1;}else{l=0;}if(h<cjF( +t.mario6.x2+cjF(-16))){a.l=l=1;}else{a.l=l=l;}a.pc=-6136;a.e=e=t.level7.v16(t.level7,c,g,a);a.pc=-6182;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};if(e!==N6engine6helper10SpriteType.NONE0){a.pc=-6285;a.d=d=t.level7.v19(t.level7,c,g,a);a.pc=-6331;a.k=k=t.sprites14.v11(t.sprites14,a);while(1){a.pc=-6388;n=k.kFaiDsCn96nd(k,a)|0;if((n|0)===0){a.pc=-6437;n=t.level7.v17(t.level7,c,g,a)|0;if((n|0)!==((t.currentTick9|0)-1|0)){a.pc=-6518;e=e.v18(e,((t.visuals8|0)&255),c,g,l,a);e.initialCode1=d;a.pc=-6586;t.v17(t,e,a);}}else{a.pc=-6617;a.j=j=k.cSQa1j8Rhd9BmAqcHWe(k,a);a.pc=567;;if(j&&!(((N6engine4core11MarioSpriteG|0)&&j instanceof N6engine4core11MarioSprite)>>0)){cjCastFailure(a,j);};a.pc=-6780;n=j.initialCode1.v2(j.initialCode1,d,a)|0;if((n|0)===0)continue;}break;}e=t.level7;a.pc=-6874;e.v18(e,c,g,(t.currentTick9|0),a);}if((l|0)!==0){a.pc=-6934;a.n=n=t.level7.v13(t.level7,c,g,a)|0;a.pc=-6982;;if((N6engine6helper11TileFeatureG|0)==0){cjG(a);};a.pc=-7044;e=_c4p46engine6helper11TileFeature11gete9GXTypeE3(n,a);a.pc=-7110;n=e.v14(e,N6engine6helper11TileFeature.SPAWNER9,a)|0;if((n|0)!==0){if(((t.currentTick9|0|0)%100|0)===0){a.pc=-7225;;if((N6engine7sprites10BulletBillG|0)==0){cjG(a);};a.e=e=new N6engine7sprites10BulletBill();a.pc=-7328;_c4_36engine7sprites10BulletBillC2E0(e,((t.visuals8|0)&255),cjF(((l<<3)+o|0)),cjF(((g<<4)+15|0)),l,a);a.pc=-7441;t.v17(t,e,a);}}}a.g=g=g+1|0;continue;}}break;}}else{t.pauseTimer1=((t.pauseTimer1|0)-1|0);if(((t.visuals8|0)&255)!==0){a.pc=-7571;t.mario6.v23(t.mario6,a);}}}}while(0);}function _c4p46engine4core10MarioWorld4bumpE19(t,s,r,q,p){var e=0,c=null,k=0,g=-0.,j=-0.,h=-0.,d=null;var a=new createStacklet_c4p46engine4core10MarioWorld4bumpE19(p,t,s,r,q);a.pc=-175;a.e=e=t.level7.v13(t.level7,s,r,a)|0;a.pc=-222;;if((N6engine6helper11TileFeatureG|0)==0){cjG(a);};a.pc=-283;a.c=c=_c4p46engine6helper11TileFeature11gete9GXTypeE3(e,a);a.pc=-352;e=c.v14(c,N6engine6helper11TileFeature.BUMPABLE5,a)|0;if((e|0)!==0){a.pc=-430;t.v29(t,s,(r-1|0),a);a.pc=-461;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-519;t.v15(t,N6engine6helper9EventType.BUMP0,24,a);a.pc=-575;t.level7.v14(t.level7,s,r,14,a);a.pc=-617;t.level7.v15(t.level7,s,r,4,a);a.pc=-658;e=c.v14(c,N6engine6helper11TileFeature.SPECIAL3,a)|0;if((e|0)===0){a.pc=-735;e=c.v14(c,N6engine6helper11TileFeature.LIFE4,a)|0;if((e|0)===0){a.pc=-809;t.mario6.v33(t.mario6,a);if(((t.visuals8|0)&255)!==0){a.pc=-873;;if((N6engine7effects10CoinEffectG|0)==0){cjG(a);};a.d=d=new N6engine7effects10CoinEffect();a.pc=-975;_c4V16engine7effects10CoinEfXGaciShn(d,cjF(((s<<4)+8|0)),cjF((r<<4|0)),a);a.pc=-1059;t.v16(t,d,a);}}else{a.pc=-1090;;if((N6engine7sprites12LifeMushroomG|0)==0){cjG(a);};a.d=d=new N6engine7sprites12LifeMushroom();a.pc=-1197;_c4F46engine7sprites12LifeMushroomC2E0(d,((t.visuals8|0)&255),cjF(((s<<4)+9|0)),cjF(((r<<4)+8|0)),a);a.pc=-1309;t.v17(t,d,a);}}else{if(((t.mario6.isLarge11|0)&255)===0){a.pc=-1377;;if((N6engine7sprites8MushroomG|0)==0){cjG(a);};a.d=d=new N6engine7sprites8Mushroom();a.pc=-1474;_c4p36engine7sprites8MushroomC2E0(d,((t.visuals8|0)&255),cjF(((s<<4)+9|0)),cjF(((r<<4)+8|0)),a);a.pc=-1581;t.v17(t,d,a);}else{a.pc=-1611;;if((N6engine7sprites10FireFlowerG|0)==0){cjG(a);};a.d=d=new N6engine7sprites10FireFlower();a.pc=-1714;_c4_36engine7sprites10FireFlowerC2E0(d,((t.visuals8|0)&255),cjF(((s<<4)+9|0)),cjF(((r<<4)+8|0)),a);a.pc=-1824;t.v17(t,d,a);}}}a.pc=-1851;e=c.v14(c,N6engine6helper11TileFeature.BREAKABLE6,a)|0;if((e|0)!==0){a.pc=-1931;t.v29(t,s,(r-1|0),a);if((q&255)===0){a.pc=-1979;t.level7.v15(t.level7,s,r,4,a);}else{a.pc=-2027;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-2086;t.v15(t,N6engine6helper9EventType.BUMP0,22,a);a.pc=-2143;t.level7.v14(t.level7,s,r,0,a);if(((t.visuals8|0)&255)!==0){a.e=e=s<<4;a.k=k=r<<4;a.g=g=cjF((e+4|0));a.pc=-2255;;if((N6engine7effects11BrickEffectG|0)==0){cjG(a);};a.c=c=new N6engine7effects11BrickEffect();a.j=j=cjF((k+4|0));a.pc=-2379;_c4_16engine7effects11BrickEf1GaciShn(c,g,j,cjF(-4),cjF(-12),a);a.pc=-2454;t.v16(t,c,a);a.pc=-2478;;if((N6engine7effects11BrickEffectG|0)==0){cjG(a);};a.c=c=new N6engine7effects11BrickEffect();a.h=h=cjF((k+12|0));a.pc=-2603;_c4_16engine7effects11BrickEf1GaciShn(c,g,h,cjF(-4),cjF(-4),a);a.pc=-2677;t.v16(t,c,a);a.g=g=cjF((e+12|0));a.pc=-2721;;if((N6engine7effects11BrickEffectG|0)==0){cjG(a);};a.c=c=new N6engine7effects11BrickEffect();a.pc=-2826;_c4_16engine7effects11BrickEf1GaciShn(c,g,j,cjF(4),cjF(-12),a);a.pc=-2900;t.v16(t,c,a);a.pc=-2924;;if((N6engine7effects11BrickEffectG|0)==0){cjG(a);};a.c=c=new N6engine7effects11BrickEffect();a.pc=-3029;_c4_16engine7effects11BrickEf1GaciShn(c,g,h,cjF(4),cjF(-4),a);a.pc=-3102;t.v16(t,c,a);}}}}function _c4p56engine4core10MarioWorld8bumpIntoE20(n,m,l,p){var g=0,c=null,d=0,e=null;var a=new createStacklet_c4p56engine4core10MarioWorld8bumpIntoE20(p,n,m,l);a.pc=-161;a.g=g=n.level7.v13(n.level7,m,l,a)|0;a.pc=-208;;if((N6engine6helper11TileFeatureG|0)==0){cjG(a);};a.pc=-269;c=_c4p46engine6helper11TileFeature11gete9GXTypeE3(g,a);a.pc=-334;d=c.v14(c,N6engine6helper11TileFeature.PICKABLE7,a)|0;if((d|0)!==0){a.pc=-412;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-470;n.v15(n,N6engine6helper9EventType.COLLECT7,g,a);a.pc=-528;n.mario6.v33(n.mario6,a);a.pc=-563;n.level7.v14(n.level7,m,l,0,a);if(((n.visuals8|0)&255)!==0){a.pc=-633;;if((N6engine7effects10CoinEffectG|0)==0){cjG(a);};a.c=c=new N6engine7effects10CoinEffect();a.pc=-735;_c4V16engine7effects10CoinEfXGaciShn(c,cjF(((m<<4)+8|0)),cjF(((l<<4)+8|0)),a);a.pc=-823;n.v16(n,c,a);}}a.pc=-848;a.c=c=n.sprites14.v11(n.sprites14,a);a.pc=-895;d=c.kFaiDsCn96nd(c,a)|0;if((d|0)!==0){while(1){a.pc=-952;a.e=e=c.cSQa1j8Rhd9BmAqcHWe(c,a);a.pc=108;;if(e&&!(((N6engine4core11MarioSpriteG|0)&&e instanceof N6engine4core11MarioSprite)>>0)){cjCastFailure(a,e);};a.pc=-1114;e.v19(e,m,l,a);a.pc=-1140;d=c.kFaiDsCn96nd(c,a)|0;if((d|0)!==0)continue;break;}}}function _c4V46engine4core10MarioWorld6renderE21(o,n,p){var d=0,c=0,k=0,e=null,g=-0.,h=null,j=null;var a=new createStacklet_c4V46engine4core10MarioWorld6renderE21(p,o,n);if((o.backgrounds20.length-1|0|0)>0){d=0;while(1){a.k=k=d+1|0;e=o.backgrounds20[k];g=+o.cameraX4;d=~~g;if( +Math.trunc(g)!==cjF((d|0))){d=cjN2I(g)|0;}g=+o.cameraY5;c=~~g;if( +Math.trunc(g)!==cjF((c|0))){c=cjN2I(g)|0;}a.pc=-387;e.v11(e,n,d,c,a);if((k|0)<(o.backgrounds20.length-1|0|0)){d=k;continue;}break;}}a.pc=-477;a.e=e=o.sprites14.v11(o.sprites14,a);a.pc=-524;c=e.kFaiDsCn96nd(e,a)|0;if((c|0)!==0){while(1){a.pc=-581;a.h=h=e.cSQa1j8Rhd9BmAqcHWe(e,a);a.pc=60;;if(h&&!(((N6engine4core11MarioSpriteG|0)&&h instanceof N6engine4core11MarioSprite)>>0)){cjCastFailure(a,h);};a.j=j=h.type0;a.pc=-756;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};L0:do{if(j!==N6engine6helper10SpriteType.MUSHROOM14){j=h.type0;if(j!==N6engine6helper10SpriteType.LIFE_MUSHROOM17){j=h.type0;if(j!==N6engine6helper10SpriteType.FIRE_FLOWER15){j=h.type0;if(j!==N6engine6helper10SpriteType.ENEMY_FLOWER13)break L0;}}}a.pc=-1063;h.v16(h,n,a);}while(0);a.pc=-1097;c=e.kFaiDsCn96nd(e,a)|0;if((c|0)!==0)continue;break;}}e=o.level7;g=+o.cameraX4;d=~~g;if( +Math.trunc(g)!==cjF((d|0))){d=cjN2I(g)|0;}g=+o.cameraY5;c=~~g;if( +Math.trunc(g)!==cjF((c|0))){c=cjN2I(g)|0;}a.pc=-1307;e.v21(e,n,d,c,a);a.pc=-1335;a.e=e=o.sprites14.v11(o.sprites14,a);a.pc=-1383;c=e.kFaiDsCn96nd(e,a)|0;if((c|0)!==0){while(1){a.pc=-1441;a.h=h=e.cSQa1j8Rhd9BmAqcHWe(e,a);a.pc=153;;if(h&&!(((N6engine4core11MarioSpriteG|0)&&h instanceof N6engine4core11MarioSprite)>>0)){cjCastFailure(a,h);};a.j=j=h.type0;a.pc=-1618;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};if(j!==N6engine6helper10SpriteType.MUSHROOM14){j=h.type0;if(j!==N6engine6helper10SpriteType.LIFE_MUSHROOM17){j=h.type0;if(j!==N6engine6helper10SpriteType.FIRE_FLOWER15){j=h.type0;if(j!==N6engine6helper10SpriteType.ENEMY_FLOWER13){a.pc=-1909;h.v16(h,n,a);}}}}a.pc=-1937;c=e.kFaiDsCn96nd(e,a)|0;if((c|0)!==0)continue;break;}}a.pc=-2002;c=o.effects19.v12(o.effects19,a)|0;if((c|0)>0){a.d=d=0;while(1){a.pc=-2077;a.e=e=o.effects19.v24(o.effects19,d,a);a.pc=226;;if(e&&!(((N6engine4core11MarioEffectG|0)&&e instanceof N6engine4core11MarioEffect)>>0)){cjCastFailure(a,e);};c=e.life6|0;e=o.effects19;if((c|0)>0){a.pc=-2284;a.e=e=e.v24(e,d,a);a.pc=258;;if(e&&!(((N6engine4core11MarioEffectG|0)&&e instanceof N6engine4core11MarioEffect)>>0)){cjCastFailure(a,e);};g=+o.cameraX4;a.pc=-2447;e.v11(e,n,g, +o.cameraY5,a);c=d;}else{a.pc=-2496;e.v27(e,d,a);c=d-1|0;}a.d=d=c+1|0;a.pc=-2541;c=o.effects19.v12(o.effects19,a)|0;if((d|0)<(c|0))continue;break;}}}function _c4F46engine4core10MarioWorld5cloneE22(d,p){return d.v14(d,p);}function createStacklet_c4V46engine4core10MarioWorld6renderE21(p,o,n){this.p=p;this.pc=0;this.f=_c4V46engine4core10MarioWorld6renderE21;this.d=0;this.o=o;this.n=n;this.k=0;this.e=null;this.h=null;this.j=null;}function createStacklet_c4p56engine4core10MarioWorld8bumpIntoE20(p,n,m,l){this.p=p;this.pc=0;this.f=_c4p56engine4core10MarioWorld8bumpIntoE20;this.n=n;this.m=m|0;this.l=l|0;this.g=0;this.c=null;this.e=null;}function createStacklet_c4p46engine4core10MarioWorld4bumpE19(p,t,s,r,q){this.p=p;this.pc=0;this.f=_c4p46engine4core10MarioWorld4bumpE19;this.t=t;this.s=s|0;this.r=r|0;this.q=q|0;this.e=0;this.c=null;this.k=0;this.g=-0.;this.j=-0.;this.h=-0.;this.d=null;}function createStacklet_c4_46engine4core10MarioWorld8addEventE5(p,q,o,n){this.p=p;this.pc=0;this.f=_c4_46engine4core10MarioWorld8addEventE5;this.q=q;this.o=o;this.n=n|0;this.d=0;this.h=null;this.c=null;}function createStacklet_c4V46engine4core10MarioWorld6updateE18(p,t,s){this.p=p;this.pc=0;this.f=_c4V46engine4core10MarioWorld6updateE18;this.c=0;this.g=0;this.l=0;this.t=t;this.s=s;this.e=null;this.h=-0.;this.d=null;this.k=null;this.j=null;this.o=0;this.n=0;}function N6engine7effects11BrickEffect(){N6engine4core11MarioEffect.call(this);}
N6engine7effects11BrickEffect.cl=cheerpjCL;
function N6engine7effects11BrickEffectX(a){a.f=N6engine7effects11BrickEffectX;if(cheerpjSafeInitGuard('N6engine7effects11BrickEffect')) return;a.pc=-143;;if((N6engine4core11MarioEffectG|0)==0){cjG(a);}var q=a.q=N6engine7effects11BrickEffect.prototype=Object.create(N6engine4core11MarioEffect.prototype);q.constructor=N6engine7effects11BrickEffect;q.v11=_c4_16engine7effects11BrickEf1qY6renderE1;N6engine7effects11BrickEffectG=1;cheerpjSafeInitFinish('N6engine7effects11BrickEffect');}
function _c4_16engine7effects11BrickEf1GaciShn(n,m,l,k,j,p){_c4F36engine4core11MarioEffectC2E0(n,m,l,k,j,cjF(0),cjF(3),16,10,p);}function _c4_16engine7effects11BrickEf1qY6renderE1(n,m,l,k,p){var d=null,c=0;d=n.graphics8;c=n.startingIndex7|0;d.index9=(((n.life6|0|0)%4|0)+c|0);n.ya5=cjF( +n.ya5*cjF(.949999988));_c4V46engine4core11MarioEffect6renderE1(n,m,l,k,p);}function N6engine7effects10CoinEffect(){N6engine4core11MarioEffect.call(this);}
N6engine7effects10CoinEffect.cl=cheerpjCL;
function N6engine7effects10CoinEffectX(a){a.f=N6engine7effects10CoinEffectX;if(cheerpjSafeInitGuard('N6engine7effects10CoinEffect')) return;a.pc=-140;;if((N6engine4core11MarioEffectG|0)==0){cjG(a);}var q=a.q=N6engine7effects10CoinEffect.prototype=Object.create(N6engine4core11MarioEffect.prototype);q.constructor=N6engine7effects10CoinEffect;q.v11=_c4V16engine7effects10CoinEfXqY6renderE1;N6engine7effects10CoinEffectG=1;cheerpjSafeInitFinish('N6engine7effects10CoinEffect');}
function _c4V16engine7effects10CoinEfXGaciShn(j,h,g,p){_c4F36engine4core11MarioEffectC2E0(j,h,g,cjF(0),cjF(-8),cjF(0),cjF(1),0,16,p);}function _c4V16engine7effects10CoinEfXqY6renderE1(n,m,l,k,p){var d=null,c=0;d=n.graphics8;c=n.startingIndex7|0;d.index9=((n.life6|0)+c&3);_c4V46engine4core11MarioEffect6renderE1(n,m,l,k,p);}var N6engine7effects11DeathEffectG;
function N6engine7effects11DeathEffect(){N6engine4core11MarioEffect.call(this);}
N6engine7effects11DeathEffect.cl=cheerpjCL;
function N6engine7effects11DeathEffectX(a){a.f=N6engine7effects11DeathEffectX;if(cheerpjSafeInitGuard('N6engine7effects11DeathEffect')) return;a.pc=-143;;if((N6engine4core11MarioEffectG|0)==0){cjG(a);}var q=a.q=N6engine7effects11DeathEffect.prototype=Object.create(N6engine4core11MarioEffect.prototype);q.constructor=N6engine7effects11DeathEffect;N6engine7effects11DeathEffectG=1;cheerpjSafeInitFinish('N6engine7effects11DeathEffect');}
function _c4_16engine7effects11DeathEf1GaciShn(q,o,n,m,l,k,p){var a={p:p,pc:0,f:_c4_16engine7effects11DeathEf1GaciShn,q:q,m:m|0};a.pc=-129;_c4F36engine4core11MarioEffectC2E0(q,o,n,cjF(0),k,cjF(0),cjF(1),l,30,a);q.graphics8.flipX4=m;}var N6engine7effects10DustEffectG;
function N6engine7effects10DustEffect(){N6engine4core11MarioEffect.call(this);}
N6engine7effects10DustEffect.cl=cheerpjCL;
function N6engine7effects10DustEffectX(a){a.f=N6engine7effects10DustEffectX;if(cheerpjSafeInitGuard('N6engine7effects10DustEffect')) return;a.pc=-140;;if((N6engine4core11MarioEffectG|0)==0){cjG(a);}var q=a.q=N6engine7effects10DustEffect.prototype=Object.create(N6engine4core11MarioEffect.prototype);q.constructor=N6engine7effects10DustEffect;q.v11=_c4V16engine7effects10DustEfXqY6renderE1;N6engine7effects10DustEffectG=1;cheerpjSafeInitFinish('N6engine7effects10DustEffect');}
function _c4V16engine7effects10DustEfXGaciShn(n,m,l,p){var g=-0.,e=-0.,d=-0.,c=-0.;var a=new createStacklet_c4V16engine7effects10DustEfXGaciShn(p,n,m,l);a.pc=-153;a.g=g=+_m4_Z4Math6randomE22(a);a.pc=-194;a.e=e=+_m4_Z4Math6randomE22(a);a.pc=-235;a.d=d=+_m4_Z4Math6randomE22(a);a.pc=-276;c=+_m4_Z4Math6randomE22(a);_c4F36engine4core11MarioEffectC2E0(n,m,l,cjF(g*2+ -1),cjF(-cjF(e)),cjF(0),cjF(0),(~~(d*2)+8|0),(~~(c*5)+10|0),p);}function _c4V16engine7effects10DustEfXqY6renderE1(n,m,l,k,p){var d=0,c=null;d=n.life6|0;c=n.graphics8;if((d|0)<11){d=n.startingIndex7|0;c.index9=(((10-(n.life6|0)<<2|0)/10|0)+d|0);}else{c.index9=7;}_c4V46engine4core11MarioEffect6renderE1(n,m,l,k,p);}function createStacklet_c4V16engine7effects10DustEfXGaciShn(p,n,m,l){this.p=p;this.pc=0;this.f=_c4V16engine7effects10DustEfXGaciShn;this.n=n;this.m=+m;this.l=+l;this.g=-0.;this.e=-0.;this.d=-0.;}function N6engine7effects14FireballEffect(){N6engine4core11MarioEffect.call(this);}
N6engine7effects14FireballEffect.cl=cheerpjCL;
function N6engine7effects14FireballEffectX(a){a.f=N6engine7effects14FireballEffectX;if(cheerpjSafeInitGuard('N6engine7effects14FireballEffect')) return;a.pc=-152;;if((N6engine4core11MarioEffectG|0)==0){cjG(a);}var q=a.q=N6engine7effects14FireballEffect.prototype=Object.create(N6engine4core11MarioEffect.prototype);q.constructor=N6engine7effects14FireballEffect;q.v11=_c4V26engine7effects14FireballEfbrY6renderE1;N6engine7effects14FireballEffectG=1;cheerpjSafeInitFinish('N6engine7effects14FireballEffect');}
function _c4V26engine7effects14FireballEfbHaciShn(j,h,g,p){_c4F36engine4core11MarioEffectC2E0(j,h,g,cjF(0),cjF(0),cjF(0),cjF(0),32,8,p);}function _c4V26engine7effects14FireballEfbrY6renderE1(n,m,l,k,p){var d=null,c=0;d=n.graphics8;c=n.startingIndex7|0;d.index9=((c+8|0)-(n.life6|0)|0);_c4V46engine4core11MarioEffect6renderE1(n,m,l,k,p);}var N6engine7effects12SquishEffectG;
function N6engine7effects12SquishEffect(){N6engine4core11MarioEffect.call(this);}
N6engine7effects12SquishEffect.cl=cheerpjCL;
function N6engine7effects12SquishEffectX(a){a.f=N6engine7effects12SquishEffectX;if(cheerpjSafeInitGuard('N6engine7effects12SquishEffect')) return;a.pc=-146;;if((N6engine4core11MarioEffectG|0)==0){cjG(a);}var q=a.q=N6engine7effects12SquishEffect.prototype=Object.create(N6engine4core11MarioEffect.prototype);q.constructor=N6engine7effects12SquishEffect;N6engine7effects12SquishEffectG=1;cheerpjSafeInitFinish('N6engine7effects12SquishEffect');}
function _c4p26engine7effects12SquishEf5GaciShn(j,h,g,p){_c4F36engine4core11MarioEffectC2E0(j,h,g,cjF(0),cjF(0),cjF(0),cjF(0),40,8,p);}function N6engine8graphics15MarioBackground(){N6engine8graphics13MarioGraphics.call(this);this.image8=null;this.g9=null;this.screenWidth10=0;}
N6engine8graphics15MarioBackground.cl=cheerpjCL;
function N6engine8graphics15MarioBackgroundX(a){a.f=N6engine8graphics15MarioBackgroundX;if(cheerpjSafeInitGuard('N6engine8graphics15MarioBackground')) return;a.pc=-158;;if((N6engine8graphics13MarioGraphicsG|0)==0){cjG(a);}var q=a.q=N6engine8graphics15MarioBackground.prototype=Object.create(N6engine8graphics13MarioGraphics.prototype);q.constructor=N6engine8graphics15MarioBackground;q.v11=_c4V66engine8graphics15MarioBackground6renderE2;N6engine8graphics15MarioBackgroundG=1;cheerpjSafeInitFinish('N6engine8graphics15MarioBackground');}
var N6engine8graphics13MarioGraphicsG;
var N4java3awt14AlphaCompositeG;
var N4java3awt5ColorG;
var N4java3awt10Graphics2DG;
function _c4F56engine8graphics15MarioBackgroundC2E0(n,m,l,k,p){var d=0,c=null;var a={p:p,pc:0,f:_c4F56engine8graphics15MarioBackgroundC2E0,n:n,m:m,l:l|0,k:k,c:null};a.pc=-165;_c4p26engine8graphics13MarioGh5GaciShn(n,a);n.width6=((k[1].length-1|0)<<4);n.height7=((k.length-1|0)<<4);n.screenWidth10=l;d=n.width6|0;a.pc=-312;c=m.v13(m,d,(n.height7|0),2,a);n.image8=c;a.pc=-364;a.c=c=n.image8.v14(n.image8,a);a.pc=54;;if(c&&!(((N4java3awt10Graphics2DG|0)&&c instanceof N4java3awt10Graphics2D)>>0)){cjCastFailure(a,c);};n.g9=c;a.c=c=n.g9;a.pc=-533;;if((N4java3awt14AlphaCompositeG|0)==0){cjG(a);};a.pc=-592;c.v70(c,N4java3awt14AlphaComposite.Src13,a);_c4_76engine8graphics15MarioBackground10updateAreaE1(n,k,p);}function _c4_76engine8graphics15MarioBackground10updateAreaE1(q,o,p){var c=0,g=null,h=null,e=0,l=0,d=0,k=0,j=0;var a=new createStacklet_c4_76engine8graphics15MarioBackground10updateAreaE1(p,q,o);a.g=g=q.g9;a.pc=-206;;if((N4java3awt5ColorG|0)==0){cjG(a);};a.h=h=new N4java3awt5Color();a.pc=-284;_h4VZ3awt5ColorC2E4(h,0,0,0,0,a);a.pc=-327;g.v88(g,h,a);g=q.g9;c=q.width6|0;a.pc=-370;g.v31(g,0,0,c,(q.height7|0),a);if((o[1].length-1|0|0)>0){c=0;while(1){a.e=e=c+1|0;if((o.length-1|0|0)>0){a.l=l=c<<4;a.c=c=0;while(1){a.d=d=c+1|0;a.k=k=o[d][e]|0;a.j=j=o[d][e]|0;a.g=g=q.g9;a.pc=-568;;if((N6engine6helper6AssetsG|0)==0){cjG(a);};a.pc=-623;g.v50(g,N6engine6helper6Assets.level5[(((k|0)%8|0)+1|0)][(((j|0)/8|0)+1|0)],l,(c<<4),16,16,null,a)|0;if((d|0)<(o.length-1|0|0)){a.c=c=d;continue;}break;}}if((e|0)<(o[1].length-1|0|0)){c=e;continue;}break;}}}function _c4V66engine8graphics15MarioBackground6renderE2(q,o,n,m,p){var c=0,g=0,e=null,d=0;var a={p:p,pc:0,f:_c4V66engine8graphics15MarioBackground6renderE2,c:0,q:q,o:o,g:0};a.g=g=(n|0)%(q.width6|0|0)|0;c=q.screenWidth10|0;if((((c|0)/(q.width6|0|0)|0)+1|0)>-1){a.c=c=-1;while(1){e=q.image8;a.pc=-290;o.v49(o,e,((Math.imul(q.width6|0,c)|0)-g|0),0,null,a)|0;c=c+1|0;d=q.screenWidth10|0;if((c|0)<(((d|0)/(q.width6|0|0)|0)+1|0)){a.c=c=c;continue;}break;}}}function createStacklet_c4_76engine8graphics15MarioBackground10updateAreaE1(p,q,o){this.p=p;this.pc=0;this.f=_c4_76engine8graphics15MarioBackground10updateAreaE1;this.c=0;this.q=q;this.o=o;this.g=null;this.h=null;this.e=0;this.l=0;this.d=0;this.k=0;this.j=0;}function N6engine8graphics13MarioGraphics(){N4java4lang6Object.call(this);this.visible0=0;this.alpha1=-0;this.originX2=0;this.originY3=0;this.flipX4=0;this.flipY5=0;this.width6=0;this.height7=0;}
N6engine8graphics13MarioGraphics.cl=cheerpjCL;
function N6engine8graphics13MarioGraphicsX(a){a.f=N6engine8graphics13MarioGraphicsX;if(cheerpjSafeInitGuard('N6engine8graphics13MarioGraphics')) return;var q=a.q=N6engine8graphics13MarioGraphics.prototype=Object.create(N4java4lang6Object.prototype);q.constructor=N6engine8graphics13MarioGraphics;N6engine8graphics13MarioGraphicsG=1;cheerpjSafeInitFinish('N6engine8graphics13MarioGraphics');}
function _c4p26engine8graphics13MarioGh5GaciShn(d,p){var a={p:p,pc:0,f:_c4p26engine8graphics13MarioGh5GaciShn,d:d};a.pc=-115;_n4VYObjectC2E0(d,a);d.visible0=1;d.alpha1=cjF(1);d.originY3=0;d.originX2=0;d.flipY5=0;d.flipX4=0;d.height7=32;d.width6=32;}function N6engine8graphics10MarioImage(){N6engine8graphics13MarioGraphics.call(this);this.sheet8=null;this.index9=0;}
N6engine8graphics10MarioImage.cl=cheerpjCL;
function N6engine8graphics10MarioImageX(a){a.f=N6engine8graphics10MarioImageX;if(cheerpjSafeInitGuard('N6engine8graphics10MarioImage')) return;a.pc=-143;;if((N6engine8graphics13MarioGraphicsG|0)==0){cjG(a);}var q=a.q=N6engine8graphics10MarioImage.prototype=Object.create(N6engine8graphics13MarioGraphics.prototype);q.constructor=N6engine8graphics10MarioImage;q.v11=_c4F56engine8graphics10MarioImage6renderE1;N6engine8graphics10MarioImageG=1;cheerpjSafeInitFinish('N6engine8graphics10MarioImage');}
function _c4p46engine8graphics10MarioImageC2E0(j,h,g,p){var a={p:p,pc:0,f:_c4p46engine8graphics10MarioImageC2E0,j:j,h:h,g:g|0};a.pc=-127;_c4p26engine8graphics13MarioGh5GaciShn(j,a);j.sheet8=h;j.index9=g;}function _c4F56engine8graphics10MarioImage6renderE1(t,s,r,q,p){var c=0,j=0,k=0,e=null,h=0,d=0,g=0;if(((t.visible0|0)&255)===0){return ;}j=r-(t.originX2|0)|0;k=q-(t.originY3|0)|0;e=t.sheet8;c=t.index9|0;e=e[(((c|0)%(t.sheet8.length-1|0|0)|0)+1|0)];c=t.index9|0;e=e[(((c|0)/(t.sheet8.length-1|0|0)|0)+1|0)];if(((t.flipX4|0)&255)===0){c=0;}else{c=t.width6|0;}j=j+c|0;if(((t.flipY5|0)&255)===0){c=0;}else{c=t.height7|0;}h=t.flipX4|0;d=t.width6|0;h=(h&255)===0?d|0:-d|0;d=t.flipY5|0;g=t.height7|0;d=(d&255)===0?g|0:-g|0;s.v50(s,e,j,(k+c|0),h,d,null,p)|0;}function _c4V46engine8graphics12MarioTilemapC2E0(a0,a1,a2,p){var a={p:p,f:_c4V46engine8graphics12MarioTilemapC2E0,l0:a0,l1:a1,l2:a2,s0:null,s1:null,s2:null,s3:null};a.pc=0;a.s0=a.l0;a.pc=-182;_c4p26engine8graphics13MarioGh5GaciShn(a.s0,a);a.s0=a.l0;a.s1=a.l1;a.s0.sheet8=a.s1;a.s0=a.l0;a.s1=a.l2;a.s0.currentIndeces9=a.s1;a.s0=a.l0;a.s1=a.l2;a.s1=a.s1.length-1;a.s2=a.l2;a.s3=0;a.s2=a.s2[a.s3+1];a.s2=a.s2.length-1;var __i0__=a.s1;var __i1__=a.s2;a.s1=["[[I"];for(var i0=0;i0<__i0__;i0++){a.s2=new Int32Array(1+__i1__);a.s2[0]=73;a.s1[i0+1]=a.s2;}a.s0.indexShift10=a.s1;a.s0=a.l0;a.s1=a.l2;a.s1=a.s1.length-1;a.s2=a.l2;a.s3=0;a.s2=a.s2[a.s3+1];a.s2=a.s2.length-1;var __i0__=a.s1;var __i1__=a.s2;a.s1=["[[F"];for(var i0=0;i0<__i0__;i0++){a.s2=new Float32Array(1+__i1__);a.s2[0]=70;a.s1[i0+1]=a.s2;}a.s0.moveShift11=a.s1;a.s0=a.l0;a.s1=0;a.s0.animationIndex12=a.s1;return;}var N6engine8graphics12MarioTilemapG;
function N6engine8graphics12MarioTilemap(){N6engine8graphics13MarioGraphics.call(this);this.sheet8=null;this.currentIndeces9=null;this.indexShift10=null;this.moveShift11=null;this.animationIndex12=0;}
N6engine8graphics12MarioTilemap.cl=cheerpjCL;
function N6engine8graphics12MarioTilemapX(a){a.f=N6engine8graphics12MarioTilemapX;if(cheerpjSafeInitGuard('N6engine8graphics12MarioTilemap')) return;a.pc=-149;;if((N6engine8graphics13MarioGraphicsG|0)==0){cjG(a);}var q=a.q=N6engine8graphics12MarioTilemap.prototype=Object.create(N6engine8graphics13MarioGraphics.prototype);q.constructor=N6engine8graphics12MarioTilemap;q.v11=_c4_56engine8graphics12MarioTilemap6renderE1;N6engine8graphics12MarioTilemapG=1;cheerpjSafeInitFinish('N6engine8graphics12MarioTilemap');}
function _c4_56engine8graphics12MarioTilemap6renderE1(w,v,u,t,p){var h=0,e=0,c=0,l=0,m=0,n=0,q=0,d=0,o=0,j=null,g=0,k=-0.;var a=new createStacklet_c4_56engine8graphics12MarioTilemap6renderE1(p,w,v,u,t);w.animationIndex12=(((w.animationIndex12|0)+1|0)%5|0);c=((u|0)/16|0)-1|0;a.l=l=((t|0)/16|0)-1|0;a.m=m=(u+256|0)/16|0;a.n=n=(t+256|0)/16|0;if((c|0)<=(m+1|0)){a.q=q=(l|0)>(n+1|0)?1:0;a.h=h=c;while(1){a.d=d=h+1|0;if(!(q)){a.o=o=(h<<4)-u|0;a.e=e=l;while(1){if((e|h|0)>=0){if((h|0)<(w.currentIndeces9.length-1|0|0)){if((e|0)<(w.currentIndeces9[1].length-1|0|0)){a.c=c=e+1|0;if( +w.moveShift11[d][c]>cjF(0)){j=w.moveShift11[d];j[c]=cjF( +j[c]+cjF(-1));if( +w.moveShift11[d][c]<cjF(0)){w.moveShift11[d][c]=cjF(0);}}a.g=g=w.currentIndeces9[d][c]|0;a.pc=-742;;if((N6engine6helper11TileFeatureG|0)==0){cjG(a);};a.pc=-803;j=_c4p46engine6helper11TileFeature11gete9GXTypeE3(g,a);a.pc=-868;g=j.v14(j,N6engine6helper11TileFeature.ANIMATED8,a)|0;if((g|0)===0){w.indexShift10[d][c]=0;}else{if((w.animationIndex12|0|0)===0){j=w.indexShift10[d];j[c]=(((w.indexShift10[d][c]|0)+1|0)%3|0);}}g=w.currentIndeces9[d][c]|0;g=(w.indexShift10[d][c]|0)+g|0;k=+w.moveShift11[d][c];c=~~k;if( +Math.trunc(k)!==cjF((c|0))){c=cjN2I(k)|0;}a.pc=-1207;v.v49(v,w.sheet8[(((g|0)%8|0)+1|0)][(((g|0)/8|0)+1|0)],o,(((e<<4)-t|0)-c|0),null,a)|0;}}}if((e|0)<=(n|0)){a.e=e=e+1|0;continue;}break;}}if((h|0)<=(m|0)){a.h=h=d;continue;}break;}}}function createStacklet_c4_56engine8graphics12MarioTilemap6renderE1(p,w,v,u,t){this.p=p;this.pc=0;this.f=_c4_56engine8graphics12MarioTilemap6renderE1;this.h=0;this.e=0;this.c=0;this.w=w;this.v=v;this.u=u|0;this.t=t|0;this.l=0;this.m=0;this.n=0;this.q=0;this.d=0;this.o=0;this.g=0;}function _c4p46engine6helper6Assets8cutImageE3(a0,a1,a2,a3,p){var a={p:p,f:_c4p46engine6helper6Assets8cutImageE3,l0:a0,l1:a1,l2:a2,l3:a3,l4:null,l5:null,l6:null,l7:null,l8:null,l9:null,s0:null,s1:null,s2:null,s3:null,s4:null};a.pc=0;a.s0=a.l0;a.s1=a.l1;a.pc=-253;;if((N6engine6helper6AssetsG|0)==0){cjG(a);}a.pc=3;a.s0=_c4p46engine6helper6Assets8getImageE2(a.s0,a.s1,a);a.l4=a.s0;a.s0=a.l4;a.s1=null;a.pc=-400;a.s0=a.s0.v11(a.s0,a.s1,a);a.s1=a.l2;a.s0=a.s0/a.s1>>0;a.s1=a.l4;a.s2=null;a.pc=-485;a.s1=a.s1.v12(a.s1,a.s2,a);a.s2=a.l3;a.s1=a.s1/a.s2>>0;var __i0__=a.s0;var __i1__=a.s1;a.s0=["[[Ljava/awt/Image;"];for(var i0=0;i0<__i0__;i0++){a.s1=["[Ljava/awt/Image;"];for(var i1=0;i1<__i1__;i1++){a.s1[i1+1]=null;}a.s0[i0+1]=a.s1;}a.l5=a.s0;a.s0=0;a.l6=a.s0;while(1){a.pc=32;a.s0=a.l6;a.s1=a.l4;a.s2=null;a.pc=-803;a.s1=a.s1.v11(a.s1,a.s2,a);a.s2=a.l2;a.s1=a.s1/a.s2>>0;if(a.s1<=a.s0){break;}a.pc=45;a.s0=0;a.l7=a.s0;while(1){a.pc=48;a.s0=a.l7;a.s1=a.l4;a.s2=null;a.pc=-962;a.s1=a.s1.v12(a.s1,a.s2,a);a.s2=a.l3;a.s1=a.s1/a.s2>>0;if(a.s1<=a.s0){break;}a.pc=61;a.s0=a.l0;a.s1=a.l2;a.s2=a.l3;a.s3=2;a.pc=-1094;a.s0=a.s0.v13(a.s0,a.s1,a.s2,a.s3,a);a.l8=a.s0;a.s0=a.l8;a.pc=-1162;a.s0=a.s0.v14(a.s0,a);a.s0=a.s0;a.s1=a.s0;a.pc=-1215;;if(a.s1&&!(((N4java3awt10Graphics2DG|0)&&a.s1 instanceof N4java3awt10Graphics2D)>>0)){cjCastFailure(a,a.s1);}a.l9=a.s0;a.s0=a.l9;a.pc=-1356;;if((N4java3awt14AlphaCompositeG|0)==0){cjG(a);}a.s1=N4java3awt14AlphaComposite.Src13;a.pc=-1453;a.s0.v70(a.s0,a.s1,a);a.s0=a.l9;a.s1=a.l4;a.s2=a.l6;a.s2=-a.s2;a.s3=a.l2;a.s2=Math.imul(a.s3,a.s2)>>0;a.s3=a.l7;a.s3=-a.s3;a.s4=a.l3;a.s3=Math.imul(a.s4,a.s3)>>0;a.s4=null;a.pc=-1636;a.s0=a.s0.v49(a.s0,a.s1,a.s2,a.s3,a.s4,a);a.s0=a.l9;a.pc=-1699;a.s0.v55(a.s0,a);a.s0=a.l5;a.s1=a.l6;a.s0=a.s0[a.s1+1];a.s1=a.l7;a.s2=a.l8;a.s0[a.s1+1]=a.s2;a.l7+=1;}a.pc=128;a.l6+=1;}a.pc=134;a.s0=a.l5;return a.s0;}var N6engine6helper6AssetsG;
function N6engine6helper6Assets(){N4java4lang6Object.call(this);}
N6engine6helper6Assets.cl=cheerpjCL;
function N6engine6helper6AssetsX(a){a.f=N6engine6helper6AssetsX;if(cheerpjSafeInitGuard('N6engine6helper6Assets')) return;var q=a.q=N6engine6helper6Assets.prototype=Object.create(N4java4lang6Object.prototype);q.constructor=N6engine6helper6Assets;N6engine6helper6Assets.mario0=null;N6engine6helper6Assets.smallMario1=null;N6engine6helper6Assets.fireMario2=null;N6engine6helper6Assets.enemies3=null;N6engine6helper6Assets.items4=null;N6engine6helper6Assets.level5=null;N6engine6helper6Assets.particles6=null;N6engine6helper6Assets.font7=null;N6engine6helper6Assets.map8=null;N6engine6helper6AssetsG=1;cheerpjSafeInitFinish('N6engine6helper6Assets');}
var N4java2io4FileG;
var N5javax7imageio7ImageIOG;
function _c4F26engine6helper6AssetsC2E0(d,p){_n4VYObjectC2E0(d,p);}function _c4p36engine6helper6Assets4initE1(g,p){var d=null,c=null;var a={p:p,pc:0,f:_c4p36engine6helper6Assets4initE1,g:g,d:null,c:null};a.pc=0;;a.pc=-145;a.d=d=sSlot;sSlot=a;a.pc=8;c=_c4p46engine6helper6Assets8cutImageE3(g,cheerpjInternString("mariosheet.png"),32,32,a);a.pc=1;;N6engine6helper6Assets.mario0=c;a.pc=21;c=_c4p46engine6helper6Assets8cutImageE3(g,cheerpjInternString("smallmariosheet.png"),16,16,a);a.pc=2;;N6engine6helper6Assets.smallMario1=c;a.pc=34;c=_c4p46engine6helper6Assets8cutImageE3(g,cheerpjInternString("firemariosheet.png"),32,32,a);a.pc=3;;N6engine6helper6Assets.fireMario2=c;a.pc=47;c=_c4p46engine6helper6Assets8cutImageE3(g,cheerpjInternString("enemysheet.png"),16,32,a);a.pc=4;;N6engine6helper6Assets.enemies3=c;a.pc=60;c=_c4p46engine6helper6Assets8cutImageE3(g,cheerpjInternString("itemsheet.png"),16,16,a);a.pc=5;;N6engine6helper6Assets.items4=c;a.pc=73;c=_c4p46engine6helper6Assets8cutImageE3(g,cheerpjInternString("mapsheet.png"),16,16,a);a.pc=6;;N6engine6helper6Assets.level5=c;a.pc=86;c=_c4p46engine6helper6Assets8cutImageE3(g,cheerpjInternString("particlesheet.png"),16,16,a);a.pc=7;;N6engine6helper6Assets.particles6=c;a.pc=99;c=_c4p46engine6helper6Assets8cutImageE3(g,cheerpjInternString("font.gif"),8,8,a);a.pc=9;;N6engine6helper6Assets.font7=c;a.pc=10;;sSlot=d;}function ec4p36engine6helper6Assets4initE1(a,b){a.f=ec4p36engine6helper6Assets4initE1;var g=a.g,d=a.d,c=a.c;var pc=a.pc;a.pc=11;;a.c=c=b;if(!((pc>=0&&pc<104)&&self.hasOwnProperty("N4java4lang9Exception")&&(b instanceof N4java4lang9Exception)|0)){a.pc=12;;sSlot=d;a.pc=-1;return;}a.pc=13;;a.pc=109;c.v15(c,a);a.f=_c4p36engine6helper6Assets4initE1;a.pc=10;buildContinuations(a, true);currentThread.state='READY';throw 'CheerpJContinue';}function _c4p46engine6helper6Assets8getImageE2(m,l,p){var d=null,c=null,h=0,g=0,e=null;var a=new createStacklet_c4p46engine6helper6Assets8getImageE2(p,m,l);a.pc=-156;;if((N4java2io4FileG|0)==0){cjG(a);};a.d=d=new N4java2io4File();a.pc=-230;;if((N4java4lang13StringBuilderG|0)==0){cjG(a);};a.c=c=new N4java4lang13StringBuilder();a.pc=-328;_m4FJge_YBuilderC2E0(c,a);a.pc=-364;c=c.v66(c,cheerpjInternString("/app/img/"),a);a.pc=-420;c=c.v66(c,l,a);a.pc=-445;c=c.v4(c,a);a.pc=-467;_h4pZ2io4FileC2E4(d,c,a);a.pc=-502;;if((N5javax7imageio7ImageIOG|0)==0){cjG(a);};a.pc=-558;a.d=d=_c4VbzR8ocdGbbIZUirhOSikEebWG3nn(d,a);a.pc=-612;a.h=h=d.v29(d,a)|0;a.pc=-641;g=d.v30(d,a)|0;a.pc=-666;a.c=c=m.v13(m,h,g,2,a);a.pc=-699;a.e=e=c.v14(c,a);a.pc=52;;if(e&&!(((N4java3awt10Graphics2DG|0)&&e instanceof N4java3awt10Graphics2D)>>0)){cjCastFailure(a,e);};a.pc=-836;;if((N4java3awt14AlphaCompositeG|0)==0){cjG(a);};a.pc=-895;e.v70(e,N4java3awt14AlphaComposite.Src13,a);a.pc=-949;e.v49(e,d,0,0,null,a)|0;a.pc=-983;e.v55(e,a);return c;}function createStacklet_c4p46engine6helper6Assets8getImageE2(p,m,l){this.p=p;this.pc=0;this.f=_c4p46engine6helper6Assets8getImageE2;this.m=m;this.l=l;this.d=null;this.c=null;this.h=0;this.e=null;}function N6engine6helper9EventType(){N4java4lang4Enum.call(this);this.value2=0;}
N6engine6helper9EventType.cl=cheerpjCL;
function N6engine6helper9EventTypeX(a){a.f=N6engine6helper9EventTypeX;if(cheerpjSafeInitGuard('N6engine6helper9EventType')) return;a.pc=-131;;if((N4java4lang4EnumG|0)==0){cjG(a);}var q=a.q=N6engine6helper9EventType.prototype=Object.create(N4java4lang4Enum.prototype);q.constructor=N6engine6helper9EventType;q.v16=_c4_46engine6helper9EventType8getValueE3;N6engine6helper9EventType.BUMP0=null;N6engine6helper9EventType.STOMP_KILL1=null;N6engine6helper9EventType.FIRE_KILL2=null;N6engine6helper9EventType.SHELL_KILL3=null;N6engine6helper9EventType.FALL_KILL4=null;N6engine6helper9EventType.JUMP5=null;N6engine6helper9EventType.LAND6=null;N6engine6helper9EventType.COLLECT7=null;N6engine6helper9EventType.HURT8=null;N6engine6helper9EventType.KICK9=null;N6engine6helper9EventType.LOSE10=null;N6engine6helper9EventType.WIN11=null;N6engine6helper9EventType.$VALUES12=null;a.pc=-865;_c4p36engine6helper9EventTypeXXE4(a);N6engine6helper9EventTypeG=1;cheerpjSafeInitFinish('N6engine6helper9EventType');}
var N4java4lang4EnumG;
function _c4F46engine6helper9EventType6valuesE0(p){var c=null;var a={p:p,pc:0,f:_c4F46engine6helper9EventType6valuesE0,c:null};a.pc=-127;a.c=c=N6engine6helper9EventType.$VALUES12.v3(N6engine6helper9EventType.$VALUES12,a);a.pc=6;;if(c&&!(cheerpjArrayInstanceof(c,"[Lengine/helper/EventType;",a))){cjCastFailure(a,c);};return c;}function _c4V46engine6helper9EventType7valueOfE1(e,p){var c=null;var a={p:p,pc:0,f:_c4V46engine6helper9EventType7valueOfE1,e:e,c:null};a.pc=0;a.c=c=cjC("engine/helper/EventType",a);a.pc=-181;;if((N4java4lang4EnumG|0)==0){cjG(a);};a.pc=-230;a.c=c=_m4_Z4Enum7valueOfE9(c,e,a);a.pc=6;;if(c&&!(((N6engine6helper9EventTypeG|0)&&c instanceof N6engine6helper9EventType)>>0)){cjCastFailure(a,c);};return c;}function _c4p36engine6helper9EventTypeC2E2(l,k,j,h,p){var a={p:p,pc:0,f:_c4p36engine6helper9EventTypeC2E2,l:l,h:h|0};a.pc=-117;_m4FY4EnumC2E2(l,k,j,a);l.value2=h;}function _c4_46engine6helper9EventType8getValueE3(d,p){return d.value2|0|0;}function _c4p36engine6helper9EventTypeXXE4(p){var c=null;var a={p:p,pc:0,f:_c4p36engine6helper9EventTypeXXE4,c:null};a.c=c=new N6engine6helper9EventType();a.pc=-155;_c4p36engine6helper9EventTypeC2E2(c,cheerpjInternString("BUMP"),0,1,a);N6engine6helper9EventType.BUMP0=c;a.c=c=new N6engine6helper9EventType();a.pc=-308;_c4p36engine6helper9EventTypeC2E2(c,cheerpjInternString("STOMP_KILL"),1,2,a);N6engine6helper9EventType.STOMP_KILL1=c;a.c=c=new N6engine6helper9EventType();a.pc=-473;_c4p36engine6helper9EventTypeC2E2(c,cheerpjInternString("FIRE_KILL"),2,3,a);N6engine6helper9EventType.FIRE_KILL2=c;a.c=c=new N6engine6helper9EventType();a.pc=-636;_c4p36engine6helper9EventTypeC2E2(c,cheerpjInternString("SHELL_KILL"),3,4,a);N6engine6helper9EventType.SHELL_KILL3=c;a.c=c=new N6engine6helper9EventType();a.pc=-801;_c4p36engine6helper9EventTypeC2E2(c,cheerpjInternString("FALL_KILL"),4,5,a);N6engine6helper9EventType.FALL_KILL4=c;a.c=c=new N6engine6helper9EventType();a.pc=-964;_c4p36engine6helper9EventTypeC2E2(c,cheerpjInternString("JUMP"),5,6,a);N6engine6helper9EventType.JUMP5=c;a.c=c=new N6engine6helper9EventType();a.pc=-1117;_c4p36engine6helper9EventTypeC2E2(c,cheerpjInternString("LAND"),6,7,a);N6engine6helper9EventType.LAND6=c;a.c=c=new N6engine6helper9EventType();a.pc=-1271;_c4p36engine6helper9EventTypeC2E2(c,cheerpjInternString("COLLECT"),7,8,a);N6engine6helper9EventType.COLLECT7=c;a.c=c=new N6engine6helper9EventType();a.pc=-1431;_c4p36engine6helper9EventTypeC2E2(c,cheerpjInternString("HURT"),8,9,a);N6engine6helper9EventType.HURT8=c;a.c=c=new N6engine6helper9EventType();a.pc=-1585;_c4p36engine6helper9EventTypeC2E2(c,cheerpjInternString("KICK"),9,10,a);N6engine6helper9EventType.KICK9=c;a.c=c=new N6engine6helper9EventType();a.pc=-1740;_c4p36engine6helper9EventTypeC2E2(c,cheerpjInternString("LOSE"),10,11,a);N6engine6helper9EventType.LOSE10=c;a.c=c=new N6engine6helper9EventType();a.pc=-1897;_c4p36engine6helper9EventTypeC2E2(c,cheerpjInternString("WIN"),11,12,a);N6engine6helper9EventType.WIN11=c;c=["[Lengine/helper/EventType;"];for(var i=1;i<=12;i=i+1|0)c[i|0]=null;;c[1]=N6engine6helper9EventType.BUMP0;c[2]=N6engine6helper9EventType.STOMP_KILL1;c[3]=N6engine6helper9EventType.FIRE_KILL2;c[4]=N6engine6helper9EventType.SHELL_KILL3;c[5]=N6engine6helper9EventType.FALL_KILL4;c[6]=N6engine6helper9EventType.JUMP5;c[7]=N6engine6helper9EventType.LAND6;c[8]=N6engine6helper9EventType.COLLECT7;c[9]=N6engine6helper9EventType.HURT8;c[10]=N6engine6helper9EventType.KICK9;c[11]=N6engine6helper9EventType.LOSE10;c[12]=N6engine6helper9EventType.WIN11;N6engine6helper9EventType.$VALUES12=c;}function N6engine6helper10GameStatus(){N4java4lang4Enum.call(this);}
N6engine6helper10GameStatus.cl=cheerpjCL;
function N6engine6helper10GameStatusX(a){a.f=N6engine6helper10GameStatusX;if(cheerpjSafeInitGuard('N6engine6helper10GameStatus')) return;a.pc=-137;;if((N4java4lang4EnumG|0)==0){cjG(a);}var q=a.q=N6engine6helper10GameStatus.prototype=Object.create(N4java4lang4Enum.prototype);q.constructor=N6engine6helper10GameStatus;N6engine6helper10GameStatus.RUNNING0=null;N6engine6helper10GameStatus.WIN1=null;N6engine6helper10GameStatus.LOSE2=null;N6engine6helper10GameStatus.TIME_OUT3=null;N6engine6helper10GameStatus.$VALUES4=null;a.pc=-521;_c4V36engine6helper10GameStatusXXE3(a);N6engine6helper10GameStatusG=1;cheerpjSafeInitFinish('N6engine6helper10GameStatus');}
function _c4_46engine6helper10GameStatus6valuesE0(p){var c=null;var a={p:p,pc:0,f:_c4_46engine6helper10GameStatus6valuesE0,c:null};a.pc=-131;a.c=c=N6engine6helper10GameStatus.$VALUES4.v3(N6engine6helper10GameStatus.$VALUES4,a);a.pc=6;;if(c&&!(cheerpjArrayInstanceof(c,"[Lengine/helper/GameStatus;",a))){cjCastFailure(a,c);};return c;}function _c4p56engine6helper10GameStatus7valueOfE1(e,p){var c=null;var a={p:p,pc:0,f:_c4p56engine6helper10GameStatus7valueOfE1,e:e,c:null};a.pc=0;a.c=c=cjC("engine/helper/GameStatus",a);a.pc=-186;;if((N4java4lang4EnumG|0)==0){cjG(a);};a.pc=-235;a.c=c=_m4_Z4Enum7valueOfE9(c,e,a);a.pc=6;;if(c&&!(((N6engine6helper10GameStatusG|0)&&c instanceof N6engine6helper10GameStatus)>>0)){cjCastFailure(a,c);};return c;}function _c4V36engine6helper10GameStatusC2E2(j,h,g,p){_m4FY4EnumC2E2(j,h,g,p);}function _c4V36engine6helper10GameStatusXXE3(p){var c=null;var a={p:p,pc:0,f:_c4V36engine6helper10GameStatusXXE3,c:null};a.c=c=new N6engine6helper10GameStatus();a.pc=-161;_m4FY4EnumC2E2(c,cheerpjInternString("RUNNING"),0,a);N6engine6helper10GameStatus.RUNNING0=c;a.c=c=new N6engine6helper10GameStatus();a.pc=-303;_m4FY4EnumC2E2(c,cheerpjInternString("WIN"),1,a);N6engine6helper10GameStatus.WIN1=c;a.c=c=new N6engine6helper10GameStatus();a.pc=-437;_m4FY4EnumC2E2(c,cheerpjInternString("LOSE"),2,a);N6engine6helper10GameStatus.LOSE2=c;a.c=c=new N6engine6helper10GameStatus();a.pc=-573;_m4FY4EnumC2E2(c,cheerpjInternString("TIME_OUT"),3,a);N6engine6helper10GameStatus.TIME_OUT3=c;c=["[Lengine/helper/GameStatus;"];for(var i=1;i<=4;i=i+1|0)c[i|0]=null;;c[1]=N6engine6helper10GameStatus.RUNNING0;c[2]=N6engine6helper10GameStatus.WIN1;c[3]=N6engine6helper10GameStatus.LOSE2;c[4]=N6engine6helper10GameStatus.TIME_OUT3;N6engine6helper10GameStatus.$VALUES4=c;}function N6engine6helper12MarioActions(){N4java4lang4Enum.call(this);this.value2=0;this.name3=null;}
N6engine6helper12MarioActions.cl=cheerpjCL;
function N6engine6helper12MarioActionsX(a){a.f=N6engine6helper12MarioActionsX;if(cheerpjSafeInitGuard('N6engine6helper12MarioActions')) return;a.pc=-143;;if((N4java4lang4EnumG|0)==0){cjG(a);}var q=a.q=N6engine6helper12MarioActions.prototype=Object.create(N4java4lang4Enum.prototype);q.constructor=N6engine6helper12MarioActions;q.v16=_c4_16engine6helper12MarioAceWdZs8getValueE3;q.v17=_c4_16engine6helper12MarioAceWtXs9getgeVWE4;N6engine6helper12MarioActions.LEFT0=null;N6engine6helper12MarioActions.RIGHT1=null;N6engine6helper12MarioActions.DOWN2=null;N6engine6helper12MarioActions.SPEED3=null;N6engine6helper12MarioActions.JUMP4=null;N6engine6helper12MarioActions.$VALUES5=null;a.pc=-679;_c4_16engine6helper12MarioAceWtXsXXE7(a);N6engine6helper12MarioActionsG=1;cheerpjSafeInitFinish('N6engine6helper12MarioActions');}
function _c4_16engine6helper12MarioAceWJYs6valuesE0(p){var c=null;var a={p:p,pc:0,f:_c4_16engine6helper12MarioAceWJYs6valuesE0,c:null};a.pc=-135;a.c=c=N6engine6helper12MarioActions.$VALUES5.v3(N6engine6helper12MarioActions.$VALUES5,a);a.pc=6;;if(c&&!(cheerpjArrayInstanceof(c,"[Lengine/helper/MarioActions;",a))){cjCastFailure(a,c);};return c;}function _c4_16engine6helper12MarioAceWJanjq$hVqrGw4vd(e,p){var c=null;var a={p:p,pc:0,f:_c4_16engine6helper12MarioAceWJanjq$hVqrGw4vd,e:e,c:null};a.pc=0;a.c=c=cjC("engine/helper/MarioActions",a);a.pc=-196;;if((N4java4lang4EnumG|0)==0){cjG(a);};a.pc=-245;a.c=c=_m4_Z4Enum7valueOfE9(c,e,a);a.pc=6;;if(c&&!(((N6engine6helper12MarioActionsG|0)&&c instanceof N6engine6helper12MarioActions)>>0)){cjCastFailure(a,c);};return c;}function _c4_16engine6helper12MarioAceWZadiSNn(n,m,l,k,j,p){var a={p:p,pc:0,f:_c4_16engine6helper12MarioAceWZadiSNn,n:n,k:k|0,j:j};a.pc=-131;_m4FY4EnumC2E2(n,m,l,a);n.value2=k;n.name3=j;}function _c4_16engine6helper12MarioAceWdZs8getValueE3(d,p){return d.value2|0|0;}function _c4_16engine6helper12MarioAceWtXs9getgeVWE4(d,p){return d.name3;}function _c4_16engine6helper12MarioAceWZYs15numberOfhbHWE5(p){var c=null;var a={p:p,pc:0,f:_c4_16engine6helper12MarioAceWZYs15numberOfhbHWE5};a.pc=-142;c=_c4_16engine6helper12MarioAceWJYs6valuesE0(a);return c.length-1|0|0;}function _c4_16engine6helper12MarioAceWtXs9getgPGWE6(e,p){var c=null;var a={p:p,pc:0,f:_c4_16engine6helper12MarioAceWtXs9getgPGWE6,e:e|0};a.pc=-138;c=_c4_16engine6helper12MarioAceWJYs6valuesE0(a);return c[(e+1|0)];}function _c4_16engine6helper12MarioAceWtXsXXE7(p){var d=null,c=null;var a={p:p,pc:0,f:_c4_16engine6helper12MarioAceWtXsXXE7,d:null};a.d=d=new N6engine6helper12MarioActions();c=cheerpjInternString("LEFT");a.pc=-204;_c4_16engine6helper12MarioAceWZadiSNn(d,c,0,0,cheerpjInternString("Left"),a);N6engine6helper12MarioActions.LEFT0=d;a.d=d=new N6engine6helper12MarioActions();c=cheerpjInternString("RIGHT");a.pc=-402;_c4_16engine6helper12MarioAceWZadiSNn(d,c,1,1,cheerpjInternString("Right"),a);N6engine6helper12MarioActions.RIGHT1=d;a.d=d=new N6engine6helper12MarioActions();c=cheerpjInternString("DOWN");a.pc=-601;_c4_16engine6helper12MarioAceWZadiSNn(d,c,2,2,cheerpjInternString("Down"),a);N6engine6helper12MarioActions.DOWN2=d;a.d=d=new N6engine6helper12MarioActions();c=cheerpjInternString("SPEED");a.pc=-799;_c4_16engine6helper12MarioAceWZadiSNn(d,c,3,3,cheerpjInternString("Speed"),a);N6engine6helper12MarioActions.SPEED3=d;a.d=d=new N6engine6helper12MarioActions();c=cheerpjInternString("JUMP");a.pc=-998;_c4_16engine6helper12MarioAceWZadiSNn(d,c,4,4,cheerpjInternString("Jump"),a);N6engine6helper12MarioActions.JUMP4=d;c=["[Lengine/helper/MarioActions;"];for(var i=1;i<=5;i=i+1|0)c[i|0]=null;;c[1]=N6engine6helper12MarioActions.LEFT0;c[2]=N6engine6helper12MarioActions.RIGHT1;c[3]=N6engine6helper12MarioActions.DOWN2;c[4]=N6engine6helper12MarioActions.SPEED3;c[5]=N6engine6helper12MarioActions.JUMP4;N6engine6helper12MarioActions.$VALUES5=c;}function _c4p76engine6helper6Replay19getRepAgentFromFileE1(a0,p){var a={p:p,f:_c4p76engine6helper6Replay19getRepAgentFromFileE1,l0:a0,l1:null,l2:null,l3:null,s0:null,s1:null,s2:null,s3:null};a.pc=0;a.s0=0;a.s0=new Int8Array(1+a.s0);a.s0[0]=66;a.l1=a.s0;a.s0=a.l0;a.s1=0;var __i__=a.s1;a.s1=["[Ljava/lang/String;"];for(var i=0;i<__i__;i++) a.s1[i+1]=null;a.pc=9;;if((N4java3nio4file5PathsG|0)==0){cjG(a);}a.pc=10;a.s0=_h4VaSkWorJxGSqKNcmDiDBqm5vd(a.s0,a.s1,a);a.pc=12;;if((N4java3nio4file5FilesG|0)==0){cjG(a);}a.pc=13;a.s0=_h4VaSkWoCJxGSqK_HSqivBhramOTSSHnri5Pxd(a.s0,a);a.l1=a.s0;a.pc=24;a.s0=a.l1;a.s0=a.s0.length-1;a.s1=5;var __i0__=a.s0;var __i1__=a.s1;a.s0=["[[Z"];for(var i0=0;i0<__i0__;i0++){a.s1=new Int8Array(1+__i1__);a.s1[0]=90;a.s0[i0+1]=a.s1;}a.l2=a.s0;a.s0=0;a.l3=a.s0;while(1){a.pc=34;a.s0=a.l3;a.s1=a.l2;a.s1=a.s1.length-1;if(a.s1<=a.s0){break;}a.pc=40;a.s0=a.l2;a.s1=a.l3;a.s2=a.l1;a.s3=a.l3;a.s2=a.s2[a.s3+1];a.pc=45;;if((N6engine6helper6ReplayG|0)==0){cjG(a);}a.pc=46;a.s2=_c4V36engine6helper6Replay11parseAceWJWE5(a.s2,a);a.s0[a.s1+1]=a.s2;a.l3+=1;}a.pc=55;;if((N6agents11ReplayAgentG|0)==0){cjG(a);}a.s0=new N6agents11ReplayAgent;a.s1=a.s0=a.s0;a.s2=a.l2;a.pc=60;_c4Vaw4SbrZKuD9kXZcaMgrniGac7vd(a.s1,a.s2,a);return a.s0;}function ec4p76engine6helper6Replay19getRepAgentFromFileE1(a, e){var label=0;a.f=ec4p76engine6helper6Replay19getRepAgentFromFileE1;a.s0=e;if(!((a.pc>=4&&a.pc<16)&&self.hasOwnProperty("N4java2io11IOException")&&(e instanceof N4java2io11IOException))){a.pc=-1;return;}a.pc=19;a.l2=a.s0;a.s0=a.l2;a.pc=21;a.s0.v15(a.s0,a);a.pc=24;a.f=_c4p76engine6helper6Replay19getRepAgentFromFileE1;buildContinuations(a, true);currentThread.state='READY';throw 'CheerpJContinue';}var N6engine6helper6ReplayG;
function N6engine6helper6Replay(){N4java4lang6Object.call(this);}
N6engine6helper6Replay.cl=cheerpjCL;
function N6engine6helper6ReplayX(a){a.f=N6engine6helper6ReplayX;if(cheerpjSafeInitGuard('N6engine6helper6Replay')) return;var q=a.q=N6engine6helper6Replay.prototype=Object.create(N4java4lang6Object.prototype);q.constructor=N6engine6helper6Replay;N6engine6helper6ReplayG=1;cheerpjSafeInitFinish('N6engine6helper6Replay');}
var N4java3nio4file5FilesG;
var N4java3nio4file5PathsG;
function _c4F26engine6helper6ReplayC2E0(d,p){_n4VYObjectC2E0(d,p);}function _c4F76engine6helper6Replay20serializeAgentEventsE2(j,p){var c=0,e=null,d=null,g=0;var a={p:p,pc:0,f:_c4F76engine6helper6Replay20serializeAgentEventsE2,c:0,j:j,e:null,d:null};a.pc=-183;c=j.v12(j,a)|0;a.e=e=new Int8Array((c+1|0));e[0]=66;a.pc=-245;c=j.v12(j,a)|0;if((c|0)>0){a.c=c=0;while(1){a.pc=-299;a.d=d=j.v24(j,c,a);a.pc=22;;if(d&&!(((N6engine4core15MarioAgentEventG|0)&&d instanceof N6engine4core15MarioAgentEvent)>>0)){cjCastFailure(a,d);};a.pc=-454;d=d.v11(d,a);a.pc=-477;g=_c4V46engine6helper6Replay15serializeAceWJWE4(d,a)|0;a.c=c=c+1|0;e[c]=g;a.pc=-561;g=j.v12(j,a)|0;if((c|0)<(g|0))continue;break;}}return e;}function _c4_26engine6helper6Replay10savegTGWE3(k,j,p){var d=null,c=null,e=null;var a={p:p,pc:0,f:_c4_26engine6helper6Replay10savegTGWE3,k:k,d:null,c:null,e:null};a.pc=0;;a.pc=2;a.d=d=_c4F76engine6helper6Replay20serializeAgentEventsE2(j,a);a.pc=1;;a.c=c=["[Ljava/lang/String;"];for(var i=1;i<=0;i=i+1|0)c[i|0]=null;;a.pc=10;;if((N4java3nio4file5PathsG|0)==0){cjG(a);};a.pc=11;a.c=c=_h4VaSkWorJxGSqKNcmDiDBqm5vd(k,c,a);a.pc=3;;a.e=e=["[Ljava/nio/file/OpenOption;"];for(var i=1;i<=0;i=i+1|0)e[i|0]=null;;a.pc=18;;if((N4java3nio4file5FilesG|0)==0){cjG(a);};a.pc=19;_h4VaSkWouJxGSqK_HSqiLBfHmr4PJd(c,d,e,a);a.pc=4;;}function ec4_26engine6helper6Replay10savegTGWE3(a,b){a.f=ec4_26engine6helper6Replay10savegTGWE3;var k=a.k,d=a.d,c=a.c,e=a.e;var pc=a.pc;a.pc=5;;a.d=d=b;if(!((pc>=0&&pc<22)&&self.hasOwnProperty("N4java2io11IOException")&&(b instanceof N4java2io11IOException)|0)){a.pc=6;;a.pc=-1;return;}a.pc=7;;a.pc=27;d.v15(d,a);a.f=_c4_26engine6helper6Replay10savegTGWE3;a.pc=4;buildContinuations(a, true);currentThread.state='READY';throw 'CheerpJContinue';}function _c4V46engine6helper6Replay15serializeAceWJWE4(j,p){var e=0,c=0,d=0,g=0;c=0;e=0;while(1){if((c|0)>4){return e|0;}d=c+1|0;if(((j[d]|0)&255)===0){c=d;continue;}g=c;c=d;d=g;e=(1<<(d&31))+e<<24>>24;continue;}}function _c4V36engine6helper6Replay11parseAceWJWE5(g,p){var d=0,c=null;d=g<<24>>24;c=new Int8Array(6);c[0]=90;if((d&1|0)!==0){c[1]=1;}if((d&2|0)!==0){c[2]=1;}if((d&4|0)!==0){c[3]=1;}if((d&8|0)!==0){c[4]=1;}if((d&16|0)!==0){c[5]=1;}return c;}function N6engine6helper10SpriteType(){N4java4lang4Enum.call(this);this.value2=0;this.startIndex3=0;}
N6engine6helper10SpriteType.cl=cheerpjCL;
function N6engine6helper10SpriteTypeX(a){a.f=N6engine6helper10SpriteTypeX;if(cheerpjSafeInitGuard('N6engine6helper10SpriteType')) return;a.pc=-137;;if((N4java4lang4EnumG|0)==0){cjG(a);}var q=a.q=N6engine6helper10SpriteType.prototype=Object.create(N4java4lang4Enum.prototype);q.constructor=N6engine6helper10SpriteType;q.v16=_c4F56engine6helper10SpriteType8getValueE4;q.v17=_c4_66engine6helper10SpriteType13getStartIndexE5;q.v18=_c4F46engine6helper10SpriteType11spawngbHWE6;N6engine6helper10SpriteType.NONE0=null;N6engine6helper10SpriteType.UNDEF1=null;N6engine6helper10SpriteType.MARIO2=null;N6engine6helper10SpriteType.FIREBALL3=null;N6engine6helper10SpriteType.GOOMBA4=null;N6engine6helper10SpriteType.GOOMBA_WINGED5=null;N6engine6helper10SpriteType.RED_KOOPA6=null;N6engine6helper10SpriteType.RED_KOOPA_WINGED7=null;N6engine6helper10SpriteType.GREEN_KOOPA8=null;N6engine6helper10SpriteType.GREEN_KOOPA_WINGED9=null;N6engine6helper10SpriteType.SPIKY10=null;N6engine6helper10SpriteType.SPIKY_WINGED11=null;N6engine6helper10SpriteType.BULLET_BILL12=null;N6engine6helper10SpriteType.ENEMY_FLOWER13=null;N6engine6helper10SpriteType.MUSHROOM14=null;N6engine6helper10SpriteType.FIRE_FLOWER15=null;N6engine6helper10SpriteType.SHELL16=null;N6engine6helper10SpriteType.LIFE_MUSHROOM17=null;N6engine6helper10SpriteType.$VALUES18=null;a.pc=-1325;_c4V36engine6helper10SpriteTypeXXE7(a);N6engine6helper10SpriteTypeG=1;cheerpjSafeInitFinish('N6engine6helper10SpriteType');}
function _c4_46engine6helper10SpriteType6valuesE0(p){var c=null;var a={p:p,pc:0,f:_c4_46engine6helper10SpriteType6valuesE0,c:null};a.pc=-131;a.c=c=N6engine6helper10SpriteType.$VALUES18.v3(N6engine6helper10SpriteType.$VALUES18,a);a.pc=6;;if(c&&!(cheerpjArrayInstanceof(c,"[Lengine/helper/SpriteType;",a))){cjCastFailure(a,c);};return c;}function _c4p56engine6helper10SpriteType7valueOfE1(e,p){var c=null;var a={p:p,pc:0,f:_c4p56engine6helper10SpriteType7valueOfE1,e:e,c:null};a.pc=0;a.c=c=cjC("engine/helper/SpriteType",a);a.pc=-186;;if((N4java4lang4EnumG|0)==0){cjG(a);};a.pc=-235;a.c=c=_m4_Z4Enum7valueOfE9(c,e,a);a.pc=6;;if(c&&!(((N6engine6helper10SpriteTypeG|0)&&c instanceof N6engine6helper10SpriteType)>>0)){cjCastFailure(a,c);};return c;}function _c4V36engine6helper10SpriteTypeC2E2(l,k,j,h,p){var a={p:p,pc:0,f:_c4V36engine6helper10SpriteTypeC2E2,l:l,h:h|0};a.pc=-121;_m4FY4EnumC2E2(l,k,j,a);l.value2=h;}function _c4V36engine6helper10SpriteTypeC2E3(n,m,l,k,j,p){var a={p:p,pc:0,f:_c4V36engine6helper10SpriteTypeC2E3,n:n,k:k|0,j:j|0};a.pc=-129;_m4FY4EnumC2E2(n,m,l,a);n.value2=k;n.startIndex3=j;}function _c4F56engine6helper10SpriteType8getValueE4(d,p){return d.value2|0|0;}function _c4_66engine6helper10SpriteType13getStartIndexE5(d,p){return d.startIndex3|0|0;}function _c4F46engine6helper10SpriteType11spawngbHWE6(q,o,n,m,l,p){var d=0,c=null;var a=new createStacklet_c4F46engine6helper10SpriteType11spawngbHWE6(p,q,n,m,l);a.d=d=o&255;if(N6engine6helper10SpriteType.ENEMY_FLOWER13===q){a.pc=-225;;if((N6engine7sprites11FlowerEnemyG|0)==0){cjG(a);};a.c=c=new N6engine7sprites11FlowerEnemy();a.pc=-329;_c4p46engine7sprites11FlowerEnemyC2E0(c,d,cjF(((n<<4)+17|0)),cjF(((m<<4)+18|0)),a);return c;}a.pc=-432;;if((N6engine7sprites5EnemyG|0)==0){cjG(a);};a.c=c=new N6engine7sprites5Enemy();a.pc=-522;_c4F26engine7sprites5EnemyC2E0(c,d,cjF(((n<<4)+8|0)),cjF(((m<<4)+15|0)),l,q,a);return c;}function _c4V36engine6helper10SpriteTypeXXE7(p){var c=null;var a={p:p,pc:0,f:_c4V36engine6helper10SpriteTypeXXE7,c:null};a.c=c=new N6engine6helper10SpriteType();a.pc=-161;_c4V36engine6helper10SpriteTypeC2E2(c,cheerpjInternString("NONE"),0,0,a);N6engine6helper10SpriteType.NONE0=c;a.c=c=new N6engine6helper10SpriteType();a.pc=-320;_c4V36engine6helper10SpriteTypeC2E2(c,cheerpjInternString("UNDEF"),1, -42,a);N6engine6helper10SpriteType.UNDEF1=c;a.c=c=new N6engine6helper10SpriteType();a.pc=-484;_c4V36engine6helper10SpriteTypeC2E2(c,cheerpjInternString("MARIO"),2, -31,a);N6engine6helper10SpriteType.MARIO2=c;a.c=c=new N6engine6helper10SpriteType();a.pc=-648;_c4V36engine6helper10SpriteTypeC2E2(c,cheerpjInternString("FIREBALL"),3,16,a);N6engine6helper10SpriteType.FIREBALL3=c;a.c=c=new N6engine6helper10SpriteType();a.pc=-816;_c4V36engine6helper10SpriteTypeC2E3(c,cheerpjInternString("GOOMBA"),4,2,16,a);N6engine6helper10SpriteType.GOOMBA4=c;a.c=c=new N6engine6helper10SpriteType();a.pc=-982;_c4V36engine6helper10SpriteTypeC2E3(c,cheerpjInternString("GOOMBA_WINGED"),5,3,16,a);N6engine6helper10SpriteType.GOOMBA_WINGED5=c;a.c=c=new N6engine6helper10SpriteType();a.pc=-1162;_c4V36engine6helper10SpriteTypeC2E3(c,cheerpjInternString("RED_KOOPA"),6,4,0,a);N6engine6helper10SpriteType.RED_KOOPA6=c;a.c=c=new N6engine6helper10SpriteType();a.pc=-1334;_c4V36engine6helper10SpriteTypeC2E3(c,cheerpjInternString("RED_KOOPA_WINGED"),7,5,0,a);N6engine6helper10SpriteType.RED_KOOPA_WINGED7=c;a.c=c=new N6engine6helper10SpriteType();a.pc=-1520;_c4V36engine6helper10SpriteTypeC2E3(c,cheerpjInternString("GREEN_KOOPA"),8,6,8,a);N6engine6helper10SpriteType.GREEN_KOOPA8=c;a.c=c=new N6engine6helper10SpriteType();a.pc=-1696;_c4V36engine6helper10SpriteTypeC2E3(c,cheerpjInternString("GREEN_KOOPA_WINGED"),9,7,8,a);N6engine6helper10SpriteType.GREEN_KOOPA_WINGED9=c;a.c=c=new N6engine6helper10SpriteType();a.pc=-1886;_c4V36engine6helper10SpriteTypeC2E3(c,cheerpjInternString("SPIKY"),10,8,24,a);N6engine6helper10SpriteType.SPIKY10=c;a.c=c=new N6engine6helper10SpriteType();a.pc=-2053;_c4V36engine6helper10SpriteTypeC2E3(c,cheerpjInternString("SPIKY_WINGED"),11,9,24,a);N6engine6helper10SpriteType.SPIKY_WINGED11=c;a.c=c=new N6engine6helper10SpriteType();a.pc=-2234;_c4V36engine6helper10SpriteTypeC2E3(c,cheerpjInternString("BULLET_BILL"),12,10,40,a);N6engine6helper10SpriteType.BULLET_BILL12=c;a.c=c=new N6engine6helper10SpriteType();a.pc=-2414;_c4V36engine6helper10SpriteTypeC2E3(c,cheerpjInternString("ENEMY_FLOWER"),13,11,48,a);N6engine6helper10SpriteType.ENEMY_FLOWER13=c;a.c=c=new N6engine6helper10SpriteType();a.pc=-2596;_c4V36engine6helper10SpriteTypeC2E2(c,cheerpjInternString("MUSHROOM"),14,12,a);N6engine6helper10SpriteType.MUSHROOM14=c;a.c=c=new N6engine6helper10SpriteType();a.pc=-2767;_c4V36engine6helper10SpriteTypeC2E2(c,cheerpjInternString("FIRE_FLOWER"),15,13,a);N6engine6helper10SpriteType.FIRE_FLOWER15=c;a.c=c=new N6engine6helper10SpriteType();a.pc=-2944;_c4V36engine6helper10SpriteTypeC2E2(c,cheerpjInternString("SHELL"),16,14,a);N6engine6helper10SpriteType.SHELL16=c;a.c=c=new N6engine6helper10SpriteType();a.pc=-3109;_c4V36engine6helper10SpriteTypeC2E2(c,cheerpjInternString("LIFE_MUSHROOM"),17,15,a);N6engine6helper10SpriteType.LIFE_MUSHROOM17=c;c=["[Lengine/helper/SpriteType;"];for(var i=1;i<=18;i=i+1|0)c[i|0]=null;;c[1]=N6engine6helper10SpriteType.NONE0;c[2]=N6engine6helper10SpriteType.UNDEF1;c[3]=N6engine6helper10SpriteType.MARIO2;c[4]=N6engine6helper10SpriteType.FIREBALL3;c[5]=N6engine6helper10SpriteType.GOOMBA4;c[6]=N6engine6helper10SpriteType.GOOMBA_WINGED5;c[7]=N6engine6helper10SpriteType.RED_KOOPA6;c[8]=N6engine6helper10SpriteType.RED_KOOPA_WINGED7;c[9]=N6engine6helper10SpriteType.GREEN_KOOPA8;c[10]=N6engine6helper10SpriteType.GREEN_KOOPA_WINGED9;c[11]=N6engine6helper10SpriteType.SPIKY10;c[12]=N6engine6helper10SpriteType.SPIKY_WINGED11;c[13]=N6engine6helper10SpriteType.BULLET_BILL12;c[14]=N6engine6helper10SpriteType.ENEMY_FLOWER13;c[15]=N6engine6helper10SpriteType.MUSHROOM14;c[16]=N6engine6helper10SpriteType.FIRE_FLOWER15;c[17]=N6engine6helper10SpriteType.SHELL16;c[18]=N6engine6helper10SpriteType.LIFE_MUSHROOM17;N6engine6helper10SpriteType.$VALUES18=c;}function createStacklet_c4F46engine6helper10SpriteType11spawngbHWE6(p,q,n,m,l){this.p=p;this.pc=0;this.f=_c4F46engine6helper10SpriteType11spawngbHWE6;this.q=q;this.n=n|0;this.m=m|0;this.l=l|0;this.d=0;this.c=null;}function N6engine6helper11TileFeature(){N4java4lang4Enum.call(this);}
N6engine6helper11TileFeature.cl=cheerpjCL;
function N6engine6helper11TileFeatureX(a){a.f=N6engine6helper11TileFeatureX;if(cheerpjSafeInitGuard('N6engine6helper11TileFeature')) return;a.pc=-140;;if((N4java4lang4EnumG|0)==0){cjG(a);}var q=a.q=N6engine6helper11TileFeature.prototype=Object.create(N4java4lang4Enum.prototype);q.constructor=N6engine6helper11TileFeature;N6engine6helper11TileFeature.BLOCK_UPPER0=null;N6engine6helper11TileFeature.BLOCK_ALL1=null;N6engine6helper11TileFeature.BLOCK_LOWER2=null;N6engine6helper11TileFeature.SPECIAL3=null;N6engine6helper11TileFeature.LIFE4=null;N6engine6helper11TileFeature.BUMPABLE5=null;N6engine6helper11TileFeature.BREAKABLE6=null;N6engine6helper11TileFeature.PICKABLE7=null;N6engine6helper11TileFeature.ANIMATED8=null;N6engine6helper11TileFeature.SPAWNER9=null;N6engine6helper11TileFeature.$VALUES10=null;a.pc=-808;_c4_36engine6helper11TileFeatureXXE4(a);N6engine6helper11TileFeatureG=1;cheerpjSafeInitFinish('N6engine6helper11TileFeature');}
function _c4p56engine6helper11TileFeature6valuesE0(p){var c=null;var a={p:p,pc:0,f:_c4p56engine6helper11TileFeature6valuesE0,c:null};a.pc=-133;a.c=c=N6engine6helper11TileFeature.$VALUES10.v3(N6engine6helper11TileFeature.$VALUES10,a);a.pc=6;;if(c&&!(cheerpjArrayInstanceof(c,"[Lengine/helper/TileFeature;",a))){cjCastFailure(a,c);};return c;}function _c4F56engine6helper11TileFeature7valueOfE1(e,p){var c=null;var a={p:p,pc:0,f:_c4F56engine6helper11TileFeature7valueOfE1,e:e,c:null};a.pc=0;a.c=c=cjC("engine/helper/TileFeature",a);a.pc=-189;;if((N4java4lang4EnumG|0)==0){cjG(a);};a.pc=-238;a.c=c=_m4_Z4Enum7valueOfE9(c,e,a);a.pc=6;;if(c&&!(((N6engine6helper11TileFeatureG|0)&&c instanceof N6engine6helper11TileFeature)>>0)){cjCastFailure(a,c);};return c;}function _c4_36engine6helper11TileFeatureC2E2(j,h,g,p){_m4FY4EnumC2E2(j,h,g,p);}function _c4p46engine6helper11TileFeature11gete9GXTypeE3(e,p){var c=null;var a={p:p,pc:0,f:_c4p46engine6helper11TileFeature11gete9GXTypeE3,e:e|0,c:null};a.pc=-153;;if((N4java4util9ArrayListG|0)==0){cjG(a);};a.c=c=new N4java4util9ArrayList();a.pc=-241;_i4pbN6CVwueawjI0eNTxn(c,a);L0:do{switch(e|0){case 1:{}case 2:{}case 4:{}case 5:{}case 53:{}case 52:{}case 14:{}case 18:{}case 19:{}case 20:{}case 21:{a.pc=-402;c.v17(c,N6engine6helper11TileFeature.BLOCK_ALL1,a)|0;break L0;}case 3:{a.pc=-483;c.v17(c,N6engine6helper11TileFeature.BLOCK_ALL1,a)|0;a.pc=-546;c.v17(c,N6engine6helper11TileFeature.SPAWNER9,a)|0;break L0;}case 6:{a.pc=-625;c.v17(c,N6engine6helper11TileFeature.BLOCK_ALL1,a)|0;a.pc=-688;c.v17(c,N6engine6helper11TileFeature.BREAKABLE6,a)|0;break L0;}case 7:{a.pc=-769;c.v17(c,N6engine6helper11TileFeature.BLOCK_ALL1,a)|0;a.pc=-832;c.v17(c,N6engine6helper11TileFeature.BUMPABLE5,a)|0;break L0;}case 8:{a.pc=-912;c.v17(c,N6engine6helper11TileFeature.BLOCK_ALL1,a)|0;a.pc=-975;c.v17(c,N6engine6helper11TileFeature.SPECIAL3,a)|0;a.pc=-1036;c.v17(c,N6engine6helper11TileFeature.BUMPABLE5,a)|0;a.pc=-1099;c.v17(c,N6engine6helper11TileFeature.ANIMATED8,a)|0;break L0;}case 11:{a.pc=-1181;c.v17(c,N6engine6helper11TileFeature.BLOCK_ALL1,a)|0;a.pc=-1245;c.v17(c,N6engine6helper11TileFeature.BUMPABLE5,a)|0;a.pc=-1308;c.v17(c,N6engine6helper11TileFeature.ANIMATED8,a)|0;break L0;}case 51:{a.pc=-1390;c.v17(c,N6engine6helper11TileFeature.BLOCK_ALL1,a)|0;a.pc=-1454;c.v17(c,N6engine6helper11TileFeature.LIFE4,a)|0;a.pc=-1513;c.v17(c,N6engine6helper11TileFeature.BUMPABLE5,a)|0;break L0;}case 50:{a.pc=-1595;c.v17(c,N6engine6helper11TileFeature.BLOCK_ALL1,a)|0;a.pc=-1659;c.v17(c,N6engine6helper11TileFeature.SPECIAL3,a)|0;a.pc=-1721;c.v17(c,N6engine6helper11TileFeature.BUMPABLE5,a)|0;break L0;}case 15:{a.pc=-1803;c.v17(c,N6engine6helper11TileFeature.PICKABLE7,a)|0;a.pc=-1866;c.v17(c,N6engine6helper11TileFeature.ANIMATED8,a)|0;break L0;}case 49:{a.pc=-1948;c.v17(c,N6engine6helper11TileFeature.BUMPABLE5,a)|0;a.pc=-2011;c.v17(c,N6engine6helper11TileFeature.BLOCK_UPPER0,a)|0;break L0;}case 48:{a.pc=-2096;c.v17(c,N6engine6helper11TileFeature.BLOCK_UPPER0,a)|0;a.pc=-2162;c.v17(c,N6engine6helper11TileFeature.LIFE4,a)|0;a.pc=-2221;c.v17(c,N6engine6helper11TileFeature.BUMPABLE5,a)|0;break L0;}case 46:{}case 45:{}case 44:{}case 43:{a.pc=-2333;c.v17(c,N6engine6helper11TileFeature.BLOCK_LOWER2,a)|0;break L0;}default:{}}}while(0);return c;}function _c4_36engine6helper11TileFeatureXXE4(p){var c=null;var a={p:p,pc:0,f:_c4_36engine6helper11TileFeatureXXE4,c:null};a.c=c=new N6engine6helper11TileFeature();a.pc=-164;_m4FY4EnumC2E2(c,cheerpjInternString("BLOCK_UPPER"),0,a);N6engine6helper11TileFeature.BLOCK_UPPER0=c;a.c=c=new N6engine6helper11TileFeature();a.pc=-316;_m4FY4EnumC2E2(c,cheerpjInternString("BLOCK_ALL"),1,a);N6engine6helper11TileFeature.BLOCK_ALL1=c;a.c=c=new N6engine6helper11TileFeature();a.pc=-464;_m4FY4EnumC2E2(c,cheerpjInternString("BLOCK_LOWER"),2,a);N6engine6helper11TileFeature.BLOCK_LOWER2=c;a.c=c=new N6engine6helper11TileFeature();a.pc=-616;_m4FY4EnumC2E2(c,cheerpjInternString("SPECIAL"),3,a);N6engine6helper11TileFeature.SPECIAL3=c;a.c=c=new N6engine6helper11TileFeature();a.pc=-760;_m4FY4EnumC2E2(c,cheerpjInternString("LIFE"),4,a);N6engine6helper11TileFeature.LIFE4=c;a.c=c=new N6engine6helper11TileFeature();a.pc=-898;_m4FY4EnumC2E2(c,cheerpjInternString("BUMPABLE"),5,a);N6engine6helper11TileFeature.BUMPABLE5=c;a.c=c=new N6engine6helper11TileFeature();a.pc=-1044;_m4FY4EnumC2E2(c,cheerpjInternString("BREAKABLE"),6,a);N6engine6helper11TileFeature.BREAKABLE6=c;a.c=c=new N6engine6helper11TileFeature();a.pc=-1193;_m4FY4EnumC2E2(c,cheerpjInternString("PICKABLE"),7,a);N6engine6helper11TileFeature.PICKABLE7=c;a.c=c=new N6engine6helper11TileFeature();a.pc=-1340;_m4FY4EnumC2E2(c,cheerpjInternString("ANIMATED"),8,a);N6engine6helper11TileFeature.ANIMATED8=c;a.c=c=new N6engine6helper11TileFeature();a.pc=-1487;_m4FY4EnumC2E2(c,cheerpjInternString("SPAWNER"),9,a);N6engine6helper11TileFeature.SPAWNER9=c;c=["[Lengine/helper/TileFeature;"];for(var i=1;i<=10;i=i+1|0)c[i|0]=null;;c[1]=N6engine6helper11TileFeature.BLOCK_UPPER0;c[2]=N6engine6helper11TileFeature.BLOCK_ALL1;c[3]=N6engine6helper11TileFeature.BLOCK_LOWER2;c[4]=N6engine6helper11TileFeature.SPECIAL3;c[5]=N6engine6helper11TileFeature.LIFE4;c[6]=N6engine6helper11TileFeature.BUMPABLE5;c[7]=N6engine6helper11TileFeature.BREAKABLE6;c[8]=N6engine6helper11TileFeature.PICKABLE7;c[9]=N6engine6helper11TileFeature.ANIMATED8;c[10]=N6engine6helper11TileFeature.SPAWNER9;N6engine6helper11TileFeature.$VALUES10=c;}function N6engine7sprites10BulletBill(){N6engine4core11MarioSprite.call(this);this.graphics11=null;}
N6engine7sprites10BulletBill.cl=cheerpjCL;
function N6engine7sprites10BulletBillX(a){a.f=N6engine7sprites10BulletBillX;if(cheerpjSafeInitGuard('N6engine7sprites10BulletBill')) return;a.pc=-140;;if((N6engine4core11MarioSpriteG|0)==0){cjG(a);}var q=a.q=N6engine7sprites10BulletBill.prototype=Object.create(N6engine4core11MarioSprite.prototype);q.constructor=N6engine7sprites10BulletBill;q.v11=_c4_46engine7sprites10BulletBill5cloneE1;q.v17=_c4p56engine7sprites10BulletBill6updateE2;q.v16=_c4p56engine7sprites10BulletBill6renderE3;q.v18=_c4_66engine7sprites10BulletBill12collideCheckE4;q.v22=_c4_86engine7sprites10BulletBill20fireballCollideCheckE6;q.v20=_c4p86engine7sprites10BulletBill17shellCollideCheckE7;q.v3=_c4_46engine7sprites10BulletBill5cloneE8;N6engine7sprites10BulletBillG=1;cheerpjSafeInitFinish('N6engine7sprites10BulletBill');}
function _c4_36engine7sprites10BulletBillC2E0(o,n,m,l,k,p){var c=null;var a=new createStacklet_c4_36engine7sprites10BulletBillC2E0(p,o,n,m,l,k);a.pc=-144;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};a.pc=-204;_c4F36engine4core11MarioSpriteC2E0(o,m,l,N6engine6helper10SpriteType.BULLET_BILL12,a);o.width6=4;o.height7=12;o.ya5=cjF(-5);o.facing8=k;if((n&255)!==0){a.pc=-366;;if((N6engine8graphics10MarioImageG|0)==0){cjG(a);};a.c=c=new N6engine8graphics10MarioImage();a.pc=-470;;if((N6engine6helper6AssetsG|0)==0){cjG(a);};a.pc=-525;_c4p46engine8graphics10MarioImageC2E0(c,N6engine6helper6Assets.enemies3,40,a);o.graphics11=c;o.graphics11.originX2=8;o.graphics11.originY3=31;o.graphics11.width6=16;}}function _c4_46engine7sprites10BulletBill5cloneE1(h,p){var c=null,e=-0.,d=-0.;var a={p:p,pc:0,f:_c4_46engine7sprites10BulletBill5cloneE1,h:h,c:null};a.c=c=new N6engine7sprites10BulletBill();e=+h.x2;d=+h.y3;a.pc=-206;_c4_36engine7sprites10BulletBillC2E0(c,0,e,d,(h.facing8|0),a);c.xa4= +h.xa4;c.ya5= +h.ya5;c.width6=(h.width6|0);c.height7=(h.height7|0);return c;}function _c4p56engine7sprites10BulletBill6updateE2(e,p){var c=null;var a={p:p,pc:0,f:_c4p56engine7sprites10BulletBill6updateE2,e:e};if(((e.alive9|0)&255)!==0){e.xa4=cjF(cjF((e.facing8|0|0))*cjF(4));a.pc=-198;_c4V46engine7sprites10BulletBill4moveE5(e, +e.xa4,cjF(0),a)|0;if(e.graphics11!==null){c=e.graphics11;c.flipX4=((e.facing8|0|0)===-1?1:0);}}}function _c4p56engine7sprites10BulletBill6renderE3(l,k,p){var e=0,d=0,g=null,c=-0.;g=l.graphics11;c=+l.x2;c-= +l.world10.cameraX4;e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}c=+l.y3;c-= +l.world10.cameraY5;d=~~c;if( +Math.trunc(c)!==cjF((d|0))){d=cjN2I(c)|0;}g.v11(g,k,e,d,p);}function _c4_66engine7sprites10BulletBill12collideCheckE4(k,p){var d=-0.,c=-0.,g=null,e=null,h=0;var a={p:p,pc:0,f:_c4_66engine7sprites10BulletBill12collideCheckE4,k:k,g:null,e:null};L0:do{if(((k.alive9|0)&255)!==0){d=+k.world10.mario6.x2;d-= +k.x2;c=+k.world10.mario6.y3;c-= +k.y3;if(!(!(d>cjF(-16))||!(d<cjF(16)))){if(c>cjF((-(k.height7|0)|0))){if(c<cjF((k.world10.mario6.height7|0|0))){L1:do{if( +k.world10.mario6.ya5>cjF(0)){if(!(!(c<=cjF(0))&&!(c<cjF(0)))){if(((k.world10.mario6.onGround13|0)&255)!==0){if(((k.world10.mario6.wasOnGround14|0)&255)!==0)break L1;}a.pc=-566;k.world10.mario6.v30(k.world10.mario6,k,a);if(k.graphics11!==null){a.g=g=k.world10;a.pc=-659;;if((N6engine7effects11DeathEffectG|0)==0){cjG(a);};a.e=e=new N6engine7effects11DeathEffect();d=+k.x2;c=+k.y3;a.pc=-779;_c4_16engine7effects11DeathEf1GaciShn(e,d,cjF(c+cjF(-7)),((k.graphics11.flipX4|0)&255),43,cjF(0),a);a.pc=-889;g.v16(g,e,a);}a.pc=-913;k.world10.v18(k.world10,k,a);break L0;}}}while(0);a.g=g=k.world10;a.pc=-989;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.e=e=N6engine6helper9EventType.HURT8;a.pc=-1085;h=k.type0.v16(k.type0,a)|0;a.pc=-1123;g.v15(g,e,h,a);a.pc=-1149;k.world10.mario6.v26(k.world10.mario6,a);}}}}}while(0);}function _c4V46engine7sprites10BulletBill4moveE5(j,h,g,p){j.x2=cjF( +j.x2+h);return 1|0;}function _c4_86engine7sprites10BulletBill20fireballCollideCheckE6(j,h,p){var d=-0.,c=-0.;if(((j.alive9|0)&255)!==0){d=+h.x2;d-= +j.x2;c=+h.y3;c-= +j.y3;if(!(!(d>cjF(-16))||!(d<cjF(16)))){if(c>cjF((-(j.height7|0)|0))){return (c<cjF((h.height7|0|0))?1:0)|0;}}}return 0|0;}function _c4p86engine7sprites10BulletBill17shellCollideCheckE7(m,l,p){var d=-0.,c=-0.,g=null,e=null,h=0;var a={p:p,pc:0,f:_c4p86engine7sprites10BulletBill17shellCollideCheckE7,m:m,g:null,e:null};if(((m.alive9|0)&255)===0){return 0|0;}d=+l.x2;d-= +m.x2;c=+l.y3;c-= +m.y3;if(!(d>cjF(-16))||!(d<cjF(16))){return 0|0;}if(c>cjF((-(m.height7|0)|0))){if(c<cjF((l.height7|0|0))){if(m.graphics11!==null){a.g=g=m.world10;a.pc=-411;;if((N6engine7effects11DeathEffectG|0)==0){cjG(a);};a.e=e=new N6engine7effects11DeathEffect();d=+m.x2;c=+m.y3;a.pc=-531;_c4_16engine7effects11DeathEf1GaciShn(e,d,cjF(c+cjF(-7)),((m.graphics11.flipX4|0)&255),43,cjF(-1),a);a.pc=-642;g.v16(g,e,a);}a.g=g=m.world10;a.pc=-682;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.e=e=N6engine6helper9EventType.SHELL_KILL3;a.pc=-784;h=m.type0.v16(m.type0,a)|0;a.pc=-821;g.v15(g,e,h,a);a.pc=-846;m.world10.v18(m.world10,m,a);return 1|0;}return 0|0;}return 0|0;}function _c4_46engine7sprites10BulletBill5cloneE8(d,p){return d.v11(d,p);}function createStacklet_c4_36engine7sprites10BulletBillC2E0(p,o,n,m,l,k){this.p=p;this.pc=0;this.f=_c4_36engine7sprites10BulletBillC2E0;this.o=o;this.n=n|0;this.m=+m;this.l=+l;this.k=k|0;this.c=null;}function N6engine7sprites5Enemy(){N6engine4core11MarioSprite.call(this);this.onGround11=0;this.avoidCliffs12=0;this.winged13=0;this.noFireballDeath14=0;this.runTime15=-0;this.wingTime16=0;this.wingGraphics17=null;this.graphics18=null;}
N6engine7sprites5Enemy.cl=cheerpjCL;
function N6engine7sprites5EnemyX(a){a.f=N6engine7sprites5EnemyX;if(cheerpjSafeInitGuard('N6engine7sprites5Enemy')) return;a.pc=-122;;if((N6engine4core11MarioSpriteG|0)==0){cjG(a);}var q=a.q=N6engine7sprites5Enemy.prototype=Object.create(N6engine4core11MarioSprite.prototype);q.constructor=N6engine7sprites5Enemy;q.v11=_c4F36engine7sprites5Enemy5cloneE1;q.v18=_c4F56engine7sprites5Enemy12collideCheckE2;q.v17=_c4V36engine7sprites5Enemy6updateE4;q.v20=_c4V66engine7sprites5Enemy17shellCollideCheckE7;q.v22=_c4F76engine7sprites5Enemy20fireballCollideCheckE8;q.v19=_c4F46engine7sprites5Enemy9bumpCheckE9;q.v16=_c4_36engine7sprites5Enemy6renderE10;q.v3=_c4V36engine7sprites5Enemy5cloneE11;N6engine7sprites5Enemy.GROUND_INERTIA0=0.89;N6engine7sprites5Enemy.AIR_INERTIA1=0.89;N6engine7sprites5EnemyG=1;cheerpjSafeInitFinish('N6engine7sprites5Enemy');}
function _c4F26engine7sprites5EnemyC2E0(t,s,r,q,o,n,p){var d=0,c=null,e=null;var a={p:p,pc:0,f:_c4F26engine7sprites5EnemyC2E0,t:t,s:s|0,o:o|0,c:null,e:null};a.pc=-157;_c4F36engine4core11MarioSpriteC2E0(t,r,q,n,a);t.onGround11=0;t.avoidCliffs12=1;t.winged13=1;t.wingTime16=0;t.width6=4;t.height7=24;a.c=c=t.type0;a.pc=-312;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};if(c!==N6engine6helper10SpriteType.RED_KOOPA6){c=t.type0;if(c!==N6engine6helper10SpriteType.GREEN_KOOPA8){c=t.type0;if(c!==N6engine6helper10SpriteType.RED_KOOPA_WINGED7){c=t.type0;if(c!==N6engine6helper10SpriteType.GREEN_KOOPA_WINGED9){t.height7=12;}}}}a.pc=-625;d=t.type0.v16(t.type0,a)|0;t.winged13=(((d|0)%2|0)===1?1:0);c=t.type0;if(c===N6engine6helper10SpriteType.RED_KOOPA6){d=1;}else{c=t.type0;e=N6engine6helper10SpriteType.RED_KOOPA_WINGED7;d=c===e?1:0;}t.avoidCliffs12=d;c=t.type0;if(c===N6engine6helper10SpriteType.SPIKY10){d=1;}else{c=t.type0;e=N6engine6helper10SpriteType.SPIKY_WINGED11;d=c===e?1:0;}t.noFireballDeath14=d;t.facing8=o;if((t.facing8|0|0)===0){t.facing8=1;}if((s&255)!==0){a.pc=-1070;;if((N6engine8graphics10MarioImageG|0)==0){cjG(a);};a.c=c=new N6engine8graphics10MarioImage();a.pc=-1175;;if((N6engine6helper6AssetsG|0)==0){cjG(a);};a.e=e=N6engine6helper6Assets.enemies3;a.pc=-1269;d=t.type0.v17(t.type0,a)|0;a.pc=-1307;_c4p46engine8graphics10MarioImageC2E0(c,e,d,a);t.graphics18=c;t.graphics18.originX2=8;t.graphics18.originY3=31;t.graphics18.width6=16;a.c=c=new N6engine8graphics10MarioImage();a.pc=-1494;_c4p46engine8graphics10MarioImageC2E0(c,N6engine6helper6Assets.enemies3,32,a);t.wingGraphics17=c;t.wingGraphics17.originX2=16;t.wingGraphics17.originY3=31;t.wingGraphics17.width6=16;}}function _c4F36engine7sprites5Enemy5cloneE1(j,p){var c=null,g=-0.,e=-0.,d=0;var a={p:p,pc:0,f:_c4F36engine7sprites5Enemy5cloneE1,j:j,c:null};a.c=c=new N6engine7sprites5Enemy();g=+j.x2;e=+j.y3;d=j.facing8|0;a.pc=-206;_c4F26engine7sprites5EnemyC2E0(c,0,g,e,d,j.type0,a);c.xa4= +j.xa4;c.ya5= +j.ya5;c.initialCode1=j.initialCode1;c.width6=(j.width6|0);c.height7=(j.height7|0);c.onGround11=(j.onGround11|0);c.winged13=(j.winged13|0);c.avoidCliffs12=(j.avoidCliffs12|0);c.noFireballDeath14=(j.noFireballDeath14|0);return c;}function _c4F56engine7sprites5Enemy12collideCheckE2(l,p){var h=-0.,g=-0.,c=null,d=null,j=0,e=null;var a={p:p,pc:0,f:_c4F56engine7sprites5Enemy12collideCheckE2,l:l,g:-0.,c:null,d:null};L0:do{if(((l.alive9|0)&255)!==0){h=+l.world10.mario6.x2;h-= +l.x2;g=+l.world10.mario6.y3;a.g=g-= +l.y3;if(h>cjF(((Math.imul(l.width6|0,-2)|0)-4|0))){if(h<cjF((((l.width6|0)<<1)+4|0))){if(g>cjF((-(l.height7|0)|0))){if(g<cjF((l.world10.mario6.height7|0|0))){a.c=c=l.type0;a.pc=-454;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};L1:do{if(c!==N6engine6helper10SpriteType.SPIKY10){c=l.type0;if(c!==N6engine6helper10SpriteType.SPIKY_WINGED11){c=l.type0;if(c!==N6engine6helper10SpriteType.ENEMY_FLOWER13){if( +l.world10.mario6.ya5>cjF(0)){if(!(!(g<=cjF(0))&&!(g<cjF(0)))){if(((l.world10.mario6.onGround13|0)&255)!==0){if(((l.world10.mario6.wasOnGround14|0)&255)!==0)break L1;}a.pc=-857;l.world10.mario6.v24(l.world10.mario6,l,a);if(((l.winged13|0)&255)===0){c=l.type0;L2:do{if(c!==N6engine6helper10SpriteType.GREEN_KOOPA8){e=l.type0;if(e!==N6engine6helper10SpriteType.GREEN_KOOPA_WINGED9){e=l.type0;if(e!==N6engine6helper10SpriteType.RED_KOOPA6){e=l.type0;if(e!==N6engine6helper10SpriteType.RED_KOOPA_WINGED7){e=l.type0;if(e!==N6engine6helper10SpriteType.GOOMBA4){e=l.type0;if(e!==N6engine6helper10SpriteType.GOOMBA_WINGED5)break L2;}if(l.graphics18===null)break L2;a.c=c=l.world10;a.pc=-1363;;if((N6engine7effects12SquishEffectG|0)==0){cjG(a);};a.d=d=new N6engine7effects12SquishEffect();h=+l.x2;a.pc=-1478;_c4p26engine7effects12SquishEf5GaciShn(d,h,cjF( +l.y3+cjF(-7)),a);a.pc=-1555;c.v16(c,d,a);break L2;}}a.c=c=l.world10;a.pc=-1606;;if((N6engine7sprites5ShellG|0)==0){cjG(a);};a.d=d=new N6engine7sprites5Shell();e=l.graphics18;h=+l.x2;g=+l.y3;a.pc=-1728;_c4F26engine7sprites5ShellC2E0(d,(e!==null?1:0),h,g,0,l.initialCode1,a);a.pc=-1811;c.v17(c,d,a);break L2;}}a.c=c=l.world10;a.pc=-1862;;if((N6engine7sprites5ShellG|0)==0){cjG(a);};a.d=d=new N6engine7sprites5Shell();e=l.graphics18;h=+l.x2;g=+l.y3;a.pc=-1984;_c4F26engine7sprites5ShellC2E0(d,(e!==null?1:0),h,g,1,l.initialCode1,a);a.pc=-2067;c.v17(c,d,a);}while(0);a.c=c=l.world10;a.pc=-2117;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.d=d=N6engine6helper9EventType.STOMP_KILL1;a.pc=-2220;j=l.type0.v16(l.type0,a)|0;a.pc=-2258;c.v15(c,d,j,a);a.pc=-2284;l.world10.v18(l.world10,l,a);break L0;}l.winged13=0;l.ya5=cjF(0);break L0;}}}}}}while(0);a.c=c=l.world10;a.pc=-2400;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.d=d=N6engine6helper9EventType.HURT8;a.pc=-2497;j=l.type0.v16(l.type0,a)|0;a.pc=-2535;c.v15(c,d,j,a);a.pc=-2561;l.world10.mario6.v26(l.world10.mario6,a);}}}}}}while(0);}function _c4_56engine7sprites5Enemy14updateGraphicsE3(k,p){var c=0,g=null,h=-0.,e=-0.,d=0;var a={p:p,pc:0,f:_c4_56engine7sprites5Enemy14updateGraphicsE3,c:0,k:k,g:null,h:-0.};k.wingTime16=((k.wingTime16|0)+1|0);g=k.wingGraphics17;g.index9=((((k.wingTime16|0|0)/4|0)%2|0)+32|0);g=k.graphics18;g.flipX4=((k.facing8|0|0)===-1?1:0);a.h=h=+k.runTime15;a.pc=-347;e=+_m4pZ4Math3absE42( +k.xa4,a);k.runTime15=cjF(h+cjF(e+cjF(5)));e=cjF( +k.runTime15/cjF(20));c=~~e;if( +Math.trunc(e)!==cjF((c|0))){c=cjN2I(e)|0;}d=k.onGround11|0;d=(d&255)===0?1|0:(c|0)%2|0;if(((k.winged13|0)&255)===0){a.c=c=d;}else{d=k.wingTime16|0;a.c=c=((d|0)/4|0)%2|0;}a.g=g=k.graphics18;a.pc=-651;d=k.type0.v17(k.type0,a)|0;g.index9=(d+c|0);}function _c4V36engine7sprites5Enemy6updateE4(j,p){var d=0,c=-0.,g=-0.,e=0;var a={p:p,pc:0,f:_c4V36engine7sprites5Enemy6updateE4,j:j};if(((j.alive9|0)&255)!==0){if( +j.xa4>cjF(2)){j.facing8=1;}if( +j.xa4<cjF(-2)){j.facing8= -1;}j.xa4=cjF(cjF((j.facing8|0|0))*cjF(1.75));a.pc=-269;d=_c4p36engine7sprites5Enemy4moveE5(j, +j.xa4,cjF(0),a)|0;if((d|0)===0){j.facing8=(-(j.facing8|0)|0);}j.onGround11=0;a.pc=-396;_c4p36engine7sprites5Enemy4moveE5(j,cjF(0), +j.ya5,a)|0;c=+j.ya5;d=j.winged13|0;g=(d&255)===0?cjF(.85):cjF(.949999988);j.ya5=cjF(c*g);j.onGround11|0;j.xa4=cjF( +j.xa4*cjF(.889999985));d=j.onGround11|0;e=j.winged13|0;if((d&255)===0){c=+j.ya5;if((e&255)===0){j.ya5=cjF(c+cjF(2));}else{j.ya5=cjF(c+cjF(.6));}}else{if((e&255)!==0){j.ya5=cjF(-10);}}if(j.graphics18!==null){a.pc=-774;_c4_56engine7sprites5Enemy14updateGraphicsE3(j,a);}}}function _c4p36engine7sprites5Enemy4moveE5(t,s,r,p){var c=-0.,d=-0.,j=0,g=0,k=0,e=-0.,l=-0.,h=0,m=null;var a=new createStacklet_c4p36engine7sprites5Enemy4moveE5(p,t,r);L0:do{if(s>cjF(8)){a.c=c=s;while(1){a.pc=-204;g=_c4p36engine7sprites5Enemy4moveE5(t,cjF(8),cjF(0),a)|0;if((g|0)===0)break L0;c+=cjF(-8);if(c>cjF(8)){a.c=c=c;continue;}break;}}else{c=s;}if(c<cjF(-8)){a.c=c=c;while(1){a.pc=-384;g=_c4p36engine7sprites5Enemy4moveE5(t,cjF(-8),cjF(0),a)|0;if((g|0)===0)break L0;c+=cjF(8);if(c<cjF(-8)){a.c=c=c;continue;}break;}a.c=c=c;}else{a.c=c=c;}if(r>cjF(8)){a.d=d=r;while(1){a.pc=-576;g=_c4p36engine7sprites5Enemy4moveE5(t,cjF(0),cjF(8),a)|0;if((g|0)===0)break L0;d+=cjF(-8);if(d>cjF(8)){a.d=d=d;continue;}break;}}else{d=r;}if(d<cjF(-8)){a.d=d=d;while(1){a.pc=-756;g=_c4p36engine7sprites5Enemy4moveE5(t,cjF(0),cjF(-8),a)|0;if((g|0)===0)break L0;d+=cjF(8);if(d<cjF(-8)){a.d=d=d;continue;}break;}a.d=d=d;}else{a.d=d=d;}if(!(d>cjF(0))){a.j=j=0;}else{e=+t.x2;h=t.width6|0;a.pc=-969;h=_c4_46engine7sprites5Enemy10isBlockingE6(t,cjF(cjF(c+e)-cjF((h|0))),cjF(d+ +t.y3),c,cjF(0),a)|0;if((h|0)===0){e=+t.x2;h=t.width6|0;a.pc=-1112;h=_c4_46engine7sprites5Enemy10isBlockingE6(t,cjF(cjF(c+e)+cjF((h|0))),cjF(d+ +t.y3),c,cjF(0),a)|0;if((h|0)===0){e=+t.x2;h=t.width6|0;a.pc=-1256;h=_c4_46engine7sprites5Enemy10isBlockingE6(t,cjF(cjF(c+e)-cjF((h|0))),cjF(cjF(d+ +t.y3)+cjF(1)),c,d,a)|0;if((h|0)===0){e=+t.x2;h=t.width6|0;a.pc=-1407;h=_c4_46engine7sprites5Enemy10isBlockingE6(t,cjF(cjF(c+e)+cjF((h|0))),cjF(cjF(d+ +t.y3)+cjF(1)),c,d,a)|0;a.j=j=(h|0)!==0?1:0;}else{a.j=j=1;}}else{a.j=j=1;}}else{a.j=j=1;}}if(d<cjF(0)){e=+t.x2;l=+t.y3;a.pc=-1618;h=_c4_46engine7sprites5Enemy10isBlockingE6(t,cjF(c+e),cjF(cjF(d+l)-cjF((t.height7|0|0))),c,d,a)|0;if((h|j|0)===0){e=+t.x2;h=t.width6|0;l=+t.y3;a.pc=-1772;h=_c4_46engine7sprites5Enemy10isBlockingE6(t,cjF(cjF(c+e)-cjF((h|0))),cjF(cjF(d+l)-cjF((t.height7|0|0))),c,d,a)|0;if((h|0)===0){e=+t.x2;h=t.width6|0;l=+t.y3;a.pc=-1940;h=_c4_46engine7sprites5Enemy10isBlockingE6(t,cjF(cjF(c+e)+cjF((h|0))),cjF(cjF(d+l)-cjF((t.height7|0|0))),c,d,a)|0;h=(h|0)===0?j|0:1|0;a.j=j=h;}else{a.j=j=1;}}else{a.j=j=1;}}if(c>cjF(0)){e=+t.x2;h=t.width6|0;l=+t.y3;a.pc=-2166;a.g=g=_c4_46engine7sprites5Enemy10isBlockingE6(t,cjF(cjF(c+e)+cjF((h|0))),cjF(cjF(d+l)-cjF((t.height7|0|0))),c,d,a)|0;e=+t.x2;h=t.width6|0;l=+t.y3;a.pc=-2324;a.k=k=_c4_46engine7sprites5Enemy10isBlockingE6(t,cjF(cjF(c+e)+cjF((h|0))),cjF(cjF(d+l)-cjF(((t.height7|0|0)/2|0))),c,d,a)|0;e=+t.x2;h=t.width6|0;a.pc=-2480;h=_c4_46engine7sprites5Enemy10isBlockingE6(t,cjF(cjF(c+e)+cjF((h|0))),cjF(d+ +t.y3),c,d,a)|0;a.j=j=(k|g|h|0)===0?j|0:1|0;if(((t.avoidCliffs12|0)&255)!==0){if(((t.onGround11|0)&255)!==0){m=t.world10.level7;e=+t.x2;e=cjF(cjF(cjF(c+e)+cjF((t.width6|0|0)))*cjF(.0625));g=~~e;if( +Math.trunc(e)!==cjF((g|0))){g=cjN2I(e)|0;}e=cjF(cjF( +t.y3*cjF(.0625))+cjF(1));k=~~e;if( +Math.trunc(e)!==cjF((k|0))){k=cjN2I(e)|0;}a.pc=-2899;h=m.v12(m,g,k,c,cjF(1),a)|0;h=(h|0)===0?1|0:j|0;a.j=j=h;}}}L1:do{if(!(c<cjF(0))){j=j;}else{e=+t.x2;g=t.width6|0;l=+t.y3;a.pc=-3030;a.g=g=_c4_46engine7sprites5Enemy10isBlockingE6(t,cjF(cjF(c+e)-cjF((g|0))),cjF(cjF(d+l)-cjF((t.height7|0|0))),c,d,a)|0;e=+t.x2;k=t.width6|0;l=+t.y3;a.pc=-3188;a.k=k=_c4_46engine7sprites5Enemy10isBlockingE6(t,cjF(cjF(c+e)-cjF((k|0))),cjF(cjF(d+l)-cjF(((t.height7|0|0)/2|0))),c,d,a)|0;e=+t.x2;h=t.width6|0;a.pc=-3344;h=_c4_46engine7sprites5Enemy10isBlockingE6(t,cjF(cjF(c+e)-cjF((h|0))),cjF(d+ +t.y3),c,d,a)|0;a.j=j=(k|g|h|0)===0?j|0:1|0;if(((t.avoidCliffs12|0)&255)===0){j=j;}else{if(((t.onGround11|0)&255)===0){j=j;}else{m=t.world10.level7;e=+t.x2;e=cjF(cjF(cjF(c+e)-cjF((t.width6|0|0)))*cjF(.0625));g=~~e;if( +Math.trunc(e)!==cjF((g|0))){g=cjN2I(e)|0;}e=cjF(cjF( +t.y3*cjF(.0625))+cjF(1));k=~~e;if( +Math.trunc(e)!==cjF((k|0))){k=cjN2I(e)|0;}a.pc=-3783;h=m.v12(m,g,k,c,cjF(1),a)|0;if((h|0)===0)break L1;j=j;}}}if((j|0)===0){t.x2=cjF(c+ +t.x2);t.y3=cjF(d+ +t.y3);return 1|0;}}while(0);if(c<cjF(0)){e=+t.x2;e=cjF(cjF(e-cjF((t.width6|0|0)))*cjF(.0625));g=~~e;if( +Math.trunc(e)!==cjF((g|0))){g=cjN2I(e)|0;j=g;}else{j=g;}t.x2=cjF(((j<<4)+(t.width6|0)|0));t.xa4=cjF(0);}if(c>cjF(0)){c=+t.x2;c=cjF(cjF(cjF(c+cjF((t.width6|0|0)))*cjF(.0625))+cjF(1));g=~~c;if( +Math.trunc(c)!==cjF((g|0))){g=cjN2I(c)|0;j=g;}else{j=g;}t.x2=cjF(((j<<4)+((t.width6|0)^ -1)|0));t.xa4=cjF(0);}if(d<cjF(0)){c=+t.y3;c=cjF(cjF(c-cjF((t.height7|0|0)))*cjF(.0625));g=~~c;if( +Math.trunc(c)!==cjF((g|0))){g=cjN2I(c)|0;j=g;}else{j=g;}t.y3=cjF(((j<<4)+(t.height7|0)|0));t.ya5=cjF(0);}if(d>cjF(0)){c=cjF(cjF( +t.y3*cjF(.0625))+cjF(1));g=~~c;if( +Math.trunc(c)!==cjF((g|0))){g=cjN2I(c)|0;j=g;}else{j=g;}t.y3=cjF(((j<<4)-1|0));t.onGround11=1;}}while(0);return 0|0;}function _c4_46engine7sprites5Enemy10isBlockingE6(s,r,q,o,n,p){var g=0,e=0,d=0,c=-0.;c=cjF(r*cjF(.0625));g=~~c;if( +Math.trunc(c)!==cjF((g|0))){g=cjN2I(c)|0;}c=cjF(q*cjF(.0625));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}c=cjF( +s.x2*cjF(.0625));d=~~c;if( +Math.trunc(c)!==cjF((d|0))){d=cjN2I(c)|0;}if((g|0)===(d|0)){c=cjF( +s.y3*cjF(.0625));d=~~c;if( +Math.trunc(c)!==cjF((d|0))){d=cjN2I(c)|0;}if((e|0)===(d|0)){return 0|0;}}return s.world10.level7.v12(s.world10.level7,g,e,o,n,p)|0|0;}function _c4V66engine7sprites5Enemy17shellCollideCheckE7(m,l,p){var g=-0.,e=-0.,c=null,d=null,h=0;var a={p:p,pc:0,f:_c4V66engine7sprites5Enemy17shellCollideCheckE7,m:m,c:null,d:null};if(((m.alive9|0)&255)===0){return 0|0;}g=+l.x2;g-= +m.x2;e=+l.y3;e-= +m.y3;if(!(g>cjF(-16))||!(g<cjF(16))){return 0|0;}if(e>cjF((-(m.height7|0)|0))){if(e<cjF((l.height7|0|0))){m.xa4=cjF(((l.facing8|0)<<1|0));m.ya5=cjF(-5);a.c=c=m.world10;a.pc=-421;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.d=d=N6engine6helper9EventType.SHELL_KILL3;a.pc=-523;h=m.type0.v16(m.type0,a)|0;a.pc=-560;c.v15(c,d,h,a);L0:do{if(m.graphics18!==null){a.c=c=m.type0;a.pc=-629;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};if(c!==N6engine6helper10SpriteType.GREEN_KOOPA8){c=m.type0;if(c!==N6engine6helper10SpriteType.GREEN_KOOPA_WINGED9){c=m.type0;if(c!==N6engine6helper10SpriteType.RED_KOOPA6){c=m.type0;if(c!==N6engine6helper10SpriteType.RED_KOOPA_WINGED7){c=m.type0;if(c!==N6engine6helper10SpriteType.GOOMBA4){c=m.type0;if(c!==N6engine6helper10SpriteType.GOOMBA_WINGED5){c=m.type0;if(c!==N6engine6helper10SpriteType.SPIKY10){c=m.type0;if(c!==N6engine6helper10SpriteType.SPIKY_WINGED11)break L0;}a.c=c=m.world10;a.pc=-1180;;if((N6engine7effects11DeathEffectG|0)==0){cjG(a);};a.d=d=new N6engine7effects11DeathEffect();g=+m.x2;e=+m.y3;a.pc=-1301;_c4_16engine7effects11DeathEf1GaciShn(d,g,e,((m.graphics18.flipX4|0)&255),45,cjF(-5),a);a.pc=-1400;c.v16(c,d,a);break L0;}}a.c=c=m.world10;a.pc=-1451;;if((N6engine7effects11DeathEffectG|0)==0){cjG(a);};a.d=d=new N6engine7effects11DeathEffect();g=+m.x2;e=+m.y3;a.pc=-1572;_c4_16engine7effects11DeathEf1GaciShn(d,g,e,((m.graphics18.flipX4|0)&255),44,cjF(-5),a);a.pc=-1671;c.v16(c,d,a);break L0;}}a.c=c=m.world10;a.pc=-1722;;if((N6engine7effects11DeathEffectG|0)==0){cjG(a);};a.d=d=new N6engine7effects11DeathEffect();g=+m.x2;e=+m.y3;a.pc=-1843;_c4_16engine7effects11DeathEf1GaciShn(d,g,e,((m.graphics18.flipX4|0)&255),41,cjF(-5),a);a.pc=-1942;c.v16(c,d,a);break L0;}}a.c=c=m.world10;a.pc=-1993;;if((N6engine7effects11DeathEffectG|0)==0){cjG(a);};a.d=d=new N6engine7effects11DeathEffect();g=+m.x2;e=+m.y3;a.pc=-2114;_c4_16engine7effects11DeathEf1GaciShn(d,g,e,((m.graphics18.flipX4|0)&255),42,cjF(-5),a);a.pc=-2213;c.v16(c,d,a);}}while(0);a.pc=-2248;m.world10.v18(m.world10,m,a);return 1|0;}return 0|0;}return 0|0;}function _c4F76engine7sprites5Enemy20fireballCollideCheckE8(m,l,p){var g=-0.,e=-0.,c=null,d=null,h=0;var a={p:p,pc:0,f:_c4F76engine7sprites5Enemy20fireballCollideCheckE8,m:m,c:null,d:null};if(((m.alive9|0)&255)===0){return 0|0;}g=+l.x2;g-= +m.x2;e=+l.y3;e-= +m.y3;if(!(g>cjF(-16))||!(g<cjF(16))){return 0|0;}if(e>cjF((-(m.height7|0)|0))){if(e<cjF((l.height7|0|0))){if(((m.noFireballDeath14|0)&255)===0){m.xa4=cjF(((l.facing8|0)<<1|0));m.ya5=cjF(-5);a.c=c=m.world10;a.pc=-465;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.d=d=N6engine6helper9EventType.FIRE_KILL2;a.pc=-566;h=m.type0.v16(m.type0,a)|0;a.pc=-603;c.v15(c,d,h,a);L0:do{if(m.graphics18!==null){a.c=c=m.type0;a.pc=-672;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};if(c!==N6engine6helper10SpriteType.GREEN_KOOPA8){c=m.type0;if(c!==N6engine6helper10SpriteType.GREEN_KOOPA_WINGED9){c=m.type0;if(c!==N6engine6helper10SpriteType.RED_KOOPA6){c=m.type0;if(c!==N6engine6helper10SpriteType.RED_KOOPA_WINGED7){c=m.type0;if(c!==N6engine6helper10SpriteType.GOOMBA4){c=m.type0;if(c!==N6engine6helper10SpriteType.GOOMBA_WINGED5)break L0;}a.c=c=m.world10;a.pc=-1108;;if((N6engine7effects11DeathEffectG|0)==0){cjG(a);};a.d=d=new N6engine7effects11DeathEffect();g=+m.x2;e=+m.y3;a.pc=-1229;_c4_16engine7effects11DeathEf1GaciShn(d,g,e,((m.graphics18.flipX4|0)&255),44,cjF(-5),a);a.pc=-1328;c.v16(c,d,a);break L0;}}a.c=c=m.world10;a.pc=-1379;;if((N6engine7effects11DeathEffectG|0)==0){cjG(a);};a.d=d=new N6engine7effects11DeathEffect();g=+m.x2;e=+m.y3;a.pc=-1500;_c4_16engine7effects11DeathEf1GaciShn(d,g,e,((m.graphics18.flipX4|0)&255),41,cjF(-5),a);a.pc=-1599;c.v16(c,d,a);break L0;}}a.c=c=m.world10;a.pc=-1650;;if((N6engine7effects11DeathEffectG|0)==0){cjG(a);};a.d=d=new N6engine7effects11DeathEffect();g=+m.x2;e=+m.y3;a.pc=-1771;_c4_16engine7effects11DeathEf1GaciShn(d,g,e,((m.graphics18.flipX4|0)&255),42,cjF(-5),a);a.pc=-1870;c.v16(c,d,a);}}while(0);a.pc=-1905;m.world10.v18(m.world10,m,a);return 1|0;}return 1|0;}return 0|0;}return 0|0;}function _c4F46engine7sprites5Enemy9bumpCheckE9(o,n,m,p){var g=0,d=-0.,c=null,e=null,h=-0.;var a={p:p,pc:0,f:_c4F46engine7sprites5Enemy9bumpCheckE9,o:o,c:null,e:null};if(((o.alive9|0)&255)!==0){d=+o.x2;g=n<<4;if(cjF(d+cjF((o.width6|0|0)))>cjF((g|0))){d=+o.x2;if(cjF(d-cjF((o.width6|0|0)))<cjF((g+16|0))){d=cjF(cjF( +o.y3+cjF(-1))*cjF(.0625));g=~~d;if( +Math.trunc(d)!==cjF((g|0))){g=cjN2I(d)|0;}if((g|0)===(m|0)){o.xa4=cjF((-(o.world10.mario6.facing8|0)<<1|0));o.ya5=cjF(-5);L0:do{if(o.graphics18!==null){a.c=c=o.type0;a.pc=-519;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};if(c!==N6engine6helper10SpriteType.GREEN_KOOPA8){c=o.type0;if(c!==N6engine6helper10SpriteType.GREEN_KOOPA_WINGED9){c=o.type0;if(c!==N6engine6helper10SpriteType.RED_KOOPA6){c=o.type0;if(c!==N6engine6helper10SpriteType.RED_KOOPA_WINGED7){c=o.type0;if(c!==N6engine6helper10SpriteType.GOOMBA4){c=o.type0;if(c!==N6engine6helper10SpriteType.GOOMBA_WINGED5){c=o.type0;if(c!==N6engine6helper10SpriteType.SPIKY10){c=o.type0;if(c!==N6engine6helper10SpriteType.SPIKY_WINGED11)break L0;}a.c=c=o.world10;a.pc=-1070;;if((N6engine7effects11DeathEffectG|0)==0){cjG(a);};a.e=e=new N6engine7effects11DeathEffect();d=+o.x2;h=+o.y3;a.pc=-1191;_c4_16engine7effects11DeathEf1GaciShn(e,d,h,((o.graphics18.flipX4|0)&255),45,cjF(-5),a);a.pc=-1290;c.v16(c,e,a);break L0;}}a.c=c=o.world10;a.pc=-1341;;if((N6engine7effects11DeathEffectG|0)==0){cjG(a);};a.e=e=new N6engine7effects11DeathEffect();d=+o.x2;h=+o.y3;a.pc=-1462;_c4_16engine7effects11DeathEf1GaciShn(e,d,h,((o.graphics18.flipX4|0)&255),44,cjF(-5),a);a.pc=-1561;c.v16(c,e,a);break L0;}}a.c=c=o.world10;a.pc=-1612;;if((N6engine7effects11DeathEffectG|0)==0){cjG(a);};a.e=e=new N6engine7effects11DeathEffect();d=+o.x2;h=+o.y3;a.pc=-1733;_c4_16engine7effects11DeathEf1GaciShn(e,d,h,((o.graphics18.flipX4|0)&255),41,cjF(-5),a);a.pc=-1832;c.v16(c,e,a);break L0;}}a.c=c=o.world10;a.pc=-1883;;if((N6engine7effects11DeathEffectG|0)==0){cjG(a);};a.e=e=new N6engine7effects11DeathEffect();d=+o.x2;h=+o.y3;a.pc=-2004;_c4_16engine7effects11DeathEf1GaciShn(e,d,h,((o.graphics18.flipX4|0)&255),42,cjF(-5),a);a.pc=-2103;c.v16(c,e,a);}}while(0);a.pc=-2138;o.world10.v18(o.world10,o,a);}}}}}function _c4_36engine7sprites5Enemy6renderE10(m,l,p){var d=0,e=0,g=null,c=-0.,h=-0.;var a={p:p,pc:0,f:_c4_36engine7sprites5Enemy6renderE10,m:m,l:l,g:null};if(((m.winged13|0)&255)!==0){a.g=g=m.type0;a.pc=-198;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};if(g!==N6engine6helper10SpriteType.RED_KOOPA6){g=m.type0;if(g!==N6engine6helper10SpriteType.GREEN_KOOPA8){g=m.type0;if(g!==N6engine6helper10SpriteType.RED_KOOPA_WINGED7){g=m.type0;if(g!==N6engine6helper10SpriteType.GREEN_KOOPA_WINGED9){m.wingGraphics17.flipX4=0;g=m.wingGraphics17;c=+m.x2;c=cjF(cjF(c- +m.world10.cameraX4)+cjF(-6));d=~~c;if( +Math.trunc(c)!==cjF((d|0))){d=cjN2I(c)|0;}c=+m.y3;c=cjF(cjF(c- +m.world10.cameraY5)+cjF(-6));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}a.pc=-747;g.v11(g,l,d,e,a);m.wingGraphics17.flipX4=1;g=m.wingGraphics17;c=+m.x2;c=cjF(cjF(c- +m.world10.cameraX4)+cjF(22));d=~~c;if( +Math.trunc(c)!==cjF((d|0))){d=cjN2I(c)|0;}c=+m.y3;c=cjF(cjF(c- +m.world10.cameraY5)+cjF(-6));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}a.pc=-1027;g.v11(g,l,d,e,a);}}}}}g=m.graphics18;c=+m.x2;c-= +m.world10.cameraX4;d=~~c;if( +Math.trunc(c)!==cjF((d|0))){d=cjN2I(c)|0;}c=+m.y3;c-= +m.world10.cameraY5;e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}a.pc=-1245;g.v11(g,l,d,e,a);L0:do{if(((m.winged13|0)&255)!==0){a.g=g=m.type0;a.pc=-1322;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};if(g!==N6engine6helper10SpriteType.RED_KOOPA6){g=m.type0;if(g!==N6engine6helper10SpriteType.GREEN_KOOPA8){g=m.type0;if(g!==N6engine6helper10SpriteType.RED_KOOPA_WINGED7){g=m.type0;if(g!==N6engine6helper10SpriteType.GREEN_KOOPA_WINGED9)break L0;}}}d=m.graphics18.flipX4|0;c=(d&255)===0?cjF(-1):cjF(17);g=m.wingGraphics17;g.flipX4=(m.graphics18.flipX4|0);g=m.wingGraphics17;h=+m.x2;c+=cjF(h- +m.world10.cameraX4);d=~~c;if( +Math.trunc(c)!==cjF((d|0))){d=cjN2I(c)|0;}c=+m.y3;c=cjF(cjF(c- +m.world10.cameraY5)+cjF(-8));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}a.pc=-1951;g.v11(g,l,d,e,a);}}while(0);}function _c4V36engine7sprites5Enemy5cloneE11(d,p){return d.v11(d,p);}function createStacklet_c4p36engine7sprites5Enemy4moveE5(p,t,r){this.p=p;this.pc=0;this.f=_c4p36engine7sprites5Enemy4moveE5;this.c=-0.;this.d=-0.;this.j=0;this.g=0;this.k=0;this.t=t;this.r=+r;}function N6engine7sprites8Fireball(){N6engine4core11MarioSprite.call(this);this.onGround11=0;this.graphics12=null;this.anim13=0;}
N6engine7sprites8Fireball.cl=cheerpjCL;
function N6engine7sprites8FireballX(a){a.f=N6engine7sprites8FireballX;if(cheerpjSafeInitGuard('N6engine7sprites8Fireball')) return;a.pc=-131;;if((N6engine4core11MarioSpriteG|0)==0){cjG(a);}var q=a.q=N6engine7sprites8Fireball.prototype=Object.create(N6engine4core11MarioSprite.prototype);q.constructor=N6engine7sprites8Fireball;q.v11=_c4p46engine7sprites8Fireball5cloneE1;q.v17=_c4F46engine7sprites8Fireball6updateE4;q.v16=_c4F46engine7sprites8Fireball6renderE5;q.v3=_c4p46engine7sprites8Fireball5cloneE6;N6engine7sprites8Fireball.GROUND_INERTIA0=0.89;N6engine7sprites8Fireball.AIR_INERTIA1=0.89;N6engine7sprites8FireballG=1;cheerpjSafeInitFinish('N6engine7sprites8Fireball');}
function _c4p36engine7sprites8FireballC2E0(o,n,m,l,k,p){var c=null;var a=new createStacklet_c4p36engine7sprites8FireballC2E0(p,o,n,m,l,k);a.pc=-138;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};a.pc=-198;_c4F36engine4core11MarioSpriteC2E0(o,m,l,N6engine6helper10SpriteType.FIREBALL3,a);o.onGround11=0;o.anim13=0;o.facing8=k;o.ya5=cjF(4);o.width6=4;o.height7=8;if((n&255)!==0){a.pc=-380;;if((N6engine8graphics10MarioImageG|0)==0){cjG(a);};a.c=c=new N6engine8graphics10MarioImage();a.pc=-484;;if((N6engine6helper6AssetsG|0)==0){cjG(a);};a.pc=-539;_c4p46engine8graphics10MarioImageC2E0(c,N6engine6helper6Assets.particles6,24,a);o.graphics12=c;o.graphics12.originX2=8;o.graphics12.originY3=8;o.graphics12.width6=16;o.graphics12.height7=16;}}function _c4p46engine7sprites8Fireball5cloneE1(h,p){var c=null,e=-0.,d=-0.;var a={p:p,pc:0,f:_c4p46engine7sprites8Fireball5cloneE1,h:h,c:null};a.c=c=new N6engine7sprites8Fireball();e=+h.x2;d=+h.y3;a.pc=-197;_c4p36engine7sprites8FireballC2E0(c,0,e,d,(h.facing8|0),a);c.xa4= +h.xa4;c.ya5= +h.ya5;c.initialCode1=h.initialCode1;c.width6=(h.width6|0);c.height7=(h.height7|0);c.onGround11=(h.onGround11|0);return c;}function _c4_36engine7sprites8Fireball4moveE2(s,r,q,p){var c=-0.,d=-0.,e=0,h=-0.,l=0,k=-0.,j=0,g=0;var a=new createStacklet_c4_36engine7sprites8Fireball4moveE2(p,s,q);L0:do{if(r>cjF(8)){a.c=c=r;while(1){a.pc=-203;e=_c4_36engine7sprites8Fireball4moveE2(s,cjF(8),cjF(0),a)|0;if((e|0)===0)break L0;c+=cjF(-8);if(c>cjF(8)){a.c=c=c;continue;}break;}}else{c=r;}if(c<cjF(-8)){a.c=c=c;while(1){a.pc=-386;e=_c4_36engine7sprites8Fireball4moveE2(s,cjF(-8),cjF(0),a)|0;if((e|0)===0)break L0;c+=cjF(8);if(c<cjF(-8)){a.c=c=c;continue;}break;}a.c=c=c;}else{a.c=c=c;}if(q>cjF(8)){a.d=d=q;while(1){a.pc=-581;e=_c4_36engine7sprites8Fireball4moveE2(s,cjF(0),cjF(8),a)|0;if((e|0)===0)break L0;d+=cjF(-8);if(d>cjF(8)){a.d=d=d;continue;}break;}}else{d=q;}if(d<cjF(-8)){a.d=d=d;while(1){a.pc=-764;e=_c4_36engine7sprites8Fireball4moveE2(s,cjF(0),cjF(-8),a)|0;if((e|0)===0)break L0;d+=cjF(8);if(d<cjF(-8)){a.d=d=d;continue;}break;}a.d=d=d;}else{a.d=d=d;}if(!(d>cjF(0))){a.e=e=0;}else{h=+s.x2;g=s.width6|0;a.pc=-980;g=_c4V56engine7sprites8Fireball10isBlockingE3(s,cjF(cjF(c+h)-cjF((g|0))),cjF(d+ +s.y3),c,cjF(0),a)|0;if((g|0)===0){h=+s.x2;g=s.width6|0;a.pc=-1126;g=_c4V56engine7sprites8Fireball10isBlockingE3(s,cjF(cjF(c+h)+cjF((g|0))),cjF(d+ +s.y3),c,cjF(0),a)|0;if((g|0)===0){h=+s.x2;g=s.width6|0;a.pc=-1273;g=_c4V56engine7sprites8Fireball10isBlockingE3(s,cjF(cjF(c+h)-cjF((g|0))),cjF(cjF(d+ +s.y3)+cjF(1)),c,d,a)|0;if((g|0)===0){h=+s.x2;g=s.width6|0;a.pc=-1427;g=_c4V56engine7sprites8Fireball10isBlockingE3(s,cjF(cjF(c+h)+cjF((g|0))),cjF(cjF(d+ +s.y3)+cjF(1)),c,d,a)|0;a.e=e=(g|0)!==0?1:0;}else{a.e=e=1;}}else{a.e=e=1;}}else{a.e=e=1;}}if(d<cjF(0)){h=+s.x2;k=+s.y3;a.pc=-1641;g=_c4V56engine7sprites8Fireball10isBlockingE3(s,cjF(c+h),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;if((g|e|0)===0){h=+s.x2;g=s.width6|0;k=+s.y3;a.pc=-1798;g=_c4V56engine7sprites8Fireball10isBlockingE3(s,cjF(cjF(c+h)-cjF((g|0))),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;if((g|0)===0){h=+s.x2;g=s.width6|0;k=+s.y3;a.pc=-1969;g=_c4V56engine7sprites8Fireball10isBlockingE3(s,cjF(cjF(c+h)+cjF((g|0))),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;g=(g|0)===0?e|0:1|0;a.e=e=g;}else{a.e=e=1;}}else{a.e=e=1;}}if(c>cjF(0)){h=+s.x2;j=s.width6|0;k=+s.y3;a.pc=-2198;a.l=l=_c4V56engine7sprites8Fireball10isBlockingE3(s,cjF(cjF(c+h)+cjF((j|0))),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;h=+s.x2;j=s.width6|0;k=+s.y3;a.pc=-2359;a.j=j=_c4V56engine7sprites8Fireball10isBlockingE3(s,cjF(cjF(c+h)+cjF((j|0))),cjF(cjF(d+k)-cjF(((s.height7|0|0)/2|0))),c,d,a)|0;h=+s.x2;g=s.width6|0;a.pc=-2518;g=_c4V56engine7sprites8Fireball10isBlockingE3(s,cjF(cjF(c+h)+cjF((g|0))),cjF(d+ +s.y3),c,d,a)|0;g=(j|l|g|0)===0?e|0:1|0;a.e=e=g;}L1:do{L2:do{if(!(c<cjF(0))){e=e;}else{h=+s.x2;l=s.width6|0;k=+s.y3;a.pc=-2725;a.l=l=_c4V56engine7sprites8Fireball10isBlockingE3(s,cjF(cjF(c+h)-cjF((l|0))),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;h=+s.x2;j=s.width6|0;k=+s.y3;a.pc=-2886;j=_c4V56engine7sprites8Fireball10isBlockingE3(s,cjF(cjF(c+h)-cjF((j|0))),cjF(cjF(d+k)-cjF(((s.height7|0|0)/2|0))),c,d,a)|0;a.e=e=(j|l|0)===0?e|0:1|0;h=+s.x2;j=s.width6|0;a.pc=-3067;j=_c4V56engine7sprites8Fireball10isBlockingE3(s,cjF(cjF(c+h)-cjF((j|0))),cjF(d+ +s.y3),c,d,a)|0;if((j|0)!==0)break L2;e=e;}if((e|0)===0){s.x2=cjF(c+ +s.x2);s.y3=cjF(d+ +s.y3);return 1|0;}if(!(c<cjF(0)))break L1;}while(0);h=+s.x2;h=cjF(cjF(h-cjF((s.width6|0|0)))*cjF(.0625));e=~~h;if( +Math.trunc(h)!==cjF((e|0))){e=cjN2I(h)|0;}s.x2=cjF(((e<<4)+(s.width6|0)|0));s.xa4=cjF(0);}while(0);if(c>cjF(0)){c=+s.x2;c=cjF(cjF(cjF(c+cjF((s.width6|0|0)))*cjF(.0625))+cjF(1));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}s.x2=cjF(((e<<4)+((s.width6|0)^ -1)|0));s.xa4=cjF(0);}if(d<cjF(0)){c=+s.y3;c=cjF(cjF(c-cjF((s.height7|0|0)))*cjF(.0625));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}s.y3=cjF(((e<<4)+(s.height7|0)|0));s.ya5=cjF(0);}if(d>cjF(0)){c=cjF(cjF( +s.y3*cjF(.0625))+cjF(1));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}s.y3=cjF(((e<<4)-1|0));s.onGround11=1;}}while(0);return 0|0;}function _c4V56engine7sprites8Fireball10isBlockingE3(s,r,q,o,n,p){var g=0,e=0,d=0,c=-0.;c=cjF(r*cjF(.0625));g=~~c;if( +Math.trunc(c)!==cjF((g|0))){g=cjN2I(c)|0;}c=cjF(q*cjF(.0625));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}c=cjF( +s.x2*cjF(.0625));d=~~c;if( +Math.trunc(c)!==cjF((d|0))){d=cjN2I(c)|0;}if((g|0)===(d|0)){c=cjF( +s.y3*cjF(.0625));d=~~c;if( +Math.trunc(c)!==cjF((d|0))){d=cjN2I(c)|0;}if((e|0)===(d|0)){return 0|0;}}return s.world10.level7.v12(s.world10.level7,g,e,o,n,p)|0|0;}function _c4F46engine7sprites8Fireball6updateE4(g,p){var d=0,c=null;var a={p:p,pc:0,f:_c4F46engine7sprites8Fireball6updateE4,g:g};if(((g.alive9|0)&255)!==0){if((g.facing8|0|0)!==0){g.anim13=((g.anim13|0)+1|0);}if( +g.xa4>cjF(2)){g.facing8=1;}if( +g.xa4<cjF(-2)){g.facing8= -1;}g.xa4=cjF(cjF((g.facing8|0|0))*cjF(8));a.pc=-316;g.world10.v20(g.world10,g,a);a.pc=-355;d=_c4_36engine7sprites8Fireball4moveE2(g, +g.xa4,cjF(0),a)|0;if((d|0)===0){a.pc=-440;g.world10.v18(g.world10,g,a);}else{g.onGround11=0;a.pc=-500;_c4_36engine7sprites8Fireball4moveE2(g,cjF(0), +g.ya5,a)|0;if(((g.onGround11|0)&255)!==0){g.ya5=cjF(-10);}g.ya5=cjF( +g.ya5*cjF(.949999988));g.onGround11|0;g.xa4=cjF( +g.xa4*cjF(.889999985));if(((g.onGround11|0)&255)===0){g.ya5=cjF( +g.ya5+cjF(1.5));}if(g.graphics12!==null){c=g.graphics12;c.flipX4=((g.facing8|0|0)===-1?1:0);c=g.graphics12;c.index9=(((g.anim13|0|0)%4|0)+24|0);}}}}function _c4F46engine7sprites8Fireball6renderE5(l,k,p){var e=0,d=0,g=null,c=-0.;g=l.graphics12;c=+l.x2;c-= +l.world10.cameraX4;e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}c=+l.y3;c-= +l.world10.cameraY5;d=~~c;if( +Math.trunc(c)!==cjF((d|0))){d=cjN2I(c)|0;}g.v11(g,k,e,d,p);}function _c4p46engine7sprites8Fireball5cloneE6(d,p){return d.v11(d,p);}function createStacklet_c4_36engine7sprites8Fireball4moveE2(p,s,q){this.p=p;this.pc=0;this.f=_c4_36engine7sprites8Fireball4moveE2;this.c=-0.;this.d=-0.;this.e=0;this.s=s;this.q=+q;this.l=0;this.j=0;}function createStacklet_c4p36engine7sprites8FireballC2E0(p,o,n,m,l,k){this.p=p;this.pc=0;this.f=_c4p36engine7sprites8FireballC2E0;this.o=o;this.n=n|0;this.m=+m;this.l=+l;this.k=k|0;this.c=null;}function N6engine7sprites10FireFlower(){N6engine4core11MarioSprite.call(this);this.graphics11=null;this.life12=0;}
N6engine7sprites10FireFlower.cl=cheerpjCL;
function N6engine7sprites10FireFlowerX(a){a.f=N6engine7sprites10FireFlowerX;if(cheerpjSafeInitGuard('N6engine7sprites10FireFlower')) return;a.pc=-140;;if((N6engine4core11MarioSpriteG|0)==0){cjG(a);}var q=a.q=N6engine7sprites10FireFlower.prototype=Object.create(N6engine4core11MarioSprite.prototype);q.constructor=N6engine7sprites10FireFlower;q.v11=_c4_46engine7sprites10FireFlower5cloneE1;q.v18=_c4_66engine7sprites10FireFlower12collideCheckE2;q.v17=_c4p56engine7sprites10FireFlower6updateE3;q.v16=_c4p56engine7sprites10FireFlower6renderE4;q.v3=_c4_46engine7sprites10FireFlower5cloneE5;N6engine7sprites10FireFlowerG=1;cheerpjSafeInitFinish('N6engine7sprites10FireFlower');}
function _c4_36engine7sprites10FireFlowerC2E0(m,l,k,j,p){var c=null;var a={p:p,pc:0,f:_c4_36engine7sprites10FireFlowerC2E0,m:m,l:l|0,k:+k,j:+j,c:null};a.pc=-151;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};a.pc=-211;_c4F36engine4core11MarioSpriteC2E0(m,k,j,N6engine6helper10SpriteType.FIRE_FLOWER15,a);m.width6=4;m.height7=12;m.facing8=1;m.life12=0;if((l&255)!==0){a.pc=-370;;if((N6engine8graphics10MarioImageG|0)==0){cjG(a);};a.c=c=new N6engine8graphics10MarioImage();a.pc=-474;;if((N6engine6helper6AssetsG|0)==0){cjG(a);};a.pc=-529;_c4p46engine8graphics10MarioImageC2E0(c,N6engine6helper6Assets.items4,1,a);m.graphics11=c;m.graphics11.originX2=8;m.graphics11.originY3=15;m.graphics11.width6=16;m.graphics11.height7=16;}}function _c4_46engine7sprites10FireFlower5cloneE1(g,p){var c=null,d=-0.;var a={p:p,pc:0,f:_c4_46engine7sprites10FireFlower5cloneE1,g:g,c:null};a.c=c=new N6engine7sprites10FireFlower();d=+g.x2;a.pc=-192;_c4_36engine7sprites10FireFlowerC2E0(c,0,d, +g.y3,a);c.xa4= +g.xa4;c.ya5= +g.ya5;c.initialCode1=g.initialCode1;c.width6=(g.width6|0);c.height7=(g.height7|0);c.facing8=(g.facing8|0);c.life12=(g.life12|0);return c;}function _c4_66engine7sprites10FireFlower12collideCheckE2(k,p){var d=-0.,c=-0.,h=null,g=null,e=0;var a={p:p,pc:0,f:_c4_66engine7sprites10FireFlower12collideCheckE2,k:k,h:null,g:null};if(((k.alive9|0)&255)!==0){d=+k.world10.mario6.x2;d-= +k.x2;c=+k.world10.mario6.y3;c-= +k.y3;if(!(!(d>cjF(-16))||!(d<cjF(16)))){if(c>cjF((-(k.height7|0)|0))){if(c<cjF((k.world10.mario6.height7|0|0))){a.h=h=k.world10;a.pc=-399;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.g=g=N6engine6helper9EventType.COLLECT7;a.pc=-498;e=k.type0.v16(k.type0,a)|0;a.pc=-535;h.v15(h,g,e,a);a.pc=-560;k.world10.mario6.v27(k.world10.mario6,a);a.pc=-611;k.world10.v18(k.world10,k,a);}}}}}function _c4p56engine7sprites10FireFlower6updateE3(e,p){var c=null;if(((e.alive9|0)&255)!==0){e.life12=((e.life12|0)+1|0);if((e.life12|0|0)<=8){e.y3=cjF( +e.y3+cjF(-1));return ;}if(e.graphics11!==null){c=e.graphics11;c.index9=((((e.life12|0|0)/2|0)%2|0)+1|0);}}}function _c4p56engine7sprites10FireFlower6renderE4(l,k,p){var e=0,d=0,g=null,c=-0.;g=l.graphics11;c=+l.x2;c-= +l.world10.cameraX4;e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}c=+l.y3;c-= +l.world10.cameraY5;d=~~c;if( +Math.trunc(c)!==cjF((d|0))){d=cjN2I(c)|0;}g.v11(g,k,e,d,p);}function _c4_46engine7sprites10FireFlower5cloneE5(d,p){return d.v11(d,p);}function N6engine7sprites11FlowerEnemy(){N6engine7sprites5Enemy.call(this);this.yStart19=-0;this.tick20=0;this.waitTime21=0;}
N6engine7sprites11FlowerEnemy.cl=cheerpjCL;
function N6engine7sprites11FlowerEnemyX(a){a.f=N6engine7sprites11FlowerEnemyX;if(cheerpjSafeInitGuard('N6engine7sprites11FlowerEnemy')) return;a.pc=-143;;if((N6engine7sprites5EnemyG|0)==0){cjG(a);}var q=a.q=N6engine7sprites11FlowerEnemy.prototype=Object.create(N6engine7sprites5Enemy.prototype);q.constructor=N6engine7sprites11FlowerEnemy;q.v11=_c4p56engine7sprites11FlowerEnemy5cloneE1;q.v17=_c4F56engine7sprites11FlowerEnemy6updateE2;q.v3=_c4p56engine7sprites11FlowerEnemy5cloneE3;N6engine7sprites11FlowerEnemyG=1;cheerpjSafeInitFinish('N6engine7sprites11FlowerEnemy');}
function _c4p46engine7sprites11FlowerEnemyC2E0(l,k,j,h,p){var a={p:p,pc:0,f:_c4p46engine7sprites11FlowerEnemyC2E0,l:l,k:k|0,j:+j,h:+h};a.pc=-135;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};a.pc=-195;_c4F26engine7sprites5EnemyC2E0(l,(k&255),j,h,0,N6engine6helper10SpriteType.ENEMY_FLOWER13,a);l.winged13=0;l.noFireballDeath14=0;l.width6=2;l.yStart19= +l.y3;l.ya5=cjF(-1);l.y3=cjF( +l.y3+cjF(-1));a.pc=-401;l.v17(l,a);a.pc=-422;l.v17(l,a);a.pc=-443;l.v17(l,a);a.pc=-464;l.v17(l,a);if((k&255)!==0){l.graphics18.originY3=24;l.tick20=0;}}function _c4p56engine7sprites11FlowerEnemy5cloneE1(g,p){var c=null,d=-0.;var a={p:p,pc:0,f:_c4p56engine7sprites11FlowerEnemy5cloneE1,g:g,c:null};a.c=c=new N6engine7sprites11FlowerEnemy();d=+g.x2;a.pc=-195;_c4p46engine7sprites11FlowerEnemyC2E0(c,0,d, +g.y3,a);c.xa4= +g.xa4;c.ya5= +g.ya5;c.initialCode1=g.initialCode1;c.width6=(g.width6|0);c.height7=(g.height7|0);c.onGround11=(g.onGround11|0);c.winged13=(g.winged13|0);c.avoidCliffs12=(g.avoidCliffs12|0);c.noFireballDeath14=(g.noFireballDeath14|0);c.yStart19= +g.yStart19;c.waitTime21=(g.waitTime21|0);return c;}function _c4F56engine7sprites11FlowerEnemy6updateE2(j,p){var d=0,c=-0.,g=null,e=0;var a={p:p,pc:0,f:_c4F56engine7sprites11FlowerEnemy6updateE2,j:j,g:null};if(((j.alive9|0)&255)!==0){if( +j.ya5>cjF(0)){c=+j.y3;if(c>= +j.yStart19){j.y3= +j.yStart19;c=+j.world10.mario6.x2;a.pc=-270;c=+_m4pZ4Math3absE42(cjF(c- +j.x2),a);d=~~c;if( +Math.trunc(c)!==cjF((d|0))){d=cjN2I(c)|0;}j.waitTime21=((j.waitTime21|0)+1|0);if(!((d|0)<25||(j.waitTime21|0|0)<41)){j.waitTime21=0;j.ya5=cjF(-1);}}}else{if( +j.ya5<cjF(0)){c=+j.yStart19;if(cjF(c- +j.y3)>cjF(20)){j.y3=cjF( +j.yStart19+cjF(-20));j.waitTime21=((j.waitTime21|0)+1|0);if((j.waitTime21|0|0)>=41){j.waitTime21=0;j.ya5=cjF(1);}}}}c=+j.y3;j.y3=cjF(c+ +j.ya5);if(j.graphics18!==null){j.tick20=((j.tick20|0)+1|0);a.g=g=j.graphics18;a.pc=-768;d=j.type0.v17(j.type0,a)|0;e=j.tick20|0;g.index9=((((e|0)/2<<1&2)+d|0)+((j.tick20|0|0)/6&1)|0);}}}function _c4p56engine7sprites11FlowerEnemy5cloneE3(d,p){return d.v11(d,p);}function N6engine7sprites12LifeMushroom(){N6engine4core11MarioSprite.call(this);this.onGround11=0;this.life12=0;this.graphics13=null;}
N6engine7sprites12LifeMushroom.cl=cheerpjCL;
function N6engine7sprites12LifeMushroomX(a){a.f=N6engine7sprites12LifeMushroomX;if(cheerpjSafeInitGuard('N6engine7sprites12LifeMushroom')) return;a.pc=-146;;if((N6engine4core11MarioSpriteG|0)==0){cjG(a);}var q=a.q=N6engine7sprites12LifeMushroom.prototype=Object.create(N6engine4core11MarioSprite.prototype);q.constructor=N6engine7sprites12LifeMushroom;q.v11=_c4F56engine7sprites12LifeMushroom5cloneE1;q.v18=_c4F76engine7sprites12LifeMushroom12collideCheckE2;q.v19=_c4F66engine7sprites12LifeMushroom9bumpCheckE4;q.v17=_c4V56engine7sprites12LifeMushroom6updateE6;q.v16=_c4V56engine7sprites12LifeMushroom6renderE7;q.v3=_c4F56engine7sprites12LifeMushroom5cloneE8;N6engine7sprites12LifeMushroom.GROUND_INERTIA0=0.89;N6engine7sprites12LifeMushroom.AIR_INERTIA1=0.89;N6engine7sprites12LifeMushroomG=1;cheerpjSafeInitFinish('N6engine7sprites12LifeMushroom');}
function _c4F46engine7sprites12LifeMushroomC2E0(m,l,k,j,p){var c=null;var a={p:p,pc:0,f:_c4F46engine7sprites12LifeMushroomC2E0,m:m,l:l|0,k:+k,j:+j,c:null};a.pc=-155;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};a.pc=-215;_c4F36engine4core11MarioSpriteC2E0(m,k,j,N6engine6helper10SpriteType.LIFE_MUSHROOM17,a);m.onGround11=0;m.width6=4;m.height7=12;m.facing8=1;m.life12=0;if((l&255)!==0){a.pc=-391;;if((N6engine8graphics10MarioImageG|0)==0){cjG(a);};a.c=c=new N6engine8graphics10MarioImage();a.pc=-495;;if((N6engine6helper6AssetsG|0)==0){cjG(a);};a.pc=-550;_c4p46engine8graphics10MarioImageC2E0(c,N6engine6helper6Assets.items4,3,a);m.graphics13=c;m.graphics13.width6=16;m.graphics13.height7=16;m.graphics13.originX2=8;m.graphics13.originY3=15;}}function _c4F56engine7sprites12LifeMushroom5cloneE1(g,p){var c=null,d=-0.;var a={p:p,pc:0,f:_c4F56engine7sprites12LifeMushroom5cloneE1,g:g,c:null};a.c=c=new N6engine7sprites12LifeMushroom();d=+g.x2;a.pc=-198;_c4F46engine7sprites12LifeMushroomC2E0(c,0,d, +g.y3,a);c.xa4= +g.xa4;c.ya5= +g.ya5;c.initialCode1=g.initialCode1;c.width6=(g.width6|0);c.height7=(g.height7|0);c.facing8=(g.facing8|0);c.life12=(g.life12|0);c.onGround11=(g.onGround11|0);return c;}function _c4F76engine7sprites12LifeMushroom12collideCheckE2(k,p){var d=-0.,c=-0.,h=null,g=null,e=0;var a={p:p,pc:0,f:_c4F76engine7sprites12LifeMushroom12collideCheckE2,k:k,h:null,g:null};if(((k.alive9|0)&255)!==0){d=+k.world10.mario6.x2;d-= +k.x2;c=+k.world10.mario6.y3;c-= +k.y3;if(!(!(d>cjF(-16))||!(d<cjF(16)))){if(c>cjF((-(k.height7|0)|0))){if(c<cjF((k.world10.mario6.height7|0|0))){a.h=h=k.world10;a.pc=-403;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.g=g=N6engine6helper9EventType.COLLECT7;a.pc=-502;e=k.type0.v16(k.type0,a)|0;a.pc=-539;h.v15(h,g,e,a);a.pc=-564;k.world10.mario6.v32(k.world10.mario6,a);a.pc=-615;k.world10.v18(k.world10,k,a);}}}}}function _c4_66engine7sprites12LifeMushroom10isBlockingE3(s,r,q,o,n,p){var g=0,e=0,d=0,c=-0.;c=cjF(r*cjF(.0625));g=~~c;if( +Math.trunc(c)!==cjF((g|0))){g=cjN2I(c)|0;}c=cjF(q*cjF(.0625));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}c=cjF( +s.x2*cjF(.0625));d=~~c;if( +Math.trunc(c)!==cjF((d|0))){d=cjN2I(c)|0;}if((g|0)===(d|0)){c=cjF( +s.y3*cjF(.0625));d=~~c;if( +Math.trunc(c)!==cjF((d|0))){d=cjN2I(c)|0;}if((e|0)===(d|0)){return 0|0;}}return s.world10.level7.v12(s.world10.level7,g,e,o,n,p)|0|0;}function _c4F66engine7sprites12LifeMushroom9bumpCheckE4(l,k,j,p){var c=0,d=-0.;if(((l.alive9|0)&255)!==0){d=+l.x2;c=k<<4;if(cjF(d+cjF((l.width6|0|0)))>cjF((c|0))){d=+l.x2;if(cjF(d-cjF((l.width6|0|0)))<cjF((c+16|0))){d=cjF(cjF( +l.y3+cjF(-1))*cjF(.0625));c=~~d;if( +Math.trunc(d)!==cjF((c|0))){c=cjN2I(d)|0;}if((c|0)===(j|0)){l.facing8=(-(l.world10.mario6.facing8|0)|0);l.ya5=cjF(-10);}}}}}function _c4p56engine7sprites12LifeMushroom4moveE5(s,r,q,p){var c=-0.,d=-0.,e=0,h=-0.,l=0,k=-0.,j=0,g=0;var a=new createStacklet_c4p56engine7sprites12LifeMushroom4moveE5(p,s,q);L0:do{if(r>cjF(8)){a.c=c=r;while(1){a.pc=-213;e=_c4p56engine7sprites12LifeMushroom4moveE5(s,cjF(8),cjF(0),a)|0;if((e|0)===0)break L0;c+=cjF(-8);if(c>cjF(8)){a.c=c=c;continue;}break;}}else{c=r;}if(c<cjF(-8)){a.c=c=c;while(1){a.pc=-401;e=_c4p56engine7sprites12LifeMushroom4moveE5(s,cjF(-8),cjF(0),a)|0;if((e|0)===0)break L0;c+=cjF(8);if(c<cjF(-8)){a.c=c=c;continue;}break;}a.c=c=c;}else{a.c=c=c;}if(q>cjF(8)){a.d=d=q;while(1){a.pc=-601;e=_c4p56engine7sprites12LifeMushroom4moveE5(s,cjF(0),cjF(8),a)|0;if((e|0)===0)break L0;d+=cjF(-8);if(d>cjF(8)){a.d=d=d;continue;}break;}}else{d=q;}if(d<cjF(-8)){a.d=d=d;while(1){a.pc=-789;e=_c4p56engine7sprites12LifeMushroom4moveE5(s,cjF(0),cjF(-8),a)|0;if((e|0)===0)break L0;d+=cjF(8);if(d<cjF(-8)){a.d=d=d;continue;}break;}a.d=d=d;}else{a.d=d=d;}if(!(d>cjF(0))){a.e=e=0;}else{h=+s.x2;g=s.width6|0;a.pc=-1010;g=_c4_66engine7sprites12LifeMushroom10isBlockingE3(s,cjF(cjF(c+h)-cjF((g|0))),cjF(d+ +s.y3),c,cjF(0),a)|0;if((g|0)===0){h=+s.x2;g=s.width6|0;a.pc=-1162;g=_c4_66engine7sprites12LifeMushroom10isBlockingE3(s,cjF(cjF(c+h)+cjF((g|0))),cjF(d+ +s.y3),c,cjF(0),a)|0;if((g|0)===0){h=+s.x2;g=s.width6|0;a.pc=-1314;g=_c4_66engine7sprites12LifeMushroom10isBlockingE3(s,cjF(cjF(c+h)-cjF((g|0))),cjF(cjF(d+ +s.y3)+cjF(1)),c,d,a)|0;if((g|0)===0){h=+s.x2;g=s.width6|0;a.pc=-1473;g=_c4_66engine7sprites12LifeMushroom10isBlockingE3(s,cjF(cjF(c+h)+cjF((g|0))),cjF(cjF(d+ +s.y3)+cjF(1)),c,d,a)|0;a.e=e=(g|0)!==0?1:0;}else{a.e=e=1;}}else{a.e=e=1;}}else{a.e=e=1;}}if(d<cjF(0)){h=+s.x2;k=+s.y3;a.pc=-1692;g=_c4_66engine7sprites12LifeMushroom10isBlockingE3(s,cjF(c+h),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;if((g|e|0)===0){h=+s.x2;g=s.width6|0;k=+s.y3;a.pc=-1854;g=_c4_66engine7sprites12LifeMushroom10isBlockingE3(s,cjF(cjF(c+h)-cjF((g|0))),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;if((g|0)===0){h=+s.x2;g=s.width6|0;k=+s.y3;a.pc=-2030;g=_c4_66engine7sprites12LifeMushroom10isBlockingE3(s,cjF(cjF(c+h)+cjF((g|0))),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;g=(g|0)===0?e|0:1|0;a.e=e=g;}else{a.e=e=1;}}else{a.e=e=1;}}if(c>cjF(0)){h=+s.x2;j=s.width6|0;k=+s.y3;a.pc=-2264;a.l=l=_c4_66engine7sprites12LifeMushroom10isBlockingE3(s,cjF(cjF(c+h)+cjF((j|0))),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;h=+s.x2;j=s.width6|0;k=+s.y3;a.pc=-2430;a.j=j=_c4_66engine7sprites12LifeMushroom10isBlockingE3(s,cjF(cjF(c+h)+cjF((j|0))),cjF(cjF(d+k)-cjF(((s.height7|0|0)/2|0))),c,d,a)|0;h=+s.x2;g=s.width6|0;a.pc=-2594;g=_c4_66engine7sprites12LifeMushroom10isBlockingE3(s,cjF(cjF(c+h)+cjF((g|0))),cjF(d+ +s.y3),c,d,a)|0;g=(j|l|g|0)===0?e|0:1|0;a.e=e=g;}L1:do{L2:do{if(!(c<cjF(0))){e=e;}else{h=+s.x2;l=s.width6|0;k=+s.y3;a.pc=-2806;a.l=l=_c4_66engine7sprites12LifeMushroom10isBlockingE3(s,cjF(cjF(c+h)-cjF((l|0))),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;h=+s.x2;j=s.width6|0;k=+s.y3;a.pc=-2972;j=_c4_66engine7sprites12LifeMushroom10isBlockingE3(s,cjF(cjF(c+h)-cjF((j|0))),cjF(cjF(d+k)-cjF(((s.height7|0|0)/2|0))),c,d,a)|0;a.e=e=(j|l|0)===0?e|0:1|0;h=+s.x2;j=s.width6|0;a.pc=-3158;j=_c4_66engine7sprites12LifeMushroom10isBlockingE3(s,cjF(cjF(c+h)-cjF((j|0))),cjF(d+ +s.y3),c,d,a)|0;if((j|0)!==0)break L2;e=e;}if((e|0)===0){s.x2=cjF(c+ +s.x2);s.y3=cjF(d+ +s.y3);return 1|0;}if(!(c<cjF(0)))break L1;}while(0);h=+s.x2;h=cjF(cjF(h-cjF((s.width6|0|0)))*cjF(.0625));e=~~h;if( +Math.trunc(h)!==cjF((e|0))){e=cjN2I(h)|0;}s.x2=cjF(((e<<4)+(s.width6|0)|0));s.xa4=cjF(0);}while(0);if(c>cjF(0)){c=+s.x2;c=cjF(cjF(cjF(c+cjF((s.width6|0|0)))*cjF(.0625))+cjF(1));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}s.x2=cjF(((e<<4)+((s.width6|0)^ -1)|0));s.xa4=cjF(0);}if(d<cjF(0)){c=+s.y3;c=cjF(cjF(c-cjF((s.height7|0|0)))*cjF(.0625));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}s.y3=cjF(((e<<4)+(s.height7|0)|0));s.ya5=cjF(0);}if(d>cjF(0)){c=cjF(cjF( +s.y3*cjF(.0625))+cjF(1));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}s.y3=cjF(((e<<4)-1|0));s.onGround11=1;}}while(0);return 0|0;}function _c4V56engine7sprites12LifeMushroom6updateE6(e,p){var c=0;var a={p:p,pc:0,f:_c4V56engine7sprites12LifeMushroom6updateE6,e:e};if(((e.alive9|0)&255)!==0){if((e.life12|0|0)<=8){e.y3=cjF( +e.y3+cjF(-1));e.life12=((e.life12|0)+1|0);return ;}if( +e.xa4>cjF(2)){e.facing8=1;}if( +e.xa4<cjF(-2)){e.facing8= -1;}e.xa4=cjF(cjF((e.facing8|0|0))*cjF(1.75));a.pc=-353;c=_c4p56engine7sprites12LifeMushroom4moveE5(e, +e.xa4,cjF(0),a)|0;if((c|0)===0){e.facing8=(-(e.facing8|0)|0);}e.onGround11=0;a.pc=-488;_c4p56engine7sprites12LifeMushroom4moveE5(e,cjF(0), +e.ya5,a)|0;e.ya5=cjF( +e.ya5*cjF(.85));e.onGround11|0;e.xa4=cjF( +e.xa4*cjF(.889999985));if(((e.onGround11|0)&255)===0){e.ya5=cjF( +e.ya5+cjF(2));}}}function _c4V56engine7sprites12LifeMushroom6renderE7(l,k,p){var e=0,d=0,g=null,c=-0.;g=l.graphics13;c=+l.x2;c-= +l.world10.cameraX4;e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}c=+l.y3;c-= +l.world10.cameraY5;d=~~c;if( +Math.trunc(c)!==cjF((d|0))){d=cjN2I(c)|0;}g.v11(g,k,e,d,p);}function _c4F56engine7sprites12LifeMushroom5cloneE8(d,p){return d.v11(d,p);}function createStacklet_c4p56engine7sprites12LifeMushroom4moveE5(p,s,q){this.p=p;this.pc=0;this.f=_c4p56engine7sprites12LifeMushroom4moveE5;this.c=-0.;this.d=-0.;this.e=0;this.s=s;this.q=+q;this.l=0;this.j=0;}function N6engine7sprites5Mario(){N6engine4core11MarioSprite.call(this);this.isLarge11=0;this.isFire12=0;this.onGround13=0;this.wasOnGround14=0;this.isDucking15=0;this.canShoot16=0;this.mayJump17=0;this.actions18=null;this.jumpTime19=0;this.xJumpSpeed20=-0;this.yJumpSpeed21=-0;this.invulnerableTime22=0;this.marioFrameSpeed23=-0;this.oldLarge24=0;this.oldFire25=0;this.graphics26=null;this.xJumpStart27=-0;this.GROUND_INERTIA28=-0;this.AIR_INERTIA29=-0;this.POWERUP_TIME30=0;}
N6engine7sprites5Mario.cl=cheerpjCL;
function N6engine7sprites5MarioX(a){a.f=N6engine7sprites5MarioX;if(cheerpjSafeInitGuard('N6engine7sprites5Mario')) return;a.pc=-122;;if((N6engine4core11MarioSpriteG|0)==0){cjG(a);}var q=a.q=N6engine7sprites5Mario.prototype=Object.create(N6engine4core11MarioSprite.prototype);q.constructor=N6engine7sprites5Mario;q.v11=_c4F36engine7sprites5Mario5cloneE1;q.v23=_c4_56engine7sprites5Mario14updateGraphicsE4;q.v17=_c4V36engine7sprites5Mario6updateE5;q.v24=_c4F36engine7sprites5Mario5stompE6;q.v25=_c4F36engine7sprites5Mario5stompE7;q.v26=_c4_36engine7sprites5Mario7getHurtE8;q.v27=_c4F46engine7sprites5Mario9getFlowerE9;q.v28=_c4F56engine7sprites5Mario11getMushroomE10;q.v29=_c4F36engine7sprites5Mario4kickE11;q.v30=_c4V36engine7sprites5Mario5stompE12;q.v31=_c4V26engine7sprites5Mario12getfLWXTypeE13;q.v32=_c4V26engine7sprites5Mario10colfGuXUpE14;q.v33=_c4V26engine7sprites5Mario11coleG0XCoinE15;q.v16=_c4_36engine7sprites5Mario6renderE16;q.v3=_c4V36engine7sprites5Mario5cloneE17;N6engine7sprites5MarioG=1;cheerpjSafeInitFinish('N6engine7sprites5Mario');}
function _c4F26engine7sprites5MarioC2E0(m,l,k,j,p){var c=null;var a={p:p,pc:0,f:_c4F26engine7sprites5MarioC2E0,m:m,l:l|0,k:+k,j:+j,c:null};a.pc=-139;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};a.pc=-199;_c4F36engine4core11MarioSpriteC2E0(m,cjF(k+cjF(8)),cjF(j+cjF(15)),N6engine6helper10SpriteType.MARIO2,a);m.actions18=null;m.jumpTime19=0;m.yJumpSpeed21=cjF(0);m.invulnerableTime22=0;m.marioFrameSpeed23=cjF(0);m.oldFire25=0;m.graphics26=null;m.xJumpStart27=cjF(-100);m.GROUND_INERTIA28=cjF(.889999985);m.AIR_INERTIA29=cjF(.889999985);m.POWERUP_TIME30=3;m.oldLarge24=0;m.isLarge11=0;m.oldFire25=0;m.isFire12=0;m.width6=4;m.height7=24;if((l&255)!==0){a.pc=-656;;if((N6engine8graphics10MarioImageG|0)==0){cjG(a);};a.c=c=new N6engine8graphics10MarioImage();a.pc=-760;;if((N6engine6helper6AssetsG|0)==0){cjG(a);};a.pc=-815;_c4p46engine8graphics10MarioImageC2E0(c,N6engine6helper6Assets.smallMario1,0,a);m.graphics26=c;}}function _c4F36engine7sprites5Mario5cloneE1(j,p){var d=0,c=null,g=-0.,e=null;var a={p:p,pc:0,f:_c4F36engine7sprites5Mario5cloneE1,j:j,c:null};a.c=c=new N6engine7sprites5Mario();g=+j.x2;a.pc=-185;_c4F26engine7sprites5MarioC2E0(c,0,cjF(g+cjF(-8)),cjF( +j.y3+cjF(-15)),a);c.xa4= +j.xa4;c.ya5= +j.ya5;c.initialCode1=j.initialCode1;c.width6=(j.width6|0);c.height7=(j.height7|0);c.facing8=(j.facing8|0);c.isLarge11=(j.isLarge11|0);c.isFire12=(j.isFire12|0);c.wasOnGround14=(j.wasOnGround14|0);c.onGround13=(j.onGround13|0);c.isDucking15=(j.isDucking15|0);c.canShoot16=(j.canShoot16|0);c.mayJump17=(j.mayJump17|0);e=new Int8Array(((j.actions18.length-1|0)+1|0));e[0]=90;c.actions18=e;if((j.actions18.length-1|0|0)>0){d=0;while(1){e=c.actions18;d=d+1|0;e[d]=(j.actions18[d]|0);if((d|0)<(j.actions18.length-1|0|0))continue;break;}}c.xJumpSpeed20= +j.xJumpSpeed20;c.yJumpSpeed21= +j.yJumpSpeed21;c.invulnerableTime22=(j.invulnerableTime22|0);c.jumpTime19=(j.jumpTime19|0);c.xJumpStart27= +j.xJumpStart27;return c;}function _c4p36engine7sprites5Mario4moveE2(s,r,q,p){var c=-0.,d=-0.,e=0,h=-0.,l=0,k=-0.,j=0,g=0;var a=new createStacklet_c4p36engine7sprites5Mario4moveE2(p,s,q);L0:do{if(r>cjF(8)){a.c=c=r;while(1){a.pc=-197;e=_c4p36engine7sprites5Mario4moveE2(s,cjF(8),cjF(0),a)|0;if((e|0)===0)break L0;c+=cjF(-8);if(c>cjF(8)){a.c=c=c;continue;}break;}}else{c=r;}if(c<cjF(-8)){a.c=c=c;while(1){a.pc=-377;e=_c4p36engine7sprites5Mario4moveE2(s,cjF(-8),cjF(0),a)|0;if((e|0)===0)break L0;c+=cjF(8);if(c<cjF(-8)){a.c=c=c;continue;}break;}a.c=c=c;}else{a.c=c=c;}if(q>cjF(8)){a.d=d=q;while(1){a.pc=-569;e=_c4p36engine7sprites5Mario4moveE2(s,cjF(0),cjF(8),a)|0;if((e|0)===0)break L0;d+=cjF(-8);if(d>cjF(8)){a.d=d=d;continue;}break;}}else{d=q;}if(d<cjF(-8)){a.d=d=d;while(1){a.pc=-749;e=_c4p36engine7sprites5Mario4moveE2(s,cjF(0),cjF(-8),a)|0;if((e|0)===0)break L0;d+=cjF(8);if(d<cjF(-8)){a.d=d=d;continue;}break;}a.d=d=d;}else{a.d=d=d;}if(!(d>cjF(0))){a.e=e=0;}else{h=+s.x2;g=s.width6|0;a.pc=-962;g=_c4_46engine7sprites5Mario10isBlockingE3(s,cjF(cjF(c+h)-cjF((g|0))),cjF(d+ +s.y3),c,cjF(0),a)|0;if((g|0)===0){h=+s.x2;g=s.width6|0;a.pc=-1105;g=_c4_46engine7sprites5Mario10isBlockingE3(s,cjF(cjF(c+h)+cjF((g|0))),cjF(d+ +s.y3),c,cjF(0),a)|0;if((g|0)===0){h=+s.x2;g=s.width6|0;a.pc=-1249;g=_c4_46engine7sprites5Mario10isBlockingE3(s,cjF(cjF(c+h)-cjF((g|0))),cjF(cjF(d+ +s.y3)+cjF(1)),c,d,a)|0;if((g|0)===0){h=+s.x2;g=s.width6|0;a.pc=-1400;g=_c4_46engine7sprites5Mario10isBlockingE3(s,cjF(cjF(c+h)+cjF((g|0))),cjF(cjF(d+ +s.y3)+cjF(1)),c,d,a)|0;a.e=e=(g|0)!==0?1:0;}else{a.e=e=1;}}else{a.e=e=1;}}else{a.e=e=1;}}if(d<cjF(0)){h=+s.x2;k=+s.y3;a.pc=-1611;g=_c4_46engine7sprites5Mario10isBlockingE3(s,cjF(c+h),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;if((g|e|0)===0){h=+s.x2;g=s.width6|0;k=+s.y3;a.pc=-1765;g=_c4_46engine7sprites5Mario10isBlockingE3(s,cjF(cjF(c+h)-cjF((g|0))),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;if((g|0)===0){h=+s.x2;g=s.width6|0;k=+s.y3;a.pc=-1933;g=_c4_46engine7sprites5Mario10isBlockingE3(s,cjF(cjF(c+h)+cjF((g|0))),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;g=(g|0)===0?e|0:1|0;a.e=e=g;}else{a.e=e=1;}}else{a.e=e=1;}}if(c>cjF(0)){h=+s.x2;j=s.width6|0;k=+s.y3;a.pc=-2159;a.l=l=_c4_46engine7sprites5Mario10isBlockingE3(s,cjF(cjF(c+h)+cjF((j|0))),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;h=+s.x2;j=s.width6|0;k=+s.y3;a.pc=-2317;a.j=j=_c4_46engine7sprites5Mario10isBlockingE3(s,cjF(cjF(c+h)+cjF((j|0))),cjF(cjF(d+k)-cjF(((s.height7|0|0)/2|0))),c,d,a)|0;h=+s.x2;g=s.width6|0;a.pc=-2473;g=_c4_46engine7sprites5Mario10isBlockingE3(s,cjF(cjF(c+h)+cjF((g|0))),cjF(d+ +s.y3),c,d,a)|0;g=(j|l|g|0)===0?e|0:1|0;a.e=e=g;}L1:do{L2:do{if(!(c<cjF(0))){e=e;}else{h=+s.x2;l=s.width6|0;k=+s.y3;a.pc=-2677;a.l=l=_c4_46engine7sprites5Mario10isBlockingE3(s,cjF(cjF(c+h)-cjF((l|0))),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;h=+s.x2;j=s.width6|0;k=+s.y3;a.pc=-2835;j=_c4_46engine7sprites5Mario10isBlockingE3(s,cjF(cjF(c+h)-cjF((j|0))),cjF(cjF(d+k)-cjF(((s.height7|0|0)/2|0))),c,d,a)|0;a.e=e=(j|l|0)===0?e|0:1|0;h=+s.x2;j=s.width6|0;a.pc=-3013;j=_c4_46engine7sprites5Mario10isBlockingE3(s,cjF(cjF(c+h)-cjF((j|0))),cjF(d+ +s.y3),c,d,a)|0;if((j|0)!==0)break L2;e=e;}if((e|0)===0){s.x2=cjF(c+ +s.x2);s.y3=cjF(d+ +s.y3);return 1|0;}if(!(c<cjF(0)))break L1;}while(0);h=+s.x2;h=cjF(cjF(h-cjF((s.width6|0|0)))*cjF(.0625));e=~~h;if( +Math.trunc(h)!==cjF((e|0))){e=cjN2I(h)|0;}s.x2=cjF(((e<<4)+(s.width6|0)|0));s.xa4=cjF(0);}while(0);if(c>cjF(0)){c=+s.x2;c=cjF(cjF(cjF(c+cjF((s.width6|0|0)))*cjF(.0625))+cjF(1));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}s.x2=cjF(((e<<4)+((s.width6|0)^ -1)|0));s.xa4=cjF(0);}if(d<cjF(0)){c=+s.y3;c=cjF(cjF(c-cjF((s.height7|0|0)))*cjF(.0625));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}s.y3=cjF(((e<<4)+(s.height7|0)|0));s.jumpTime19=0;s.ya5=cjF(0);}if(d>cjF(0)){c=cjF(cjF(cjF( +s.y3+cjF(-1))*cjF(.0625))+cjF(1));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}s.y3=cjF(((e<<4)-1|0));s.onGround13=1;}}while(0);return 0|0;}function _c4_46engine7sprites5Mario10isBlockingE3(t,s,r,q,o,p){var e=0,g=0,c=0,d=-0.,j=0,h=null,k=0;var a=new createStacklet_c4_46engine7sprites5Mario10isBlockingE3(p,t,o);d=cjF(s*cjF(.0625));c=~~d;if( +Math.trunc(d)!==cjF((c|0))){c=cjN2I(d)|0;a.e=e=c;}else{a.e=e=c;}d=cjF(r*cjF(.0625));c=~~d;if( +Math.trunc(d)!==cjF((c|0))){c=cjN2I(d)|0;a.g=g=c;}else{a.g=g=c;}d=cjF( +t.x2*cjF(.0625));c=~~d;if( +Math.trunc(d)!==cjF((c|0))){c=cjN2I(d)|0;}if((e|0)===(c|0)){d=cjF( +t.y3*cjF(.0625));c=~~d;if( +Math.trunc(d)!==cjF((c|0))){c=cjN2I(d)|0;}if((g|0)===(c|0)){return 0|0;}}a.pc=-567;a.c=c=t.world10.level7.v12(t.world10.level7,e,g,q,o,a)|0;a.pc=-634;a.j=j=t.world10.level7.v13(t.world10.level7,e,g,a)|0;a.pc=-697;;if((N6engine6helper11TileFeatureG|0)==0){cjG(a);};a.pc=-758;h=_c4p46engine6helper11TileFeature11gete9GXTypeE3(j,a);a.pc=-823;k=h.v14(h,N6engine6helper11TileFeature.PICKABLE7,a)|0;if((k|0)!==0){a.h=h=t.world10;a.pc=-917;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-975;h.v15(h,N6engine6helper9EventType.COLLECT7,j,a);a.pc=-1033;t.v33(t,a);a.pc=-1055;t.world10.level7.v14(t.world10.level7,e,g,0,a);}if(!(o<cjF(0))||(c|0)===0){return c|0;}h=t.world10;a.pc=-1165;h.v28(h,e,g,((t.isLarge11|0)&255),a);return c|0;}function _c4_56engine7sprites5Mario14updateGraphicsE4(l,p){var c=0,g=0,e=null,j=-0.,d=-0.,h=0;var a={p:p,pc:0,f:_c4_56engine7sprites5Mario14updateGraphicsE4,c:0,g:0,l:l,e:null,j:-0.};if(((l.alive9|0)&255)===0){return ;}if((l.world10.pauseTimer1|0|0)<1){c=l.isLarge11|0;g=l.isFire12|0;h=c;a.c=c=g;a.g=g=h;}else{if(((l.world10.pauseTimer1|0|0)/2&1|0)===0){c=l.oldLarge24|0;}else{c=l.isLarge11|0;}if(((l.world10.pauseTimer1|0|0)/2&1|0)===0){g=l.oldFire25|0;h=c;a.c=c=g;a.g=g=h;}else{g=l.isFire12|0;h=c;a.c=c=g;a.g=g=h;}}a.e=e=l.graphics26;a.pc=-536;;if((N6engine6helper6AssetsG|0)==0){cjG(a);};if((g&255)===0){e.sheet8=N6engine6helper6Assets.smallMario1;l.graphics26.originX2=8;l.graphics26.originY3=15;e=l.graphics26;l.graphics26.height7=16;e.width6=16;}else{e.sheet8=N6engine6helper6Assets.mario0;if((c&255)!==0){e=l.graphics26;e.sheet8=N6engine6helper6Assets.fireMario2;}l.graphics26.originX2=16;l.graphics26.originY3=31;e=l.graphics26;l.graphics26.height7=32;e.width6=32;}a.j=j=+l.marioFrameSpeed23;a.pc=-1000;d=+_m4pZ4Math3absE42( +l.xa4,a);l.marioFrameSpeed23=cjF(j+cjF(d+cjF(5)));a.pc=-1084;d=+_m4pZ4Math3absE42( +l.xa4,a);if(d<cjF(.5)){l.marioFrameSpeed23=cjF(0);}e=l.graphics26;c=l.invulnerableTime22|0;e.visible0=((c|0)/2&1^1);e=l.graphics26;e.flipX4=((l.facing8|0|0)===-1?1:0);d=cjF( +l.marioFrameSpeed23/cjF(20));c=~~d;j=+Math.trunc(d);if((g&255)===0){if(j!==cjF((c|0))){c=cjN2I(d)|0;}a.c=c=(c|0)%2|0;a.pc=-1410;d=+_m4pZ4Math3absE42( +l.xa4,a);if(d>cjF(10)){c=c+2|0;}else{c=c;}if(((l.onGround13|0)&255)===0){a.pc=-1517;d=+_m4pZ4Math3absE42( +l.xa4,a);c=!(d>cjF(10))?4|0:5|0;}}else{if(j!==cjF((c|0))){c=cjN2I(d)|0;}c=(c|0)%4|0;a.c=c=(c|0)!==3?c|0:1|0;a.pc=-1659;d=+_m4pZ4Math3absE42( +l.xa4,a);if(d>cjF(10)){c=c+3|0;}else{c=c;}if(((l.onGround13|0)&255)===0){a.pc=-1766;d=+_m4pZ4Math3absE42( +l.xa4,a);c=!(d>cjF(10))?5|0:6|0;}}L0:do{if(((l.onGround13|0)&255)!==0){L1:do{if((l.facing8|0|0)===-1){d=+l.xa4;if(d>cjF(0)&&d>=cjF(0))break L1;}if((l.facing8|0|0)!==1)break L0;if(!( +l.xa4<cjF(0)))break L0;}while(0);d=+l.xa4;if(!(d>cjF(1)&&d>=cjF(1))){if(!( +l.xa4<cjF(-1)))break L0;}c=(g&255)===0?7|0:8|0;}}while(0);if((g&255)===0){l.graphics26.index9=c;return ;}g=l.isDucking15|0;c=(g&255)===0?c|0:13|0;l.graphics26.index9=c;}function _c4V36engine7sprites5Mario6updateE5(m,p){var c=0,d=null,g=-0.,j=null,k=null,e=-0.,h=-0.;var a={p:p,pc:0,f:_c4V36engine7sprites5Mario6updateE5,m:m,d:null,g:-0.,j:null};if(((m.alive9|0)&255)!==0){if((m.invulnerableTime22|0|0)>=1){m.invulnerableTime22=((m.invulnerableTime22|0)-1|0);}m.wasOnGround14=(m.onGround13|0);a.d=d=m.actions18;a.pc=-341;;if((N6engine6helper12MarioActionsG|0)==0){cjG(a);};a.pc=-403;c=N6engine6helper12MarioActions.SPEED3.v16(N6engine6helper12MarioActions.SPEED3,a)|0;c=d[(c+1|0)]|0;a.g=g=(c&255)===0?cjF(.6):cjF(1.2);if(((m.onGround13|0)&255)!==0){a.d=d=m.actions18;a.pc=-597;c=N6engine6helper12MarioActions.DOWN2.v16(N6engine6helper12MarioActions.DOWN2,a)|0;if(((d[(c+1|0)]|0)&255)===0){c=0;}else{c=m.isLarge11|0;c=(c&255)!==0?1:0;}m.isDucking15=c;}if(((m.isLarge11|0)&255)===0){m.height7=12;}else{c=m.isDucking15|0;c=(c&255)===0?24|0:12|0;m.height7=c;}if( +m.xa4>cjF(2)){m.facing8=1;}if( +m.xa4<cjF(-2)){m.facing8= -1;}a.d=d=m.actions18;a.pc=-970;c=N6engine6helper12MarioActions.JUMP4.v16(N6engine6helper12MarioActions.JUMP4,a)|0;L0:do{L1:do{if(((d[(c+1|0)]|0)&255)===0){if((m.jumpTime19|0|0)<=-1){if(((m.onGround13|0)&255)===0)break L1;}m.jumpTime19=0;break L0;}}while(0);if((m.jumpTime19|0|0)>-1){if(((m.onGround13|0)&255)!==0){if(((m.mayJump17|0)&255)!==0){m.xJumpSpeed20=cjF(0);m.yJumpSpeed21=cjF(-1.9);m.jumpTime19=7;c=m.jumpTime19|0;m.ya5=cjF(cjF((c|0))* +m.yJumpSpeed21);m.onGround13=0;e=+m.x2;h=+m.y3;a.pc=-1442;c=_c4_46engine7sprites5Mario10isBlockingE3(m,e,cjF(cjF(h+cjF(-4))-cjF((m.height7|0|0))),cjF(0),cjF(-4),a)|0;if((c|0)!==0)break L0;e=+m.x2;c=m.width6|0;h=+m.y3;a.pc=-1612;c=_c4_46engine7sprites5Mario10isBlockingE3(m,cjF(e-cjF((c|0))),cjF(cjF(h+cjF(-4))-cjF((m.height7|0|0))),cjF(0),cjF(-4),a)|0;if((c|0)!==0)break L0;e=+m.x2;c=m.width6|0;h=+m.y3;a.pc=-1798;c=_c4_46engine7sprites5Mario10isBlockingE3(m,cjF(e+cjF((c|0))),cjF(cjF(h+cjF(-4))-cjF((m.height7|0|0))),cjF(0),cjF(-4),a)|0;if((c|0)!==0)break L0;m.xJumpStart27= +m.x2;a.d=d=m.world10;a.pc=-1993;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-2052;d.v15(d,N6engine6helper9EventType.JUMP5,0,a);break L0;}}if((m.jumpTime19|0|0)>=1){e=+m.xa4;m.xa4=cjF(e+ +m.xJumpSpeed20);c=m.jumpTime19|0;m.ya5=cjF(cjF((c|0))* +m.yJumpSpeed21);m.jumpTime19=((m.jumpTime19|0)-1|0);}}else{m.xa4= +m.xJumpSpeed20;c=m.jumpTime19|0;m.ya5=cjF(cjF((-c|0))* +m.yJumpSpeed21);m.jumpTime19=((m.jumpTime19|0)+1|0);}}while(0);a.d=d=m.actions18;a.pc=-2428;c=N6engine6helper12MarioActions.LEFT0.v16(N6engine6helper12MarioActions.LEFT0,a)|0;if(((d[(c+1|0)]|0)&255)!==0){if(((m.isDucking15|0)&255)===0){m.xa4=cjF( +m.xa4-g);if((m.jumpTime19|0|0)>=0){m.facing8= -1;}}}a.d=d=m.actions18;a.pc=-2665;c=N6engine6helper12MarioActions.RIGHT1.v16(N6engine6helper12MarioActions.RIGHT1,a)|0;if(((d[(c+1|0)]|0)&255)!==0){if(((m.isDucking15|0)&255)===0){m.xa4=cjF(g+ +m.xa4);if((m.jumpTime19|0|0)>=0){m.facing8=1;}}}a.d=d=m.actions18;a.pc=-2902;c=N6engine6helper12MarioActions.SPEED3.v16(N6engine6helper12MarioActions.SPEED3,a)|0;if(((d[(c+1|0)]|0)&255)!==0){if(((m.canShoot16|0)&255)!==0){if(((m.isFire12|0)&255)!==0){if((m.world10.fireballsOnScreen2|0|0)<=1){a.d=d=m.world10;a.pc=-3145;;if((N6engine7sprites8FireballG|0)==0){cjG(a);};a.j=j=new N6engine7sprites8Fireball();k=m.graphics26;g=+m.x2;c=m.facing8|0;e=+m.y3;a.pc=-3287;_c4p36engine7sprites8FireballC2E0(j,(k!==null?1:0),cjF(g+cjF((Math.imul(c,6)|0))),cjF(e+cjF(-20)),(m.facing8|0),a);a.pc=-3413;d.v17(d,j,a);}}}}a.d=d=m.actions18;a.pc=-3459;c=N6engine6helper12MarioActions.SPEED3.v16(N6engine6helper12MarioActions.SPEED3,a)|0;m.canShoot16=(((d[(c+1|0)]|0)&255)===0?1:0);if(((m.onGround13|0)&255)===0){c=0;}else{a.d=d=m.actions18;a.pc=-3658;c=N6engine6helper12MarioActions.JUMP4.v16(N6engine6helper12MarioActions.JUMP4,a)|0;c=d[(c+1|0)]|0;c=(c&255)===0?1:0;}m.mayJump17=c;a.pc=-3800;g=+_m4pZ4Math3absE42( +m.xa4,a);if(g<cjF(.5)){m.xa4=cjF(0);}m.onGround13=0;a.pc=-3886;_c4p36engine7sprites5Mario4moveE2(m, +m.xa4,cjF(0),a)|0;a.pc=-3953;_c4p36engine7sprites5Mario4moveE2(m,cjF(0), +m.ya5,a)|0;if(((m.wasOnGround14|0)&255)===0){if(((m.onGround13|0)&255)!==0){if( +m.xJumpStart27>=cjF(0)){a.d=d=m.world10;a.pc=-4130;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.pc=-4189;d.v15(d,N6engine6helper9EventType.LAND6,0,a);m.xJumpStart27=cjF(-100);}}}if( +m.x2<cjF(0)){m.x2=cjF(0);m.xa4=cjF(0);}g=+m.x2;if(g>cjF(((m.world10.level7.exitTileX7|0)<<4|0))){m.x2=cjF(((m.world10.level7.exitTileX7|0)<<4|0));m.xa4=cjF(0);a.pc=-4437;m.world10.v21(m.world10,a);}m.ya5=cjF( +m.ya5*cjF(.85));m.onGround13|0;m.xa4=cjF( +m.xa4*cjF(.889999985));if(((m.onGround13|0)&255)===0){m.ya5=cjF( +m.ya5+cjF(3));}if(m.graphics26!==null){a.pc=-4636;m.v23(m,a);}}}function _c4F36engine7sprites5Mario5stompE6(j,h,p){var d=-0.,c=0;var a={p:p,pc:0,f:_c4F36engine7sprites5Mario5stompE6,j:j};if(((j.alive9|0)&255)===0){return ;}d=+h.y3;c=h.height7|0;a.pc=-181;_c4p36engine7sprites5Mario4moveE2(j,cjF(0),cjF(cjF(d-cjF(((c|0)/2|0)))- +j.y3),a)|0;j.xJumpSpeed20=cjF(0);j.yJumpSpeed21=cjF(-1.9);j.jumpTime19=8;c=j.jumpTime19|0;j.ya5=cjF(cjF((c|0))* +j.yJumpSpeed21);j.onGround13=0;j.invulnerableTime22=1;}function _c4F36engine7sprites5Mario5stompE7(j,h,p){var d=-0.,c=0;var a={p:p,pc:0,f:_c4F36engine7sprites5Mario5stompE7,j:j};if(((j.alive9|0)&255)===0){return ;}d=+h.y3;c=h.height7|0;a.pc=-181;_c4p36engine7sprites5Mario4moveE2(j,cjF(0),cjF(cjF(d-cjF(((c|0)/2|0)))- +j.y3),a)|0;j.xJumpSpeed20=cjF(0);j.yJumpSpeed21=cjF(-1.9);j.jumpTime19=8;c=j.jumpTime19|0;j.ya5=cjF(cjF((c|0))* +j.yJumpSpeed21);j.onGround13=0;j.invulnerableTime22=1;}function _c4_36engine7sprites5Mario7getHurtE8(g,p){var d=0,c=null;var a={p:p,pc:0,f:_c4_36engine7sprites5Mario7getHurtE8};if((g.invulnerableTime22|0|0)<=0){if(((g.alive9|0)&255)!==0){d=g.isLarge11|0;c=g.world10;if((d&255)===0){if(c!==null){a.pc=-240;g.world10.v22(g.world10,a);}}else{c.pauseTimer1=9;g.oldLarge24=(g.isLarge11|0);g.oldFire25=(g.isFire12|0);if(((g.isFire12|0)&255)===0){g.isLarge11=0;}else{g.isFire12=0;}g.invulnerableTime22=32;}}}}function _c4F46engine7sprites5Mario9getFlowerE9(d,p){var a={p:p,pc:0,f:_c4F46engine7sprites5Mario9getFlowerE9};if(((d.alive9|0)&255)!==0){if(((d.isFire12|0)&255)===0){d.world10.pauseTimer1=9;d.oldFire25=(d.isFire12|0);d.oldLarge24=(d.isLarge11|0);d.isFire12=1;d.isLarge11=1;}else{a.pc=-280;d.v33(d,a);}}}function _c4F56engine7sprites5Mario11getMushroomE10(d,p){var a={p:p,pc:0,f:_c4F56engine7sprites5Mario11getMushroomE10};if(((d.alive9|0)&255)!==0){if(((d.isLarge11|0)&255)===0){d.world10.pauseTimer1=9;d.oldFire25=(d.isFire12|0);d.oldLarge24=(d.isLarge11|0);d.isLarge11=1;}else{a.pc=-276;d.v33(d,a);}}}function _c4F36engine7sprites5Mario4kickE11(g,e,p){if(((g.alive9|0)&255)===0){return ;}g.invulnerableTime22=1;}function _c4V36engine7sprites5Mario5stompE12(j,h,p){var d=-0.,c=0;var a={p:p,pc:0,f:_c4V36engine7sprites5Mario5stompE12,j:j};if(((j.alive9|0)&255)===0){return ;}d=+h.y3;c=h.height7|0;a.pc=-183;_c4p36engine7sprites5Mario4moveE2(j,cjF(0),cjF(cjF(d-cjF(((c|0)/2|0)))- +j.y3),a)|0;j.xJumpSpeed20=cjF(0);j.yJumpSpeed21=cjF(-1.9);j.jumpTime19=8;c=j.jumpTime19|0;j.ya5=cjF(cjF((c|0))* +j.yJumpSpeed21);j.onGround13=0;j.invulnerableTime22=1;}function _c4V26engine7sprites5Mario12getfLWXTypeE13(d,p){if(((d.isFire12|0)&255)===0){if(((d.isLarge11|0)&255)===0){return cheerpjInternString("small");}return cheerpjInternString("large");}return cheerpjInternString("fire");}function _c4V26engine7sprites5Mario10colfGuXUpE14(e,p){var c=null;if(((e.alive9|0)&255)===0){return ;}c=e.world10;c.lives11=((c.lives11|0)+1|0);}function _c4V26engine7sprites5Mario11coleG0XCoinE15(e,p){var c=null;var a={p:p,pc:0,f:_c4V26engine7sprites5Mario11coleG0XCoinE15};if(((e.alive9|0)&255)!==0){c=e.world10;c.coins10=((c.coins10|0)+1|0);if(((e.world10.coins10|0|0)%100|0)===0){a.pc=-239;e.v32(e,a);}}}function _c4_36engine7sprites5Mario6renderE16(l,k,p){var e=0,d=0,g=null,c=-0.;g=l.graphics26;c=+l.x2;c-= +l.world10.cameraX4;e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}c=+l.y3;c-= +l.world10.cameraY5;d=~~c;if( +Math.trunc(c)!==cjF((d|0))){d=cjN2I(c)|0;}g.v11(g,k,e,d,p);}function _c4V36engine7sprites5Mario5cloneE17(d,p){return d.v11(d,p);}function createStacklet_c4_46engine7sprites5Mario10isBlockingE3(p,t,o){this.p=p;this.pc=0;this.f=_c4_46engine7sprites5Mario10isBlockingE3;this.e=0;this.g=0;this.c=0;this.t=t;this.o=+o;this.j=0;this.h=null;}function createStacklet_c4p36engine7sprites5Mario4moveE2(p,s,q){this.p=p;this.pc=0;this.f=_c4p36engine7sprites5Mario4moveE2;this.c=-0.;this.d=-0.;this.e=0;this.s=s;this.q=+q;this.l=0;this.j=0;}function N6engine7sprites8Mushroom(){N6engine4core11MarioSprite.call(this);this.onGround11=0;this.life12=0;this.graphics13=null;}
N6engine7sprites8Mushroom.cl=cheerpjCL;
function N6engine7sprites8MushroomX(a){a.f=N6engine7sprites8MushroomX;if(cheerpjSafeInitGuard('N6engine7sprites8Mushroom')) return;a.pc=-131;;if((N6engine4core11MarioSpriteG|0)==0){cjG(a);}var q=a.q=N6engine7sprites8Mushroom.prototype=Object.create(N6engine4core11MarioSprite.prototype);q.constructor=N6engine7sprites8Mushroom;q.v11=_c4p46engine7sprites8Mushroom5cloneE1;q.v18=_c4p66engine7sprites8Mushroom12collideCheckE2;q.v19=_c4p56engine7sprites8Mushroom9bumpCheckE4;q.v17=_c4F46engine7sprites8Mushroom6updateE6;q.v16=_c4F46engine7sprites8Mushroom6renderE7;q.v3=_c4p46engine7sprites8Mushroom5cloneE8;N6engine7sprites8Mushroom.GROUND_INERTIA0=0.89;N6engine7sprites8Mushroom.AIR_INERTIA1=0.89;N6engine7sprites8MushroomG=1;cheerpjSafeInitFinish('N6engine7sprites8Mushroom');}
function _c4p36engine7sprites8MushroomC2E0(m,l,k,j,p){var c=null;var a={p:p,pc:0,f:_c4p36engine7sprites8MushroomC2E0,m:m,l:l|0,k:+k,j:+j,c:null};a.pc=-145;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};a.pc=-205;_c4F36engine4core11MarioSpriteC2E0(m,k,j,N6engine6helper10SpriteType.MUSHROOM14,a);m.onGround11=0;m.width6=4;m.height7=12;m.facing8=1;m.life12=0;if((l&255)!==0){a.pc=-376;;if((N6engine8graphics10MarioImageG|0)==0){cjG(a);};a.c=c=new N6engine8graphics10MarioImage();a.pc=-480;;if((N6engine6helper6AssetsG|0)==0){cjG(a);};a.pc=-535;_c4p46engine8graphics10MarioImageC2E0(c,N6engine6helper6Assets.items4,0,a);m.graphics13=c;m.graphics13.width6=16;m.graphics13.height7=16;m.graphics13.originX2=8;m.graphics13.originY3=15;}}function _c4p46engine7sprites8Mushroom5cloneE1(g,p){var c=null,d=-0.;var a={p:p,pc:0,f:_c4p46engine7sprites8Mushroom5cloneE1,g:g,c:null};a.c=c=new N6engine7sprites8Mushroom();d=+g.x2;a.pc=-183;_c4p36engine7sprites8MushroomC2E0(c,0,d, +g.y3,a);c.xa4= +g.xa4;c.ya5= +g.ya5;c.initialCode1=g.initialCode1;c.width6=(g.width6|0);c.height7=(g.height7|0);c.facing8=(g.facing8|0);c.life12=(g.life12|0);c.onGround11=(g.onGround11|0);return c;}function _c4p66engine7sprites8Mushroom12collideCheckE2(k,p){var d=-0.,c=-0.,h=null,g=null,e=0;var a={p:p,pc:0,f:_c4p66engine7sprites8Mushroom12collideCheckE2,k:k,h:null,g:null};if(((k.alive9|0)&255)!==0){d=+k.world10.mario6.x2;d-= +k.x2;c=+k.world10.mario6.y3;c-= +k.y3;if(!(!(d>cjF(-16))||!(d<cjF(16)))){if(c>cjF((-(k.height7|0)|0))){if(c<cjF((k.world10.mario6.height7|0|0))){a.h=h=k.world10;a.pc=-393;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.g=g=N6engine6helper9EventType.COLLECT7;a.pc=-492;e=k.type0.v16(k.type0,a)|0;a.pc=-529;h.v15(h,g,e,a);a.pc=-554;k.world10.mario6.v28(k.world10.mario6,a);a.pc=-605;k.world10.v18(k.world10,k,a);}}}}}function _c4V56engine7sprites8Mushroom10isBlockingE3(s,r,q,o,n,p){var g=0,e=0,d=0,c=-0.;c=cjF(r*cjF(.0625));g=~~c;if( +Math.trunc(c)!==cjF((g|0))){g=cjN2I(c)|0;}c=cjF(q*cjF(.0625));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}c=cjF( +s.x2*cjF(.0625));d=~~c;if( +Math.trunc(c)!==cjF((d|0))){d=cjN2I(c)|0;}if((g|0)===(d|0)){c=cjF( +s.y3*cjF(.0625));d=~~c;if( +Math.trunc(c)!==cjF((d|0))){d=cjN2I(c)|0;}if((e|0)===(d|0)){return 0|0;}}return s.world10.level7.v12(s.world10.level7,g,e,o,n,p)|0|0;}function _c4p56engine7sprites8Mushroom9bumpCheckE4(l,k,j,p){var c=0,d=-0.;if(((l.alive9|0)&255)!==0){d=+l.x2;c=k<<4;if(cjF(d+cjF((l.width6|0|0)))>cjF((c|0))){d=+l.x2;if(cjF(d-cjF((l.width6|0|0)))<cjF((c+16|0))){d=cjF(cjF( +l.y3+cjF(-1))*cjF(.0625));c=~~d;if( +Math.trunc(d)!==cjF((c|0))){c=cjN2I(d)|0;}if((c|0)===(j|0)){l.facing8=(-(l.world10.mario6.facing8|0)|0);l.ya5=cjF(-10);}}}}}function _c4_36engine7sprites8Mushroom4moveE5(s,r,q,p){var c=-0.,d=-0.,e=0,h=-0.,l=0,k=-0.,j=0,g=0;var a=new createStacklet_c4_36engine7sprites8Mushroom4moveE5(p,s,q);L0:do{if(r>cjF(8)){a.c=c=r;while(1){a.pc=-203;e=_c4_36engine7sprites8Mushroom4moveE5(s,cjF(8),cjF(0),a)|0;if((e|0)===0)break L0;c+=cjF(-8);if(c>cjF(8)){a.c=c=c;continue;}break;}}else{c=r;}if(c<cjF(-8)){a.c=c=c;while(1){a.pc=-386;e=_c4_36engine7sprites8Mushroom4moveE5(s,cjF(-8),cjF(0),a)|0;if((e|0)===0)break L0;c+=cjF(8);if(c<cjF(-8)){a.c=c=c;continue;}break;}a.c=c=c;}else{a.c=c=c;}if(q>cjF(8)){a.d=d=q;while(1){a.pc=-581;e=_c4_36engine7sprites8Mushroom4moveE5(s,cjF(0),cjF(8),a)|0;if((e|0)===0)break L0;d+=cjF(-8);if(d>cjF(8)){a.d=d=d;continue;}break;}}else{d=q;}if(d<cjF(-8)){a.d=d=d;while(1){a.pc=-764;e=_c4_36engine7sprites8Mushroom4moveE5(s,cjF(0),cjF(-8),a)|0;if((e|0)===0)break L0;d+=cjF(8);if(d<cjF(-8)){a.d=d=d;continue;}break;}a.d=d=d;}else{a.d=d=d;}if(!(d>cjF(0))){a.e=e=0;}else{h=+s.x2;g=s.width6|0;a.pc=-980;g=_c4V56engine7sprites8Mushroom10isBlockingE3(s,cjF(cjF(c+h)-cjF((g|0))),cjF(d+ +s.y3),c,cjF(0),a)|0;if((g|0)===0){h=+s.x2;g=s.width6|0;a.pc=-1126;g=_c4V56engine7sprites8Mushroom10isBlockingE3(s,cjF(cjF(c+h)+cjF((g|0))),cjF(d+ +s.y3),c,cjF(0),a)|0;if((g|0)===0){h=+s.x2;g=s.width6|0;a.pc=-1273;g=_c4V56engine7sprites8Mushroom10isBlockingE3(s,cjF(cjF(c+h)-cjF((g|0))),cjF(cjF(d+ +s.y3)+cjF(1)),c,d,a)|0;if((g|0)===0){h=+s.x2;g=s.width6|0;a.pc=-1427;g=_c4V56engine7sprites8Mushroom10isBlockingE3(s,cjF(cjF(c+h)+cjF((g|0))),cjF(cjF(d+ +s.y3)+cjF(1)),c,d,a)|0;a.e=e=(g|0)!==0?1:0;}else{a.e=e=1;}}else{a.e=e=1;}}else{a.e=e=1;}}if(d<cjF(0)){h=+s.x2;k=+s.y3;a.pc=-1641;g=_c4V56engine7sprites8Mushroom10isBlockingE3(s,cjF(c+h),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;if((g|e|0)===0){h=+s.x2;g=s.width6|0;k=+s.y3;a.pc=-1798;g=_c4V56engine7sprites8Mushroom10isBlockingE3(s,cjF(cjF(c+h)-cjF((g|0))),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;if((g|0)===0){h=+s.x2;g=s.width6|0;k=+s.y3;a.pc=-1969;g=_c4V56engine7sprites8Mushroom10isBlockingE3(s,cjF(cjF(c+h)+cjF((g|0))),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;g=(g|0)===0?e|0:1|0;a.e=e=g;}else{a.e=e=1;}}else{a.e=e=1;}}if(c>cjF(0)){h=+s.x2;j=s.width6|0;k=+s.y3;a.pc=-2198;a.l=l=_c4V56engine7sprites8Mushroom10isBlockingE3(s,cjF(cjF(c+h)+cjF((j|0))),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;h=+s.x2;j=s.width6|0;k=+s.y3;a.pc=-2359;a.j=j=_c4V56engine7sprites8Mushroom10isBlockingE3(s,cjF(cjF(c+h)+cjF((j|0))),cjF(cjF(d+k)-cjF(((s.height7|0|0)/2|0))),c,d,a)|0;h=+s.x2;g=s.width6|0;a.pc=-2518;g=_c4V56engine7sprites8Mushroom10isBlockingE3(s,cjF(cjF(c+h)+cjF((g|0))),cjF(d+ +s.y3),c,d,a)|0;g=(j|l|g|0)===0?e|0:1|0;a.e=e=g;}L1:do{L2:do{if(!(c<cjF(0))){e=e;}else{h=+s.x2;l=s.width6|0;k=+s.y3;a.pc=-2725;a.l=l=_c4V56engine7sprites8Mushroom10isBlockingE3(s,cjF(cjF(c+h)-cjF((l|0))),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;h=+s.x2;j=s.width6|0;k=+s.y3;a.pc=-2886;j=_c4V56engine7sprites8Mushroom10isBlockingE3(s,cjF(cjF(c+h)-cjF((j|0))),cjF(cjF(d+k)-cjF(((s.height7|0|0)/2|0))),c,d,a)|0;a.e=e=(j|l|0)===0?e|0:1|0;h=+s.x2;j=s.width6|0;a.pc=-3067;j=_c4V56engine7sprites8Mushroom10isBlockingE3(s,cjF(cjF(c+h)-cjF((j|0))),cjF(d+ +s.y3),c,d,a)|0;if((j|0)!==0)break L2;e=e;}if((e|0)===0){s.x2=cjF(c+ +s.x2);s.y3=cjF(d+ +s.y3);return 1|0;}if(!(c<cjF(0)))break L1;}while(0);h=+s.x2;h=cjF(cjF(h-cjF((s.width6|0|0)))*cjF(.0625));e=~~h;if( +Math.trunc(h)!==cjF((e|0))){e=cjN2I(h)|0;}s.x2=cjF(((e<<4)+(s.width6|0)|0));s.xa4=cjF(0);}while(0);if(c>cjF(0)){c=+s.x2;c=cjF(cjF(cjF(c+cjF((s.width6|0|0)))*cjF(.0625))+cjF(1));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}s.x2=cjF(((e<<4)+((s.width6|0)^ -1)|0));s.xa4=cjF(0);}if(d<cjF(0)){c=+s.y3;c=cjF(cjF(c-cjF((s.height7|0|0)))*cjF(.0625));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}s.y3=cjF(((e<<4)+(s.height7|0)|0));s.ya5=cjF(0);}if(d>cjF(0)){c=cjF(cjF( +s.y3*cjF(.0625))+cjF(1));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}s.y3=cjF(((e<<4)-1|0));s.onGround11=1;}}while(0);return 0|0;}function _c4F46engine7sprites8Mushroom6updateE6(e,p){var c=0;var a={p:p,pc:0,f:_c4F46engine7sprites8Mushroom6updateE6,e:e};if(((e.alive9|0)&255)!==0){if((e.life12|0|0)<=8){e.y3=cjF( +e.y3+cjF(-1));e.life12=((e.life12|0)+1|0);return ;}if( +e.xa4>cjF(2)){e.facing8=1;}if( +e.xa4<cjF(-2)){e.facing8= -1;}e.xa4=cjF(cjF((e.facing8|0|0))*cjF(1.75));a.pc=-343;c=_c4_36engine7sprites8Mushroom4moveE5(e, +e.xa4,cjF(0),a)|0;if((c|0)===0){e.facing8=(-(e.facing8|0)|0);}e.onGround11=0;a.pc=-473;_c4_36engine7sprites8Mushroom4moveE5(e,cjF(0), +e.ya5,a)|0;e.ya5=cjF( +e.ya5*cjF(.85));e.onGround11|0;e.xa4=cjF( +e.xa4*cjF(.889999985));if(((e.onGround11|0)&255)===0){e.ya5=cjF( +e.ya5+cjF(2));}}}function _c4F46engine7sprites8Mushroom6renderE7(l,k,p){var e=0,d=0,g=null,c=-0.;g=l.graphics13;c=+l.x2;c-= +l.world10.cameraX4;e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}c=+l.y3;c-= +l.world10.cameraY5;d=~~c;if( +Math.trunc(c)!==cjF((d|0))){d=cjN2I(c)|0;}g.v11(g,k,e,d,p);}function _c4p46engine7sprites8Mushroom5cloneE8(d,p){return d.v11(d,p);}function createStacklet_c4_36engine7sprites8Mushroom4moveE5(p,s,q){this.p=p;this.pc=0;this.f=_c4_36engine7sprites8Mushroom4moveE5;this.c=-0.;this.d=-0.;this.e=0;this.s=s;this.q=+q;this.l=0;this.j=0;}function N6engine7sprites5Shell(){N6engine4core11MarioSprite.call(this);this.shellType11=0;this.onGround12=0;this.graphics13=null;}
N6engine7sprites5Shell.cl=cheerpjCL;
function N6engine7sprites5ShellX(a){a.f=N6engine7sprites5ShellX;if(cheerpjSafeInitGuard('N6engine7sprites5Shell')) return;a.pc=-122;;if((N6engine4core11MarioSpriteG|0)==0){cjG(a);}var q=a.q=N6engine7sprites5Shell.prototype=Object.create(N6engine4core11MarioSprite.prototype);q.constructor=N6engine7sprites5Shell;q.v11=_c4F36engine7sprites5Shell5cloneE1;q.v17=_c4V36engine7sprites5Shell6updateE2;q.v16=_c4V36engine7sprites5Shell6renderE3;q.v22=_c4F76engine7sprites5Shell20fireballCollideCheckE4;q.v18=_c4F56engine7sprites5Shell12collideCheckE5;q.v19=_c4F46engine7sprites5Shell9bumpCheckE8;q.v20=_c4p26engine7sprites5Shell17sezGZCollideCheckE9;q.v3=_c4V36engine7sprites5Shell5cloneE10;N6engine7sprites5Shell.GROUND_INERTIA0=0.89;N6engine7sprites5Shell.AIR_INERTIA1=0.89;N6engine7sprites5ShellG=1;cheerpjSafeInitFinish('N6engine7sprites5Shell');}
function _c4F26engine7sprites5ShellC2E0(r,q,o,n,m,l,p){var c=null;var a=new createStacklet_c4F26engine7sprites5ShellC2E0(p,r,q,o,n,m,l);a.pc=-136;;if((N6engine6helper10SpriteTypeG|0)==0){cjG(a);};a.pc=-196;_c4F36engine4core11MarioSpriteC2E0(r,o,n,N6engine6helper10SpriteType.SHELL16,a);r.shellType11=0;r.onGround12=0;r.width6=4;r.height7=12;r.facing8=0;r.ya5=cjF(-5);r.shellType11=m;r.initialCode1=l;if((q&255)!==0){a.pc=-416;;if((N6engine8graphics10MarioImageG|0)==0){cjG(a);};a.c=c=new N6engine8graphics10MarioImage();a.pc=-520;;if((N6engine6helper6AssetsG|0)==0){cjG(a);};a.pc=-575;_c4p46engine8graphics10MarioImageC2E0(c,N6engine6helper6Assets.enemies3,((m<<3)+3|0),a);r.graphics13=c;r.graphics13.originX2=8;r.graphics13.originY3=31;r.graphics13.width6=16;}}function _c4F36engine7sprites5Shell5cloneE1(j,p){var c=null,g=-0.,e=-0.,d=0;var a={p:p,pc:0,f:_c4F36engine7sprites5Shell5cloneE1,j:j,c:null};a.c=c=new N6engine7sprites5Shell();g=+j.x2;e=+j.y3;d=j.shellType11|0;a.pc=-210;_c4F26engine7sprites5ShellC2E0(c,0,g,e,d,j.initialCode1,a);c.xa4= +j.xa4;c.ya5= +j.ya5;c.width6=(j.width6|0);c.height7=(j.height7|0);c.facing8=(j.facing8|0);c.onGround12=(j.onGround12|0);return c;}function _c4V36engine7sprites5Shell6updateE2(g,p){var d=0,c=null;var a={p:p,pc:0,f:_c4V36engine7sprites5Shell6updateE2,g:g};if(((g.alive9|0)&255)!==0){if( +g.xa4>cjF(2)){g.facing8=1;}if( +g.xa4<cjF(-2)){g.facing8= -1;}g.xa4=cjF(cjF((g.facing8|0|0))*cjF(11));if((g.facing8|0|0)!==0){a.pc=-282;g.world10.v19(g.world10,g,a);}a.pc=-322;d=_c4p36engine7sprites5Shell4moveE6(g, +g.xa4,cjF(0),a)|0;if((d|0)===0){g.facing8=(-(g.facing8|0)|0);}g.onGround12=0;a.pc=-449;_c4p36engine7sprites5Shell4moveE6(g,cjF(0), +g.ya5,a)|0;g.ya5=cjF( +g.ya5*cjF(.85));g.onGround12|0;g.xa4=cjF( +g.xa4*cjF(.889999985));if(((g.onGround12|0)&255)===0){g.ya5=cjF( +g.ya5+cjF(2));}if(g.graphics13!==null){c=g.graphics13;c.flipX4=((g.facing8|0|0)===-1?1:0);}}}function _c4V36engine7sprites5Shell6renderE3(l,k,p){var e=0,d=0,g=null,c=-0.;g=l.graphics13;c=+l.x2;c-= +l.world10.cameraX4;e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}c=+l.y3;c-= +l.world10.cameraY5;d=~~c;if( +Math.trunc(c)!==cjF((d|0))){d=cjN2I(c)|0;}g.v11(g,k,e,d,p);}function _c4F76engine7sprites5Shell20fireballCollideCheckE4(m,l,p){var d=-0.,c=-0.,h=null,e=null,g=0;var a={p:p,pc:0,f:_c4F76engine7sprites5Shell20fireballCollideCheckE4,m:m,h:null,e:null};if(((m.alive9|0)&255)===0){return 0|0;}d=+l.x2;d-= +m.x2;c=+l.y3;c-= +m.y3;if(!(d>cjF(-16))||!(d<cjF(16))){return 0|0;}if(c>cjF((-(m.height7|0)|0))){if(c<cjF((l.height7|0|0))){if((m.facing8|0|0)===0){m.xa4=cjF(((l.facing8|0)<<1|0));m.ya5=cjF(-5);if(m.graphics13!==null){a.h=h=m.world10;a.pc=-475;;if((N6engine7effects11DeathEffectG|0)==0){cjG(a);};a.e=e=new N6engine7effects11DeathEffect();d=+m.x2;c=+m.y3;g=m.graphics13.flipX4|0;a.pc=-619;_c4_16engine7effects11DeathEf1GaciShn(e,d,c,(g&255),((m.shellType11|0)+41|0),cjF(-5),a);a.pc=-717;h.v16(h,e,a);}a.pc=-741;m.world10.v18(m.world10,m,a);return 1|0;}return 1|0;}return 0|0;}return 0|0;}function _c4F56engine7sprites5Shell12collideCheckE5(k,p){var e=-0.,c=-0.,d=0,h=null,g=null;var a={p:p,pc:0,f:_c4F56engine7sprites5Shell12collideCheckE5,k:k,d:0,h:null,g:null};L0:do{if(((k.alive9|0)&255)!==0){e=+k.world10.mario6.x2;e-= +k.x2;c=+k.world10.mario6.y3;c-= +k.y3;if(!(!(e>cjF(-16))||!(e<cjF(16)))){if(c>cjF((-(k.height7|0)|0))){if(c<cjF((k.world10.mario6.height7|0|0))){L1:do{if( +k.world10.mario6.ya5>cjF(0)){if(!(!(c<=cjF(0))&&!(c<cjF(0)))){if(((k.world10.mario6.onGround13|0)&255)!==0){if(((k.world10.mario6.wasOnGround14|0)&255)!==0)break L1;}a.pc=-558;k.world10.mario6.v25(k.world10.mario6,k,a);if((k.facing8|0|0)===0){k.facing8=(k.world10.mario6.facing8|0);break L0;}k.xa4=cjF(0);k.facing8=0;break L0;}}}while(0);a.d=d=k.facing8|0;a.h=h=k.world10;a.pc=-764;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};if((d|0)===0){a.g=g=N6engine6helper9EventType.KICK9;a.pc=-874;d=k.type0.v16(k.type0,a)|0;a.pc=-911;h.v15(h,g,d,a);a.pc=-936;k.world10.mario6.v29(k.world10.mario6,k,a);k.facing8=(k.world10.mario6.facing8|0);}else{a.g=g=N6engine6helper9EventType.HURT8;a.pc=-1072;d=k.type0.v16(k.type0,a)|0;a.pc=-1110;h.v15(h,g,d,a);a.pc=-1136;k.world10.mario6.v26(k.world10.mario6,a);}}}}}}while(0);}function _c4p36engine7sprites5Shell4moveE6(s,r,q,p){var c=-0.,d=-0.,e=0,h=-0.,l=0,k=-0.,j=0,g=0;var a=new createStacklet_c4p36engine7sprites5Shell4moveE6(p,s,q);L0:do{if(r>cjF(8)){a.c=c=r;while(1){a.pc=-197;e=_c4p36engine7sprites5Shell4moveE6(s,cjF(8),cjF(0),a)|0;if((e|0)===0)break L0;c+=cjF(-8);if(c>cjF(8)){a.c=c=c;continue;}break;}}else{c=r;}if(c<cjF(-8)){a.c=c=c;while(1){a.pc=-377;e=_c4p36engine7sprites5Shell4moveE6(s,cjF(-8),cjF(0),a)|0;if((e|0)===0)break L0;c+=cjF(8);if(c<cjF(-8)){a.c=c=c;continue;}break;}a.c=c=c;}else{a.c=c=c;}if(q>cjF(8)){a.d=d=q;while(1){a.pc=-569;e=_c4p36engine7sprites5Shell4moveE6(s,cjF(0),cjF(8),a)|0;if((e|0)===0)break L0;d+=cjF(-8);if(d>cjF(8)){a.d=d=d;continue;}break;}}else{d=q;}if(d<cjF(-8)){a.d=d=d;while(1){a.pc=-749;e=_c4p36engine7sprites5Shell4moveE6(s,cjF(0),cjF(-8),a)|0;if((e|0)===0)break L0;d+=cjF(8);if(d<cjF(-8)){a.d=d=d;continue;}break;}a.d=d=d;}else{a.d=d=d;}if(!(d>cjF(0))){a.e=e=0;}else{h=+s.x2;g=s.width6|0;a.pc=-962;g=_c4_46engine7sprites5Shell10isBlockingE7(s,cjF(cjF(c+h)-cjF((g|0))),cjF(d+ +s.y3),c,cjF(0),a)|0;if((g|0)===0){h=+s.x2;g=s.width6|0;a.pc=-1105;g=_c4_46engine7sprites5Shell10isBlockingE7(s,cjF(cjF(c+h)+cjF((g|0))),cjF(d+ +s.y3),c,cjF(0),a)|0;if((g|0)===0){h=+s.x2;g=s.width6|0;a.pc=-1249;g=_c4_46engine7sprites5Shell10isBlockingE7(s,cjF(cjF(c+h)-cjF((g|0))),cjF(cjF(d+ +s.y3)+cjF(1)),c,d,a)|0;if((g|0)===0){h=+s.x2;g=s.width6|0;a.pc=-1400;g=_c4_46engine7sprites5Shell10isBlockingE7(s,cjF(cjF(c+h)+cjF((g|0))),cjF(cjF(d+ +s.y3)+cjF(1)),c,d,a)|0;a.e=e=(g|0)!==0?1:0;}else{a.e=e=1;}}else{a.e=e=1;}}else{a.e=e=1;}}if(d<cjF(0)){h=+s.x2;k=+s.y3;a.pc=-1611;g=_c4_46engine7sprites5Shell10isBlockingE7(s,cjF(c+h),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;if((g|e|0)===0){h=+s.x2;g=s.width6|0;k=+s.y3;a.pc=-1765;g=_c4_46engine7sprites5Shell10isBlockingE7(s,cjF(cjF(c+h)-cjF((g|0))),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;if((g|0)===0){h=+s.x2;g=s.width6|0;k=+s.y3;a.pc=-1933;g=_c4_46engine7sprites5Shell10isBlockingE7(s,cjF(cjF(c+h)+cjF((g|0))),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;g=(g|0)===0?e|0:1|0;a.e=e=g;}else{a.e=e=1;}}else{a.e=e=1;}}if(c>cjF(0)){h=+s.x2;j=s.width6|0;k=+s.y3;a.pc=-2159;a.l=l=_c4_46engine7sprites5Shell10isBlockingE7(s,cjF(cjF(c+h)+cjF((j|0))),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;h=+s.x2;j=s.width6|0;k=+s.y3;a.pc=-2317;a.j=j=_c4_46engine7sprites5Shell10isBlockingE7(s,cjF(cjF(c+h)+cjF((j|0))),cjF(cjF(d+k)-cjF(((s.height7|0|0)/2|0))),c,d,a)|0;h=+s.x2;g=s.width6|0;a.pc=-2473;g=_c4_46engine7sprites5Shell10isBlockingE7(s,cjF(cjF(c+h)+cjF((g|0))),cjF(d+ +s.y3),c,d,a)|0;g=(j|l|g|0)===0?e|0:1|0;a.e=e=g;}L1:do{L2:do{if(!(c<cjF(0))){e=e;}else{h=+s.x2;l=s.width6|0;k=+s.y3;a.pc=-2677;a.l=l=_c4_46engine7sprites5Shell10isBlockingE7(s,cjF(cjF(c+h)-cjF((l|0))),cjF(cjF(d+k)-cjF((s.height7|0|0))),c,d,a)|0;h=+s.x2;j=s.width6|0;k=+s.y3;a.pc=-2835;j=_c4_46engine7sprites5Shell10isBlockingE7(s,cjF(cjF(c+h)-cjF((j|0))),cjF(cjF(d+k)-cjF(((s.height7|0|0)/2|0))),c,d,a)|0;a.e=e=(j|l|0)===0?e|0:1|0;h=+s.x2;j=s.width6|0;a.pc=-3013;j=_c4_46engine7sprites5Shell10isBlockingE7(s,cjF(cjF(c+h)-cjF((j|0))),cjF(d+ +s.y3),c,d,a)|0;if((j|0)!==0)break L2;e=e;}if((e|0)===0){s.x2=cjF(c+ +s.x2);s.y3=cjF(d+ +s.y3);return 1|0;}if(!(c<cjF(0)))break L1;}while(0);h=+s.x2;h=cjF(cjF(h-cjF((s.width6|0|0)))*cjF(.0625));e=~~h;if( +Math.trunc(h)!==cjF((e|0))){e=cjN2I(h)|0;}s.x2=cjF(((e<<4)+(s.width6|0)|0));s.xa4=cjF(0);}while(0);if(c>cjF(0)){c=+s.x2;c=cjF(cjF(cjF(c+cjF((s.width6|0|0)))*cjF(.0625))+cjF(1));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}s.x2=cjF(((e<<4)+((s.width6|0)^ -1)|0));s.xa4=cjF(0);}if(d<cjF(0)){c=+s.y3;c=cjF(cjF(c-cjF((s.height7|0|0)))*cjF(.0625));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}s.y3=cjF(((e<<4)+(s.height7|0)|0));s.ya5=cjF(0);}if(d>cjF(0)){c=cjF(cjF( +s.y3*cjF(.0625))+cjF(1));e=~~c;if( +Math.trunc(c)!==cjF((e|0))){e=cjN2I(c)|0;}s.y3=cjF(((e<<4)-1|0));s.onGround12=1;}}while(0);return 0|0;}function _c4_46engine7sprites5Shell10isBlockingE7(s,r,q,o,n,p){var g=0,e=0,c=0,d=-0.;var a=new createStacklet_c4_46engine7sprites5Shell10isBlockingE7(p,s,o,n);d=cjF(r*cjF(.0625));c=~~d;if( +Math.trunc(d)!==cjF((c|0))){c=cjN2I(d)|0;a.g=g=c;}else{a.g=g=c;}d=cjF(q*cjF(.0625));c=~~d;if( +Math.trunc(d)!==cjF((c|0))){c=cjN2I(d)|0;a.e=e=c;}else{a.e=e=c;}d=cjF( +s.x2*cjF(.0625));c=~~d;if( +Math.trunc(d)!==cjF((c|0))){c=cjN2I(d)|0;}if((g|0)===(c|0)){d=cjF( +s.y3*cjF(.0625));c=~~d;if( +Math.trunc(d)!==cjF((c|0))){c=cjN2I(d)|0;}if((e|0)===(c|0)){return 0|0;}}a.pc=-554;a.c=c=s.world10.level7.v12(s.world10.level7,g,e,o,n,a)|0;if((c|0)===0){return 0|0;}if(!(n>=cjF(0))||n>cjF(0)){return c|0;}if(o>=cjF(0)&&!(o>cjF(0))){return c|0;}a.pc=-725;s.world10.v28(s.world10,g,e,1,a);return c|0;}function _c4F46engine7sprites5Shell9bumpCheckE8(l,k,j,p){var c=0,d=-0.;if(((l.alive9|0)&255)!==0){d=+l.x2;c=k<<4;if(cjF(d+cjF((l.width6|0|0)))>cjF((c|0))){d=+l.x2;if(cjF(d-cjF((l.width6|0|0)))<cjF((c+16|0))){d=cjF(cjF( +l.y3+cjF(-1))*cjF(.0625));c=~~d;if( +Math.trunc(d)!==cjF((c|0))){c=cjN2I(d)|0;}if((c|0)===(j|0)){l.facing8=(-(l.world10.mario6.facing8|0)|0);l.ya5=cjF(-10);}}}}}function _c4p26engine7sprites5Shell17sezGZCollideCheckE9(m,l,p){var d=-0.,c=-0.,h=null,g=null,e=0;var a={p:p,pc:0,f:_c4p26engine7sprites5Shell17sezGZCollideCheckE9,m:m,l:l,h:null,g:null};if(((m.alive9|0)&255)===0){return 0|0;}d=+l.x2;d-= +m.x2;c=+l.y3;c-= +m.y3;if(!(d>cjF(-16))||!(d<cjF(16))){return 0|0;}if(c>cjF((-(m.height7|0)|0))){if(c<cjF((l.height7|0|0))){a.h=h=m.world10;a.pc=-379;;if((N6engine6helper9EventTypeG|0)==0){cjG(a);};a.g=g=N6engine6helper9EventType.SHELL_KILL3;a.pc=-481;e=m.type0.v16(m.type0,a)|0;a.pc=-518;h.v15(h,g,e,a);if(m!==l){a.pc=-553;m.world10.v18(m.world10,l,a);}a.pc=-593;m.world10.v18(m.world10,m,a);return 1|0;}return 0|0;}return 0|0;}function _c4V36engine7sprites5Shell5cloneE10(d,p){return d.v11(d,p);}function createStacklet_c4_46engine7sprites5Shell10isBlockingE7(p,s,o,n){this.p=p;this.pc=0;this.f=_c4_46engine7sprites5Shell10isBlockingE7;this.g=0;this.e=0;this.c=0;this.s=s;this.o=+o;this.n=+n;}function createStacklet_c4F26engine7sprites5ShellC2E0(p,r,q,o,n,m,l){this.p=p;this.pc=0;this.f=_c4F26engine7sprites5ShellC2E0;this.r=r;this.q=q|0;this.o=+o;this.n=+n;this.m=m|0;this.l=l;this.c=null;}function createStacklet_c4p36engine7sprites5Shell4moveE6(p,s,q){this.p=p;this.pc=0;this.f=_c4p36engine7sprites5Shell4moveE6;this.c=-0.;this.d=-0.;this.e=0;this.s=s;this.q=+q;this.l=0;this.j=0;}var N4PlayG;
function N4Play(){N4java4lang6Object.call(this);}
N4Play.cl=cheerpjCL;
function N4PlayX(a){a.f=N4PlayX;if(cheerpjSafeInitGuard('N4Play')) return;var q=a.q=N4Play.prototype=Object.create(N4java4lang6Object.prototype);q.constructor=N4Play;N4PlayG=1;cheerpjSafeInitFinish('N4Play');}
function _d4pYPlayC2E0(d,p){_n4VYObjectC2E0(d,p);}function _d4_ZPlay8getLevelE1(h,p){var e=null,d=null,c=null;var a={p:p,pc:0,f:_d4_ZPlay8getLevelE1,h:h,e:null,d:null,c:null};a.pc=0;;a.e=e=cheerpjInternString("");a.d=d=new N4java4lang6String();a.c=c=["[Ljava/lang/String;"];for(var i=1;i<=0;i=i+1|0)c[i|0]=null;;a.pc=12;;if((N4java3nio4file5PathsG|0)==0){cjG(a);};a.pc=13;a.c=c=_h4VaSkWorJxGSqKNcmDiDBqm5vd(h,c,a);a.pc=1;;a.pc=15;;if((N4java3nio4file5FilesG|0)==0){cjG(a);};a.pc=16;c=_h4VaSkWoCJxGSqK_HSqivBhramOTSSHnri5Pxd(c,a);a.pc=2;;a.pc=18;_t4VacmSx9n(d,c,a);a.pc=3;;return d;}function ed4_ZPlay8getLevelE1(a,b){a.f=ed4_ZPlay8getLevelE1;var h=a.h,e=a.e,d=a.d,c=a.c;var pc=a.pc;a.pc=4;;a.d=d=b;if((pc>=3&&pc<22)&&self.hasOwnProperty("N4java2io11IOException")&&(b instanceof N4java2io11IOException)|0){a.pc=5;;return e;}else{a.pc=6;;a.pc=-1;return;}}function _d4_YPlay4mainE2(d,p){d[1];d[2];}function _d4p1Play12playGameMainE3(l,k,p){var e=null,c=null,d=null,g=null;var a={p:p,pc:0,f:_d4p1Play12playGameMainE3,k:k,e:null,c:null,d:null,g:null};e=cheerpjInternString("/app/levels/group%s/%s.txt");c=["[Ljava/lang/Object;"];for(var i=1;i<=2;i=i+1|0)c[i|0]=null;;c[1]=l;c[2]=k;a.pc=-281;a.e=e=_t4VY6formatE78(e,c,a);c=cheerpjInternString("/files/%s_sav.rep");d=["[Ljava/lang/Object;"];for(var i=1;i<=1;i=i+1|0)d[i|0]=null;;d[1]=k;a.pc=-434;a.c=c=_t4VY6formatE78(c,d,a);a.pc=-473;;if((N6engine4core9MarioGameG|0)==0){cjG(a);};a.d=d=new N6engine4core9MarioGame();a.pc=-565;_c4V26engine4core9MarioGameC2E0(d,a);a.pc=-612;;if((N6agents10HumanAgentG|0)==0){cjG(a);};a.g=g=new N6agents10HumanAgent();a.pc=-698;_c4Vaw0SbrZKunDifdqJgrmiGac7rd(g,a);a.pc=-744;e=_d4_ZPlay8getLevelE1(e,a);a.pc=-782;e=d.v11(d,g,e,200,c,a);a.pc=-815;a.e=e=e.v16(e,a);a.pc=-842;;if((N6engine6helper6ReplayG|0)==0){cjG(a);};return _c4F76engine6helper6Replay20serializeAgentEventsE2(e,p);}function _d4V1Play14replayGameMainE4(l,k,p){var e=null,c=null,d=null,g=null;var a={p:p,pc:0,f:_d4V1Play14replayGameMainE4,k:k,e:null,c:null,d:null,g:null};e=cheerpjInternString("/app/levels/group%s/%s.txt");c=["[Ljava/lang/Object;"];for(var i=1;i<=2;i=i+1|0)c[i|0]=null;;c[1]=l;c[2]=k;a.pc=-285;a.e=e=_t4VY6formatE78(e,c,a);c=cheerpjInternString("/files/%s_sav.rep");d=["[Ljava/lang/Object;"];for(var i=1;i<=1;i=i+1|0)d[i|0]=null;;d[1]=k;a.pc=-438;a.c=c=_t4VY6formatE78(c,d,a);a.pc=-477;;if((N6engine4core9MarioGameG|0)==0){cjG(a);};a.d=d=new N6engine4core9MarioGame();a.pc=-569;_c4V26engine4core9MarioGameC2E0(d,a);a.pc=-616;;if((N6engine6helper6ReplayG|0)==0){cjG(a);};a.pc=-671;a.g=g=_c4p76engine6helper6Replay19getRepAgentFromFileE1(c,a);a.pc=-742;e=_d4_ZPlay8getLevelE1(e,a);d.v11(d,g,e,200,c,p);}