mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 06:34:59 +00:00
Fixed animations played by an event command being mispositioned, fixed Geomancy, removed $PokemonGlobal.playerID, tweaked player/bag object creation, overrode type effectiveness for Shadow moves, bug fixes
This commit is contained in:
@@ -131,10 +131,8 @@ module PokeBattle_BattleCommon
|
||||
battler.captured = false
|
||||
end
|
||||
battler.pbReset
|
||||
if trainerBattle?
|
||||
@decision = 1 if pbAllFainted?(battler.index)
|
||||
else
|
||||
@decision = 4 if pbAllFainted?(battler.index) # Battle ended by capture
|
||||
if pbAllFainted?(battler.index)
|
||||
@decision = (trainerBattle?) ? 1 : 4 # Battle ended by win/capture
|
||||
end
|
||||
# Modify the Pokémon's properties because of the capture
|
||||
if GameData::Item.get(ball).is_snag_ball?
|
||||
|
||||
Reference in New Issue
Block a user