There are some threads here that I think are worth reading through:
After reading those (and the resources linked to in them), I think you’ll have a much better understanding of Japanese pitch accent.