• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

Unable to Knock Out a Pokemon Error + Poke Mart Error

Dylanrockin

That guy
276
Posts
12
Years
    • Seen Jun 9, 2016
    For some strange and bizarre reason, whenever I am about to finish off a Pokemon, in my game, this error message occurs. I haven't done anything that could possibly tamper with my scripts, which would cause this. Again, I am using the Gen 6 Version 15.1 of Pokemon Essentials, and I am scratching my head, at why I am unable to knock out a Pokemon.


    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: NoMethodError

    Message: undefined method `pbOwnedByPlayer' for #<PokeBattle_Battle:0x8698ed8>

    PokeBattle_Move:1366:in `pbReduceHPDamage'

    PokeBattle_Move:1458:in `pbEffect'

    PokeBattle_Battler:2980:in `pbProcessMoveAgainstTarget'

    PokeBattle_Battler:2939:in `each'

    PokeBattle_Battler:2939:in `pbProcessMoveAgainstTarget'

    PokeBattle_Battler:3355:in `pbUseMove'

    PokeBattle_Battler:3329:in `loop'

    PokeBattle_Battler:3358:in `pbUseMove'

    PokeBattle_Battler:3549:in `pbProcessTurn'

    PokeBattle_Battler:3548:in `logonerr'



    This exception was logged in

    C:\Users\dylanlaufer\Saved Games/Pokemon Essentials/errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------


    This other error occurs whenever I go and buy something from the Poke Mart. Again, I haven't actually tampered with any of the scripts, which might cause this, so I am kind of lost as to why this happens, and how I can fix it.

    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: RuntimeError

    Message: Script error within event 3, map 252 (Symphonic Beach):

    Exception: ArgumentError

    Message: Section181:75:in `pbStartBuyOrSellScene'wrong number of arguments(4 for 3)

    ***Full script:

    pbPokemonMart([
    :POKEBALL,
    :POTION
    ])


    Interpreter:243:in `pbExecuteScript'

    TMShops:75:in `pbStartBuyScene'

    PScreen_Mart:680:in `pbBuyScreen'

    PScreen_Mart:812:in `pbPokemonMart'

    PScreen_Mart:808:in `loop'

    PScreen_Mart:823:in `pbPokemonMart'

    (eval):4:in `pbExecuteScript'

    Interpreter:1606:in `eval'

    Interpreter:243:in `pbExecuteScript'

    Interpreter:1606:in `command_355'



    Interpreter:276:in `pbExecuteScript'

    Interpreter:1606:in `command_355'

    Interpreter:494:in `execute_command'

    Interpreter:193:in `update'

    Interpreter:106:in `loop'

    Interpreter:198:in `update'

    Autosave:30:in `update'

    Autosave:28:in `loop'

    Autosave:41:in `update'

    Scene_Map:68:in `main'



    This exception was logged in

    C:\Users\dylanlaufer\Saved Games/Pokemon Essentials/errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------

    Any help would be greatly appreciated!
     

    Maruno

    Lead Dev of Pokémon Essentials
    5,286
    Posts
    16
    Years
    • Seen May 3, 2024
    The first is a bug in the Gen 6 scripts you're using. The second is a bug in the TM shop script you're using. I am unfamilar with both of them, so I can't say anything other than you should ask the people who made those scripts.
     

    FL

    Pokémon Island Creator
    2,453
    Posts
    13
    Years
    • Seen yesterday
    The first is a bug in the Gen 6 scripts you're using. The second is a bug in the TM shop script you're using. I am unfamilar with both of them, so I can't say anything other than you should ask the people who made those scripts.
    Wow! Nice use of search function XD

    For TM Shop problem, you aren't following instructions correctly, specially the first change.
     
    Back
    Top