Fix for pokemon that should be impossible to catch

This commit is contained in:
chardub
2023-01-06 11:15:09 -05:00
parent ba678d5b6b
commit 3aab96dc6e
19 changed files with 5 additions and 0 deletions

View File

@@ -103,6 +103,10 @@ module PokeBattle_BattleCommon
@scene.pbThrowAndDeflect(ball,1)
pbDisplay(_INTL("The Trainer blocked your Poké Ball! Don't be a thief!"))
return
elsif $game_switches[SWITCH_CANNOT_CATCH_POKEMON]
@scene.pbThrowAndDeflect(ball,1)
pbDisplay(_INTL("The Pokémon is impossible to catch!"))
return
end
# Calculate the number of shakes (4=capture)
pkmn = battler.pokemon

View File

@@ -94,6 +94,7 @@ SWITCH_FIRST_RIVAL_BATTLE=46
SWITCH_BATTLE_FACTORY_INCLUDE_ALL = 775
SWITCH_SUPER_SLOW_SPEED=649
SWITCH_LOUNGE_BATTLE_LEVEL = 240
SWITCH_CANNOT_CATCH_POKEMON = 75
#############
# VARIABLES #