Fixes player becoming invisible after playing the pokefulute

This commit is contained in:
infinitefusion
2023-11-19 11:34:53 -05:00
parent 48327a61ff
commit 179c8d078b
5 changed files with 3 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -6,7 +6,7 @@
module Settings
# The version of your game. It has to adhere to the MAJOR.MINOR.PATCH format.
GAME_VERSION = '5.0.0'
GAME_VERSION_NUMBER = "6.0.2"
GAME_VERSION_NUMBER = "6.0.3"
POKERADAR_LIGHT_ANIMATION_RED_ID = 17
POKERADAR_LIGHT_ANIMATION_GREEN_ID = 18

View File

@@ -209,7 +209,9 @@ def playPokeFluteAnimation
end
def restoreDefaultCharacterSprite(charset_number=0)
meta = GameData::Metadata.get_player($Trainer.character_ID)
$game_player.setDefaultCharName(nil, 0, false)
$game_player.character_name =meta[1]
Graphics.update
Input.update
pbUpdateSceneMap

Binary file not shown.