• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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.

[Map] Adding New Map Section and Location Emerald

  • 53
    Posts
    9
    Years
    • Seen Aug 25, 2023
    So I am making a new location but need to figure out how the game identifies it. You know what I mean, when you enter a new area and it says Route 1 or if you catch a mon there it says met at route 1? So far here is my example.

    define MAPSEC_VIAPOIS_CHAMBER 0xC2
    #define MAPSEC_EMBER_SPA 0xC3
    #define MAPSEC_CERULEAN_WOODS 0xC4
    #define MAPSEC_POKETECH_ACADEMY 0xC5
    #define MAPSEC_SPECIAL_AREA 0xC6

    Cerulean Woods and Poketech are the new locations and this is in region_map_sections.h I just have no idea what else is needed for new locations and the game crashes if you make woods or poketech the map section header and enter the area.
     
    So I am making a new location but need to figure out how the game identifies it. You know what I mean, when you enter a new area and it says Route 1 or if you catch a mon there it says met at route 1? So far here is my example.

    define MAPSEC_VIAPOIS_CHAMBER 0xC2
    #define MAPSEC_EMBER_SPA 0xC3
    #define MAPSEC_CERULEAN_WOODS 0xC4
    #define MAPSEC_POKETECH_ACADEMY 0xC5
    #define MAPSEC_SPECIAL_AREA 0xC6

    Cerulean Woods and Poketech are the new locations and this is in region_map_sections.h I just have no idea what else is needed for new locations and the game crashes if you make woods or poketech the map section header and enter the area.

    A good way to figure out stuff like this is to see how the constants that are already in the file are used. If you have a text editor like Notepad++, you can use the Find functionality (Ctrl + F) to look through all of the files of your project, looking for one of the constants, like "MAPSEC_EMBER_SPA". You will then see every spot where that particular map section was used. You'll want to ignore any results found in the build folder if there are any. You can then trace the usage of "MAPSEC_EMBER_SPA" and eventually get a full picture of what you need to do for your own custom map sections.
     
    Back
    Top