diff --git a/Data/CommonEvents.rxdata b/Data/CommonEvents.rxdata index d8495da22..cddb47b64 100644 Binary files a/Data/CommonEvents.rxdata and b/Data/CommonEvents.rxdata differ diff --git a/Data/Scripts/050_AddOns/ExperimentalOptions.rb b/Data/Scripts/050_AddOns/ExperimentalOptions.rb new file mode 100644 index 000000000..a3f74f6c6 --- /dev/null +++ b/Data/Scripts/050_AddOns/ExperimentalOptions.rb @@ -0,0 +1,45 @@ + +module OptionTypes + WILD_POKE = 0 + TRAINER_POKE = 1 +end + +class ExperimentalOptionsScene < PokemonOption_Scene + def initialize + super + @openTrainerOptions = false + @openWildOptions = false + @openGymOptions = false + @openItemOptions = false + $game_switches[SWITCH_RANDOMIZED_AT_LEAST_ONCE] = true + end + + def getDefaultDescription + return _INTL("Set the randomizer settings") + end + + def pbStartScene(inloadscreen = false) + super + @changedColor = true + @sprites["title"] = Window_UnformattedTextPokemon.newWithSize( + _INTL("Experimental options"), 0, 0, Graphics.width, 64, @viewport) + @sprites["textbox"].text = getDefaultDescription + pbFadeInAndShow(@sprites) { pbUpdate } + end + + def pbGetOptions(inloadscreen = false) + options = [ + EnumOption.new(_INTL("Base stats mode"), [_INTL("On"), _INTL("Off")], + proc { + $game_switches[SWITCH_NO_LEVELS_MODE] ? 0 : 1 + }, + proc { |value| + $game_switches[SWITCH_NO_LEVELS_MODE] = value == 0 + }, "All Pokémon use their base stats, regardless of levels." + ) + ] + return options + end + + +end diff --git a/Data/System.rxdata b/Data/System.rxdata index d1ab786b2..8d2aa41d4 100644 Binary files a/Data/System.rxdata and b/Data/System.rxdata differ