averyindahouse
Creator of Pokemon Sigma (Coming Soon)
- 41
- Posts
- 10
- Years
- Somewhere in California I think...
- Seen May 1, 2020
Hello all! It's been a while since I've posted in this forum. I need help with something. I'm using the battle frontier in my game, which uses the code already in Pokemon Essentials(Latest version, 17.2 i believe) and I'm having trouble with the implementation of a frontier brain. Below is my code:
https://gyazo.com/d887f5449fdd527dfd503da2040b9555
https://gyazo.com/ca77606bfc6c7fb85acfea2d99179ae4
Upon completing the required amount of wins for the battle challenge to end (for the sake of testing, it is 1 win in this case. The NPC says 20 but that's just placeholder text) the player is then presented with the option of battling the Palace Maven (the Frontier Brain). If the player selects retire, they are removed from the room and the game resumes as normal. If they choose to Go On, they battle the Palace Maven. The problem occurs here. The format of the battle is not like the rest of the battle's we've done in the area. The player's Pokemon are their original levels, and the player also gets prize money in the end, and can select any move rather than it being at random (like the Battle Palace should behave.)
My question, is, how can I perform this battle while also keeping the battle rules and format of the Battle Palace? Is the Conditional Branch Script pbBattleChallenge.MatchOver? getting rid of the rules? any and all help is greatly appreciated! Thank you :)
(EDIT: So I'm pretty sure this is what's going wrong but do correct me. Because I am calling the battle using the PBTrainerBattle script, it uses regular battle rules? So is there a way to make a call to the Frontier Brain defined in the trainers.txt file, or do I need to define this trainer in the bttrainers.txt file and make a call to it there using the BattleChallenge script?)
https://gyazo.com/d887f5449fdd527dfd503da2040b9555
https://gyazo.com/ca77606bfc6c7fb85acfea2d99179ae4
Upon completing the required amount of wins for the battle challenge to end (for the sake of testing, it is 1 win in this case. The NPC says 20 but that's just placeholder text) the player is then presented with the option of battling the Palace Maven (the Frontier Brain). If the player selects retire, they are removed from the room and the game resumes as normal. If they choose to Go On, they battle the Palace Maven. The problem occurs here. The format of the battle is not like the rest of the battle's we've done in the area. The player's Pokemon are their original levels, and the player also gets prize money in the end, and can select any move rather than it being at random (like the Battle Palace should behave.)
My question, is, how can I perform this battle while also keeping the battle rules and format of the Battle Palace? Is the Conditional Branch Script pbBattleChallenge.MatchOver? getting rid of the rules? any and all help is greatly appreciated! Thank you :)
(EDIT: So I'm pretty sure this is what's going wrong but do correct me. Because I am calling the battle using the PBTrainerBattle script, it uses regular battle rules? So is there a way to make a call to the Frontier Brain defined in the trainers.txt file, or do I need to define this trainer in the bttrainers.txt file and make a call to it there using the BattleChallenge script?)
Last edited: