Quote:
Originally Posted by GreyBidoof
Thanks! Since I know absolutely nothing about ASM, I will try and look up some info on it. Even better, if someone would be willing to help me insert the routine...... send me a PM :)
|
It'd be better if you try it by yourself. Don't rely on others to do things for you. Doing things yourself will help you learn. Here, I'll give you a tutorial.
1. Get Hackmew's compiler. Just search Hackmew ASM on google, find his tutorial, and download the thumb.zip file he put in his tutorial.
2. Copy Jambo51's routine into Notepad, and add an extra blank line at the bottom using Enter. (You don't have to do this, but it does prevent that error line from popping up.)
3. Save the file as an asm file. Basically, when your computer prompts you to save, change the file type to All files, and make sure your file's name is [filename].asm
EDIT: make sure your asm file is in the same folder where you put hackmew's compiler.
4. Drag your asm file into the thumb.bat file, and your bin file will be created.
5. Open your bin file using a hex editor. (I prefer HxD) Copy the content that shows up, and open up your Firered rom. Find free space (where there's a bunch of FF bytes, I'd recommend going to 0x800000 and searching from there), and paste your content into free space. If you're using HxD, make sure you use control B, not control V. Take note of the offset you pasted your content at.
When you're making your script to name your rival, use the command callasm 0x[offset of content +1]. And make sure you follow Jambo51's additional instructions in that link I gave you.