✓ ESS20-21 有没有大佬帮忙看一下这段代码,在做菜单,可以正常打开图鉴,但是关闭图鉴的时候就出错

Miku

精英训练家
正式成员
2024/05/07
31
1
0
570
def openPokedex
if Settings::USE_CURRENT_REGION_DEX
pbFadeOutIn(99999){
scene = PokemonPokedex_Scene.new
screen = PokemonPokedexScreen.new(scene)
screen.pbStartScreen
menu.refresh
}
else
if $player.pokedex.accessible_dexes.length == 1
$PokemonGlobal.pokedexDex = $player.pokedex.accessible_dexes[0]
pbFadeOutIn(99999) {
scene = PokemonPokedex_Scene.new
screen = PokemonPokedexScreen.new(scene)
screen.pbStartScreen
menu.refresh
}
else
pbFadeOutIn(99999) {
scene = PokemonPokedexMenu_Scene.new
screen = PokemonPokedexMenuScreen.new(scene)
screen.pbStartScreen
menu.refresh
}
end
end
end1000140098.png1000140099.png
 

Drqiu

地区馆主
正式成员
2023/04/10
9
1
2
630
只要这三行scene = PokemonPokedex_Scene.new
screen = PokemonPokedexScreen.new(scene)
screen.pbStartScreen
 
解决方案

最新帖子

论坛统计

主题
562
消息
2,425
成员
3,889
最新成员
yunyu

联系我们