mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-13 07:54:59 +00:00
Removed all excess whitespace and standardized line endings.
This commit is contained in:
@@ -206,7 +206,7 @@ class BugContestState
|
||||
for poke in @otherparty
|
||||
$Trainer.party.push(poke)
|
||||
end
|
||||
if !interrupted
|
||||
if !interrupted
|
||||
if @lastPokemon
|
||||
pbNicknameAndStore(@lastPokemon)
|
||||
end
|
||||
@@ -374,7 +374,7 @@ def pbBugContestBattle(species,level)
|
||||
pbPrepareBattle(battle)
|
||||
# Perform the battle itself
|
||||
decision = 0
|
||||
pbBattleAnimation(pbGetWildBattleBGM(foeParty),0,foeParty) {
|
||||
pbBattleAnimation(pbGetWildBattleBGM(foeParty),0,foeParty) {
|
||||
decision = battle.pbStartBattle
|
||||
pbAfterBattle(decision,true)
|
||||
if decision==2 || decision==5 # Lost or drew
|
||||
@@ -402,4 +402,4 @@ def pbBugContestBattle(species,level)
|
||||
Events.onWildBattleEnd.trigger(nil,species,level,decision)
|
||||
# Return false if the player lost or drew the battle, and true if any other result
|
||||
return (decision!=2 && decision!=5)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user