Sorry for very late reply T_T
This game was made under the concept that you have to choose your path to the final destination and the ending depends on what path you choose.
The hint for killing the final boss is that you must kill the Elf first so he can't heal his summon (the giant robot) and if you have Hadrain's Ultimate Skill you will win the fight easily!