- 41
- Posts
- 15
- Years
- Seen Apr 12, 2023
I have the April 3rd not the April 13th version of Essentials so I hope there aren't any big changes between the two.The error seems to come from an un-updated section of code that's throwing an unintialized constant error. I found it last night it seems like an easy enough fix. However, I am not currently at my home computer (at school right now). So, I'll find a fix when I get home. Maybe somebody else will figure it out in the mean time.
The error seems to orginate form the section PokemonDebug in the definition pbDebugMenu under the part of an "else if" statement that says:
Code:
elsif cmd=="fillboxes"
Code:
$PokemonStorage[(i-1)/PokemonBox::MAXPOKEMON,(i-1)%PokemonBox::MAXPOKEMON]=pkmn
Code:
$PokemonStorage[(i-1)/$PokemonStorage.maxPokemon($PokemonStorage.currentBox),(i-1)%$PokemonStorage.maxPokemon($PokemonStorage.currentBox)]=pkmn
Last edited: