mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 05:34:58 +00:00
17 lines
453 B
Ruby
17 lines
453 B
Ruby
def playPokeFluteAnimation
|
|
# return if $Trainer.outfit != 0
|
|
# $game_player.setDefaultCharName("players/pokeflute", 0, false)
|
|
# Graphics.update
|
|
# Input.update
|
|
# pbUpdateSceneMap
|
|
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
|
|
end
|