mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 22:24:58 +00:00
bugfixes 1.3
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -3,7 +3,6 @@
|
||||
# Version 19.1.dev #
|
||||
# https://github.com/Maruno17/pokemon-essentials #
|
||||
#==============================================================================#
|
||||
|
||||
module Settings
|
||||
# The version of your game. It has to adhere to the MAJOR.MINOR.PATCH format.
|
||||
GAME_VERSION = '5.0.0'
|
||||
@@ -57,6 +56,8 @@ module Settings
|
||||
MAXIMUM_LEVEL = 100
|
||||
# The level of newly hatched Pokémon.
|
||||
EGG_LEVEL = 1
|
||||
# Number of badges in the game
|
||||
NB_BADGES = 16
|
||||
# The odds of a newly generated Pokémon being shiny (out of 65536).
|
||||
SHINY_POKEMON_CHANCE = (MECHANICS_GENERATION >= 6) ? 16 : 8
|
||||
# The odds of a wild Pokémon/bred egg having Pokérus (out of 65536).
|
||||
|
||||
@@ -375,7 +375,7 @@ class PokemonOption_Scene
|
||||
}
|
||||
)
|
||||
]
|
||||
if $game_switches && $game_switches[NEW_GAME_PLUS] #beat the league
|
||||
if $game_switches && ($game_switches[NEW_GAME_PLUS] || $game_switches[BEAT_THE_LEAGUE]) #beat the league
|
||||
@PokemonOptions <<
|
||||
EnumOption.new(_INTL("Battle type"), [_INTL("Single"), _INTL("Double"), _INTL("Triple")],
|
||||
proc { $PokemonSystem.textspeed },
|
||||
|
||||
@@ -1,8 +1,15 @@
|
||||
#Switches
|
||||
NEW_GAME_PLUS = 972
|
||||
BEAT_THE_LEAGUE = 12
|
||||
|
||||
|
||||
|
||||
|
||||
#Variables
|
||||
DEFAULT_BATTLE_TYPE = 242
|
||||
|
||||
|
||||
#Settings
|
||||
# This is for settings that are used in scripts since it's a chore to change them everywhere to include the module name
|
||||
NUM_BADGES=Settings::NB_BADGES
|
||||
EGGINITIALLEVEL=Settings::EGG_LEVEL
|
||||
@@ -474,6 +474,10 @@ module PBItems
|
||||
XDEFENSE2 = 470
|
||||
XDEFENSE3 = 471
|
||||
XDEFENSE6 = 472
|
||||
XDEFEND = 469
|
||||
XDEFEND2 = 470
|
||||
XDEFEND3 = 471
|
||||
XDEFEND6 = 472
|
||||
XSPATK = 473
|
||||
XSPECIAL = 473
|
||||
XSPATK2 = 474
|
||||
|
||||
@@ -54,7 +54,7 @@ def pbGenerateEgg(pokemon, text = "")
|
||||
pokemon = getID(PBSpecies, pokemon)
|
||||
end
|
||||
if pokemon.is_a?(Integer)
|
||||
pokemon = PokeBattle_Pokemon.new(pokemon, EGGINITIALLEVEL, $Trainer)
|
||||
pokemon = PokeBattle_Pokemon.new(pokemon, Settings::EGG_LEVEL, $Trainer)
|
||||
end
|
||||
# Get egg steps
|
||||
eggsteps = $pkmn_dex[pokemon.species][10]
|
||||
|
||||
@@ -515,7 +515,7 @@ class PokemonFusionScene
|
||||
|
||||
end
|
||||
|
||||
# Starts the evolution screen with the given Pokemon and new Pokemon species.
|
||||
# Starts the fusion screen
|
||||
|
||||
def pbStartScreen(pokemon1, pokemon2, newspecies)
|
||||
@sprites = {}
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user