mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
Bugfixes and small additions (#109)
* Add a converter for Player charsets in metadara * Fixed Sprite position editor not working with new shadow filenames. Also added check for custom shadows * Fixed pbTrainerBattleCore not working with NPC Trainer argument * Fixed typo which caused crash with old trainers.txt format * Fixed reference to non-existent variable which crashed the trainertype editor
This commit is contained in:
@@ -233,7 +233,7 @@ MultipleForms.register(:ROTOM,{
|
||||
move_name = pkmn.moves[move_index].name
|
||||
pkmn.forget_move_at_index(move_index)
|
||||
pbMessage(_INTL("{1} forgot {2}...", pkmn.name, move_name))
|
||||
pkmn.learn_move(:THUNDERSHOCK) if pkmn.numMoves == 0
|
||||
pbLearnMove(:THUNDERSHOCK) if pkmn.numMoves == 0
|
||||
end
|
||||
else
|
||||
# Turned into an alternate form; try learning that form's unique move
|
||||
@@ -250,7 +250,7 @@ MultipleForms.register(:ROTOM,{
|
||||
else
|
||||
pkmn.forget_move_at_index(move_index)
|
||||
pbMessage(_INTL("{1} forgot {2}...", pkmn.name, old_move_name))
|
||||
pkmn.learn_move(:THUNDERSHOCK) if pkmn.numMoves == 0
|
||||
pbLearnMove(:THUNDERSHOCK) if pkmn.numMoves == 0
|
||||
end
|
||||
else
|
||||
# Just try to learn this form's unique move
|
||||
@@ -578,7 +578,7 @@ MultipleForms.register(:NECROZMA,{
|
||||
move_name = pkmn.moves[move_index].name
|
||||
pkmn.forget_move_at_index(move_index)
|
||||
pbMessage(_INTL("{1} forgot {2}...", pkmn.name, move_name))
|
||||
pkmn.learn_move(:CONFUSION) if pkmn.numMoves == 0
|
||||
pbLearnMove(:CONFUSION) if pkmn.numMoves == 0
|
||||
end
|
||||
else
|
||||
# Turned into an alternate form; try learning that form's unique move
|
||||
|
||||
Reference in New Issue
Block a user