scene=PokemonNestMapScene.new
when 2 # Show nest
region=-1
if !DEXDEPENDSONLOCATION
dexnames=pbDexNames
if dexnames[pbGetSavePositionIndex].is_a?(Array)
region=dexnames[pbGetSavePositionIndex][1]
end
end
scene=PokemonNestMapScene.new
screen=PokemonNestMap.new(scene)
ret=screen.pbStartScreen(@dexlist[curindex][0],region,listlimits)
# when 2 # Show nest
# region=-1
# if !DEXDEPENDSONLOCATION
# dexnames=pbDexNames
# if dexnames[pbGetSavePositionIndex].is_a?(Array)
# region=dexnames[pbGetSavePositionIndex][1]
# end
# end
# scene=PokemonNestMapScene.new
# screen=PokemonNestMap.new(scene)
# ret=screen.pbStartScreen(@dexlist[curindex][0],region,listlimits)
when 3 # Show forms
when [COLOR="Red"][B]2[/B][/COLOR] # Show forms
elsif Input.trigger?(Input::RIGHT) || ret==6
newpage=page+1 if page<[COLOR=Red]3[/COLOR]
pbPlayCursorSE() if newpage!=1