Fixed another crash when entering a map with no map metadata, fixed Sky Drop failing causing the target to remain in the air, decapitalised some Debug menu text

This commit is contained in:
Maruno17
2023-07-12 21:06:54 +01:00
parent 104bf2b598
commit 8287f32a5e
10 changed files with 212 additions and 213 deletions

View File

@@ -471,8 +471,8 @@ class Battle::Move::TwoTurnAttackInvulnerableInSkyTargetCannotAct < Battle::Move
target.effects[PBEffects::SkyDrop] = user.index
end
def pbAttackingTurnEffect(user, target)
target.effects[PBEffects::SkyDrop] = -1
def pbEffectAfterAllHits(user, target)
target.effects[PBEffects::SkyDrop] = -1 if @damagingTurn
end
end