The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Rival Battle

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old November 14th, 2016 (10:05 AM).
Canonico25 Canonico25 is offline
 
Join Date: Jul 2016
Posts: 34
Is the script for a rival battle just a normal 'trainerbattle' script? If so, how do you code the starting mons into A Trainer
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old November 15th, 2016 (3:24 AM).
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Quote:
Originally Posted by Canonico25 View Post
Is the script for a rival battle just a normal 'trainerbattle' script? If so, how do you code the starting mons into A Trainer
It's a normal trainer battle, except the first battle ever with the Oak tutorial. However, the script checks the value of a variable to jump to one of three different trainer battles, depending on the starter you pick.

If you want to see which variable is used and which value is set for each starter, check out the scripts in Oak's lab.
__________________

A Pokemon that is discriminated!
Support squirtle and make it everyone's favourite.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old November 15th, 2016 (7:27 AM).
Ammy175 Ammy175 is offline
 
Join Date: Nov 2016
Gender: Other
Posts: 169
Does the same apply to Emerald?
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old November 15th, 2016 (7:35 AM).
Christos's Avatar
Christos Christos is offline
 
Join Date: Feb 2006
Gender: Male
Nature: Serious
Posts: 6,355
Quote:
Originally Posted by Ammy175 View Post
Does the same apply to Emerald?
Yes
__________________

A Pokemon that is discriminated!
Support squirtle and make it everyone's favourite.
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old November 15th, 2016 (3:38 PM).
Canonico25 Canonico25 is offline
 
Join Date: Jul 2016
Posts: 34
Quote:
Originally Posted by Christos View Post
It's a normal trainer battle, except the first battle ever with the Oak tutorial. However, the script checks the value of a variable to jump to one of three different trainer battles, depending on the starter you pick.

If you want to see which variable is used and which value is set for each starter, check out the scripts in Oak's lab.
Sorry, what is it I need to do to add in the starter?
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:17 AM.