the game crashes when i choose bulbasaur and try to look at his stats
Exception: NoMethodError
Message: undefined method `empty?' for nil:NilClass
PokemonEvolution:906:in `pbGetPreviousForm'
C:/Users/Pero/Desktop/pokemon reborn noghtmare eddition/Pokémon Reborn - Nightmare Edition/Data/Mods/AMB - Misc_RelearnRework.rb:126:in `block in pbGetRelearnableMoves'
C:/Users/Pero/Desktop/pokemon reborn noghtmare eddition/Pokémon Reborn - Nightmare Edition/Data/Mods/AMB - Misc_RelearnRework.rb:111:in `loop'
C:/Users/Pero/Desktop/pokemon reborn noghtmare eddition/Pokémon Reborn - Nightmare Edition/Data/Mods/AMB - Misc_RelearnRework.rb:111:in `pbGetRelearnableMoves'
C:/Users/Pero/Desktop/pokemon reborn noghtmare eddition/Pokémon Reborn - Nightmare Edition/Data/Mods/SWM - LearnEggMoves.rb:73:in `pbGetRelearnableMoves'
C:/Users/Pero/Desktop/pokemon reborn noghtmare eddition/Pokémon Reborn - Nightmare Edition/Data/Mods/AMB - Misc_RelearnRework.rb:100:in `pbHasRelearnableMove?'
C:/Users/Pero/Desktop/pokemon reborn noghtmare eddition/Pokémon Reborn - Nightmare Edition/Data/Mods/AMB - MonkeyPatched_PokemonScreen_pbPokemonScreen.rb:37:in `block in pbPokemonScreen'
C:/Users/Pero/Desktop/pokemon reborn noghtmare eddition/Pokémon Reborn - Nightmare Edition/Data/Mods/AMB - MonkeyPatched_PokemonScreen_pbPokemonScreen.rb:7:in `loop'
C:/Users/Pero/Desktop/pokemon reborn noghtmare eddition/Pokémon Reborn - Nightmare Edition/Data/Mods/AMB - MonkeyPatched_PokemonScreen_pbPokemonScreen.rb:7:in `pbPokemonScreen'
C:/Users/Pero/Desktop/pokemon reborn noghtmare eddition/Pokémon Reborn - Nightmare Edition/Data/Mods/SWM - ChooseStarter.rb:356:in `pbPokemonScreen'
C:/Users/Pero/Desktop/pokemon reborn noghtmare eddition/Pokémon Reborn - Nightmare Edition/Data/Mods/AMB - AddOpt_DebugMenu.rb:101:in `block (2 levels) in pbStartPokemonMenu'
SpriteWindow:923:in `pbFadeOutIn'
C:/Users/Pero/Desktop/pokemon reborn noghtmare eddition/Pokémon Reborn - Nightmare Edition/Data/Mods/AMB - AddOpt_DebugMenu.rb:100:in `block in pbStartPokemonMenu'
C:/Users/Pero/Desktop/pokemon reborn noghtmare eddition/Pokémon Reborn - Nightmare Edition/Data/Mods/AMB - AddOpt_DebugMenu.rb:70:in `loop'
C:/Users/Pero/Desktop/pokemon reborn noghtmare eddition/Pokémon Reborn - Nightmare Edition/Data/Mods/AMB - AddOpt_DebugMenu.rb:70:in `pbStartPokemonMenu'
Scene_Map:217:in `call_menu'
PokemonTime:177:in `call_menu'
Scene_Map:189:in `update'
Scene_Map:68:in `block in main'
Scene_Map:65:in `loop'
Scene_Map:65:in `main'
Main:45:in `mainFunctionDebug'
Main:26:in `mainFunction'
Main:81:in `block (2 levels) in <main>'
Main:80:in `loop'
here is the error log when i choose another starter it works just fine