DNA Splicers WIP

This commit is contained in:
chardub
2025-05-08 22:59:30 -04:00
parent 6536fcda77
commit 4ecf97b777
287 changed files with 5291 additions and 31635 deletions

View File

@@ -0,0 +1,12 @@
def pbChoosePokemon(helptext,index_game_var=1, name_game_var=2, able_proc = nil, _allow_ineligible = false)
set_help_text(_INTL(helptext))
chosen = -1
pbFadeOutIn do
screen = UI::Party.new($player.party, mode: :choose_pokemon)
screen.set_able_annotation_proc(able_proc) if able_proc
chosen = screen.choose_pokemon
end
pbSet(index_game_var, chosen)
pbSet(name_game_var, (chosen >= 0) ? $player.party[chosen].name : "")
return chosen
end