• 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.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking here.
  • 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.

[Question] Can't sell items? Error fix!

OverusedNameHere

Head Dev - Pokémon Throne
  • 23
    Posts
    6
    Years
    To whoever can help, my game crashes every time the player tries to sell an item. It get this message every time:

    ##############################################################
    [Pokémon Essentials version 19.1]
    [Generation 8 Project v1.1.0]
    [EBDX v1.2.3]

    Exception: RuntimeError
    Message: Script error in event 26 (coords 7,5), map 12 (Pokémon Center):
    Exception: ArgumentError
    Message: wrong number of arguments (given 1, expected 2..5)

    ***Full script:
    pbPokemonMart([
    :POKEBALL,:POTION,
    :POKEDOLL,:REPEL])


    Backtrace:
    [Bag Screen w/interactable Party] Script.rb:419:in `pbStartScene'
    288:UI_PokeMart:263:in `pbStartSellScene2'
    288:UI_PokeMart:244:in `pbStartSellScene'
    288:UI_PokeMart:621:in `pbSellScreen'
    288:UI_PokeMart:685:in `block in pbPokemonMart'
    288:UI_PokeMart:677:in `loop'
    288:UI_PokeMart:677:in `pbPokemonMart'
    (eval):1:in `execute_script'
    033:Interpreter:137:in `eval'
    033:Interpreter:137:in `execute_script'


    Backtrace:
    033:Interpreter:189:in `rescue in execute_script'
    033:Interpreter:135:in `execute_script'
    034:Interpreter_Commands:1030:in `command_355'
    034:Interpreter_Commands:116:in `execute_command'
    033:Interpreter:127:in `block in update'
    033:Interpreter:87:in `loop'
    033:Interpreter:87:in `update'
    032:Scene_Map:157:in `block in update'
    032:Scene_Map:155:in `loop'
    032:Scene_Map:155:in `update'
    ##############################################################

    I have no idea what's causing it. Could it be the plugin I'm using from DiegoWT ((broken link removed))?
     
    Back
    Top