The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Research & Development
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!
Research & Development programs in this forum are subject to moderator approval before they are displayed.

Reply
 
Thread Tools
  #1    
Old February 5th, 2014, 01:11 PM
Spherical Ice's Avatar
Spherical Ice
Community Supporter
 
Join Date: Nov 2007
Location: UK
Send a message via Skype™ to Spherical Ice
alt title: how to delink maps part 2

So sometimes maps will randomly link and even if you follow that one tutorial by diegoisawesome they will remain linked. I've discovered that this is because of a couple of bytes (I believe that's called a half word?) in the map header that identify the map.

In the BPRE 1.0 ROM, the IDs are as follows:

Code:
01 to 03 - Pallet Town (Interiors)
05 - Pallet Town (Oak's Lab)
06 - House (Blue carpet)
07 - House (Green carpet)
08 to 09 - PC
0A - Mart
0B - House (no carpet, painting)
0C - Cerulean City Gym
0D - House (no carpet, signpost)
0E - 
0F - Celadon City Gym
10 - 
11 - Resort Gorgeous
12 - 
13 - 
14 - Fuschia City Gym
15 - House (orange carpet)
16 - 
17 - 
18 - 
19 - Vermillion City Gym
1A - Cerulean City (Bicycle Shop)
1B - Game Corner
1C - Pewter City Gym
1D - 
1E - House (Lorelei's)
1F - House (Lostelle's house)
20 - 
21 - 
22 - Saffron City Gym
24 - Cinnabar Island Gym
25 - Viridian City Gym
26 - 
27 - 
28 - 
29 - 
2A - 
2B - 
2C - 
2D - 
2E - 
2F to 32 - Online Rooms
33 - Fuschia City (Safari Zone Entrance)
34 - 
35 - 
36 - 
37 - 
38 - 
39 - 
3A - 
3B - 
3C - 
3D - 
3E - 
3F - 
40 - 
41 - 
42 - 
43 - 
44 - 
45 - 
46 - 
47 - 
48 - 
49 - 
4A - 
4B - 
4C - 
4D - 
4E to 58 - Pallet Town to Saffron City
59 to 71 - Route 1 to Route 25
72 to 74 - Mt. Moon
75 - Viridian Forest
76 - 7B - S.S. Anne (1.4 - 1.9)
77 - 
78 - 
79 - 
7A - 
7B - 
7C - Diglett Cave BF1
7D to 7F - Victory Road
80 to 83 - Rocket Hideout
84 to 8E - Silph Co.
8F to 92 - Pokémon Mansion
93 to 96 - Safari Zone
97 to 99 - Cerulean Cave
9A to 9B - Rock Tunnel
9C to A0 - Seafoam Islands
A1 to A7 - Pokémon Tower
A8 - Power Plant
A9 - Bill's house
AA - S.S. Anne Kitchen
AB - S.S. Anne's Captain's Room
AC - Underground Path
AD - 
AE - 
AF - 
B0 - Gatehouse (Vertical with stairs)
B1 - S.S. Anne Orange Room
B2 - S.S. Anne Green Room
B3 - Celadon City Dept. Store Elevator
B4 to B5 - Pewter City Museum
B6 - Cerulean City (Burgled house)
B7 - Cerulean City (Badge guy)
B8 to BC - Celadon Mansion
BD - Game Corner (Prize place)
BE - Celadon City (Restaurant)
BF - Celadon City (Hotel)
C0 to C5 - Celadon City Dept. Store
C6 - Safari Zone Interiors
C7 - Safari Zone Surf Room
C8 - Fuschia City (Warden Slowpoke guys)
C9 - Fuschia City (Warden Slowpoke's house)
CA - Fuschia City (Good Rod Fishing Guru)
CB to CE - Cinnabar Island (Lab)
CF - 
D0 - Gatehouse (Vertical)
D1 - Gatehouse (Horizontal)
D2 - Diglett Cave Entrance
D3 - Diglett Cave Exit
D4 - Indigo Plateau (PC)
D5 to DA - Pokémon League
DB - 
DC - Gatehouse (Binoculars)
DD - Gatehouse (Viridian Forest)
DE - Route 22 (Pokémon League entrance)
DF - Gatehouse (Route 16, two horizontal)
E0 - Gatehouse (Horizontal with stairs)
E1 - Rocket Hideout Elevator
E2 to E3 - Saffron City (Mimic Girl's house)
E4 - Saffron City (Dojo)
E5 - Silph Co. Elevator
E6 to EC - One Island to Six Island
ED to F1 - Kindle Road to Three Isle Port
F2 to F5 - Sevii Isle 6 to Sevii Isle 9
F6 to FF - Resort Gorgeous to Canyon Entrance
100 - Sevault Canyon
101 - Tanoby Ruins
102 - 
103 - 
104 - 
105 - 
106 - Online Room
107 - Saffron City (Trainer Fan Club)
108 - 
109 - Seven Island (room behind boxes)
10A - Viridian City (School)
10B - 
10C - 
10D - Mt. Ember (Braille Room)
10E - Berry Forest
10F - One Island (PC)
110 - Two Island (Wifi game corner)
111 - Vermillion City (Pokémon Fan Club)
112 - Lavender Town (Mr. Fuji)
113 - Route 5 (Daycare)
114 - Viridan City (House with guy with Spearow and little girl)
115 - Four Island (Daycare)
116 - 
117 - 
118 - Mt. Ember (Outside)
119 - Mt. Ember (Moltres)
11A to 11C - Mt. Ember
11D to 122 - Mt. Ember
123 - Mt. Ember (Ruby)
124 - Rocket Warehouse
125 to 128 - Icefall Cave
129 - 
12A to 133 - Trainer Tower
134 - Cerulean City (Berry Powder guy)
135 to 13A - Dotted Hole
13B - Seagallop Port
13C - One Island (PC Upstairs)
13D - Pattern Bush
13E - Three Isle Path
13F - 
140 to 14E - Lost Cave
14F - Monean Chamber
150 - Liptoo Chamber
151 - Weepth Chamber
152 - Dilford Chamber
153 - Scufib Chamber
154 - Altering Cave
155 - Tanoby Key
156 - Birth Island
157 - Navel Rock
158 to 16D - Navel Rock
16E - 
16F - 
170 - 
171 - 
172 - 
173 - 
174 - 
175 - 
176 - 
177 - 
178 - 
179 - 
17A - 
17B - 
17C - 
17D - 
17E - Seven Island (house with back entrance blocked by boxes)
17F - Ember Spa
180 - 
181 - 
182 - 
183 - 
184 - 
185 - 
186 - 
187 - 
188 - 
189 - 
18A - 
18B - 
18C - 
18D - 
18E - 
18F - 
190 - 
191 - 
192 - 
193 - 
194 - 
195 - 
196 - 
197 - 
198 - 
199 - 
19A - 
19B - 
19C - 
19D - 
19E - 
19F - 
1A0 - 
1A1 - 
1A2 - 
1A3 - 
1A4 - 
1A5 - 
1A6 - 
1A7 - 
1A8 - 
1A9 - 
1AA - 
1AB - 
1AC - 
1AD - 
1AE - 
1AF - 
1B0 - 
1B1 - 
1B2 - 
1B3 - 
1B4 - 
1B5 - 
1B6 - 
1B7 - 
1B8 - 
1B9 - 
1BA - 
1BB - 
1BC - 
1BD - 
1BE - 
1BF - 
1C0 - 
1C1 - Rixy Chamber
1C2 - Viapois Chamber
Code:
C0 D4 2D 08 50 4E 3B 08 5A 54 16 08 6C 27 35 08 2C 01
4E 00
58 00 02 01 01 06 00 00
This is the Map Header for Pallet Town from the aforementioned ROM, and the bytes bolded, when reversed (004E) correspond to the "Map ID) for that map. If you were to make, say, (4.1)'s new Map ID 004E, instead of 0001, then warping into the map should display Pallet Town's map and movement permissions, using Pallet Town's tileset to control things like map borders - the only thing that stays the same is the events, seeing as GF likely made this feature for houses, marts and PCs, which share the same maps but have different events.

(In-game, though, if you enter (4.1) before (3.1), the reverse will happen and (3.0) will display the map of (4.1) and so on.)

This could count as a tutorial but I've posted it in R&D because of the gaps in my list, the lack of the lists for other ROMs, and because I've probably made a mistake somewhere.
__________________

Last edited by Spherical Ice; February 6th, 2014 at 07:53 AM.
Reply With Quote
Reply
Quick Reply

Sponsored Links
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 05:26 PM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.