diff --git a/Data/Scripts/003_Game processing/001_StartGame.rb b/Data/Scripts/003_Game processing/001_StartGame.rb index 6deeba002..1ad9a391f 100644 --- a/Data/Scripts/003_Game processing/001_StartGame.rb +++ b/Data/Scripts/003_Game processing/001_StartGame.rb @@ -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 diff --git a/Data/Scripts/019_Utilities/001_Utilities.rb b/Data/Scripts/019_Utilities/001_Utilities.rb index ca6428881..d9be8d06c 100644 --- a/Data/Scripts/019_Utilities/001_Utilities.rb +++ b/Data/Scripts/019_Utilities/001_Utilities.rb @@ -247,18 +247,20 @@ end def pbSuggestTrainerName(gender) userName = pbGetUserName() userName = userName.gsub(/\s+.*$/,"") - if userName.length>0 && userName.length<7 + if userName.length>0 && userName.length0 && userName.length<7 + if userName.length>0 && userName.length