I honestly have no idea what to do in the Undertale boss battle. The meter above the boss fills up sometimes, but I'm not sure exactly HOW or WHY it got filled.