• 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!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • 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] Problem with spawning in new map

  • 12
    Posts
    4
    Years
    • Seen Jan 30, 2023
    Hi, I am fairly new to ROM hacking, so bear with me.

    After learning through various resources, I decided to try to change the spawn of the player in a ROM hack. This works well when I try to change the spawn to a map from the game, but it does not work when I change the spawn to a new map I have created. The tools I have been using are advanced map and GBA intro manager. The only thing I have done is create a new map through advanced map. I know that I can enter the map when I spawn the normal way.

    I get through all of the intro with Birch, but when the player is about to be "minimized" into the overworld sprite, the game just stops.

    Any help would be much appreciated.

    As a sidenote, I don't plan on using the regular story, are there any specially important flags and vars which are checked in the truck script?
     
    Hmm...
    If you can definitely access the map when you spawn the normal way, I think the first thing to do would be to make sure you entered the right map header numbers into Intro Manager.
    If that doesn't work, then it might also be worth noting that generally, maps I make always replace old maps - inserting entirely new maps into new space in a rom is a bit fiddly. Hopefully someone who's more experienced in adding new maps can help more
     
    Thanks for your response. I tried several times, and I am 100% sure I entered the same map header numbers as when I used Advancedmap. Maybe Intro Manager has some different number system? Also, I wasn't aware that it is not safe to insert new maps. I could always use an already existing map, but that would hard to organize. Is there a way of changing the map header numbers so that I can organize the "new" maps into new folders?
     
    Hi, I am fairly new to ROM hacking, so bear with me.

    After learning through various resources, I decided to try to change the spawn of the player in a ROM hack. This works well when I try to change the spawn to a map from the game, but it does not work when I change the spawn to a new map I have created. The tools I have been using are advanced map and GBA intro manager. The only thing I have done is create a new map through advanced map. I know that I can enter the map when I spawn the normal way.

    I get through all of the intro with Birch, but when the player is about to be "minimized" into the overworld sprite, the game just stops.

    Any help would be much appreciated.

    As a sidenote, I don't plan on using the regular story, are there any specially important flags and vars which are checked in the truck script?

    I think GBAIM can't load a custom map since it can't read maps beyond vanilla ones. You can try changing it manually via a Hex Editor (see below for values) or use Start Map Chooser Advance. I'm not entirely sure whether both those methods will work.

    Hex values:
    Spoiler:


    Additionally, are you by any chance using JPAN's engine?


    Thanks for your response. I tried several times, and I am 100% sure I entered the same map header numbers as when I used Advancedmap. Maybe Intro Manager has some different number system? Also, I wasn't aware that it is not safe to insert new maps. I could always use an already existing map, but that would hard to organize. Is there a way of changing the map header numbers so that I can organize the "new" maps into new folders?

    This isn't entirely true. Many hacks use custom inserted maps. Though it is true that A-Map isn't the safest; that's why we create backups. And you can "sort" maps in the order you want in "Settings/Map listing". Also, it's best to edit vanilla maps in my opinion.


    @Jaykopp

    AdvanceMap uses decimal values for map headers and map values.

    GBA Intro Manager probably uses hexadecimal?

    I think it uses decimal. Not entirely sure.
     
    I think GBAIM can't load a custom map since it can't read maps beyond vanilla ones. You can try changing it manually via a Hex Editor (see below for values) or use Start Map Chooser Advance. I'm not entirely sure whether both those methods will work.

    Thanks for the good tips! I will definitely check out Start Map Chooser Advance, and try Hex editing with GBA-IM for the sake of trying.

    Additionally, are you by any chance using JPAN's engine?
    I am not sure what JPAN's engine is, but what I gather from a quick search, it is for FireRed, and I am hacking Emerald, so no
     
    Back
    Top