• 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.

Expand number of overworlds

  • 106
    Posts
    16
    Years
    • Seen May 29, 2019
    Last edited:
    Yay!

    That's so useful, I'll try to add it to my project, btw, I don't undersand why you removed "unk2".
     
    Last edited:
    Yay!

    That's so useful, I'll try to add it to my project, btw, I don't undersand why you removed "unk2".

    I've removed unk2 as it is unused and u16/s16 values are aligned to 2 bytes (0x00, 0x02, 0x04 etc) and (pointers are aligned to 4 bytes?) so if I had left unk2 in it the struct would have been 4 bytes larger due to padding being added, resulting in 256 bytes being unneccesarily added to SaveBlock1.
     
    Last edited:
    Last edited:
    I'm having a lot of trouble adding this. First all the sprites turn to Brendan and then there's all sorts of glitches. The code also seems out of date. Is there an updated version of this somewhere?
     
    I'm having a lot of trouble adding this. First all the sprites turn to Brendan and then there's all sorts of glitches. The code also seems out of date. Is there an updated version of this somewhere?
    All the sprites will always turn into Brendan.
    You need to rebuild map related files, either by using make mostlyclean or using the touch command over the files inside data/maps/NameOfAMap on Linux.

    Also yes, there is an updated version, Ghoulslash's.
    https://github.com/pret/pokeemerald/wiki/Adding-new-event-object-or-overworld-sprites#caveats
     
    Lunos, thanks for your response. So I implemented Ghoulash's system and was able to successfully make this work including the dynamic palletes. The only issue I have now is that the rain and fog palletes become all messed up (different colours) and the player character goes on top of the fog and other tiles instead of behind it
     
    Last edited:
    Back
    Top