1) yes
2) Basic, ran into too many general issues with EBS
3) 4
def pbSendOut(index,pokemon)
pbSetSeen(pokemon)
@peer.pbOnEnteringBattle(self,pokemon)
if pbIsOpposing?(index)
@scene.pbTrainerSendOut(index,pokemon)[COLOR="Red"]
if $game_switches[112]
case pbPokemonCount(@party2)
when 3
@battle.pbDisplayPaused("First Message")
when 2
@battle.pbDisplayPaused("Second Message")
when 1
@battle.pbDisplayPaused("Final Message")
end
end[/COLOR]
else
@scene.pbSendOut(index,pokemon)
end
@scene.pbResetMoveIndex(index)
# Primal Reversion
pbPrimalReversion(index)
end
---------------------------
Pokemon Essentials Gen 6
---------------------------
Exception: NoMethodError
Message: undefined method `pbDisplayPaused' for nil:NilClass
PokeBattle_Battle:1609:in `pbSendOut'
PokeBattle_Battle:1642:in `pbReplace'
PokeBattle_Battle:1665:in `pbRecallAndReplace'
PokeBattle_Battle:1572:in `pbSwitch'
PokeBattle_Battle:1544:in `each'
PokeBattle_Battle:1544:in `pbSwitch'
PokeBattle_Battle:4126:in `__clauses__pbEndOfRoundPhase'
PokeBattle_Clauses:42:in `pbEndOfRoundPhase'
PokeBattle_Battle:2801:in `pbStartBattleCore'
PokeBattle_Battle:2800:in `logonerr'
This exception was logged in
C:\Users\Valerie\Saved Games/Pokemon Essentials Gen 6/errorlog.txt.
Press Ctrl+C to copy this message to the clipboard.
---------------------------
OK
---------------------------
Yeah, I made a mistake. It should be self.pbDisplayPaused for each of them, not @battle.pbDisplayPaused
if isConst?(@opponent.trainertype,PBTrainers,:GYMLEADER_1) or isConst?(@opponent.trainertype,PBTrainers,:RIVAL2)
@scene.pbShowOpponent(0)
if isConst?(@opponent.trainertype,PBTrainers,:GYMLEADER_1)
case pbPokemonCount(@party2)
when 3
pbDisplayPaused(_INTL("First Message"))
when 2
pbDisplayPaused(_INTL("Second Message"))
when 1
pbDisplayPaused(_INTL("Final Message"))
pbBGMPlay("Final PKM Music",100,100)
end
if isConst?(@opponent.trainertype,PBTrainers,:RIVAL2)
case pbPokemonCount(@party2)
when 2
pbDisplayPaused(_INTL("Second Message"))
when 1
pbDisplayPaused(_INTL("Final Message"))
pbBGMPlay("Final PKM Music",100,100)
end
@scene.pbHideOpponent
end