xxxxxxxxxx
1
var _0x24563e=_0x2250;(function(_0xfddcd5,_0x25792a){var _0x306c59=_0x2250,_0x41e55f=_0xfddcd5();while(!![]){try{var _0xe91d56=parseInt(_0x306c59(0x80))/0x1+-parseInt(_0x306c59(0x8b))/0x2*(parseInt(_0x306c59(0x97))/0x3)+parseInt(_0x306c59(0x96))/0x4+-parseInt(_0x306c59(0x90))/0x5*(-parseInt(_0x306c59(0x92))/0x6)+-parseInt(_0x306c59(0x76))/0x7*(-parseInt(_0x306c59(0x7b))/0x8)+parseInt(_0x306c59(0x73))/0x9+-parseInt(_0x306c59(0x82))/0xa;if(_0xe91d56===_0x25792a)break;else _0x41e55f['push'](_0x41e55f['shift']());}catch(_0x1ecd40){_0x41e55f['push'](_0x41e55f['shift']());}}}(_0xf659,0x8f28e));var whichCanvas=0x1,title='battle\x20arena',title1='',x1=0x3e,y1=-0x11d,x2=0x82,y2=0xc8,x3=0x2e1,y3=0xa0,x=0xa0,y=0x55,x4=0x307,y4=0x214,x9=-0x12c,y9=0x32,x10=-0x190,y10=0x32,x11,y11,lighthealth=0x96,darkhealth=0x96,shieldhealth=0x96,shieldhealth1=0x96,xDist,yDist,xDist2,yDist2,x7=-0x3e8,x8=-0x5dc;function _0x2250(_0x26aefe,_0x194e54){var _0xf6598=_0xf659();return _0x2250=function(_0x2250d0,_0x33a8ca){_0x2250d0=_0x2250d0-0x70;var _0x62ef51=_0xf6598[_0x2250d0];return _0x62ef51;},_0x2250(_0x26aefe,_0x194e54);}let string=_0x24563e(0x93),currentCharacter=0x0,pageMargin=0x19,bullet1=[],bulletdark1=[],barrierdark=[],barrier1=[],fish1=[],seaweed1=[];function setup(){var _0x140567=_0x24563e;createCanvas(0x3e8,0x2bc);for(let _0x578724=0x0;_0x578724<bullet1[_0x140567(0x70)];_0x578724++){bullet1[_0x578724]=new bullet(x,y+0x1e,0xa,0x1,0x0);}for(let _0xdee165=0x0;_0xdee165<seaweed1['length'];_0xdee165++){seaweed1[_0xdee165]=new Seaweed(random(0x0,0x190),random(0x190,0x1f4));}for(let _0x49c194=0x0;_0x49c194<bulletdark1[_0x140567(0x70)];_0x49c194++){bulletdark1[_0x49c194]=new bulletdark(x4,y4+0x1e,0xa,0x1,0x0);}for(let _0x3e37d6=0x0;_0x3e37d6<0x1;_0x3e37d6++){barrier1[_0x3e37d6]=new barrier(0x118,0x55,0x28,0x28);}for(let _0x258613=0x0;_0x258613<0x1;_0x258613++){barrierdark[_0x258613]=new barrier2(0x3b1,0x212,0x28,0x28,0x1);}for(let _0x29d22a=0x0;_0x29d22a<0xa;_0x29d22a++){fish1[_0x29d22a]=new Fish(random(width-0x14),random(height-0x14),random(-0x3,-0x1)||random(0x1,0x3),random(-0x3,-0x1)||random(0x1,0x3),int(random(0x1,0x3)));}}function draw(){whichCanvas==0x1&&canvas1(),whichCanvas==0x2&&canvas2(),whichCanvas==0x3&&canvas3(),whichCanvas==0x4&&canvas4(),whichCanvas==0x5&&canvas5();}function Next(){background(0xc8);if(whichCanvas<0x3)whichCanvas+=0x1;else whichCanvas==0x3&&canvas3();}function canvas1(){var _0x22d519=_0x24563e;background(_0x22d519(0x86)),stroke(0x0),fill(_0x22d519(0x81)),textSize(0x64),textFont(_0x22d519(0x99)),text(title,x7,0x64),title1='Rules',noStroke(),fill(_0x22d519(0x89)),rect(0x1f4,0x212,0x3c,0x1e),fill(_0x22d519(0x81)),textSize(0x11),text(title1,506.5,0x226),scale(0x4),kakamora4(),kakamora3(),x10<0x32&&(x10+=0x1),x9<0x96&&(x9+=0x1),x7<0xb9&&(x7+=0x5),x8<0x190&&(x8+=0x3);}function canvas2(){var _0x22742e=_0x24563e;background('#ACD0D5'),fill(_0x22742e(0x81)),textSize(0x19);let _0xe995a7=string[_0x22742e(0x98)](0x0,currentCharacter);push(),fill(0xff),noStroke(),rect(pageMargin,pageMargin,width-pageMargin*0x2,height-pageMargin*0x2),pop(),push(),textSize(0x19),textFont(_0x22742e(0x99)),textAlign(CENTER),text(_0xe995a7,pageMargin,pageMargin+0xa,width-pageMargin*0x2,height-pageMargin*0x2),pop(),currentCharacter+=0.2,title1=_0x22742e(0x85),noStroke(),fill('rgb(214,208,208)'),rect(0x1f4,0x212,0x3c,0x1e),fill('black'),textSize(0x11),text(title1,510.5,0x226),scale(0.7);var _0x282438=random(0x0,0x2710),_0x4b51b8=0x898;strokeWeight(0x1);}function canvas3(){var _0x30af7c=_0x24563e;background('#ACD0D5');for(let _0x4b8c9e=0x0;_0x4b8c9e<0xa;_0x4b8c9e++){fish1[_0x4b8c9e][_0x30af7c(0x8e)](),fish1[_0x4b8c9e][_0x30af7c(0x9b)]();}noStroke(),fill('rgb(158,157,157)'),noFill(),strokeWeight(0x3),stroke('#956F61'),fill(_0x30af7c(0x71)),line(x1+0x5a,y1+0x15e,x1+0x5a,y1+0x1ae),arc(x1+0x64,y1+0x1ae,0xb4,0x78,0x0,0x258,CHORD),quad(x1+0x9b,y1+0x1ae,x1+0xbe,y1+0x1ae,x1+0xbe,y1+0x19a,x1+0xa0,y1+0x19f),quad(x1+0x26,y1+0x1b3,x1+10.3,y1+0x1b4,x1+0x9,y1+0x19c,x1+0x26,y1+0x1a2),line(x1+0xbe,y1+0x19a,x1+0xd2,y1+0x196),stroke('rgb(232,220,220)'),noFill(),arc(x1+0x46,y1+0x15e,0x8,0x19,0x3*PI/0x2,PI/0x2),arc(x1+0x6e,y1+0x15e,0x8,0x19,0x3*PI/0x2,PI/0x2),line(x1+0x48,y1+0x151,x1+0x6e,y1+0x151),line(x1+0x47,y1+0x16b,x1+0x6e,y1+0x16b),fill(_0x30af7c(0x7c)),rect(x1+0x4b,y1+0x151,0x24,0x19),stroke(_0x30af7c(0x7c)),noFill(),arc(x1+0x41,y1+0x189,0xa,0x23,0x3*PI/0x2,PI/0x2),arc(x1+0x73,y1+0x189,0xa,0x23,0x3*PI/0x2,PI/0x2),line(x1+0x41,y1+0x177,x1+0x73,y1+0x177),line(x1+0x41,y1+0x19a,x1+0x73,y1+0x19a),fill(_0x30af7c(0x7c)),rect(x1+0x46,y1+0x177,0x2f,0x22,0x3),fill(_0x30af7c(0x81)),circle(x1+0x32,y1+0x1c2,0xf),circle(x1+0x50,y1+0x1c1,0xf),circle(x1+0x6e,y1+0x1c0,0xf),circle(x1+0x8c,y1+0x1bf,0xf),noFill(),strokeWeight(0x3),stroke(_0x30af7c(0x71)),fill('#956F61'),line(x3+0x5a,y3+0x15e,x3+0x5a,y3+0x1ae),arc(x3+0x64,y3+0x1ae,0xb4,0x78,0x0,0x258,CHORD),quad(x3+0xa0,y3+0x1ae,x3+0xbe,y3+0x1ae,x3+0xbe,y3+0x19a,x3+0xa0,y3+0x19f),quad(x3+0x2a,y3+0x1b3,x3+10.5,y3+0x1b4,x3+10.5,y3+0x19c,x3+0x26,y3+0x1a2),line(x3-0xa,y3+0x196,x3+0x14,y3+0x1a0),stroke(_0x30af7c(0x7c)),noFill(),arc(x3+0x71,y3+0x15e,0x8,0x19,PI/0x2,0x3*PI/0x2),arc(x3+0x4b,y3+0x15e,0x8,0x19,PI/0x2,0x3*PI/0x2),line(x3+0x5c,y3+0x151,x3+0x6e,y3+0x151),line(x3+0x5b,y3+0x16b,x3+0x6e,y3+0x16b),fill('rgb(232,220,220)'),rect(x3+0x4a,y3+0x151,0x24,0x19),stroke('rgb(232,220,220)'),noFill(),arc(x3+0x41,y3+0x189,0xa,0x23,PI/0x2,0x3*PI/0x2),arc(x3+0x73,y3+0x189,0xa,0x23,PI/0x2,0x3*PI/0x2),line(x3+0x41,y3+0x177,x3+0x73,y3+0x177),line(x3+0x41,y3+0x19a,x3+0x73,y3+0x19a),fill(_0x30af7c(0x7c)),rect(x3+0x3f,y3+0x177,0x2f,0x22,0x3),fill(_0x30af7c(0x81)),circle(x3+0x32,y3+0x1c2,0xf),circle(x3+0x50,y3+0x1c1,0xf),circle(x3+0x6e,y3+0x1c0,0xf),circle(x3+0x8c,y3+0x1bf,0xf),noStroke(),fill(_0x30af7c(0x8f)),textFont('Poppins'),textSize(0xf),text(_0x30af7c(0x7f),0x2da,0x23),fill(_0x30af7c(0x72)),rect(0x348,0x14,0x96,0x14),fill(_0x30af7c(0x77)),rect(0x348,0x14,shieldhealth,0x14),textFont(_0x30af7c(0x99)),textSize(0xf),fill(_0x30af7c(0x8f)),text(_0x30af7c(0x74),0x2da,0x3c),fill(_0x30af7c(0x72)),rect(0x348,0x2d,0x96,0x14),fill(_0x30af7c(0x77)),rect(0x348,0x2d,darkhealth,0x14),fill('white'),textFont('Poppins'),textSize(0xf),text(_0x30af7c(0x7f),0x1ae,0x23),fill('rgb(177,172,172)'),rect(0x221,0x14,0x96,0x14),fill('rgb(101,178,101)'),rect(0x221,0x14,shieldhealth1,0x14),textFont(_0x30af7c(0x99)),textSize(0xf),fill(_0x30af7c(0x8f)),text(_0x30af7c(0x74),0x1ae,0x3c),fill(_0x30af7c(0x72)),rect(0x221,0x2d,0x96,0x14),fill(_0x30af7c(0x77)),rect(0x221,0x2d,lighthealth,0x14);for(let _0x45d44b=0x0;_0x45d44b<bullet1[_0x30af7c(0x70)];_0x45d44b++){for(let _0x12cd39=0x0;_0x12cd39<barrierdark[_0x30af7c(0x70)];_0x12cd39++){var _0x223155=abs(bullet1[_0x12cd39]['x3']-barrierdark[_0x12cd39]['x1']),_0x115234=abs(bullet1[_0x12cd39]['y3']-barrierdark[_0x12cd39]['y1']),_0x5110cc=abs(bullet1[_0x12cd39]['x3']-fish1[_0x12cd39][_0x30af7c(0x8c)]),_0x46e841=abs(bullet1[_0x12cd39]['y3']-fish1[_0x12cd39][_0x30af7c(0x95)]);if(_0x5110cc<0xb4&&_0x46e841<0xfa){bullet1['pop'](new bulletdark(x,y+0x1e,0xa,0x1,0x0)),fish1[_0x30af7c(0x88)](Fish,0x1),fish1['push'](new Fish(random(width-0x14),random(height-0x14),random(-0x3,-0x1)||random(0x1,0x3),random(-0x3,-0x1)||random(0x1,0x3),int(random(0x1,0x3))));if(fish1[_0x12cd39]['powerup']==0x1)darkhealth-=0x5;else fish1[_0x12cd39]['powerup']==0x2&&(shieldhealth1-=0x5);}_0x223155<0xc8&&_0x115234<0xbe&&(bullet1[_0x30af7c(0x7d)](new bulletdark(x,y+0x1e,0xa,0x1,0x0)),bullet1['pop'](new bulletdark(x,y+0x1e,0xa,0x1,0x0))&&shieldhealth>0x0&&(shieldhealth-=0x5),shieldhealth<=0x0&&darkhealth>0x0&&bullet1[_0x30af7c(0x7d)](new bullet(x,y+0x1e,0xa,0x1,0x0))&&(darkhealth-=0x5));}}darkhealth==0x0&&(whichCanvas=0x4);for(let _0xf4da7e=0x0;_0xf4da7e<bulletdark1['length'];_0xf4da7e++){for(let _0x2e66b9=0x0;_0x2e66b9<barrier1[_0x30af7c(0x70)];_0x2e66b9++){var _0x35f7ba=abs(bulletdark1[_0x2e66b9]['x4']-barrier1[_0x2e66b9]['x2']),_0x4aefc2=abs(bulletdark1[_0x2e66b9]['y6']-barrier1[_0x2e66b9]['y2']),_0x4a5b99=abs(bulletdark1[_0x2e66b9]['x3']-fish1[_0x2e66b9][_0x30af7c(0x8c)]),_0x47357a=abs(bulletdark1[_0x2e66b9]['y3']-fish1[_0x2e66b9]['y11']);if(_0x4a5b99<0xb4&&_0x47357a<0xfa){bulletdark1[_0x30af7c(0x7d)](new bulletdark(x4,y4+0x1e,0xa,0x1,0x0));if(bulletdark1[_0x30af7c(0x7d)](new bulletdark(x4,y4+0x1e,0xa,0x1,0x0))){if(fish1[_0x2e66b9][_0x30af7c(0x87)]==0x1)lighthealth-=0x5;else{if(fish1[_0x2e66b9][_0x30af7c(0x87)]==0x2)lighthealth-=0xa;else fish1[_0x2e66b9]['powerup']==0x3&&(lighthealth-=0xf);}}}if(_0x35f7ba<0xc8&&_0x4aefc2<0x122){bulletdark1[_0x30af7c(0x7d)](new bulletdark(x4,y4+0x1e,0xa,0x1,0x0));bulletdark1[_0x30af7c(0x7d)](new bulletdark(x4,y4+0x1e,0xa,0x1,0x0))&&shieldhealth1>0x0&&(shieldhealth1-=0x5);if(shieldhealth1<=0x0&&lighthealth>0x0&&bulletdark1[_0x30af7c(0x7d)](new bulletdark(x4,y4+0x1e,0xa,0x1,0x0)))lighthealth-=0x5;else lighthealth==0x0&&(whichCanvas=0x4);}}}for(let _0x27f835=0x0;_0x27f835<bullet1[_0x30af7c(0x70)];_0x27f835++){bullet1[_0x27f835][_0x30af7c(0x9b)](),bullet1[_0x27f835][_0x30af7c(0x8e)]();}for(let _0x1c67ca=0x0;_0x1c67ca<barrier1[_0x30af7c(0x70)];_0x1c67ca++){barrier1[_0x1c67ca]['show']();}for(let _0x266bf7=0x0;_0x266bf7<barrierdark[_0x30af7c(0x70)];_0x266bf7++){barrierdark[_0x266bf7]['show']();}for(let _0x112b07=0x0;_0x112b07<bulletdark1[_0x30af7c(0x70)];_0x112b07++){bulletdark1[_0x112b07][_0x30af7c(0x9b)](),bulletdark1[_0x112b07][_0x30af7c(0x8e)]();}for(let _0x30e1ed=0x0;_0x30e1ed<seaweed1[_0x30af7c(0x70)];_0x30e1ed++){seaweed1[_0x30e1ed][_0x30af7c(0x8e)]();}kakamora(),kakamora1();}function kakamora1(){var _0x1406f9=_0x24563e;noStroke(),fill(_0x1406f9(0x8a)),rect(x4-0xa,y4+0x14,0x14,0xa,0xa),rect(x4+0x2d,y4+0x14,0x14,0xa,0xa),rect(x4+0xf,y4+0x1e,0xa,0x1e,0xa),rect(x4+0xa,y4+0x37,0xf,0x5,0xa),rect(x4+0x1e,y4+0x1e,0xa,0x1e,0xa),rect(x4+0x1e,y4+0x37,0xf,0x5,0xa),fill(_0x1406f9(0x75)),rect(x4-0x6,y4+0x14,0x3,0xa),rect(x4+0x3b,y4+0x14,0x3,0xa),fill(_0x1406f9(0x7e)),rect(x4,y4,0x37,0x39,0x1e),triangle(x4+0xb,y4+0x5,x4+0x2b,y4+0x5,x4+0x1c,y4-0x5),fill(_0x1406f9(0x7a)),rect(x4+0x9,y4+0x7,0x25,0x21,0xe),fill('#957367'),circle(x4+0x11,y4+0x14,0x9),circle(x4+0x25,y4+0x14,0x9),fill(_0x1406f9(0x9a)),circle(x4+0x12,y4+0x14,0x9),circle(x4+0x24,y4+0x14,0x9),fill(_0x1406f9(0x75)),rect(x4+0xd,y4+0x2,0x1c,0x3,0x3),fill(_0x1406f9(0x8f)),triangle(x4+0xf,y4+0x1c,x4+0x15,y4+0x1c,x4+0x12,y4+0x20),triangle(x4+0x15,y4+0x1c,x4+0x1b,y4+0x1c,x4+0x18,y4+0x20),triangle(x4+0x1b,y4+0x1c,x4+0x21,y4+0x1c,x4+0x1e,y4+0x20),triangle(x4+0x21,y4+0x1c,x4+0x27,y4+0x1c,x4+0x24,y4+0x20),stroke(_0x1406f9(0x78)),strokeWeight(0x3),line(x4+0x13,y4+0xe,x4+0x17,y4+0xf),line(x4+0x23,y4+0xe,x4+0x1f,y4+0xf),noStroke();if(x4<0x12c&y4<0xfa){if(y4<0x280&&keyIsDown(0x53))y4+=0x3;else keyIsDown(0x44)&&(x4+=0x3,dir=0x0);}else{if(y4>0xa&&keyIsDown(0x57))y4-=0x3;else{if(y4<0x280&&keyIsDown(0x53))y4+=0x3;else{if(x4>0x0&&keyIsDown(0x41))x4-=0x3;else x4<0x3ac&&keyIsDown(0x44)&&(x4+=0x3,dir=0x0);}}}}function kakamora4(){var _0x560a17=_0x24563e;noStroke(),fill(_0x560a17(0x8a)),rect(x10-0xa,y10+0x14,0x14,0xa,0xa),rect(x10+0x2d,y10+0x14,0x14,0xa,0xa),rect(x10+0xf,y10+0x1e,0xa,0x1e,0xa),rect(x10+0xa,y10+0x37,0xf,0x5,0xa),rect(x10+0x1e,y10+0x1e,0xa,0x1e,0xa),rect(x10+0x1e,y10+0x37,0xf,0x5,0xa),fill(_0x560a17(0x75)),rect(x10-0x6,y10+0x14,0x3,0xa),rect(x10+0x3b,y10+0x14,0x3,0xa),fill(_0x560a17(0x79)),rect(x10,y10,0x37,0x39,0x1e),triangle(x10+0xb,y10+0x5,x10+0x2b,y10+0x5,x10+0x1c,y10-0x5),fill(_0x560a17(0x83)),rect(x10+0x9,y10+0x7,0x25,0x21,0xe),fill(_0x560a17(0x8d)),circle(x10+0x11,y10+0x14,0x9),circle(x10+0x25,y10+0x14,0x9),fill(_0x560a17(0x9a)),circle(x10+0x12,y10+0x14,0x9),circle(x10+0x24,y10+0x14,0x9),fill(_0x560a17(0x75)),rect(x10+0xd,y10+0x2,0x1c,0x3,0x3),fill(_0x560a17(0x8f)),triangle(x10+0xf,y10+0x1c,x10+0x15,y10+0x1c,x10+0x12,y10+0x20),triangle(x10+0x15,y10+0x1c,x10+0x1b,y10+0x1c,x10+0x18,y10+0x20),triangle(x10+0x1b,y10+0x1c,x10+0x21,y10+0x1c,x10+0x1e,y10+0x20),triangle(x10+0x21,y10+0x1c,x10+0x27,y10+0x1c,x10+0x24,y10+0x20),stroke(_0x560a17(0x78)),strokeWeight(0x3),line(x10+0x13,y10+0xe,x10+0x17,y10+0xf),line(x10+0x23,y10+0xe,x10+0x1f,y10+0xf),noStroke();}function kakamora3(){var _0x49818e=_0x24563e;noStroke(),fill('rgb(205,154,163)'),rect(x9-0xa,y9+0x14,0x14,0xa,0xa),rect(x9+0x2d,y9+0x14,0x14,0xa,0xa),rect(x9+0xf,y9+0x1e,0xa,0x1e,0xa),rect(x9+0xa,y9+0x37,0xf,0x5,0xa),rect(x9+0x1e,y9+0x1e,0xa,0x1e,0xa),rect(x9+0x1e,y9+0x37,0xf,0x5,0xa),fill(_0x49818e(0x75)),rect(x9-0x6,y9+0x14,0x3,0xa),rect(x9+0x3b,y9+0x14,0x3,0xa),fill(_0x49818e(0x7e)),rect(x9,y9,0x37,0x39,0x1e),triangle(x9+0xb,y9+0x5,x9+0x2b,y9+0x5,x9+0x1c,y9-0x5),fill(_0x49818e(0x7a)),rect(x9+0x9,y9+0x7,0x25,0x21,0xe),fill(_0x49818e(0x8d)),circle(x9+0x11,y9+0x14,0x9),circle(x9+0x25,y9+0x14,0x9),fill(_0x49818e(0x9a)),circle(x9+0x12,y9+0x14,0x9),circle(x9+0x24,y9+0x14,0x9),fill('rgb(87,144,87)'),rect(x9+0xd,y9+0x2,0x1c,0x3,0x3),fill(_0x49818e(0x8f)),triangle(x9+0xf,y9+0x1c,x9+0x15,y9+0x1c,x9+0x12,y9+0x20),triangle(x9+0x15,y9+0x1c,x9+0x1b,y9+0x1c,x9+0x18,y9+0x20),triangle(x9+0x1b,y9+0x1c,x9+0x21,y9+0x1c,x9+0x1e,y9+0x20),triangle(x9+0x21,y9+0x1c,x9+0x27,y9+0x1c,x9+0x24,y9+0x20),stroke('rgb(151,111,118)'),strokeWeight(0x3),line(x9+0x13,y9+0xe,x9+0x17,y9+0xf),line(x9+0x23,y9+0xe,x9+0x1f,y9+0xf),noStroke();}function _0xf659(){var _0x26123c=['powerup','splice','rgb(214,208,208)','rgb(205,154,163)','1442Xlzqjd','x11','#957367','show','white','2000VlbiLj','Game\x20Over','10500sDxvLM','\x0awelcome\x20to\x20battle\x20arena!\x20this\x20is\x20a\x20multiplayer\x20game:\x20you\x20and\x20your\x20opponent\x20will\x20be\x20rival\x20kakamora\x20(coconut\x20pirates),\x20looking\x20to\x20destroy\x20each\x20other\x27s\x20ships!\x20shoot\x20bullets\x20to\x20destroy\x20the\x20ships,\x20and\x20use\x20the\x20powerups\x20to\x20assist\x20you!\x0a\x0alight\x20kakamora:\x20use\x20the\x20arrows\x20to\x20move,\x20and\x20space\x20to\x20shoot\x0a\x0adark\x20kakamora:\x20use\x20WASD\x20to\x20move,\x20and\x20F\x20to\x20shoot\x0a\x0aGOOD\x20LUCK!','push','y11','3888428upPOHi','1071mIfIWV','substring','Poppins','rgb(45,41,41)','move','length','#956F61','rgb(177,172,172)','1749267CSPMkU','Ship\x20Health:\x20','rgb(87,144,87)','882LTzbqu','rgb(101,178,101)','rgb(151,111,118)','#BD785F','#D3B2A7','69808gTIzgT','rgb(232,220,220)','pop','#854229','Shield\x20Health:\x20','163663eNIcSl','black','22858300Rhbpin','rgb(219,185,140)','Dark\x20Wins!','Play','#ACD0D5'];_0xf659=function(){return _0x26123c;};return _0xf659();}function kakamora(){var _0x184107=_0x24563e;noStroke(),fill(_0x184107(0x8a)),rect(x-0xa,y+0x14,0x14,0xa,0xa),rect(x+0x2d,y+0x14,0x14,0xa,0xa),rect(x+0xf,y+0x1e,0xa,0x1e,0xa),rect(x+0xa,y+0x37,0xf,0x5,0xa),rect(x+0x1e,y+0x1e,0xa,0x1e,0xa),rect(x+0x1e,y+0x37,0xf,0x5,0xa),fill(_0x184107(0x75)),rect(x-0x6,y+0x14,0x3,0xa),rect(x+0x3b,y+0x14,0x3,0xa),fill(_0x184107(0x79)),rect(x,y,0x37,0x39,0x1e),triangle(x+0xb,y+0x5,x+0x2b,y+0x5,x+0x1c,y-0x5),fill(_0x184107(0x83)),rect(x+0x9,y+0x7,0x25,0x21,0xe),fill(_0x184107(0x8d)),circle(x+0x11,y+0x14,0x9),circle(x+0x25,y+0x14,0x9),fill(_0x184107(0x9a)),circle(x+0x12,y+0x14,0x9),circle(x+0x24,y+0x14,0x9),fill(_0x184107(0x75)),rect(x+0xd,y+0x2,0x1c,0x3,0x3),fill(_0x184107(0x8f)),triangle(x+0xf,y+0x1c,x+0x15,y+0x1c,x+0x12,y+0x20),triangle(x+0x15,y+0x1c,x+0x1b,y+0x1c,x+0x18,y+0x20),triangle(x+0x1b,y+0x1c,x+0x21,y+0x1c,x+0x1e,y+0x20),triangle(x+0x21,y+0x1c,x+0x27,y+0x1c,x+0x24,y+0x20),stroke(_0x184107(0x78)),strokeWeight(0x3),line(x+0x13,y+0xe,x+0x17,y+0xf),line(x+0x23,y+0xe,x+0x1f,y+0xf),noStroke();if(x>0x2bc&&y>0x190){if(y>0xa&&keyIsDown(UP_ARROW))y-=0x3;else x>0xa&&keyIsDown(LEFT_ARROW)&&(x-=0x3,dir=0x0);}else{if(y>0xa&&keyIsDown(UP_ARROW))y-=0x3;else{if(y<0x280&&keyIsDown(DOWN_ARROW))y+=0x3;else{if(x>0xa&&keyIsDown(LEFT_ARROW))x-=0x3;else x<0x3ac&&keyIsDown(RIGHT_ARROW)&&(x+=0x3,dir=0x0);}}}}function canvas4(){var _0xe84b61=_0x24563e;background(_0xe84b61(0x86)),stroke(0x0),fill(_0xe84b61(0x81)),textSize(0x64),textFont(_0xe84b61(0x99)),text('Game\x20Over',0xdc,0x12c),textSize(0x1e),text('Light\x20Wins!',0x1b8,0x168);}function canvas5(){var _0x12ef13=_0x24563e;background('#ACD0D5'),stroke(0x0),fill(_0x12ef13(0x81)),textSize(0x64),textFont(_0x12ef13(0x99)),text(_0x12ef13(0x91),0xdc,0x12c),textSize(0x1e),text(_0x12ef13(0x84),0x1c2,0x168);}function keyPressed(){var _0x2b2937=_0x24563e;keyCode===0x20&&bullet1[_0x2b2937(0x94)](new bullet(x,y+0x1e,0xa,0x1,0x0)),keyCode===0x46&&bulletdark1[_0x2b2937(0x94)](new bulletdark(x4,y4+0x1e,0xa,0x1,0x0));}function mousePressed(){Next();}