• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll 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.

[Scripting Question] Changing the displayed name of moves mid-battle to match the type of the Pokemon using it?

  • 428
    Posts
    5
    Years
    How do I change the displayed name of a certain move mid-battle to match the type of the Pokemon using it?

    I've got a move called "Attack", and every Pokemon learns it now. It changes its type to match the first type of its user.

    What code do I need to make the in-battle HUD rename "Attack" to match the first type of the Pokemon who knows it?

    This way, "Attack" when used by a Fire-type Pokemon will have the name "Flame Cannon", "Attack" when used by a Water-type Pokemon will be named "Pounding Waves", a Ghost-type's Attack will be named "Spooky Strike" and so on.

    That way, if a Charmander knows Attack and Growl, his available moves will be displayed as Flame Cannon and Growl. And if he selects Attack aka "Flame Cannon", the text should say "Charmander used Flame Cannon!".

    Both the name of Attack when you're selecting one of your four move options, and the name of Attack when it's used... How do I change these?
     
    Back
    Top