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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2 -2
View File
@@ -146,7 +146,7 @@ class Pokemon
def hasBodyOf?(check_species) def hasBodyOf?(check_species)
if !self.isFusion? if !self.isFusion?
return isSpecies(check_species) return isSpecies?(check_species)
end end
bodySpecies = getBodyID(species) bodySpecies = getBodyID(species)
checkSpeciesId = getID(nil,check_species) checkSpeciesId = getID(nil,check_species)
@@ -155,7 +155,7 @@ class Pokemon
def hasHeadOf?(check_species) def hasHeadOf?(check_species)
if !self.isFusion? if !self.isFusion?
return isSpecies(check_species) return isSpecies?(check_species)
end end
headSpecies = getHeadID(species) headSpecies = getHeadID(species)
checkSpeciesId = getID(nil,check_species) checkSpeciesId = getID(nil,check_species)
+1 -1
View File
@@ -1344,7 +1344,7 @@ class PokemonSummaryScreen
loop do loop do
ret = @scene.pbChooseMoveToForget(move_to_learn) ret = @scene.pbChooseMoveToForget(move_to_learn)
break if ret < 0 || !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 } pbMessage(_INTL("HM moves can't be forgotten now.")) { @scene.pbUpdate }
end end
@scene.pbEndScene @scene.pbEndScene
Binary file not shown.