Hello, Firstly thank you for your resources! But I've been getting this error when I try to sell any item.
Pokémon Essentials v21.1
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Script error in event 2 (coords 2,3), map 25 (Lerucean Town)
Exception: ArgumentError
Message: wrong number of arguments (given 4, expected 3)
***Full script:
pbPokemonMart([
:POKEBALL,
:POTION
1)
Backtrace:
[Arcky's Poke Market] 001_PokeMarket_Main.rb:247:in 'pbChooseNumber'
[Arcky's Poke Market] 001_PokeMarket_Main.rb:471:in `block in pbSellScreen'
[Arcky's Poke Market] 001_PokeMarket_Main.rb:457:in 'loop'
[Arcky's Poke Market] 001_PokeMarket_Main.rb:457:in `pbSellScreen'
[Arcky's Poke Market] 001_PokeMarket_Main.rb:600:in `block in pbPokemonMart'
[Arcky's Poke Market] 001_PokeMarket_Main.rb:565:in 'loop'
[Arcky's Poke Market] 001_PokeMarket_Main.rb:565:in `pbPokemonMart
(eval):1:in `execute_script'
Interpreter: 138:in `eval'
Interpreter: 138:in 'execute_script'
This exception was logged in
C:\Users\USERNAME\AppData\Roaming\Pokemon Essentials v21.1\errorlog.txt.
Hold Ctrl when closing this message to copy it to the clipboard.
I haven't changed anything in script, and if I remove the @discount in the arguments in pbsellscreen. It's working fine but I get an argument error in the background.
Exception `RangeError' at Section312:347 - "20500" is recycled object Exception `RangeError' at Section312:347 - "20520" is recycled object Exception `RangeError' at Section312:347 - "20540" is recycled object