mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 06:04:59 +00:00
Moved some global metadata values to class Player, added battle points property
This commit is contained in:
@@ -296,9 +296,9 @@ class PokemonPokedex_Scene
|
||||
# National Dex at the end.
|
||||
def pbGetSavePositionIndex
|
||||
index = pbGetPokedexRegion
|
||||
if index==-1 # National Dex
|
||||
index = $Trainer.pokedex.dexes_count - 1 # National Dex index comes
|
||||
end # after regional Dex indices
|
||||
if index==-1 # National Dex (comes after regional Dex indices)
|
||||
index = $Trainer.pokedex.dexes_count - 1
|
||||
end
|
||||
return index
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user