From e76375f5aa15b974806ea8f5056539335ad54e14 Mon Sep 17 00:00:00 2001 From: skysthelimitt Date: Tue, 31 Oct 2023 20:16:33 -0400 Subject: [PATCH] pokemon --- emulatorjs/data/emulator.min.js | 2 +- gba/index.html | 3 ++ pokemon/arrow.png | Bin 0 -> 613 bytes pokemon/blue/blue.gb | Bin 0 -> 1048576 bytes pokemon/blue/index.html | 23 +++++++++ pokemon/crystal/crystal.gbc | Bin 0 -> 2097152 bytes pokemon/crystal/index.html | 23 +++++++++ pokemon/emerald/emerald.gba | Bin 0 -> 16777216 bytes pokemon/emerald/index.html | 23 +++++++++ pokemon/firered/firered.gba | Bin 0 -> 16777216 bytes pokemon/firered/index.html | 23 +++++++++ pokemon/font.ttf | Bin 0 -> 91132 bytes pokemon/gold/gold.gbc | Bin 0 -> 2097152 bytes pokemon/gold/index.html | 23 +++++++++ pokemon/index.html | 82 ++++++++++++++++++++++++++++++++ pokemon/leafgreen/index.html | 23 +++++++++ pokemon/leafgreen/leafgreen.gba | Bin 0 -> 16777216 bytes pokemon/red/index.html | 23 +++++++++ pokemon/red/red.gb | Bin 0 -> 1048576 bytes pokemon/ruby/index.html | 23 +++++++++ pokemon/ruby/ruby.gba | Bin 0 -> 16777216 bytes pokemon/sapphire/index.html | 23 +++++++++ pokemon/sapphire/sapphire.gba | Bin 0 -> 16777216 bytes pokemon/silver/index.html | 23 +++++++++ pokemon/silver/silver.gbc | Bin 0 -> 2097152 bytes pokemon/yellow/index.html | 23 +++++++++ pokemon/yellow/yellow.gb | Bin 0 -> 1048576 bytes 27 files changed, 339 insertions(+), 1 deletion(-) create mode 100644 pokemon/arrow.png create mode 100644 pokemon/blue/blue.gb create mode 100644 pokemon/blue/index.html create mode 100644 pokemon/crystal/crystal.gbc create mode 100644 pokemon/crystal/index.html create mode 100644 pokemon/emerald/emerald.gba create mode 100644 pokemon/emerald/index.html create mode 100644 pokemon/firered/firered.gba create mode 100644 pokemon/firered/index.html create mode 100644 pokemon/font.ttf create mode 100644 pokemon/gold/gold.gbc create mode 100644 pokemon/gold/index.html create mode 100644 pokemon/index.html create mode 100644 pokemon/leafgreen/index.html create mode 100644 pokemon/leafgreen/leafgreen.gba create mode 100644 pokemon/red/index.html create mode 100644 pokemon/red/red.gb create mode 100644 pokemon/ruby/index.html create mode 100644 pokemon/ruby/ruby.gba create mode 100644 pokemon/sapphire/index.html create mode 100644 pokemon/sapphire/sapphire.gba create mode 100644 pokemon/silver/index.html create mode 100644 pokemon/silver/silver.gbc create mode 100644 pokemon/yellow/index.html create mode 100644 pokemon/yellow/yellow.gb diff --git a/emulatorjs/data/emulator.min.js b/emulatorjs/data/emulator.min.js index cbd36e5e..d4b18881 100644 --- a/emulatorjs/data/emulator.min.js +++ b/emulatorjs/data/emulator.min.js @@ -1 +1 @@ -!function(){var e,t;e=window,t=function(){return n=[function(e,t,n){"use strict";n.r(t);function b(e,t){var n=t.x-e.x,t=t.y-e.y;return Math.sqrt(n*n+t*t)}function _(e){return e*(Math.PI/180)}function o(e){f.has(e)&&clearTimeout(f.get(e)),f.set(e,setTimeout(e,100))}function a(e,t,n){for(var i,o=t.split(/[ ,]+/g),a=0;athis.options.threshold){var r,l={};for(r in this.direction)this.direction.hasOwnProperty(r)&&(l[r]=this.direction[r]);var c={};for(r in this.direction={x:n,y:i,angle:t},e.direction=this.direction,l)l[r]===this.direction[r]&&(c[r]=!0);if(c.x&&c.y&&c.angle)return e;c.x&&c.y||this.trigger("plain",e),c.x||this.trigger("plain:"+n,e),c.y||this.trigger("plain:"+i,e),c.angle||this.trigger("dir dir:"+t,e)}else this.resetDirection();return e};var x=w;function E(e,t){this.nipples=[],this.idles=[],this.actives=[],this.ids=[],this.pressureIntervals={},this.manager=e,this.id=E.id,E.id+=1,this.defaults={zone:document.body,multitouch:!1,maxNumberOfNipples:10,mode:"dynamic",position:{top:0,left:0},catchDistance:200,size:100,threshold:.1,color:"white",fadeTime:250,dataOnly:!1,restJoystick:!0,restOpacity:.5,lockX:!1,lockY:!1,shape:"circle",dynamicPage:!1,follow:!1},this.config(t),"static"!==this.options.mode&&"semi"!==this.options.mode||(this.options.multitouch=!1),this.options.multitouch||(this.options.maxNumberOfNipples=1);e=getComputedStyle(this.options.zone.parentElement);return e&&"flex"===e.display&&(this.parentIsFlex=!0),this.updateBox(),this.prepareNipples(),this.bindings(),this.begin(),this.nipples}E.prototype=new m,(E.constructor=E).id=0,E.prototype.prepareNipples=function(){var i=this.nipples;i.on=this.on.bind(this),i.off=this.off.bind(this),i.options=this.options,i.destroy=this.destroy.bind(this),i.ids=this.ids,i.id=this.id,i.processOnMove=this.processOnMove.bind(this),i.processOnEnd=this.processOnEnd.bind(this),i.get=function(e){if(void 0===e)return i[0];for(var t=0,n=i.length;t