The file I uploaded is fixed properly according to whatever I've stated already. Don't touch anything.
If you wanted to leave the name as TERRAKION, then yes, you'd have to tick the nickname flag. 5th Gen games no longer capitalize all characters, so if caught naturally it would appear as Terrakion with no nickname flag.