corrupted data - fix

This commit is contained in:
chardub
2025-03-31 23:47:50 -04:00
parent dafa19fa38
commit 0e6d3bc669
3 changed files with 4 additions and 1 deletions

View File

@@ -9,6 +9,8 @@ module Settings
GAME_VERSION_NUMBER = "6.5.1" GAME_VERSION_NUMBER = "6.5.1"
LATEST_GAME_RELEASE = "6.5" LATEST_GAME_RELEASE = "6.5"
CRY_VOLUME = 200
POKERADAR_LIGHT_ANIMATION_RED_ID = 17 POKERADAR_LIGHT_ANIMATION_RED_ID = 17
POKERADAR_LIGHT_ANIMATION_GREEN_ID = 18 POKERADAR_LIGHT_ANIMATION_GREEN_ID = 18
POKERADAR_HIDDEN_ABILITY_POKE_CHANCE = 32 POKERADAR_HIDDEN_ABILITY_POKE_CHANCE = 32

View File

@@ -1507,7 +1507,7 @@ BattleHandlers::TargetAbilityOnHit.add(:JUSTIFIED,
BattleHandlers::TargetAbilityOnHit.add(:CORRUPTION, BattleHandlers::TargetAbilityOnHit.add(:CORRUPTION,
proc { |ability,user,target,move,battle| proc { |ability,user,target,move,battle|
next if user.fainted? next if user.fainted?
next if user.ability == :CORRUPTION next if user.species == :MISSINGNO
oldAbil = nil oldAbil = nil
#next if user.unstoppableAbility? || user.ability == ability #next if user.unstoppableAbility? || user.ability == ability

View File

@@ -718,6 +718,7 @@ def pbAfterBattle(decision,canLose)
pkmn.makeUnmega pkmn.makeUnmega
pkmn.makeUnprimal pkmn.makeUnprimal
pkmn.species = pkmn.tempSpeciesChange_originalSpecies if pkmn.tempSpeciesChange_originalSpecies pkmn.species = pkmn.tempSpeciesChange_originalSpecies if pkmn.tempSpeciesChange_originalSpecies
pkmn.tempSpeciesChange_originalSpecies=nil
end end
if $PokemonGlobal.partner if $PokemonGlobal.partner
$Trainer.heal_party $Trainer.heal_party