The TM and HM moves are glitch moves that are named after TMs and HMs in the Red, Blue, and Yellow versions. They bear no resemblance to the moves taught by the TM or HM they are named after. These moves are created by pointers going outside of their normal range and reading data from the start of the Pokémon database. If one were to edit a TM move, a corresponding Pokémon would be edited. A complete list of TM and HM moves can be found in the AttackDex.