Oh I get it. So basically, a Pokemon that uses a move that has a type the same as the Pokemon's type increases the attack, right?
Another question. How do people on this site get shinies so easily? I have to run on grass over 500 times to get one. In Black, I got my very first shiny. In this case, a Boldore.