wrote foreach loop to properly show which moves are sources in game information sidebar