mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
dynamic autogen entries
This commit is contained in:
@@ -111,18 +111,18 @@ class PokemonGameOption_Scene < PokemonOption_Scene
|
||||
"Automatically download missing custom sprites and Pokédex entries from the internet"
|
||||
)
|
||||
#
|
||||
# generated_entries_option_selected=$PokemonSystem.use_generated_dex_entries ? 1 : 0
|
||||
# options << EnumOption.new(_INTL("Autogen dex entries"), [_INTL("Off"), _INTL("On")],
|
||||
# proc { generated_entries_option_selected },
|
||||
# proc { |value|
|
||||
# $PokemonSystem.use_generated_dex_entries = value == 1
|
||||
# },
|
||||
# [
|
||||
# "Fusions without a custom Pokédex entry display nothing.",
|
||||
# "Fusions without a custom Pokédex entry display an auto-generated placeholder."
|
||||
#
|
||||
# ]
|
||||
# )
|
||||
generated_entries_option_selected=$PokemonSystem.use_generated_dex_entries ? 1 : 0
|
||||
options << EnumOption.new(_INTL("Autogen dex entries"), [_INTL("Off"), _INTL("On")],
|
||||
proc { generated_entries_option_selected },
|
||||
proc { |value|
|
||||
$PokemonSystem.use_generated_dex_entries = value == 1
|
||||
},
|
||||
[
|
||||
"Fusions without a custom Pokédex entry display nothing.",
|
||||
"Fusions without a custom Pokédex entry display an auto-generated placeholder."
|
||||
|
||||
]
|
||||
)
|
||||
|
||||
if $game_switches && ($game_switches[SWITCH_NEW_GAME_PLUS] || $game_switches[SWITCH_BEAT_THE_LEAGUE]) #beat the league
|
||||
options <<
|
||||
|
||||
Reference in New Issue
Block a user