- 428
- Posts
- 5
- Years
- Zekko
- Seen Nov 21, 2023
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?
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?