The line to edit Triton Knight is using the wrong monster number (577), which is for the Triton Trooper. I think this might also set the second shape incorrectly. The correct number for Triton Kinght is 1060, according to the documentation (which appears correct, only the .dm file is wrong).