Modified codes to allow retrieval of bot historic moveset