Adds spriter credits to evolution screen

This commit is contained in:
infinitefusion
2023-07-16 15:09:07 -04:00
parent 321f89282c
commit d38c3f65f4
18 changed files with 8 additions and 2 deletions

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.

View File

@@ -588,6 +588,9 @@ class PokemonEvolutionScene
end end
# Success jingle/message # Success jingle/message
pbMEPlay("Evolution success") pbMEPlay("Evolution success")
sprite_bitmap=@sprites["rsprite2"].getBitmap
drawSpriteCredits(sprite_bitmap.filename,sprite_bitmap.path, @viewport)
newspeciesname = GameData::Species.get(@newspecies).name newspeciesname = GameData::Species.get(@newspecies).name
if !reversing if !reversing
pbMessageDisplay(@sprites["msgwindow"], pbMessageDisplay(@sprites["msgwindow"],
@@ -599,6 +602,7 @@ class PokemonEvolutionScene
@pokemon.name,newspeciesname)) { pbUpdate } @pokemon.name,newspeciesname)) { pbUpdate }
end end
@sprites["msgwindow"].text = "" @sprites["msgwindow"].text = ""
# Check for consumed item and check if Pokémon should be duplicated # Check for consumed item and check if Pokémon should be duplicated
pbEvolutionMethodAfterEvolution if !reversing pbEvolutionMethodAfterEvolution if !reversing

View File

@@ -691,7 +691,7 @@ class PokemonFusionScene
overlay = BitmapSprite.new(Graphics.width, Graphics.height, @viewport).bitmap overlay = BitmapSprite.new(Graphics.width, Graphics.height, @viewport).bitmap
sprite_bitmap = @sprites["rsprite2"].getBitmap sprite_bitmap = @sprites["rsprite2"].getBitmap
drawSpriteCredits(sprite_bitmap.filename,sprite_bitmap.path, overlay) drawSpriteCredits(sprite_bitmap.filename,sprite_bitmap.path, @viewport)
Kernel.pbMessageDisplay(@sprites["msgwindow"], Kernel.pbMessageDisplay(@sprites["msgwindow"],
_INTL("\\se[]Congratulations! Your Pokémon were fused into {2}!\\wt[80]", @pokemon1.name, newspeciesname)) _INTL("\\se[]Congratulations! Your Pokémon were fused into {2}!\\wt[80]", @pokemon1.name, newspeciesname))
@@ -770,7 +770,9 @@ class PokemonFusionScene
end end
end end
def drawSpriteCredits(filename,path,overlay) def drawSpriteCredits(filename,path,viewport)
overlay = BitmapSprite.new(Graphics.width, Graphics.height, @viewport).bitmap
return if path.start_with?(Settings::BATTLERS_FOLDER) return if path.start_with?(Settings::BATTLERS_FOLDER)
x= Graphics.width/2 x= Graphics.width/2
y=240 y=240

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.