bugfixes 1.4

This commit is contained in:
infinitefusion
2021-09-12 15:21:16 -04:00
parent 73d4a83752
commit dd0c64f2b7
35 changed files with 483 additions and 381 deletions

View File

@@ -83,7 +83,7 @@ module PokeBattle_BattleCommon
if itemName.starts_with_vowel?
pbDisplay(_INTL("{1} threw an {2}!",pbPlayer.name,itemName))
else
pbDisplay(_INTL("{1} vcthrew a {2}!",pbPlayer.name,itemName))
pbDisplay(_INTL("{1} threw a {2}!",pbPlayer.name,itemName))
end
pbDisplay(_INTL("But there was no target..."))
return

View File

@@ -158,7 +158,7 @@ class PokeBattle_Battle
if showMessages
if isOutsider
pbDisplayPaused(_INTL("{1} got a boosted {2} Exp. Points!",pkmn.name,expGained))
else
elsepbGenerateEgg
pbDisplayPaused(_INTL("{1} got {2} Exp. Points!",pkmn.name,expGained))
end
end

View File

@@ -643,7 +643,7 @@ class BattlerFaintAnimation < PokeBattle_Animation
super(sprites,viewport)
end
def createProcessesPB
def createProcesses
batSprite = @sprites["pokemon_#{@idxBattler}"]
shaSprite = @sprites["shadow_#{@idxBattler}"]
# Set up battler/shadow sprite
@@ -655,7 +655,7 @@ class BattlerFaintAnimation < PokeBattle_Animation
@battle.pbSideSize(@idxBattler))[1]
cropY += 8
duration = (cropY-battlerTop)/8
duration = 10 if duration<10 # Min 0.5 seconds
duration = 5#10 if duration<10 # Min 0.5 seconds
# Animation
# Play cry
delay = 10