![]() |
Rival Battle
Hi, I'm having some trouble getting my rival battle code to work.
I'm trying to get him to walk to talk, walk to player, player reacts, talk, battle, talk, walk away, dissapear when i hit the script no sprite walks towards the player but the player reacting still happens. The battle commences and after the battle no code is run until the player re-walks over the script panel.. in which it restarts (still no sprite walking down) but skips the battle and goes to him talking before hes supposed to walk away.. I'm not sure what i'm doing wrong. My rival is person #10 here is the code.. Spoiler:
any help is greatly appreciated. Also, there is two rivals in this game, so this rival does not need to check for which pokemon the player started with My rom is FireRed |
Changes in bold
Spoiler:
As for the rival OW not showing up, it might be because you placed him too far away from the player, e.g. he doesn't get loaded into the map. |
Quote:
Using your edits the code worked excellent. also, my sprite wasnt moving because it was sprite number 10 but the script must read it as 0xA and not 0x10 (16) thanks a lot for your help! i should be able to code all my rival battles now! :) |
| All times are GMT -8. The time now is 2:30 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.