The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Other First Rival Battle (https://www.pokecommunity.com/showthread.php?t=360740)

Bakufun1 January 2nd, 2016 7:53 PM

First Rival Battle
 
I'm reworking the beginning of the game so that I can avoid the choose a pokemon part, and I want my rival to appear and battle me after I obtain my starter. I need to make him show up and also rewrite the first battle so Oak isn't talking during it,

Could I get some tips on how to do this?

(Note: this isn't taking place in the lab, the pokemon is obtained in a separate location in Pallet Town)

Vendily January 2nd, 2016 8:22 PM

Quote:

Originally Posted by Bakufun1 (Post 9060979)
I'm reworking the beginning of the game so that I can avoid the choose a pokemon part, and I want my rival to appear and battle me after I obtain my starter. I need to make him show up and also rewrite the first battle so Oak isn't talking during it,

Could I get some tips on how to do this?

(Note: this isn't taking place in the lab, the pokemon is obtained in a separate location in Pallet Town)

First off, even though you are changing the location it takes place, the basic scripting, like dialogue and movement, is still the same.
Check out diegoisawsome's XSE tutorial.
As for the battle itself, you'll need a hex editor.
You go to the offset of 080484, and there will be a string of bytes like this:
Code:

20 68 10 21 08 43 20 60


You just change that to:
Code:

00 00 00 00 00 00 00 00


This will remove oak's text from trainer battle 0x9, the one the first rival battle uses.
Credits to GoGoJJTech and Knizz

Bakufun1 January 3rd, 2016 12:20 AM

Thank you! I have an idea of how to get the battle to work now, I just need to implement it.
I successfully removed Oak's text from the battle, now off to writing the script to trigger it!


All times are GMT -8. The time now is 2:26 AM.


Like our Facebook Page Follow us on Twitter © 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.