The PokéCommunity Forums Fan Games ROM Hacking Research & Development
Research Pokémon B/W - Changing the map's weather

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!

Reply
 
Thread Tools
  #1    
Old July 8th, 2018 (1:26 PM).
Platinum Lucario's Avatar
Platinum Lucario Platinum Lucario is offline
The Legendary Master of <font color="#D8D48C">Light</font>!
 
Join Date: Jan 2008
Location: Warrnambool, Victoria, Australia.
Age: 25
Gender: Male
Nature: Calm
Posts: 1,573
As I've been doing some research into Pokémon Black's Map header data, I've noticed one very odd thing in that completely separates Gen 5's Map Header data from Gen 4's Map Headers:

The Weather Values!!!

So with that being said, SDSME shows that it's located in offset 0x1C in a map header, but that's kinda misleading as I've changed the value to various different values and nothing happens. In fact we don't even know what that value even does!

I've been looking through Pokémon Black Version's ROM data, so far, I haven't found anything in regards to values that can change the weather for a map.

What I do know is the land data (map model data) is located in a/0/0/8, Nuvema Town's land data is #0, I've compared the data to Route 4's land data in #34 and found hardly any difference in header data. And why I chose Route 4, is because Route 4 is a Route that has a sandstorm brewing all the time. So if we can manage to change the weather data to that, then that would be brilliant.

If anyone is interested, I've already documented some of the map headers in Pokémon Black Version, that may actually help. Unfortunately though, we need to find the Weather values, which don't seem to appear in the map header data.

Map Header Data - Offset locations - Pokémon Black Version (English) [IRBO]

Currently documented header data:

Map #389 (0x185h)
Nuvema Town
ROM: 0x5DE572C-5DE575B

0x00: Map Type
0x01: ???
0x02-03: Land Model Texture
0x04-05: Map Matrix Layout
0x06-07: Object Scripts
0x08-09: Map Scripts
0x0A-0B: Text
0x0C-0D: Background Music (Spring)
0x0E-0F: Background Music (Summer)
0x10-11: Background Music (Autumn)
0x12-13: Background Music (Winter)
0x14-15: Wild Pokémon
0x16-17: Map ID
0x18-19: Parent Map ID
0x1A: Name
0x1B: Name Style
0x1C: ??? (SDSME states it as "weather", but it doesn't work...)
0x1D: Camera Angle Style
0x1E: ???
0x1F: ??? (Flags, maybe?)
0x20-2F: ???

Since B/W only has one name style, Name styles only have 0x4 as a usable value,
anything > (more) or < (less) than 0x4 will not show the name.

I'd also need your help for more documentation on the offsets in the map headers too, which would be greatly appreciated~
__________________
[Platinum Lucario's Signature]
If you need to disable my signature, please give me some advice on how to improve the CSS-DIV code. Thanks!
Signature Status: Strikes: 1/3 | Infractions: 0/3
It's time to change the future...
to a positive direction!

Let's prevent things from getting bad!

I'm a ROM and ISO Researcher
Current Project: Researching Pokémon Mystery Dungeon Adventure Squad games (WiiWare)
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
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 1:47 PM.