The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read


Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.

Thread Tools
Old January 3rd, 2014, 06:00 PM
12341 #4xx012
Join Date: Oct 2012
I'm the original author of this tutorial.

After many failures and lacking of knowledge, I finally got all the necessary knowledge to edit successfully flight data in Blue & Red.

All what you need is stored in 2 sections:

1) $6448 - $647B: Flying Warp-To-Data Pointers and Maps they are on

2) $647C - $64C9: Flying/Dying Warp-To Data


1) Flying Warp-To-Data Pointers and Maps they are on (4 BYTES each Map):

There are 13 Warp-To-Data Pointers, 11 for the towns and 2 for Route 4 and Route 10.

[BYTE 1]: Index Number of the Map. Maps in R\B are sorted by Index from $00 to $FF, but some maps aren't used;

[BYTE 2]: Always 00 (unknown use);

[BYTES 3,4]: Pointer to Flying/Dying Warp-To Data. This indicates the current adress (in the same bank) where the data are stored.


2) Flying/Dying Warp-To Data (6 BYTES each Map):

[BYTES 1,2]: Flying Position Adress. It refers to the block in which the Flying Position is set;

[BYTES 3,4]: Y and X Position of the Flying Position.

Note that a flying position MUST occupy the top right corner of the block in which the Flying Position is set and must match with the Flying Position Adress.

[BYTE 5]: Always 00 ;

[BYTE 6]: Always 01 (don't know exactly why).

How to edit flying positions:

First, indicate in Section 1) on which map each flying position is set (you could even set it in Routes & eventually interiors as does FR\LG in the Player's house); the modify the flying/dying warp-to data.

GoldMap\RedMap\GrapeMap shows the X and Y position of the cursor in the map, just copy it converting the numbers in HEX format.

Then calculate the Flying Position Adress in the same way you have to calculate a Trigger Position Adress,

make sure X and Y adresses matches with the right-top tile in the block in which the flying position is set and

it's done!

To calculate a trigger position adress:

Simply, using GoldMap, open a fake map that is IDENTICAL to the map in which you wish hack the flight position.

Simply put a trigger in the coord where you wish have your Flight Position event and calculate it.

Then using HexEditor write the new adress - remember you have to switch the bytes because of the endian order of bytes.

I Hope it helps, and good hacking!
Formerly not active on this forum anymore.

Download Demo 2: Click the banner above!

Yo! Check this video and decide if Pokemon Grape is now better than Pokemon Brown or not!
Koolboyman, Danny-E 33... From Frejo with Love you suckers!
Reply With Quote
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 09:34 PM.

Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™,
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é
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.