View Single Post
  #7402    
Old November 2nd, 2012, 02:34 AM
Satoshi Ookami's Avatar
Satoshi Ookami
Memento Mori
Community Supporter
 
Join Date: Jul 2008
Location: Abyss of Time, Great Seal
Age: 22
Gender: Male
Nature: Calm
Quote:
Originally Posted by Pokedorkus View Post
You can use Advance Starter if thats wat u mean google it
That's not really it xD As he means in-game

As for the answer.

Assign a special flag to each starter that you will be checking in rival's scripts

I'll give you an example.

Let's have 3 starters: Treecko, Torchic, Mudkip.
In Treecko's giving script you put setflag 0x701
In Torchic's script you put setflag 0x702
And in Mudkip's you put setflag 0x703

And then, once battle with rival is about to happen you use this:

checkflag 0x701
compare 0x800D 0x1
if 0x1 goto @battle1

checkflag 0x702
compare 0x800D 0x1
if 0x1 goto @battle2

checkflag 0x702
compare 0x800D 0x1
if 0x1 goto @battle3

Those @battle will have trainerbattle with the starter that will be strong against player's one.
Of course, rival always need to have 3 versions of one battle.
__________________
ROM hacking FAQ - Read before asking how to play a hack. | Previous Sign 2 | Previous Sign

Anime List | PSN Trophy List