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

View File

@@ -691,7 +691,7 @@ class PokemonFusionScene
overlay = BitmapSprite.new(Graphics.width, Graphics.height, @viewport).bitmap
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"],
_INTL("\\se[]Congratulations! Your Pokémon were fused into {2}!\\wt[80]", @pokemon1.name, newspeciesname))
@@ -770,7 +770,9 @@ class PokemonFusionScene
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)
x= Graphics.width/2
y=240

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.