mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-13 07:54:59 +00:00
6.7.2 patch
This commit is contained in:
@@ -41,6 +41,7 @@ SWITCH_GOT_BADGE_14 = 44
|
||||
SWITCH_GOT_BADGE_15 = 45
|
||||
SWITCH_GOT_BADGE_16 = 50
|
||||
|
||||
SWITCH_LEAGUE_TIER_1= 1155
|
||||
SWITCH_LEAGUE_TIER_2= 1151
|
||||
SWITCH_LEAGUE_TIER_3= 1152
|
||||
SWITCH_LEAGUE_TIER_4= 1153
|
||||
|
||||
@@ -43,7 +43,7 @@ end
|
||||
def getCurrentLevelCap()
|
||||
current_max_level = Settings::LEVEL_CAPS[$Trainer.badge_count]
|
||||
current_max_level *= Settings::HARD_MODE_LEVEL_MODIFIER if $game_switches[SWITCH_GAME_DIFFICULTY_HARD]
|
||||
return current_max_level
|
||||
return current_max_level.floor
|
||||
end
|
||||
|
||||
def pokemonExceedsLevelCap(pokemon)
|
||||
|
||||
@@ -156,7 +156,7 @@ def addLegendaryEggsToPC()
|
||||
legendaries_species = LEGENDARIES_LIST.shuffle
|
||||
legendaries_species.each do |species|
|
||||
pokemon = Pokemon.new(species, Settings::EGG_LEVEL)
|
||||
pokemon.steps_to_hatch = pokemon.species_data.hatch_steps
|
||||
pokemon.steps_to_hatch = pokemon.species_data.hatch_steps/2
|
||||
pokemon.name = "Egg"
|
||||
$PokemonStorage.pbStoreCaught(pokemon)
|
||||
end
|
||||
|
||||
@@ -225,7 +225,7 @@ module SaveData
|
||||
end
|
||||
echoln '' if conversions_to_run.length > 0
|
||||
save_data[:essentials_version] = Essentials::VERSION
|
||||
save_data[:game_version] = Settings::GAME_VERSION
|
||||
save_data[:game_version] = Settings::GAME_VERSION_NUMBER
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user