Generation 1 and 2 items have missing game indices. Here are the game indices for the pokeball:
item_id,generation_id,game_index
4,3,4
4,4,4
4,5,4
4,6,4
4,7,4
4,8,4
Note that the data above is missing generation_id for 1 and 2. The pokeball was assigned index 4 in Gen 1 and index 5 in Gen 2.
The item indexes for Gen 1 and Gen 2 can be obtained from Bulbapedia. By using a script, I can parse the pages and insert the data into the item_game_indices.csv file. Is this the proper way to proceed?