Adds date, game mode and difficulty to HoF screen + minor fixes

This commit is contained in:
chardub
2023-01-07 12:59:28 -05:00
parent 4ffba4437e
commit c0aeb32c45
19 changed files with 51 additions and 7 deletions

View File

@@ -46,8 +46,10 @@ class PokeBattle_Scene
#hidden ability animation
if @battle.battlers[idxBattler].hasHiddenAbility?
pbCommonAnimation("StatUp",@battle.battlers[idxBattler])
@battle.pbShowAbilitySplash(@battle.battlers[idxBattler],true)
@battle.pbHideAbilitySplash(@battle.battlers[idxBattler])
if @battle.is_a?(PokeBattle_Battle)
@battle.pbShowAbilitySplash(@battle.battlers[idxBattler],true)
@battle.pbHideAbilitySplash(@battle.battlers[idxBattler])
end
end
#shiny animation

View File

@@ -46,6 +46,10 @@ class PokeBattle_FakeBattler
return $Trainer.owned?(pokemon.species)
end
def hasHiddenAbility?
return @pokemon.hasHiddenAbility?
end
def pbThis(lowerCase=false)
return (lowerCase) ? _INTL("the wild {1}",name) : _INTL("The wild {1}",name)
end
@@ -351,6 +355,7 @@ class PokeBattle_SafariZone
return @sideSizes[index%2]
end
#=============================================================================
# Trainers and owner-related
#=============================================================================