fix for forgetting HMs

This commit is contained in:
infinitefusion
2022-04-15 19:51:02 -04:00
parent 9c88aacaef
commit 54c2b7a364
14 changed files with 3 additions and 3 deletions

View File

@@ -1344,8 +1344,8 @@ 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?
pbMessage(_INTL("HM moves can't be forgotten now.")) { @scene.pbUpdate }
break if party[partyindex].moves[ret]
#pbMessage(_INTL("HM moves can't be forgotten now.")) { @scene.pbUpdate }
end
@scene.pbEndScene
return ret