Hello!
I've been working on my own fangame based out of Essentials for around a month now. It's been going pretty well- I'm really starting to get excited about it. Today I was editing the available Pokedexes. I had removed the original Johto pokedex and renamed the Kanto one to just Pokedex- I didn't really want to deal with having multiple Pokedexes in this game and felt it would work better having a pseudo national dex from the start. I then added the remaining Pokemon to the original Kanto pokedex in the debug editor. At first it was working fine. However, the last part I changed was altering the script in Settings. After I did that, it stopped allowing the Pokedex to be loaded ingame (even after restarting the save file.) I even tried replacing all the code with what it originally said. No dice. I can't load it at all. I have no idea what's wrong with it.
I have no idea what's wrong, considering I had even replaced the code with what it originally said, and it had even been working at first. I must have done something wrong somewhere, but I'm really not sure where. Any help at all would be greatly appreciated :)
I've been working on my own fangame based out of Essentials for around a month now. It's been going pretty well- I'm really starting to get excited about it. Today I was editing the available Pokedexes. I had removed the original Johto pokedex and renamed the Kanto one to just Pokedex- I didn't really want to deal with having multiple Pokedexes in this game and felt it would work better having a pseudo national dex from the start. I then added the remaining Pokemon to the original Kanto pokedex in the debug editor. At first it was working fine. However, the last part I changed was altering the script in Settings. After I did that, it stopped allowing the Pokedex to be loaded ingame (even after restarting the save file.) I even tried replacing all the code with what it originally said. No dice. I can't load it at all. I have no idea what's wrong with it.
Code:
[Pokémon Essentials version 17.2]
Exception: NoMethodError
Message: undefined method `[]' for nil:NilClass
PScreen_PokedexMain:328:in `pbGetDexList'
PScreen_PokedexMain:325:in `each'
PScreen_PokedexMain:325:in `pbGetDexList'
PScreen_PokedexMain:350:in `pbRefreshDexList'
PScreen_PokedexMain:260:in `pbStartScene'
PScreen_PokedexMain:1191:in `pbStartScreen'
PScreen_PauseMenu:165:in `pbStartPokemonMenu'
PScreen_PauseMenu:162:in `pbFadeOutIn'
PScreen_PauseMenu:162:in `pbStartPokemonMenu'
PScreen_PauseMenu:148:in `loop'
I have no idea what's wrong, considering I had even replaced the code with what it originally said, and it had even been working at first. I must have done something wrong somewhere, but I'm really not sure where. Any help at all would be greatly appreciated :)