top of page

How to Add New Pokemon Center

2.14

Description Loading...

HMA Discord Link 2.png

Credits

Defa


NOTE: Before following this guide, you should already have the Pokemon Center added to your map, this guide covers how to make it work.

Step 1

In the map editor, add a Fly Spot in front of the Pokemon Center


This is to keep it consistent with the game and because you are going to edit two tables that have the same number of entries as the Fly Spot table


Step 2

Go to data.maps.heal.map ( 3EEC98 )

Change the anchor of the table to

^data.maps.heal.map[bank: number:]20

Step 3

Click on Add 1 New and set bank and number fields to the ones of the map your new Pokemon Center is on

Note the index of your new entry


Step 4

Change the anchor again to

^data.maps.heal.map[bank: number:]data.maps.heal.length

Step 5

Go to 0BFCB6 and change the number there to the same number +1 (in decimal, NOT hexadecimal)


Step 6

Return to data.maps.heal.map

On the left, set ID to the NPC ID of the Nurse Joy overworld object


Step 7

Go to data.maps.heal.healerNPC

Change the anchor to

^data.maps.heal.healerNPC[ID.]data.maps.heal.length

Step 8

Add a Transition map script to the map with your new Pokemon Center and put sethealingplace X, where X is the index +1 of your new entry in data.maps.heal.map (Step 3)


Step 9

Be sure that the tile the player ends up on after whiting out (the tile below the counter in front of Nurse Joy) is at coordinate x 7, y 4

If your new Pokémon Center map has a unique layout (like the one in Indigo Plateau) you need Guide 2.15 to customize the player position


Whenever you want to add a new Pokémon Center, repeat steps 1, 2 (just go to the table, don't change the anchor), 3, 5, 6, 8 and 9

NOTE: At 3EEBF8 you will have some free space due to repointed tables, you can use this space to add the routines provided in the above guides or your own stuff. Please do not make this space go to waste!



Happy Hacking!

 


bottom of page