various bugfixes 5.0.18

This commit is contained in:
infinitefusion
2022-04-14 21:14:15 -04:00
parent 77fd81f2da
commit 9c88aacaef
10 changed files with 3 additions and 3 deletions

View File

@@ -146,7 +146,7 @@ class Pokemon
def hasBodyOf?(check_species)
if !self.isFusion?
return isSpecies(check_species)
return isSpecies?(check_species)
end
bodySpecies = getBodyID(species)
checkSpeciesId = getID(nil,check_species)
@@ -155,7 +155,7 @@ class Pokemon
def hasHeadOf?(check_species)
if !self.isFusion?
return isSpecies(check_species)
return isSpecies?(check_species)
end
headSpecies = getHeadID(species)
checkSpeciesId = getID(nil,check_species)

View File

@@ -1344,7 +1344,7 @@ class PokemonSummaryScreen
loop do
ret = @scene.pbChooseMoveToForget(move_to_learn)
break if ret < 0 || !move_to_learn
break if $DEBUG || !party[partyindex].moves[ret].hidden_move?
# break if $DEBUG || !party[partyindex].moves[ret].hidden_move?
pbMessage(_INTL("HM moves can't be forgotten now.")) { @scene.pbUpdate }
end
@scene.pbEndScene