Advertiser Content

Pokeemerald Expand number of overworlds

Started by slawter666 May 25th, 2019 10:49 AM
  • 963 views
  • 3 replies
Seen May 29th, 2019
Posted May 26th, 2019
106 posts
11.1 Years

This modification expands the number of overworlds from one byte to two (up to 65535) without changing the size of the saveblocks.

I've written a tutorial on how to add new overworlds here: https://github.com/pret/pokeemerald/wiki/Adding-new-overworlds
Seen May 29th, 2019
Posted May 26th, 2019
106 posts
11.1 Years
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.
Seen September 11th, 2019
Posted September 5th, 2019
6 posts
156 Days
I am using a branch that contains the following changes:

- battle_engine_v2
- pokemon_expansion
- item_expansion

This change here:

https://cdn.discordapp.com/attachments/419214240277200898/618926443560304670/chrome_riavWVlYf6.png

bugs the overworld sprites, it makes every overworld look like Brendan, like this:

https://cdn.discordapp.com/attachments/419214240277200898/618874739334709270/VisualBoyAdvanceM878-2019-09-04_15-26-21.png

Everything is fine if I don't change that. Maybe it's worth to look into it?
Advertiser Content