Fixed crash upon gaining a Pokémon after starting a new game, fixed default player's potentially being longer than allowed

This commit is contained in:
Maruno17
2021-04-27 21:34:07 +01:00
parent 853ce8e9e5
commit e1ae094ff4
2 changed files with 8 additions and 4 deletions

View File

@@ -49,6 +49,8 @@ module Game
$MapFactory = PokemonMapFactory.new($data_system.start_map_id)
$game_player.moveto($data_system.start_x, $data_system.start_y)
$game_player.refresh
$PokemonEncounters = PokemonEncounters.new
$PokemonEncounters.setup($game_map.map_id)
$game_map.autoplay
$game_map.update
end