![]() |
What command was it to play music in battles?
Hi. :)
So, since I'm making a hack (for Fire Red), where most important trainers in the game intend to use the Champion's battle theme, I'm not sure what command, nor where to put it within a script. I can create a simple trainer battle script, but I'm unsure what command it is to play that specific theme during a trainer battle, nor where I should put that command in the script to actually function. Any help is greatly appreciated. :) |
Quote:
special 0x03B playsong 0x12B 0x0 trainerbattle etc... And the result was my trainer crashing the game, and turning the screen red, what was it that I did incorrectly? |
If you've attached the script to a trainer with a view radius, the game will crash; the only battles you can give battles custom music via scripting are ones that are activated by talking to an NPC or by stepping on a green script tile. This is because a trainer with a view radius must have trainerbattle as the first command in the script.
If in your case the script isn't attached to a trainer with a view radius then ¯\_(ツ)_/¯ |
Quote:
|
|
Quote:
|
| All times are GMT -8. The time now is 9:13 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.