Advertisement
name8888less

A0 filter

Apr 5th, 2021
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. javascript:var%20filterAttack=0,filterLevel=1;function%20refreshPokemons()%7Bif(shouldUpdate)%7Bfor(var%20e=%5B%5D,r=Math.floor(Date.now()/1e3)-timeOffset,o=0;o%3Cpokemons.length;++o)%7Bvar%20a=pokemons%5Bo%5D;(a.despawn%3Cr-10%7C%7C!isPokemonChecked(a.id)&&!shouldTurnFilterOff())&&e.push(o)%7Dfor(var%20o=e.length-1;o%3E=0;--o)%7Bpokemons.splice(e%5Bo%5D,1);var%20m=markers%5Be%5Bo%5D%5D;m.removeFrom(map),markers.splice(e%5Bo%5D,1)%7Dfor(var%20o=0;o%3Cpokemons.length;++o)%7Bvar%20a=pokemons%5Bo%5D,n=(a.attack+a.defence+a.stamina)/45*100,m=markers%5Bo%5D,t=min_iv;0==min_iv&&(t=-100),n%3E=t&&a.attack==0&&a.level%3E=filterLevel%7C%7CshouldTurnFilterOff()?m._map%7C%7Cm.addTo(map):m._map&&m.removeFrom(map)%7Dif(shouldShowTimers())for(var%20o=0;o%3Cmarkers.length;++o)%7Bvar%20i=map.getBounds(),s=markers%5Bo%5D;i.contains(s.getLatLng())&&$(s._icon).find(%22.pokemon_icon_timer%22).html(timeToString(pokemons%5Bo%5D.remainingTime()))%7D%7D%7D
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement