Legend of Hero Tonma is a platforming game released by Irem to arcades in 1989, later ported to the PC Engine in 1991. The player controls a hero named Tommy on his quest to rescue a princess. Tommy can cast upgradeable fireballs to dispatch enemies, and jump on their heads to temporarily stun them.
You can check out the TAS of the slightly different PCE port here.