I'm getting this error clicking Sell items. I even had an empty bag and then also bought an item in the shop prior to selling. Both gave me this error while using BW Pokemart screen.
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Script error in event 1 (coords 10,24), map 79 (New Bark Town)
Exception: ArgumentError
Message: wrong number of arguments (given 1, expected 2..5)
***Full script:
pbPokemonMart([
:TM21, :TM27,
:TM87, :TM78,
:TM12, :TM41,
:TM20, :TM28,
:TM76, :TM55,
:TM72, :TM79
])
Backtrace:
[Bag Screen w/int. Party] Script.rb:556:in `pbStartScene'
[BW PokéMart Screen] BWMartScreen.rb:320:in `pbStartSellScene2'
[BW PokéMart Screen] BWMartScreen.rb:305:in `pbStartSellScene'
[BW PokéMart Screen] BWMartScreen.rb:675:in `pbSellScreen'
[BW PokéMart Screen] BWMartScreen.rb:736:in `block in pbPokemonMart'
[BW PokéMart Screen] BWMartScreen.rb:728:in `loop'
[BW PokéMart Screen] BWMartScreen.rb:728:in `pbPokemonMart'
(eval):1:in `execute_script'
Interpreter:138:in `eval'
Interpreter:138:in `execute_script'
-------------------------------------
Taking out the script does the same thing.
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Script error in event 1 (coords 10,24), map 79 (New Bark Town)
Exception: ArgumentError
Message: wrong number of arguments (given 1, expected 2..5)
***Full script:
pbPokemonMart([
:TM21, :TM27,
:TM87, :TM78,
:TM12, :TM41,
:TM20, :TM28,
:TM76, :TM55,
:TM72, :TM79
])
Backtrace:
[Bag Screen w/int. Party] Script.rb:556:in `pbStartScene'
UI_PokeMart:320:in `pbStartSellScene2'
UI_PokeMart:305:in `pbStartSellScene'
UI_PokeMart:679:in `pbSellScreen'
UI_PokeMart:740:in `block in pbPokemonMart'
UI_PokeMart:732:in `loop'
UI_PokeMart:732:in `pbPokemonMart'
(eval):1:in `execute_script'
Interpreter:138:in `eval'
Interpreter:138:in `execute_script'