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

[Map] Free byte in map data struct

Hey all,

I am working on implementing a feature that starts terrain effects at the beginning of battle based on the map you are, analogous to overworld weather translating to battle. Ideally, this would be done by using a free byte in the map data /

The map header is full, but there seem to be 2 free bytes at the end of the map footer structure. However, some maps have these bytes as 00 00, and others as FF FF so I am wondering if these bytes are actually used for something or not, as 00 or FF could be filler bytes. Changing the value on a map doesn't appear to change anything, and the dig/teleport/fly/bike flags are all in the map header.

Thanks!
 
Back
Top