Phew... still needs testing, but boss fight seems pretty much done.