rigbycwts
Hmm, hmm.
- 98
- Posts
- 12
- Years
- Seen Feb 22, 2019
This works similar to the dialogues in the sixth gen games, when a NPC Trainer Mega Evolves his/her Pokemon, the text displayed has a different name for the Mega Ring (e.g. Maxie's Mega Glasses, Archie's Mega Anchor). The only script that will be edited is PokeBattle_Battle.
Credit would be appreciated.
First, change line 1606 to:
Below this line:
add one or more of these conditions (Note - add more trainer types by adding elsif):
In this example, 62 is the trainer type ID (check the PBS files for these) of the trainer type "Magma Leader."
Credit would be appreciated.
First, change line 1606 to:
Code:
ownername=pbGetOwner(index).name
Below this line:
Code:
pbDisplay(_INTL("{1}",@battlers[index].getMegaMessage(pbGetOwner(index))))
Code:
elsif pbGetOwner(index).trainertype == 62 # Magma Leader
pbDisplay(_INTL("{1}'s {2} is reacting to {3}'s Mega Glasses!",
@battlers[index].pbThis,
PBItems.getName(@battlers[index].item),
ownername))
else
pbDisplay(_INTL("{1}'s {2} is reacting to {3}'s Mega Ring!",
@battlers[index].pbThis,
PBItems.getName(@battlers[index].item),
ownername))
end
Last edited: