mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Merge branch 'master' into dev
This commit is contained in:
@@ -88,9 +88,8 @@ def pbBattleAnimation(bgm=nil,battletype=0,foe=nil)
|
|||||||
end
|
end
|
||||||
# Play main animation
|
# Play main animation
|
||||||
Graphics.freeze
|
Graphics.freeze
|
||||||
anim = "battle4"
|
|
||||||
Graphics.transition(25, sprintf("Graphics/Transitions/%s", anim))
|
|
||||||
viewport.color = Color.new(0,0,0,255) # Ensure screen is black
|
viewport.color = Color.new(0,0,0,255) # Ensure screen is black
|
||||||
|
Graphics.transition(25, sprintf("Graphics/Transitions/%s", anim))
|
||||||
# Slight pause after animation before starting up the battle scene
|
# Slight pause after animation before starting up the battle scene
|
||||||
(Graphics.frame_rate/10).times do
|
(Graphics.frame_rate/10).times do
|
||||||
Graphics.update
|
Graphics.update
|
||||||
|
|||||||
@@ -193,8 +193,9 @@ def pbDayCareGenerateEgg
|
|||||||
egg.personalID = pid
|
egg.personalID = pid
|
||||||
# Inheriting form
|
# Inheriting form
|
||||||
if [:BURMY, :SHELLOS, :BASCULIN, :FLABEBE, :PUMPKABOO, :ORICORIO, :ROCKRUFF, :MINIOR].include?(babyspecies)
|
if [:BURMY, :SHELLOS, :BASCULIN, :FLABEBE, :PUMPKABOO, :ORICORIO, :ROCKRUFF, :MINIOR].include?(babyspecies)
|
||||||
newForm = mother.form
|
parent = (ditto0 || (!pkmn0.female? && ditto1)) ? father : mother
|
||||||
newForm = 0 if mother.isSpecies?(:MOTHIM)
|
newForm = parent.form
|
||||||
|
newForm = 0 if parent.isSpecies?(:MOTHIM)
|
||||||
egg.form = newForm
|
egg.form = newForm
|
||||||
end
|
end
|
||||||
# Inheriting regional form
|
# Inheriting regional form
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ class PokedexSearchSelectionSprite < SpriteWrapper
|
|||||||
self.src_rect.y = 88; self.src_rect.height = 44
|
self.src_rect.y = 88; self.src_rect.height = 44
|
||||||
when 3,4 # Height, weight
|
when 3,4 # Height, weight
|
||||||
self.src_rect.y = 132; self.src_rect.height = 44
|
self.src_rect.y = 132; self.src_rect.height = 44
|
||||||
when 6 # Form
|
when 6 # Shape
|
||||||
self.src_rect.y = 176; self.src_rect.height = 68
|
self.src_rect.y = 176; self.src_rect.height = 68
|
||||||
else # Reset/start/cancel
|
else # Reset/start/cancel
|
||||||
self.src_rect.y = 244; self.src_rect.height = 40
|
self.src_rect.y = 244; self.src_rect.height = 40
|
||||||
@@ -325,7 +325,8 @@ class PokemonPokedex_Scene
|
|||||||
regionalSpecies.each_with_index do |species, i|
|
regionalSpecies.each_with_index do |species, i|
|
||||||
next if !species
|
next if !species
|
||||||
next if !pbCanAddForModeList?($PokemonGlobal.pokedexMode, species)
|
next if !pbCanAddForModeList?($PokemonGlobal.pokedexMode, species)
|
||||||
species_data = GameData::Species.get(species)
|
_gender, form = $Trainer.pokedex.last_form_seen(species)
|
||||||
|
species_data = GameData::Species.get_species_form(species, form)
|
||||||
color = species_data.color
|
color = species_data.color
|
||||||
type1 = species_data.type1
|
type1 = species_data.type1
|
||||||
type2 = species_data.type2 || type1
|
type2 = species_data.type2 || type1
|
||||||
@@ -1106,7 +1107,7 @@ class PokemonPokedex_Scene
|
|||||||
newparam = pbDexSearchCommands(5,[params[8]],index)
|
newparam = pbDexSearchCommands(5,[params[8]],index)
|
||||||
params[8] = newparam[0] if newparam!=nil
|
params[8] = newparam[0] if newparam!=nil
|
||||||
pbRefreshDexSearch(params,index)
|
pbRefreshDexSearch(params,index)
|
||||||
when 6 # Filter by form
|
when 6 # Filter by shape
|
||||||
newparam = pbDexSearchCommands(6,[params[9]],index)
|
newparam = pbDexSearchCommands(6,[params[9]],index)
|
||||||
params[9] = newparam[0] if newparam!=nil
|
params[9] = newparam[0] if newparam!=nil
|
||||||
pbRefreshDexSearch(params,index)
|
pbRefreshDexSearch(params,index)
|
||||||
|
|||||||
Reference in New Issue
Block a user