• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Forum moderator applications are now open! Click here for details.
  • Welcome to PokéCommunity! Register now and join one of the best places on the 'net to talk Pokémon and more! Community members will not see the bottom screen advertisements.
  • Want to share your adventures playing Pokémon?
    Check out our new Travel Journals forum for sharing playthroughs of ROM Hacks, Fan Games, and other Pokémon content!
  • IMPORTANT: Following a takedown request, the following hacks have been delisted from PokéCommunity:

    • Pokémon Glazed
    • Pokémon: Giratina Strikes Back
    • Pokémon Flora Sky
    • Pokémon Stranded
    The downloads and discussion threads for these hacks will no longer be accessible, and staff will be unable to return questions regarding accessing this content.

Quick Research & Development Thread

wwmb

Watcher
20
Posts
13
Years
  • Seen Jan 18, 2016
POKEMON EMERALD
I found something kind of wacky when I was messing with strings:

//---------------
#org @start
msgbox @msg 0x2
end

//---------
// Strings
//---------
#org @msg
= \hF9

This seems to:
Repeat last speech from last triggered script/person
It is also, always, missing the first 2 characters of the repeated text. (ie, talking to the person who says "PROF. BIRCH spends days in his LAB [blablabla]" will repeat "OF. BIRCH spends days in his LAB [blablabla]")


Probably useless. but still funny.
 

Blah

Free supporter
1,924
Posts
11
Years
So, last night, I worked out how type effectiveness is done in FireRed. You'll be pleased to know that it's relatively simple. Firstly, the method of storage:

Code:
[Attack type - 1 byte][Target Type - 1 Byte][Effectiveness value - 1 Byte]

This data is stored at 0x24F050.

There are several of these, kept in an array which ends with a 0xFE value. The game loops over each entry in the array, checking if the attack type matches the used attack's type, and if it does, then checks the Target Type against the 2 types of the targeted Pokémon.

If either type matches, it loads the effectiveness byte and branches off to another routine which takes care of physically making the attack super effective/not effective. The type effectiveness values are as follows:

Code:
[B]Note, these are in hex[/B]
00 - Has No effect (Eg, Ghost on Normal)
05 - 50% effectiveness
14 - 200% Effectiveness

I don't know why they used these values, but that's what they are nonetheless. What you may gleam from these values, however, is that, unless explicitly told otherwise, the game treats all moves as normal effectiveness on any type.

If neither type matches, it jumps to the loop counter, increments it and continues checking until it hits that magical 0xFE value.

However, the way it is implemented leaves something to be desired as it is very slow (looping over several entries), and taking up more space than needed, both in terms of code and data. It's obviously wasteful in so far as it continues to check even after having already found both effectiveness values, as well as the wasteful nature of the loop in and of itself.

Related thread:
http://www.pokecommunity.com/showthread.php?t=83674
 
1,323
Posts
16
Years
  • Seen Dec 9, 2023
Here are some offsets for the Pokedex HUD:
0x451F55 = X position of text list
0x451F56 = Y position of text list
0x451F5D = X position of Habitat picture
0x451F5E = Y position of Habitat picture
0x451F65 = X position of "Seen:__ Owned:__" box
0x451F66 = Y position of "Seen:__ Owned:__" box
0x451F61 = BG Palette number that habitat picture uses
0x4520C8 = # of list entries on main pokedex page (National Pokedex enabled only)

Mess around with the bytes at those offsets, allowing you to do stuff like this:
1rpuac.png
 

karatekid552

What happens if I push it?....
1,771
Posts
11
Years
Just some research on high #flags.

I have always used flags in the 1000's for my hacking, until tajaros showed me this post: http://www.pokecommunity.com/showthread.php?p=6829256#post6829256

In it, it states that flags above 900 overwrite variables from 4000 up. I have never had a problem with flags in the 1000's so I did some investigating.

I wrote a script that would set all of the flags from 900 to 11FF and then did some variable comparing. I checked variables 4000 to 4380 (the var that flag 1000 should affect, if this was true, since flags are 1 byte while vars are 2) and I found that only vars 4000-408F were affected. Nothing higher. I even checked a few variables like 5000, 4400, and 4500, all to receive that same result. None higher than 408F were affected.

This brings me to my question. Why? I know that flags 900 to A22 are completely off limits by the above research, but what about the rest? Where are they stored? Either vars 4090+ are stored in a non-DMA location or the flags above A22 aren't stored with the rest. Does anyone know anything about these high number flags?
 

Jambo51

Glory To Arstotzka
736
Posts
14
Years
  • Seen Jan 28, 2018
Flags are 8 per byte, not 1 per byte. So checking flags 0x900 - 0x11FF would only actually affect vars 0x4000 to 0x4090.

None of the flags are safe to use, it's really that simple. Neither are the variables. If you want to make them safe, that's a whole other kettle of fish.
 

karatekid552

What happens if I push it?....
1,771
Posts
11
Years
Flags are 8 per byte, not 1 per byte. So checking flags 0x900 - 0x11FF would only actually affect vars 0x4000 to 0x4090.

None of the flags are safe to use, it's really that simple. Neither are the variables. If you want to make them safe, that's a whole other kettle of fish.

Oh, they are stored in bits. Wow, I didn't even think of that. Thanks. It makes a ton more sense now.

Edit: I just came up with this in case someone finds themselves in need of more flags:
With it, you can choose which var you would not like to use and have 16 flags at your disposal.

(((Flag - 900)/8)/2)+4000= var number flag is stored in.

(I am not responsible for any bad eggs and such, check the var you want to use first:p)

You can solve for flag or var, just depends on which you want.
 
Last edited:

knizz

192
Posts
16
Years
  • Seen Oct 28, 2020
For FireRed:
If you want to skip the intro: [0x080EC5D0]=0x08078915.
If you want to skip the intro+titlescreen: [0x080EC5D0]=0x0800C301.
If you want to skip the tutorial+oak:
  • [0x0800C4C4]=0x08056645
  • [0x08054A68]=0x4C3C
  • [0x08054A6A]=0x6820
  • [0x08054A6C]=0x4900
  • [0x08054A6E]=0xE001
  • [0x08054A70]=name of the player
    Spoiler:
  • [0x08054A7E]=0x4E34
  • [0x08054B3A]=0x0000
  • [0x08054B3C]=0x0000
