6.0 release

This commit is contained in:
infinitefusion
2023-11-12 15:37:12 -05:00
parent 63d56d7c32
commit 57165b6cbf
4886 changed files with 28402 additions and 9715 deletions

View File

@@ -174,11 +174,13 @@ def pbPrepareBattle(battle)
back = getBattleBackgroundFromMetadata(GameData::MapMetadata.get($game_map.map_id))
backdrop = back if back && back != ""
end
if !backdrop
isOutdoor = GameData::MapMetadata.get($game_map.map_id).outdoor_map rescue false
backdrop = "indoorA" if !isOutdoor
backdrop = "Field" if isOutdoor
end
battle.backdrop = backdrop
# Choose a name for bases depending on environment
if battleRules["base"].nil?

View File

@@ -39,3 +39,12 @@ Events.onWildPokemonCreate += proc { |_sender, e|
# YOUR CODE HERE
# end
#}
#NECROZMA BATTLE
Events.onWildPokemonCreate += proc { |_sender, e|
pokemon = e[0]
if $game_switches[SWITCH_KANTO_DARKNESS_STAGE_4] && pokemon.species == :NECROZMA
pokemon.item = :NECROZIUM
end
}