map fixes, regitablet and cool dino

This commit is contained in:
infinitefusion
2023-11-13 20:14:01 -05:00
parent 5ab7074507
commit cfc76d1f77
17 changed files with 5 additions and 6 deletions

View File

@@ -1084,10 +1084,10 @@ ItemHandlers::UseOnPokemon.add(:ABILITYCAPSULE, proc { |item, pkmn, scene|
})
ItemHandlers::UseInField.add(:REGITABLET, proc { |item|
pbCommonEvent(COMMON_EVENT_REGI_TABLET)
next true
})
# ItemHandlers::UseInField.add(:REGITABLET, proc { |item|
# pbCommonEvent(COMMON_EVENT_REGI_TABLET)
# next true
# })
ItemHandlers::UseFromBag.add(:POKERADAR, proc { |item|
next (pbCanUsePokeRadar?) ? 2 : 0

View File

@@ -141,7 +141,6 @@ def getFossilsGuyTeam(level)
elsif $game_switches[SWITCH_PICKED_ANORITH_FOSSIL]
fossils << :LILEEP if level < fossils_evolution_level_1
fossils << :CRADILY if level >= fossils_evolution_level_1
end
#Celadon fossil
if $game_switches[SWITCH_PICKED_ARMOR_FOSSIL]

View File

@@ -98,7 +98,7 @@ def pbWonderTrade(lvl, except = [], except2 = [], premiumWonderTrade = true)
end
if species > 0
skipLegendaryCheck = premiumWonderTrade && rand(100) < luck
species = 0 if pokemonIsPartLegendary(species) && !$game_switches[SWITCH_BEAT_THcE_LEAGUE] && !skipLegendaryCheck
species = 0 if pokemonIsPartLegendary(species) && !$game_switches[SWITCH_BEAT_THE_LEAGUE] && !skipLegendaryCheck
end
#Redo loop if below BST - 200
species = 0 if bst < (chosenBST - 200)