pls credit

EDIT:
If you want to skip the intro+titlescreen:
  • [0x080EC5D0]=0x08079255
  • [0x080EC5C6]=0xB431
  • [0x080EC5C8]=0x4700
 
Last edited:

wwmb

Watcher
20
Posts
13
Years
  • Seen Jan 18, 2016
[prepare for massive wall]

Code:
[B] [B] 00 [/B] [COLOR=blue] CD C7 BB C6 C6 00 BE BF CD C5 FF 00 00 00 00 00 [/COLOR] 00 00 [COLOR=green] 00 [/COLOR] 00 00 00 00 [COLOR=red] 48 47 5A 08 14 45 5A 08[/COLOR]
[B] 01 [/B] [COLOR=blue] CD C7 BB C6 C6 00 BE BF CD C5 FF 00 00 00 00 00 [/COLOR] 00 00 [COLOR=green] 00 [/COLOR] B8 0B 00 00 [COLOR=red] 48 47 5A 08 14 45 5A 08[/COLOR] 
[B] 02 [/B] [COLOR=blue] CA C9 C5 1B C7 C9 C8 00 BE BF CD C5 FF 00 00 00 [/COLOR] 00 00 [COLOR=green] 00 [/COLOR] B8 0B 00 00 [COLOR=red] 64 47 5A 08 16 45 5A 08[/COLOR] 
[B] 03 [/B] [COLOR=blue] C2 BF BB D0 D3 00 BE BF CD C5 FF 00 00 00 00 00 [/COLOR] 00 09 [COLOR=green] 00 [/COLOR] 70 17 00 00 [COLOR=red] 94 47 5A 08 18 45 5A 08[/COLOR] 
[B] 04 [/B] [COLOR=blue] CC BB C1 C1 BF BE 00 BE BF CD C5 FF 00 00 00 00 [/COLOR] 00 09 [COLOR=green] 00 [/COLOR] 70 17 00 00 [COLOR=red] CC 47 5A 08 24 45 5A 08[/COLOR] 
[B] 05 [/B] [COLOR=blue] BD C9 C7 C0 C9 CC CE 00 BE BF CD C5 FF 00 00 00 [/COLOR] 00 09 [COLOR=green] 00 [/COLOR] 70 17 00 00 [COLOR=red] 03 48 5A 08 30 45 5A 08[/COLOR] 
[B] 06 [/B] [COLOR=blue] CA CC BF CE CE D3 00 BE BF CD C5 FF 00 00 00 00 [/COLOR] 00 08 [COLOR=green] 00 [/COLOR] 28 23 00 00 [COLOR=red] 3C 48 5A 08 3C 45 5A 08[/COLOR] 
[B] 07 [/B] [COLOR=blue] BC CC C3 BD C5 00 BE BF CD C5 FF 00 00 00 00 00 [/COLOR] 00 08 [COLOR=green] 00 [/COLOR] 28 23 00 00 [COLOR=red] 72 48 5A 08 4E 45 5A 08[/COLOR] 
[B] 08 [/B] [COLOR=blue] BD BB C7 CA 00 BE BF CD C5 FF 00 00 00 00 00 00 [/COLOR] 00 08 [COLOR=green] 00 [/COLOR] 28 23 00 00 [COLOR=red] A8 48 5A 08 60 45 5A 08[/COLOR] 
[B] 09 [/B] [COLOR=blue] C2 BB CC BE 00 BE BF CD C5 FF 00 00 00 00 00 00 [/COLOR] 00 08 [COLOR=green] 00 [/COLOR] 28 23 00 00 [COLOR=red] E1 48 5A 08 72 45 5A 08[/COLOR] 
[B] 0A [/B] [COLOR=blue] CD C7 BB C6 C6 00 BD C2 BB C3 CC FF 00 00 00 00 [/COLOR] 01 00 [COLOR=green] 01 [/COLOR] D0 07 00 00 [COLOR=red] 14 49 5A 08 84 45 5A 08[/COLOR] 
[B] 0B [/B] [COLOR=blue] CA C9 C5 1B C7 C9 C8 00 BD C2 BB C3 CC FF 00 00 [/COLOR] 01 00 [COLOR=green] 01 [/COLOR] D0 07 00 00 [COLOR=red] 30 49 5A 08 86 45 5A 08[/COLOR] 
[B] 0C [/B] [COLOR=blue] C2 BF BB D0 D3 00 BD C2 BB C3 CC FF 00 00 00 00 [/COLOR] 01 00 [COLOR=green] 01 [/COLOR] D0 07 00 00 [COLOR=red] 61 49 5A 08 88 45 5A 08[/COLOR] 
[B] 0D [/B] [COLOR=blue] CA CC BF CE CE D3 00 BD C2 BB C3 CC FF 00 00 00 [/COLOR] 01 00 [COLOR=green] 01 [/COLOR] D0 07 00 00 [COLOR=red] 7E 49 5A 08 8A 45 5A 08[/COLOR] 
[B] 0E [/B] [COLOR=blue] BD C9 C7 C0 C9 CC CE 00 BD C2 BB C3 CC FF 00 00 [/COLOR] 01 00 [COLOR=green] 01 [/COLOR] D0 07 00 00 [COLOR=red] 9B 49 5A 08 8C 45 5A 08[/COLOR] 
[B] 0F [/B] [COLOR=blue] CC BB C1 C1 BF BE 00 BD C2 BB C3 CC FF 00 00 00 [/COLOR] 01 00 [COLOR=green] 01 [/COLOR] D0 07 00 00 [COLOR=red] B9 49 5A 08 8E 45 5A 08[/COLOR] 
[B] 10 [/B] [COLOR=blue] BC CC C3 BD C5 00 BD C2 BB C3 CC FF 00 00 00 00 [/COLOR] 01 00 [COLOR=green] 01 [/COLOR] D0 07 00 00 [COLOR=red] D5 49 5A 08 90 45 5A 08[/COLOR] 
[B] 11 [/B] [COLOR=blue] BD BB C7 CA 00 BD C2 BB C3 CC FF 00 00 00 00 00 [/COLOR] 01 00 [COLOR=green] 01 [/COLOR] D0 07 00 00 [COLOR=red] F2 49 5A 08 92 45 5A 08[/COLOR] 
[B] 12 [/B] [COLOR=blue] C2 BB CC BE 00 BD C2 BB C3 CC FF 00 00 00 00 00 [/COLOR] 01 00 [COLOR=green] 01 [/COLOR] D0 07 00 00 [COLOR=red] 0E 4A 5A 08 94 45 5A 08[/COLOR] 
[B] 13 [/B] [COLOR=blue] CC BF BE 00 CA C6 BB C8 CE FF 00 00 00 00 00 00 [/COLOR] 02 05 [COLOR=green] 02 [/COLOR] B8 0B 00 00 [COLOR=red] 2A 4A 5A 08 96 45 5A 08[/COLOR] 
[B] 14 [/B] [COLOR=blue] CE CC C9 CA C3 BD BB C6 00 CA C6 BB C8 CE FF 00 [/COLOR] 02 05 [COLOR=green] 02 [/COLOR] B8 0B 00 00 [COLOR=red] 44 4A 5A 08 9A 45 5A 08[/COLOR] 
[B] 15 [/B] [COLOR=blue] CA CC BF CE CE D3 00 C0 C6 C9 D1 BF CC CD FF 00 [/COLOR] 02 05 [COLOR=green] 02 [/COLOR] B8 0B 00 00 [COLOR=red] 69 4A 5A 08 9E 45 5A 08[/COLOR] 
[B] 16 [/B] [COLOR=blue] BD C9 C6 C9 CC C0 CF C6 00 CA C6 BB C8 CE FF 00 [/COLOR] 02 04 [COLOR=green] 02 [/COLOR] 88 13 00 00 [COLOR=red] 80 4A 5A 08 A2 45 5A 08[/COLOR] 
[B] 17 [/B] [COLOR=blue] BC C3 C1 00 CA C6 BB C8 CE FF 00 00 00 00 00 00 [/COLOR] 02 04 [COLOR=green] 02 [/COLOR] 88 13 00 00 [COLOR=red] A8 4A 5A 08 AA 45 5A 08[/COLOR] 
[B] 18 [/B] [COLOR=blue] C1 C9 CC C1 BF C9 CF CD 00 CA C6 BB C8 CE FF 00 [/COLOR] 02 04 [COLOR=green] 02 [/COLOR] 88 13 00 00 [COLOR=red] D6 4A 5A 08 B2 45 5A 08[/COLOR] 
[B] 19 [/B] [COLOR=blue] CC BF BE 00 BC CC C3 BD C5 FF 00 00 00 00 00 00 [/COLOR] 00 05 [COLOR=green] 03 [/COLOR] F4 01 00 00 [COLOR=red] FE 4A 5A 08 BA 45 5A 08[/COLOR] 
[B] 1A [/B] [COLOR=blue] D3 BF C6 C6 C9 D1 00 BC CC C3 BD C5 FF 00 00 00 [/COLOR] 00 05 [COLOR=green] 03 [/COLOR] F4 01 00 00 [COLOR=red] 35 4B 5A 08 BE 45 5A 08[/COLOR] 
[B] 1B [/B] [COLOR=blue] BC C6 CF BF 00 BC CC C3 BD C5 FF 00 00 00 00 00 [/COLOR] 00 05 [COLOR=green] 03 [/COLOR] F4 01 00 00 [COLOR=red] 6A 4B 5A 08 C2 45 5A 08[/COLOR] 
[B] 1C [/B] [COLOR=blue] CC BF BE 00 BC BB C6 C6 C9 C9 C8 FF 00 00 00 00 [/COLOR] 01 00 [COLOR=green] 03 [/COLOR] F4 01 00 00 [COLOR=red] 9D 4B 5A 08 C6 45 5A 08[/COLOR] 
[B] 1D [/B] [COLOR=blue] BC C6 CF BF 00 BC BB C6 C6 C9 C9 C8 FF 00 00 00 [/COLOR] 01 00 [COLOR=green] 03 [/COLOR] F4 01 00 00 [COLOR=red] D4 4B 5A 08 C8 45 5A 08[/COLOR] 
[B] 1E [/B] [COLOR=blue] D3 BF C6 C6 C9 D1 00 BC BB C6 C6 C9 C9 C8 FF 00 [/COLOR] 01 00 [COLOR=green] 03 [/COLOR] F4 01 00 00 [COLOR=red] 0C 4C 5A 08 CA 45 5A 08[/COLOR] 
[B] 1F [/B] [COLOR=blue] CC BF BE 00 CE BF C8 CE FF 00 00 00 00 00 00 00 [/COLOR] 01 08 [COLOR=green] 03 [/COLOR] 10 27 00 00 [COLOR=red] 44 4C 5A 08 CC 45 5A 08[/COLOR] 
[B] 20 [/B] [COLOR=blue] BC C6 CF BF 00 CE BF C8 CE FF 00 00 00 00 00 00 [/COLOR] 01 08 [COLOR=green] 03 [/COLOR] 10 27 00 00 [COLOR=red] 6E 4C 5A 08 DE 45 5A 08[/COLOR] 
[B] 21 [/B] [COLOR=blue] CD C9 C6 C3 BE 00 BC C9 BB CC BE FF 00 00 00 00 [/COLOR] 01 05 [COLOR=green] 03 [/COLOR] B8 0B 00 00 [COLOR=red] 99 4C 5A 08 F0 45 5A 08[/COLOR] 
[B] 22 [/B] [COLOR=blue] CD C6 C3 BE BF FF 00 00 00 00 00 00 00 00 00 00 [/COLOR] 01 07 [COLOR=green] 03 [/COLOR] 40 1F 00 00 [COLOR=red] C7 4C 5A 08 F4 45 5A 08[/COLOR] 
[B] 23 [/B] [COLOR=blue] C0 BF C8 BD BF 00 C6 BF C8 C1 CE C2 FF 00 00 00 [/COLOR] 00 00 [COLOR=green] 03 [/COLOR] F4 01 00 00 [COLOR=red] EC 4C 5A 08 04 46 5A 08[/COLOR] 
[B] 24 [/B] [COLOR=blue] C0 BF C8 BD BF 00 D1 C3 BE CE C2 FF 00 00 00 00 [/COLOR] 00 00 [COLOR=green] 03 [/COLOR] F4 01 00 00 [COLOR=red] 0F 4D 5A 08 06 46 5A 08[/COLOR] 
[B] 25 [/B] [COLOR=blue] CE C3 CC BF FF 00 00 00 00 00 00 00 00 00 00 00 [/COLOR] 00 04 [COLOR=green] 03 [/COLOR] 20 03 00 00 [COLOR=red] 32 4D 5A 08 08 46 5A 08[/COLOR] 
[B] 26 [/B] [COLOR=blue] CD CE BB C8 BE FF 00 00 00 00 00 00 00 00 00 00 [/COLOR] 01 03 [COLOR=green] 03 [/COLOR] 58 1B 00 00 [COLOR=red] 67 4D 5A 08 10 46 5A 08[/COLOR] 
[B] 27 [/B] [COLOR=blue] C7 CF BE 00 BC BB C6 C6 FF 00 00 00 00 00 00 00 [/COLOR] 01 00 [COLOR=green] 03 [/COLOR] C8 00 00 00 [COLOR=red] 84 4D 5A 08 20 46 5A 08[/COLOR] 
[B] 28 [/B] [COLOR=blue] BC CC BF BB C5 BB BC C6 BF 00 BE C9 C9 CC FF 00 [/COLOR] 01 05 [COLOR=green] 03 [/COLOR] B8 0B 00 00 [COLOR=red] B1 4D 5A 08 22 46 5A 08[/COLOR] 
[B] 29 [/B] [COLOR=blue] CD BB C8 BE 00 C9 CC C8 BB C7 BF C8 CE FF 00 00 [/COLOR] 02 05 [COLOR=green] 03 [/COLOR] B8 0B 00 00 [COLOR=red] E2 4D 5A 08 26 46 5A 08[/COLOR] 
[B] 2A [/B] [COLOR=blue] CD C3 C6 D0 BF CC 00 CD C2 C3 BF C6 BE FF 00 00 [/COLOR] 02 05 [COLOR=green] 03 [/COLOR] 00 00 00 00 [COLOR=red] 11 4E 5A 08 2A 46 5A 08[/COLOR] 
[B] 2B [/B] [COLOR=blue] C1 C9 C6 BE 00 CD C2 C3 BF C6 BE FF 00 00 00 00 [/COLOR] 02 05 [COLOR=green] 03 [/COLOR] 00 00 00 00 [COLOR=red] 43 4E 5A 08 2E 46 5A 08[/COLOR] 
[B] 2C [/B] [COLOR=blue] C1 C6 BB CD CD 00 C9 CC C8 BB C7 BF C8 CE FF 00 [/COLOR] 02 05 [COLOR=green] 03 [/COLOR] 00 00 00 00 [COLOR=red] 76 4E 5A 08 32 46 5A 08[/COLOR] 
[B] 2D [/B] [COLOR=blue] CE D0 FF 00 00 00 00 00 00 00 00 00 00 00 00 00 [/COLOR] 00 00 [COLOR=green] 03 [/COLOR] B8 0B 00 00 [COLOR=red] AF 4E 5A 08 36 46 5A 08[/COLOR] 
[B] 2E [/B] [COLOR=blue] CC C9 CF C8 BE 00 CE D0 FF 00 00 00 00 00 00 00 [/COLOR] 00 00 [COLOR=green] 03 [/COLOR] A0 0F 00 00 [COLOR=red] CE 4E 5A 08 38 46 5A 08[/COLOR] 
[B] 2F [/B] [COLOR=blue] BD CF CE BF 00 CE D0 FF 00 00 00 00 00 00 00 00 [/COLOR] 00 00 [COLOR=green] 03 [/COLOR] A0 0F 00 00 [COLOR=red] F9 4E 5A 08 3A 46 5A 08[/COLOR] 
[B] 30 [/B] [COLOR=blue] C1 C6 C3 CE CE BF CC 00 C7 BB CE FF 00 00 00 00 [/COLOR] 01 00 [COLOR=green] 04 [/COLOR] D0 07 00 00 [COLOR=red] 24 4F 5A 08 3C 46 5A 08[/COLOR] 
[B] 31 [/B] [COLOR=blue] C4 CF C7 CA 00 C7 BB CE FF 00 00 00 00 00 00 00 [/COLOR] 01 00 [COLOR=green] 04 [/COLOR] D0 07 00 00 [COLOR=red] 4C 4F 5A 08 3E 46 5A 08[/COLOR] 
[B] 32 [/B] [COLOR=blue] CD CA C3 C8 00 C7 BB CE FF 00 00 00 00 00 00 00 [/COLOR] 01 00 [COLOR=green] 04 [/COLOR] D0 07 00 00 [COLOR=red] 7A 4F 5A 08 40 46 5A 08[/COLOR] 
[B] 33 [/B] [COLOR=blue] BD 00 C6 E3 EB 00 C8 C9 CE BF 00 C7 BB CE FF 00 [/COLOR] 01 00 [COLOR=green] 04 [/COLOR] F4 01 00 00 [COLOR=red] A9 4F 5A 08 42 46 5A 08[/COLOR] 
[B] 34 [/B] [COLOR=blue] BE 00 C8 C9 CE BF 00 C7 BB CE FF 00 00 00 00 00 [/COLOR] 01 00 [COLOR=green] 04 [/COLOR] F4 01 00 00 [COLOR=red] D8 4F 5A 08 44 46 5A 08[/COLOR] 
[B] 35 [/B] [COLOR=blue] BF 00 C8 C9 CE BF 00 C7 BB CE FF 00 00 00 00 00 [/COLOR] 01 00 [COLOR=green] 04 [/COLOR] F4 01 00 00 [COLOR=red] 03 50 5A 08 46 46 5A 08[/COLOR] 
[B] 36 [/B] [COLOR=blue] C0 00 C8 C9 CE BF 00 C7 BB CE FF 00 00 00 00 00 [/COLOR] 01 00 [COLOR=green] 04 [/COLOR] F4 01 00 00 [COLOR=red] 2F 50 5A 08 48 46 5A 08[/COLOR] 
[B] 37 [/B] [COLOR=blue] C1 00 C8 C9 CE BF 00 C7 BB CE FF 00 00 00 00 00 [/COLOR] 01 00 [COLOR=green] 04 [/COLOR] F4 01 00 00 [COLOR=red] 5B 50 5A 08 4A 46 5A 08[/COLOR] 
[B] 38 [/B] [COLOR=blue] BB 00 C8 C9 CE BF 00 C7 BB CE FF 00 00 00 00 00 [/COLOR] 01 00 [COLOR=green] 04 [/COLOR] F4 01 00 00 [COLOR=red] 86 50 5A 08 4C 46 5A 08[/COLOR] 
[B] 39 [/B] [COLOR=blue] BC 00 C8 C9 CE BF 00 C7 BB CE FF 00 00 00 00 00 [/COLOR] 01 00 [COLOR=green] 04 [/COLOR] F4 01 00 00 [COLOR=red] B2 50 5A 08 4E 46 5A 08[/COLOR] 
[B] 3A [/B] [COLOR=blue] BD 00 C2 DD DB DC 00 C8 C9 CE BF 00 C7 BB CE FF [/COLOR] 01 00 [COLOR=green] 04 [/COLOR] F4 01 00 00 [COLOR=red] DD 50 5A 08 50 46 5A 08[/COLOR] 
[B] 3B [/B] [COLOR=blue] CD CF CC C0 00 C7 BB CE FF 00 00 00 00 00 00 00 [/COLOR] 01 08 [COLOR=green] 04 [/COLOR] A0 0F 00 00 [COLOR=red] 0D 51 5A 08 52 46 5A 08[/COLOR] 
[B] 3C [/B] [COLOR=blue] CE C2 CF C8 BE BF CC 00 C7 BB CE FF 00 00 00 00 [/COLOR] 01 08 [COLOR=green] 04 [/COLOR] A0 0F 00 00 [COLOR=red] 41 51 5A 08 64 46 5A 08[/COLOR] 
[B] 3D [/B] [COLOR=blue] C0 C3 CC BF 00 BC C6 BB CD CE 00 C7 BB CE FF 00 [/COLOR] 01 08 [COLOR=green] 04 [/COLOR] A0 0F 00 00 [COLOR=red] 78 51 5A 08 76 46 5A 08[/COLOR] 
[B] 3E [/B] [COLOR=blue] CA C9 D1 BE BF CC 00 CD C8 C9 D1 00 C7 BB CE FF [/COLOR] 01 08 [COLOR=green] 04 [/COLOR] A0 0F 00 00 [COLOR=red] B2 51 5A 08 88 46 5A 08[/COLOR] 
[B] 3F [/B] [COLOR=blue] BB CE CE CC BB BD CE 00 C7 BB CE FF 00 00 00 00 [/COLOR] 01 08 [COLOR=green] 04 [/COLOR] A0 0F 00 00 [COLOR=red] EB 51 5A 08 9A 46 5A 08[/COLOR] 
[B] 40 [/B] [COLOR=blue] C0 C3 CD CD CF CC BF 00 C7 BB CE FF 00 00 00 00 [/COLOR] 01 08 [COLOR=green] 04 [/COLOR] A0 0F 00 00 [COLOR=red] 23 52 5A 08 AC 46 5A 08[/COLOR] 
[B] 41 [/B] [COLOR=blue] CD CA C3 C5 BF CD 00 C7 BB CE FF 00 00 00 00 00 [/COLOR] 01 08 [COLOR=green] 04 [/COLOR] A0 0F 00 00 [COLOR=red] 5A 52 5A 08 BE 46 5A 08[/COLOR] 
[B] 42 [/B] [COLOR=blue] BC BB C6 C6 00 CA C9 CD CE BF CC FF 00 00 00 00 [/COLOR] 03 00 [COLOR=green] 05 [/COLOR] E8 03 00 00 [COLOR=red] 90 52 5A 08 D0 46 5A 08[/COLOR] 
[B] 43 [/B] [COLOR=blue] C1 CC BF BF C8 00 CA C9 CD CE BF CC FF 00 00 00 [/COLOR] 03 00 [COLOR=green] 05 [/COLOR] E8 03 00 00 [COLOR=red] B8 52 5A 08 D2 46 5A 08[/COLOR] 
[B] 44 [/B] [COLOR=blue] CC BF BE 00 CA C9 CD CE BF CC FF 00 00 00 00 00 [/COLOR] 03 00 [COLOR=green] 05 [/COLOR] E8 03 00 00 [COLOR=red] DD 52 5A 08 D4 46 5A 08[/COLOR] 
[B] 45 [/B] [COLOR=blue] BC C6 CF BF 00 CA C9 CD CE BF CC FF 00 00 00 00 [/COLOR] 03 00 [COLOR=green] 05 [/COLOR] E8 03 00 00 [COLOR=red] 02 53 5A 08 D6 46 5A 08[/COLOR] 
[B] 46 [/B] [COLOR=blue] BD CF CE BF 00 CA C9 CD CE BF CC FF 00 00 00 00 [/COLOR] 03 00 [COLOR=green] 05 [/COLOR] E8 03 00 00 [COLOR=red] 26 53 5A 08 D8 46 5A 08[/COLOR] 
[B] 47 [/B] [COLOR=blue] CA C3 C5 BB 00 CA C9 CD CE BF CC FF 00 00 00 00 [/COLOR] 03 01 [COLOR=green] 05 [/COLOR] DC 05 00 00 [COLOR=red] 4C 53 5A 08 DA 46 5A 08[/COLOR] 
[B] 48 [/B] [COLOR=blue] C6 C9 C8 C1 00 CA C9 CD CE BF CC FF 00 00 00 00 [/COLOR] 03 01 [COLOR=green] 05 [/COLOR] DC 05 00 00 [COLOR=red] 7B 53 5A 08 DE 46 5A 08[/COLOR] 
[B] 49 [/B] [COLOR=blue] CD BF BB 00 CA C9 CD CE BF CC FF 00 00 00 00 00 [/COLOR] 03 01 [COLOR=green] 05 [/COLOR] DC 05 00 00 [COLOR=red] A0 53 5A 08 E2 46 5A 08[/COLOR] 
[B] 4A [/B] [COLOR=blue] CD C5 D3 00 CA C9 CD CE BF CC FF 00 00 00 00 00 [/COLOR] 03 01 [COLOR=green] 05 [/COLOR] DC 05 00 00 [COLOR=red] C7 53 5A 08 E6 46 5A 08[/COLOR] 
[B] 4B [/B] [COLOR=blue] C5 C3 CD CD 00 CA C9 CD CE BF CC FF 00 00 00 00 [/COLOR] 03 01 [COLOR=green] 05 [/COLOR] DC 05 00 00 [COLOR=red] EC 53 5A 08 EA 46 5A 08[/COLOR] 
[B] 4C [/B] [COLOR=blue] CA C3 BD C2 CF 00 BE C9 C6 C6 FF 00 00 00 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] 12 54 5A 08 EE 46 5A 08[/COLOR] 
[B] 4D [/B] [COLOR=blue] CA C3 C5 BB BD C2 CF 00 BE C9 C6 C6 FF 00 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] 3D 54 5A 08 F0 46 5A 08[/COLOR] 
[B] 4E [/B] [COLOR=blue] C7 BB CC C3 C6 C6 00 BE C9 C6 C6 FF 00 00 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] 6A 54 5A 08 F2 46 5A 08[/COLOR] 
[B] 4F [/B] [COLOR=blue] CE C9 C1 BF CA C3 00 BE C9 C6 C6 FF 00 00 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] 96 54 5A 08 F4 46 5A 08[/COLOR] 
[B] 50 [/B] [COLOR=blue] BD D3 C8 BE BB CB CF C3 C6 00 BE C9 C6 C6 FF 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] C2 54 5A 08 F6 46 5A 08[/COLOR] 
[B] 51 [/B] [COLOR=blue] BD C2 C3 C5 C9 CC C3 CE BB 00 BE C9 C6 C6 FF 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] F1 54 5A 08 F8 46 5A 08[/COLOR] 
[B] 52 [/B] [COLOR=blue] CE C9 CE C9 BE C3 C6 BF 00 BE C9 C6 C6 FF 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] 20 55 5A 08 FA 46 5A 08[/COLOR] 
[B] 53 [/B] [COLOR=blue] C4 C3 C1 C1 C6 D3 CA CF C0 C0 00 BE C9 C6 C6 FF [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] 4E 55 5A 08 FC 46 5A 08[/COLOR] 
[B] 54 [/B] [COLOR=blue] C7 BF C9 D1 CE C2 00 BE C9 C6 C6 FF 00 00 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] 7E 55 5A 08 FE 46 5A 08[/COLOR] 
[B] 55 [/B] [COLOR=blue] BD C6 BF C0 BB C3 CC D3 00 BE C9 C6 C6 FF 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] AA 55 5A 08 00 47 5A 08[/COLOR] 
[B] 56 [/B] [COLOR=blue] BE C3 CE CE C9 00 BE C9 C6 C6 FF 00 00 00 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] D8 55 5A 08 02 47 5A 08[/COLOR] 
[B] 57 [/B] [COLOR=blue] CD C7 C9 C9 BD C2 CF C7 00 BE C9 C6 C6 FF 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] 03 56 5A 08 04 47 5A 08[/COLOR] 
[B] 58 [/B] [COLOR=blue] CE CC BF BF BD C5 C9 00 BE C9 C6 C6 FF 00 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] 31 56 5A 08 06 47 5A 08[/COLOR] 
[B] 59 [/B] [COLOR=blue] CE C9 CC BD C2 C3 BD 00 BE C9 C6 C6 FF 00 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] 5E 56 5A 08 08 47 5A 08[/COLOR] 
[B] 5A [/B] [COLOR=blue] C7 CF BE C5 C3 CA 00 BE C9 C6 C6 FF 00 00 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] 8B 56 5A 08 0A 47 5A 08[/COLOR] 
[B] 5B [/B] [COLOR=blue] BE CF CD C5 CF C6 C6 00 BE C9 C6 C6 FF 00 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] B7 56 5A 08 0C 47 5A 08[/COLOR] 
[B] 5C [/B] [COLOR=blue] D1 D3 C8 BB CF CE 00 BE C9 C6 C6 FF 00 00 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] E4 56 5A 08 0E 47 5A 08[/COLOR] 
[B] 5D [/B] [COLOR=blue] BC BB C6 CE C9 D3 00 BE C9 C6 C6 FF 00 00 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] 10 57 5A 08 10 47 5A 08[/COLOR] 
[B] 5E [/B] [COLOR=blue] C5 BF BD C6 BF C9 C8 00 BE C9 C6 C6 FF 00 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] 3C 57 5A 08 12 47 5A 08[/COLOR] 
[B] 5F [/B] [COLOR=blue] BB D4 CF CC C3 C6 C6 00 BE C9 C6 C6 FF 00 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] 69 57 5A 08 14 47 5A 08[/COLOR] 
[B] 60 [/B] [COLOR=blue] CD C5 C3 CE CE D3 00 BE C9 C6 C6 FF 00 00 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] 97 57 5A 08 16 47 5A 08[/COLOR] 
[B] 61 [/B] [COLOR=blue] CD D1 BB BC C6 CF 00 BE C9 C6 C6 FF 00 00 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] C3 57 5A 08 18 47 5A 08[/COLOR] 
[B] 62 [/B] [COLOR=blue] C1 CF C6 CA C3 C8 00 BE C9 C6 C6 FF 00 00 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] EF 57 5A 08 1A 47 5A 08[/COLOR] 
[B] 63 [/B] [COLOR=blue] C6 C9 CE BB BE 00 BE C9 C6 C6 FF 00 00 00 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] 1B 58 5A 08 1C 47 5A 08[/COLOR] 
[B] 64 [/B] [COLOR=blue] CD BF BF BE C9 CE 00 BE C9 C6 C6 FF 00 00 00 00 [/COLOR] 04 00 [COLOR=green] 06 [/COLOR] B8 0B 00 00 [COLOR=red] 46 58 5A 08 1E 47 5A 08[/COLOR] 
[B] 65 [/B] [COLOR=blue] CA C3 C5 BB 00 BD CF CD C2 C3 C9 C8 FF 00 00 00 [/COLOR] 04 00 [COLOR=green] 07 [/COLOR] D0 07 00 00 [COLOR=red] 72 58 5A 08 20 47 5A 08[/COLOR] 
[B] 66 [/B] [COLOR=blue] CC C9 CF C8 BE 00 BD CF CD C2 C3 C9 C8 FF 00 00 [/COLOR] 04 00 [COLOR=green] 07 [/COLOR] D0 07 00 00 [COLOR=red] A2 58 5A 08 22 47 5A 08[/COLOR] 
[B] 67 [/B] [COLOR=blue] C5 C3 CD CD 00 BD CF CD C2 C3 C9 C8 FF 00 00 00 [/COLOR] 04 00 [COLOR=green] 07 [/COLOR] D0 07 00 00 [COLOR=red] D1 58 5A 08 24 47 5A 08[/COLOR] 
[B] 68 [/B] [COLOR=blue] D4 C3 C1 D4 BB C1 00 BD CF CD C2 C3 C9 C8 FF 00 [/COLOR] 04 00 [COLOR=green] 07 [/COLOR] D0 07 00 00 [COLOR=red] 02 59 5A 08 26 47 5A 08[/COLOR] 
[B] 69 [/B] [COLOR=blue] CD CA C3 C8 00 BD CF CD C2 C3 C9 C8 FF 00 00 00 [/COLOR] 04 00 [COLOR=green] 07 [/COLOR] D0 07 00 00 [COLOR=red] 34 59 5A 08 28 47 5A 08[/COLOR] 
[B] 6A [/B] [COLOR=blue] BE C3 BB C7 C9 C8 BE 00 BD CF CD C2 C3 C9 C8 FF [/COLOR] 04 00 [COLOR=green] 07 [/COLOR] D0 07 00 00 [COLOR=red] 63 59 5A 08 2A 47 5A 08[/COLOR] 
[B] 6B [/B] [COLOR=blue] BC BB C6 C6 00 BD CF CD C2 C3 C9 C8 FF 00 00 00 [/COLOR] 04 00 [COLOR=green] 07 [/COLOR] D0 07 00 00 [COLOR=red] 93 59 5A 08 2C 47 5A 08[/COLOR] 
[B] 6C [/B] [COLOR=blue] C1 CC BB CD CD 00 BD CF CD C2 C3 C9 C8 FF 00 00 [/COLOR] 04 00 [COLOR=green] 07 [/COLOR] D0 07 00 00 [COLOR=red] C0 59 5A 08 2E 47 5A 08[/COLOR] 
[B] 6D [/B] [COLOR=blue] C0 C3 CC BF 00 BD CF CD C2 C3 C9 C8 FF 00 00 00 [/COLOR] 04 00 [COLOR=green] 07 [/COLOR] D0 07 00 00 [COLOR=red] F3 59 5A 08 30 47 5A 08[/COLOR] 
[B] 6E [/B] [COLOR=blue] D1 BB CE BF CC 00 BD CF CD C2 C3 C9 C8 FF 00 00 [/COLOR] 04 00 [COLOR=green] 07 [/COLOR] D0 07 00 00 [COLOR=red] 25 5A 5A 08 32 47 5A 08[/COLOR] 
[B] 6F [/B] [COLOR=blue] CD C8 C9 CC C6 BB D2 00 BE C9 C6 C6 FF 00 00 00 [/COLOR] 04 05 [COLOR=green] 06 [/COLOR] 10 27 00 00 [COLOR=red] 58 5A 5A 08 34 47 5A 08[/COLOR] 
[B] 70 [/B] [COLOR=blue] CC C2 D3 BE C9 C8 00 BE C9 C6 C6 FF 00 00 00 00 [/COLOR] 04 05 [COLOR=green] 06 [/COLOR] 10 27 00 00 [COLOR=red] 83 5A 5A 08 36 47 5A 08[/COLOR] 
[B] 71 [/B] [COLOR=blue] C6 BB CA CC BB CD 00 BE C9 C6 C6 FF 00 00 00 00 [/COLOR] 04 05 [COLOR=green] 06 [/COLOR] 10 27 00 00 [COLOR=red] AE 5A 5A 08 38 47 5A 08[/COLOR] 
[B] 72 [/B] [COLOR=blue] D0 BF C8 CF CD BB CF CC 00 BE C9 C6 C6 FF 00 00 [/COLOR] 04 05 [COLOR=green] 06 [/COLOR] 10 27 00 00 [COLOR=red] D9 5A 5A 08 3A 47 5A 08[/COLOR] 
[B] 73 [/B] [COLOR=blue] BD C2 BB CC C3 D4 BB CC BE 00 BE C9 C6 C6 FF 00 [/COLOR] 04 05 [COLOR=green] 06 [/COLOR] 10 27 00 00 [COLOR=red] 04 5B 5A 08 3C 47 5A 08[/COLOR] 
[B] 74 [/B] [COLOR=blue] BC C6 BB CD CE C9 C3 CD BF 00 BE C9 C6 C6 FF 00 [/COLOR] 04 05 [COLOR=green] 06 [/COLOR] 10 27 00 00 [COLOR=red] 2F 5B 5A 08 3E 47 5A 08[/COLOR] 
[B] 75 [/B] [COLOR=blue] D1 BB C3 C6 C7 BF CC 00 BE C9 C6 C6 FF 00 00 00 [/COLOR] 04 05 [COLOR=green] 06 [/COLOR] 10 27 00 00 [COLOR=red] 5A 5B 5A 08 40 47 5A 08[/COLOR] 
[B] 76 [/B] [COLOR=blue] CC BF C1 C3 CC C9 BD C5 00 BE C9 C6 C6 FF 00 00 [/COLOR] 04 05 [COLOR=green] 06 [/COLOR] 10 27 00 00 [COLOR=red] 85 5B 5A 08 42 47 5A 08[/COLOR] 
[B] 77 [/B] [COLOR=blue] CC BF C1 C3 BD BF 00 BE C9 C6 C6 FF 00 00 00 00 [/COLOR] 04 05 [COLOR=green] 06 [/COLOR] 10 27 00 00 [COLOR=red] B0 5B 5A 08 44 47 5A 08[/COLOR] 
[B] 78 [/B] [COLOR=blue] CC BF C1 C3 CD CE BF BF C6 00 BE C9 C6 C6 FF 00 [/COLOR] 04 05 [COLOR=green] 06 [/COLOR] 10 27 00 00 [COLOR=red] DB 5B 5A 08 46 47 5A 08[/COLOR] 
[/B]
Sooo... this is the hex for the decorations in Emerald (and it is unlikely to be very different in RS) I know it first starts with an identifier (the Decoration ID, if you will) that is in bold above. Next comes the decoration's string (in blue) But then I get lost with the next two bytes. In green we have what category each decoration is (ie: 0x75 WAILMER DOLL is in the dolls category: 0x6). Next comes two more unknown bytes, and two padding bytes? And lastly, in red, we have the pointers to each item's description (back to 0x75: "A large doll.|Place it on a mat|or a desk.") and what I believe could be the tiles used to make the decoration (0x75: B7 00).

