Aeris's weapon powers up when an ally is in critical or wounded condition.

There are a few ways to go about solving this. I think it's fairly obvious, but I could be wrong. I'll supply hints along the way if necessary.

I am the music that plays, you know
When the inversion of my numbers returns home.
Not necessarily said inversion's theme,
but a variation on it, I believe.