//---------------------------------------------------------------------------- private void CreatePokemonNameList() { List <PokemonDatabase.PokemonItem> pokemonList = PokemonDatabase.GetPokemonList(); m_pokemonNames = new string[pokemonList.Count]; foreach (PokemonDatabase.PokemonItem pokemon in pokemonList) { m_pokemonNames [pokemon.m_index] = pokemon.m_name; } }