mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Consolidated code for the player interacting in the overworld, fixed bad splash screen animations, added ShowQuantity property to items.txt, fixed Quick Draw and Aroma Veil, fixed text alignment in long list of regional Dexes in Pokédex, added better error message in load screen if player's charset is missing
This commit is contained in:
@@ -168,11 +168,14 @@ class PokemonLoad_Scene
|
||||
if meta
|
||||
filename = pbGetPlayerCharset(meta.walk_charset, trainer, true)
|
||||
@sprites["player"] = TrainerWalkingCharSprite.new(filename, @viewport)
|
||||
if !@sprites["player"].bitmap
|
||||
raise _INTL("Player character {1}'s walking charset was not found (filename: \"{2}\").", trainer.character_ID, filename)
|
||||
end
|
||||
charwidth = @sprites["player"].bitmap.width
|
||||
charheight = @sprites["player"].bitmap.height
|
||||
@sprites["player"].x = 112 - (charwidth / 8)
|
||||
@sprites["player"].y = 112 - (charheight / 8)
|
||||
@sprites["player"].src_rect = Rect.new(0, 0, charwidth / 4, charheight / 4)
|
||||
@sprites["player"].x = 112 - (charwidth / 8)
|
||||
@sprites["player"].y = 112 - (charheight / 8)
|
||||
@sprites["player"].z = 99999
|
||||
end
|
||||
trainer.party.each_with_index do |pkmn, i|
|
||||
@sprites["party#{i}"] = PokemonIconSprite.new(pkmn, @viewport)
|
||||
|
||||
Reference in New Issue
Block a user