pbAbilityTriggered? and pbSetAbilityTrigger have been rewritten by this plugin to be compatible with the innate system. Once-per-battle abilities in gen9 should also be edited.
Report: When a pokemon is holding a type gem and after viewing a move boosted by the gem, using a move that shouldn't trigger the gem will still trigger the gem. Adding battler.effects[PBEffects::GemConsumed] = nil after bonus text could solve it.
The Guard Dog can be fixed by changing user.ability == :INTIMIDATE. But Opportunist DOES works without change as far as I have tested. Idk whether they work for other users.
Seems in the hail weather the description will become "Unknown weather."
This line should be like this, I think.
desc = _INTL("Unknown weather.") if !desc
There are still some problems other than the reported ones.(mostly in AAM's original code)
1.The method pbContinualAbilityChecks has been rewritten by Gen 9 Pack and the one is this plugin should also be modified for compatibility.
2.In Wandering Spirit's codes ZUD Mechanics should be changed to...
Tried to make a port but things such as animation are neglected.
module GameData
class TerrainTag
attr_reader :spin_tile
alias spin_initialize initialize
def initialize(hash)
spin_initialize(hash)
@spin_tile = hash[:spin_tile] || false
end
end
end
# You can...
Seems I have found a solution to using multiple stat items at once. Find def pbBagUseItem, put these codes between the line of ret = false and screen.pbRefresh.
max_at_once = ItemHandlers.triggerUseOnPokemonMaximum(item, pkmn)
max_at_once = [max_at_once, $bag.quantity(item)].min...
A mistake in Opportunist.
Battle::AbilityEffects::OnOpposingStatGain.add(:OPPORTUNIST,
proc { |ability, battler, battle, statUps|
showAnim = true
battle.pbShowAbilitySplash(battler)
statUps.each do |stat, increment|
next if !battler.pbCanRaiseStatStage?(stat, battler)...
Some problems when viewing some move info. Move with function code "HitThreeTimesPowersUpWithEachHit" cannot be viewed before using. Here is the errorlog.
[2024-10-10 17:26:12 +0800]
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Exception: NoMethodError
Message: undefined method `+'...