• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Fixed] Natural Gift crashes game

  • 2
    Posts
    10
    Years
    • Seen May 12, 2016
    Fixed thanks to mej71 on Reddit! If anyone else has this problem replace
    Code:
    @effects[PBEffects::Embargo]>0 ||
    with
    Code:
    attacker.effects[PBEffects::Embargo]>0 ||
    in PokeBattle_MoveEffects on line 3829.


    Tried with Gen 6 battle mechanics both off and on (if that would make any difference.)

    Code:
    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: NoMethodError
    
    Message: undefined method `[]' for nil:NilClass
    
    PokeBattle_MoveEffects:3829:in `pbOnStartUse'
    
    PokeBattle_Battler:3014:in `pbUseMove'
    
    PokeBattle_Battler:3348:in `pbProcessTurn'
    
    PokeBattle_Battler:3347:in `logonerr'
    
    PokeBattle_Battler:3347:in `pbProcessTurn'
    
    PokeBattle_Battle:2944:in `pbAttackPhase'
    
    PokeBattle_Battle:2941:in `each'
    
    PokeBattle_Battle:2941:in `pbAttackPhase'
    
    PokeBattle_Battle:2929:in `times'
    
    PokeBattle_Battle:2929:in `pbAttackPhase'
    
    
    
    This exception was logged in 
    
    C:\Users\Owner\Saved Games/Pokemon Essentials/errorlog.txt.
    
    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK   
    ---------------------------
     
    Last edited:
    Back
    Top