• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Scottie, Todd, Serena, Kris - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

NPC on Region Map

Something you *could* do is to make a "Hidden Map" in the shape of an NPC's head and then have it appear on the map dependent on a switch you can activate, just like the other hidden maps in the game.
In the script section Settings, find the code that should look something like this:
Code:
REGIONMAPEXTRAS = [
   [0,51,16,15,"mapHiddenBerth",false],
   [0,52,20,14,"mapHiddenFaraday",false]
]

This is the section of code that handles hidden maps (e.g. islands, secret places, etc) and we can manipulate it here to do what it is you're asking. If you want to make your own hidden map, you will need to add the following code to this section:
Code:
[x,zz,xx,yy,"YourMapName",true/false]
x = The region that this hidden map will appear in. Under most cases, should be 0
zz = The switch that needs to be turned "ON" for this map to appear. Set this as you like
xx = The X-Coordinate of where on the map this hidden map will appear
yy = The Y-Coordinate of where on the map this hidden map will appear
"YourMapName" = This is self-explanatory. This is the image of what will be put onto the map, and should be in the file /Graphics/Pictures
true/false = conditional that determines if this hidden map should always be shown on a town map. In this case, this should ALWAYS be false.

So, say we wanted to add a picture of Oak's Head to the map, called "OaksHead", that appears at coordinate (20,17) and is dependent on switch 75 being turned "ON", then we would do this:
Code:
[0,75,20,17,"OaksHead",false]
When you add this, make sure each entry is separated by a comma at the end, except for the last one. So fully implemented it should look like this:
Code:
REGIONMAPEXTRAS = [
   [0,51,16,15,"mapHiddenBerth",false],
   [0,52,20,14,"mapHiddenFaraday",false],
   [0,75,20,17,"OaksHead",false]
]

Let me know how this helps you!
 
Last edited:
Back
Top