FANDOM


Make nest indicator equals in map points with same name
This tutorial is deprecated. It is no longer relevant to the latest version of Pokémon Essentials.

This tutorial was written by -FL-. Please give credit.

Click here for more tutorials!


This tutorial explains how to make the nest indicator equals in map points with same name, useful when you have an location that have multiples points on Town Map.

In PokemonNestAndForm change 's.x=point[1]*16-2' to 's.x=point[1]*16'.

Change 's.y=point[2]*16-2' to 's.y=point[2]*16'.

Change '@point=BitmapWrapper.new(22,22)' to "@point=BitmapWrapper.new(16,16)".

After line 'points.push(mappos) if mappos && mappos[0]==region' put 'getSameNameMaps(mappos, points, region)'.

Before line 'def pbUpdate' put:

 def getSameNameMaps(mappos, points, region)
   if mappos
     currentname=""
     for loc in @mapdata[region][2]
       currentname=loc[2] if loc[0]==mappos[1] && loc[1]==mappos[2]
     end
     for loc in @mapdata[region][2]
       points.push([region,loc[0],loc[1]]) if (currentname!="" && 
           loc[2]==currentname && !(loc[0]==mappos[1] && loc[1]==mappos[2])) 
     end
   end
 end

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.