mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 05:34:58 +00:00
Fix for pokemon that should be impossible to catch
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 #
|
||||
|
||||
Reference in New Issue
Block a user