- 5
- Posts
- 3
- Years
- she/her
- Seen May 10, 2022
Hello, I'm trying to give the player the national dex, and according to the wiki, you're supposed to not put a number after pbUnlockDex. While implementing this, the debug output window told me this function was being depreciated, and I should use $Trainer.pokedex.unlock. However, when I try to use it without a number, the game crashes giving me the error:
Exception: ArgumentError
Message: wrong number of arguments (given 0, expected 1)
Obviously this means I should be including some number but I can't seem to find anywhere which says how this is done using this new function.
Exception: ArgumentError
Message: wrong number of arguments (given 0, expected 1)
Obviously this means I should be including some number but I can't seem to find anywhere which says how this is done using this new function.