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 `+'...
A small problem I think. Psyblade's power is boosted even if user is not affected by terrain, according to pokemon wiki in many languages. But I can't confirm.
A minor overlook in Damage Calc Refactor. Function code of Psyblade("IncreasePowerInElectricTerrain") is still "IncreasePowerWhileElectricTerrain" there.
Since it's only triggered when using a move so you can just edit Battle::Move::StatUpMove and Battle::Move::MultiStatUpMove to prevent infinite trigger.