mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
randomizer - static pokemon
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -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]
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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.
Reference in New Issue
Block a user