It's just the thing that will help you achieve doing it. Once you handle the stuff explained in that site, you've got to experiment and look for the routine used for loading the music for different trainer classes.@miksy91
Thanks for the ASM tutorial :D
It still doesn't help me how to change class-specific music though :(
I was wondering if there is any way to change the tm that a gym leader gives you in pokemon fire red?
I'm trying to give pokemon fire red the same start as pokemon yellow (professor oak battles a pikachu, catch it and leads you to his lab) is it possible? if so, can you provide me some commented code/tut? Thanks. :)
3. Does anyone know how to stop the PC from healing your Pokemon when you deposit them?
Thanks to anyone who can answer these.
Location
A Trainer's team starts at the following addresses in the GBA's RAM (for US games?):
Ruby: 0x03004360
Sapphire: 0x03004360
Emerald: 0x02024190, 0x020244EC for US games
FireRed: 0x02024284
LeafGreen: 0x020241e4
Additionally, a wild Pokémon or an opponent's Pokémon will begin at:
Emerald: 0x02024744
There are 6 Pokémon per team, so the whole team continues for 600 bytes afterward.
This structure is used to save data on Pokémon stored in the player's team. The structure for Pokémon saved in the PC stops after the data field, making it only 80 bytes long.
This explains why Pokémon injured by status ailment will cure themselves when put in the PC. It also applies to stats and level, which are recalculated based on Experience.
Thus, there are also 33600 (14*30*80) bytes stored somewhere else in the GBA's RAM to save data on Pokémon in the PC.
When the GBA's saved state (including memory contents) are unzipped into a 740,000+ byte file and viewed, the 14 Boxes of 420 Pokémon are stored in the general region of $038000 $040000.
For number 1 you could use thingy and do some searching.[Link]1. Does anyone know how to change the text that is displayed once you've captured a pokemon and if it's going to be sent to a PC? I don't know the exact text it says, but can you change the text that says something like "Your party is full! Pokemon was sent to Box number here in your PC instead."
2. Does anyone know how to change the events that happen if you black out?
3. Does anyone know how to stop the PC from healing your Pokemon when you deposit them?
Thanks to anyone who can answer these.
How does one edit trainer and item sprites in Emerald? The plug-ins for NSE don't support Emerald, so I'm at a loss on how to put some sprites into the game.
There are functions you can call in the game which do all these tedious things for you. Which game are you hacking?I am working on a set of ASM routines that will be able to check what species your lead Pokemon is. I'm pretty new to it, so I need a little help. I dissected the Pokemon data and found how to unencrypt it, with the help of Bulbapedia, but I need a way to find the modular 24 of a reverse dword (the PID).
Let's say my Pokemon's PID is written out in the RAM as 23 45 67 34. I need a way to find the modular 18 (the 24 needs to be in hexadecimal) of 34 67 45 23 while starting out with 23 45 67 34.
So, I basically want to load the original PID into r0, reverse it, find the modular 18, and then write that to LASTRESULT. Any help would be greatly appreciated.
edit: I've seen in different places the command "bswap". Would this work?
I have a question about how surf works. In all of the GBA Pokemon games, once you have surf you can simply press 'A' on a surf-able tile and it asks you if you want to or not. However, on my ROM (FR), this does not happen.
There is nothing wrong with surf itself, I can still make it work by using it from the Pokemon menu, and as far as I can tell, all of the behavior byte settings I have are also correct. So did I miss something else necessary for this to work, or does JPAN's hacked engine (which I am using) have something to do with this problem? Those are the only two things I can think of that might be wrong.
Any help would be appreciated.
I'm having issues connecting soul silver to wifi any suggestions
There are functions you can call in the game which do all these tedious things for you. Which game are you hacking?
I have a question about how surf works. In all of the GBA Pokemon games, once you have surf you can simply press 'A' on a surf-able tile and it asks you if you want to or not. However, on my ROM (FR), this does not happen.
There is nothing wrong with surf itself, I can still make it work by using it from the Pokemon menu, and as far as I can tell, all of the behavior byte settings I have are also correct. So did I miss something else necessary for this to work, or does JPAN's hacked engine (which I am using) have something to do with this problem? Those are the only two things I can think of that might be wrong.
Any help would be appreciated.