This works for moves, not abilities. I forgot how to add abilities...
1. Open MoveList.java (idk where it is)
2. Find a move like the one your looking for.
3. Edit its stats to complete the move.
4. Add the name to the list of moves.
6. Open your patch and type...
*Pokemon to get move*: *move name*, *move name 2*;
*Move name 2 is if you add 1+ moves.