donnepogi-) said:in fr/lg, how will i create a rival battle like, he will walk to you then he will battle then after the battle he will say something and then he will just walk away? help pls! =))
Use 'trainerbattle 0x1' rather than 0x0 in XSE and add an extra string at the end as that will continue the script rather than finishing after the battle.
That's a script question, so you should have asked it in the Script Help Thread :)
icychill66 said:Does anyone know if it's possible to change the battle background's image in Fire Red? I know how to change the pallet, but I want to insert a whole new image. I couldn't really find any info on this.
First up, index your image so that it has 15 colours plus an extra background colour. Open up UNlz.GBA to the background you wish to replace (Can be found at 3 and continues on to around 58 on FR) and click 'Save As' to save the tiles that the old background was using. Click 'Next' on UNlz and you should see some vertical lines - Click on 'RAW Dump' and save the .RAW file.
Open up the tiles you save in NTME or a similar program and then load the .RAW file you just dumped. Click the 'Size (Keep Ratio)' button and change it to 32x64. If everything is correct, you should see an exact replica of the in-battle background. Insert your indexed image of the new background tiles you want to insert and make a new tilemap, keeping the dimensions of the old and recreate your battle background (Don't forget to do the lower half either!)
Insert your indexed image into the slot that has the background you want to replace, ticking 'export image' and 'auto abort if newdata is bigger'. You should get a popup that says that the image was to big to be exported and that it is being aborted. Write down the HEX number that pops up and put it into FSF to find some free space where it will be pointed to.
Go back to UNlz and insert the indexed image like before, ticking the same boxes as before along with 'automatically fix pointers'. Put the offset you got from FSF in the image offset box and click 'Write to ROM'. If you check you ROM now, it will looked pretty messed up in battle, but that's because the .RAW file you made earlier hasn't been added yet.
Move to the next thing in UNlz which will just a be a bunch vertical lines and blank space. Go to File > Load Raw and choose your .RAW file made in the tilemap editor, insert it and tick the three boxes like you did previously and write it to the ROM. If you check it in-game, it should be looking better, but have mixed up colours - but you said you can change the pallets so you should be fine on your own.
Hopefully that helped and isn't too confusing - I haven't changed backgrounds in about a month and my memory isn't the best :P
Last edited: