![]() |
Pokémon FireRed: trainerbattle script triggers twice (Solved)
I've made a custom Champion battle for my Pokémon FireRed romhack, included with different music for the final battle. Namely, Deoxys' battle theme.
However, for some reason the Trainerbattle script is triggered twice. Once with the Deoxys battle theme, and once with the regular battle theme. It's the same battle twice as well, so I don't think there's an issue with the rematch script. The code I'm using is as follows: Spoiler:
Does anybody know what might be causing this problem? ---UPDATE--- I've managed to solve the problem. As it turns out, there's an issue with trainerbattle 0x3 that causes it to play a second time with the default music if the music is changed with special 0x3B and playsong. The way to fix this is to rework it into a different battle type. I personally used trainerbattle 0x0, which turned out to work perfectly. |
| All times are GMT -8. The time now is 9:14 AM. |
![]()
© 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.
Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.