mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 14:44: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
|
||||
|
||||
Reference in New Issue
Block a user