The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Fire Red: Changing which World Map Loads

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old February 6th, 2015 (7:25 PM).
metapod23's Avatar
metapod23 metapod23 is offline
Hardened Trainer
 
Join Date: Mar 2009
Gender: Male
Nature: Timid
Posts: 673
This is a fairly simple inquiry, but one I can't figure out for myself, lol. Does anyone know where the data might be stored in the Fire Red rom that determines which world map is loaded for any map that is in the game?

For instance, Pallet Town will always load the Kanto map, so I'm assuming it has something to do with the headers, but I'm not sure. I also thought that the byte used for the Kanto map might be 8E, due to this in Advanced Map's map editor:



But I haven't been able to figure that out. It would be so much easier if that "Manage world map number" button wasn't grayed out, lol, but I guess that was never implemented. Anyone have any more information about how it works, or if there's a table that determines which map loads based on the header or the maps in the games themselves?

Thanks!
__________________
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old February 7th, 2015 (2:22 AM).
Spherical Ice's Avatar
Spherical Ice Spherical Ice is online now
 
Join Date: Nov 2007
Location: Leicester, UK
Age: 25
Posts: 5,251
This was answered by Jambo51 a while back here.

Quote:
Originally Posted by Jambo51 View Post
It's determined by a set of arrays in the ROM. These arrays are terminated with the byte 0xC5 (as 0xC5 is the highest map ID in FR). It searches through each array, one by one, and if it finds the map name ID, it stops.

The exception to this rule is if the map name is less than 0x8F (so, 0x8E and down), then it automatically appears in Kanto.

It's relatively simple to redefine which maps appear in Kanto, and just as easy to define which maps appear elsewhere by repointing the arrays.

The Kanto definition byte is at 0xC0064 and the arrays start at 0x3F1AA4 and end at 0x3F1AFF (Total data size) with Sevii Islands 1 starting at 0x3F1AA4, Sevii Islands 2 starting at 0x3F1AC2 and Sevii Islands 3 starting at 0x3F1AE0.

By changing these bytes around (and repointing if necessary) you can define which map name appears on which map quite easily.

ETA: The world map flags only control the availability of flight spots, additional information and the colour of the minor locations on the world map, nothing more.
__________________
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old February 12th, 2015 (6:32 AM).
metapod23's Avatar
metapod23 metapod23 is offline
Hardened Trainer
 
Join Date: Mar 2009
Gender: Male
Nature: Timid
Posts: 673
Quote:
Originally Posted by Spherical Ice View Post
This was answered by Jambo51 a while back here.
Thanks, I searched the forums but couldn't find it. I will look at this and see how to implement it.
__________________
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old February 22nd, 2015 (9:46 AM).
klaudio19 klaudio19 is offline
 
Join Date: Aug 2009
Gender: Male
Posts: 1
Quote:
Originally Posted by metapod23 View Post
Thanks, I searched the forums but couldn't find it. I will look at this and see how to implement it.
Hey!

You could make changes?
from the number 8E down over write the names of other points of Kanto and from 57 down does not work.
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old June 15th, 2019 (10:00 AM).
MobAcc MobAcc is offline
 
Join Date: Jun 2019
Posts: 15
Anyone figure out how to change the images for world maps 2 3 and 4?
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old November 24th, 2019 (2:11 AM).
/JASHIN/'s Avatar
/JASHIN/ /JASHIN/ is offline
 
Join Date: Nov 2018
Location: Canada
Age: 29
Gender: Male
Nature: Adamant
Posts: 62
So I'm noticing that the rom does not actually point to the arrays for the second or third sevi island maps. How does the game know when to load those two maps? I've repointed the first set of arrays to C00 000 (just some free space) so that I could extend the amount of maps on it, however I'm looking to repoint the second set of arrays, however there is no pointer pointing to it in the first place. Any suggestions?
__________________
POKEMON PULSAR VERSION PHASE 02 THREAD: https://www.pokecommunity.com/showthread.php?t=421565
(Phase 03 in development)


POKEMON PULSAR VERSION PHASE 02 TRAILER:https://www.youtube.com/watch?v=zPY7_ZvoO7E
(Formerly known as Pokemon Jashin Version)


-Praise Be To Jashin
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:11 AM.