• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Script] [EM] Help with Rival Battle Script

  • 2
    Posts
    1
    Years
    • Seen Nov 23, 2023
    I'm trying to put the Route 119 rival battle from Emerald in Route 120 with AdvanceMap and XSE and I'm running into a weird issue
    The way the script for this rival battle works is that it shows two rival sprites in the overworld: the one where they're on a bike and, once they approach you, this gets replaced with their default, standing sprite. And the way this is displayed in the map is with two sprites from the Mauville City Pokémon Center weird NPCs: the yellow one (Picture number 243) represents the cycling sprite, and the red one (Picture number 240) represents the standing sprite
    However, when I trigger the script in my game - having changed all person number values in the showsprite and applymovement commands in the script from the ones corresponding to route 119 to the new ones from route 120 -, the sprite that shows instead of the normal standing sprite, when the showsprite command for that person is applied, is not Brendan's standing sprite but rather the pink weird NPC (Picture number 242). This does not happen with the other "rival template"/weird Mauville City Pokécenter NPCs sprites, such as Picture no. 241, but what those sprites do is change my character May's color palette when the cycling sprite is changed
    Thus the question is, how can I make it so Picture no. 240 displays the standing sprite for Brendan? I suppose there are easier fixes, like just not making him get off his bike, but I'd still like to know for future cases.

    Thank you
     
    Back
    Top