This code just makes your party pokemon to be shown in tm case , only for FIRE RED BINARY.
Build the same as the CFRU: python scripts/make.py
Alternatively, you can download the code as a .zip file from the arrow above. You can navigate to whichever branch for whichever feature you would like to check out as well.
Copy your ROM to this directory and rename it BPRE0.gba.
Open scripts/make.py in a text editor to set some compile-time configuration.
The build system is smart enough to find enough free space on its own, and if you want it to be inserted at a particular address, you can specify it by updating the definition of OFFSET_TO_PUT:
OFFSET_TO_PUT = 0x1C88650
SEARCH_FREE_SPACE = True # Set to True if you want the script to search for free space
# Set to False if you don't want to search for free space as you for example update the engineThe build system will use OFFSET_TO_PUT to determine where in the ROM it should start looking for free space if SEARCH_FREE_SPACE is True. Otherwise, the build system places the code to insert directly at OFFSET_TO_PUT.
Once you're ready, run:
$ python scripts/make.pyThis won't actually modify BPRE0.gba, instead your output will be in test.gba. Naturally, test it in an emulator before continuing.
Blurose for this template he took out from CFRU and Greenphx for his awesome code Skeli made the build system used in the CFRU which is used here.