Could someone help me complete this table and confirm/dismiss my observations? As I have ran out of ideas as to what they could mean.

(the table of decorations begins at 0x5A5C08, the descriptions at: 0x5A4748, and the tile numbers are at: 0x5A4514.

0x5A4688 seem to be the beginning of a table for the dolls like 0x75)

Thanks!
 

knizz

192
Posts
16
Years
  • Seen Oct 28, 2020
Firered's "wait-for-interrupt"-loop is quite inefficient. Here is my suggested patch. (Experimental, may or may not freeze the game.)
Code:
BEFORE:
080008aa  8b91 ldrh r1, [r2, #0x1c]
080008ac  1c18 add r0, r3, #0x0
080008ae  4008 and r0, r1
080008b0  2800 cmp r0, #0x0
080008b2  d0fa beq $080008aa
080008b4  bc01 pop {r0}
080008b6  4700 bx r0

AFTER:
080008aa  df02 swi $02
080008ac  8b91 ldrh r1, [r2, #0x1c]
080008ae  1c18 add r0, r3, #0x0
080008b0  4008 and r0, r1
080008b2  2800 cmp r0, #0x0
080008b4  d0f9 beq $080008aa
080008b6  bd00 pop {pc}
This should be useful if emulation is slow on your machine. Or if you want to be even faster when holding the space key.
 
17
Posts
11
Years
  • Seen Mar 4, 2013
Is there a way to make it so you can use fly to get to the towns without a need to go to the town's pokemon center first? I don't mean warping, I mean that you can use the fly HM to go anywhere despite not visiting the pokemon center in said town first.
 

tajaros

Hi I'm dawg
855
Posts
11
Years
Is there a way to make it so you can use fly to get to the towns without a need to go to the town's pokemon center first? I don't mean warping, I mean that you can use the fly HM to go anywhere despite not visiting the pokemon center in said town first.

Um, you can change the position of the flying position in Advance Map you need to go to events tab and change its position and that would be it. :)
 
17
Posts
11
Years
  • Seen Mar 4, 2013
Hey, are the flags that enable you to be able to use 'fly' to get to a town's pokemon center able to be set at any time? I would like to set those flags automatically for everywhere at the start of a game.
 

Shiny Quagsire

I'm Still Alive, Elsewhere
697
Posts
14
Years
I have a question... How can I replease a ordinary LOW HP SIGNAL with music of LOW HP theme from Pokemon BW <Which I recreated to GBA> ?

There are a few ways you could do this. You could have the main music get replaced with your new music, or you could have the low hp track in Sappy include your song along with it, and disable the main track. So it is possible, it'd just take some time to ASM hack out, because it will require some ASM hackery.
 

Darthatron

巨大なトロール。
1,152
Posts
18
Years
So editing the Pokemon that is released by the Professor in the games is easy, and I think possible with some tools. However, the cry does not change. Here are some changes that need to be made to change the cry of this Pokemon.

FireRed:
Code:
0812FB38: 02 48
0812FB42: 30 BD XX XX 00 00

Ruby:
Code:
0800A506: 03 48 C0 46
0800A512: 00 BD XX XX 00 00

Emerald:
Code:
08030B0C: XX XX

Where XX XX is the index of the Pokemon in reversed hex. For example Charizard would be 06 00. A list can be found here.
 

Jambo51

Glory To Arstotzka
736
Posts
14
Years
  • Seen Jan 28, 2018
But What Code I must write on ASM? I'm not good in ASM Hacking.

This would be quite difficult to actually do, since the new music would have to be implemented effectively as an indefinite fanfare.

I'm honestly not sure how the game does the current low HP thing, but to replace it with BW's one, you'd need to pause the playing music, play the BW music, and on the circumstances changing so it doesn't need to play any longer, resume playing the normal theme.
 

GoGoJJTech

(☞゚ヮ゚)☞ http://GoGoJJTech.com ☜(゚ヮ゚☜)
2,475
Posts
11
Years
So editing the Pokemon that is released by the Professor in the games is easy, and I think possible with some tools. However, the cry does not change. Here are some changes that need to be made to change the cry of this Pokemon.

FireRed:
Code:
0812FB38: 02 48
0812FB42: 30 BD XX XX 00 00

Ruby:
Code:
0800A506: 03 48 C0 46
0800A512: 00 BD XX XX 00 00

Emerald:
Code:
08030B0C: XX XX

Where XX XX is the index of the Pokemon in reversed hex. For example Charizard would be 06 00. A list can be found here.


Nice find Darthatron I will try to do this for recreating platinum when lopunny appears.
 

Jambo51

Glory To Arstotzka
736
Posts
14
Years
  • Seen Jan 28, 2018
So, I've gotten sick of being asked for this, so I figured it might be a good idea to share it. It's so short and easy that it definitely doesn't warrant having its own thread, so putting it here seems like a good compromise.

Extending the Number of Direct Sound Tracks on 3rd Gen Pokémon Games

It's as easy as this:
  1. Search for the hex string "00 C5 94 00" in your ROM
  2. Replace said string with "00 CX 94 00" where X stands for the number of maximum DS tracks

Now, there are limits here. Fire Red and Emerald (presumably Leaf Green too) can support a maximum of 12 (0xC) tracks, so you can put 00 CC 94 00 for these ROMs, however, Ruby (presumably Sapphire too) are different. RS can only support a maximum of 7!

BPR - 12
BPG - 12
BPE - 12
AXV - 7
AXP - 7
 
Back
Top