randomizer - static pokemon

This commit is contained in:
infinitefusion
2022-05-01 15:57:29 -04:00
parent 68d0e24ef4
commit bd3c4d05ea
8 changed files with 6 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -331,7 +331,11 @@ end
#=============================================================================== #===============================================================================
# Used when walking in tall grass, hence the additional code. # Used when walking in tall grass, hence the additional code.
def pbWildBattle(species, level, outcomeVar=1, canRun=true, canLose=false) def pbWildBattle(species, level, outcomeVar=1, canRun=true, canLose=false)
if $game_switches[SWITCH_RANDOM_STATIC_ENCOUNTERS]
species = $PokemonGlobal.psuedoBSTHash[dexNum(species)]
else
species = GameData::Species.get(species).id species = GameData::Species.get(species).id
end
# Potentially call a different pbWildBattle-type method instead (for roaming # Potentially call a different pbWildBattle-type method instead (for roaming
# Pokémon, Safari battles, Bug Contest battles) # Pokémon, Safari battles, Bug Contest battles)
handled = [nil] handled = [nil]

View File

@@ -195,7 +195,7 @@ class RandomizerWildPokemonOptionsScene < PokemonOption_Scene
def pbGetOptions(inloadscreen = false) def pbGetOptions(inloadscreen = false)
options = [ options = [
EnumOption.new(_INTL("Type"), [_INTL("Global"), _INTL("Area")], EnumOption.new(_INTL("Type"), [_INTL("Global")],#, _INTL("Area")],
proc { proc {
if $game_switches[RANDOM_WILD_AREA] if $game_switches[RANDOM_WILD_AREA]
1 1

View File

@@ -56,7 +56,6 @@ SWITCH_RANDOM_GYM_CUSTOMS=662
SWITCH_RANDOMIZE_GYMS_SEPARATELY = 667 SWITCH_RANDOMIZE_GYMS_SEPARATELY = 667
SWITCH_RANDOMIZED_GYM_TYPES=921 SWITCH_RANDOMIZED_GYM_TYPES=921
SWITCH_RANDOM_GIFT_POKEMON = 780 SWITCH_RANDOM_GIFT_POKEMON = 780
#Other switches #Other switches
SWITCH_RACE_BIKE = 984 SWITCH_RACE_BIKE = 984
SWITCH_IS_REMATCH=200 SWITCH_IS_REMATCH=200

Binary file not shown.