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

@@ -6,7 +6,7 @@
module Settings
# The version of your game. It has to adhere to the MAJOR.MINOR.PATCH format.
GAME_VERSION = '5.0.0'
GAME_VERSION_NUMBER = "5.0.17 - beta"
GAME_VERSION_NUMBER = "5.0.18 - beta"
POKERADAR_LIGHT_ANIMATION_RED_ID = 17
POKERADAR_LIGHT_ANIMATION_GREEN_ID = 18

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