Tamashii Yume (魂夢)

Overview
Tamashii Yume (魂夢, Soul Dream) is a Japanese flash fighting fangame made by Atelier Izumi (あとりえいずみ), who also created other Yume Nikki fighting fangames. Also known as Yume Nikki Soul Dream in the western community.

Currently, this game was deleted from the game it was previously distributed with, Houchou Shoujo Gensoukyoku (包丁少女幻窓曲). It seems to be no longer available for download, at least not officially.

Full provisional title: Yume Nikki Action Game (Provisional) - "Tamashii Yume" (ゆめにっきアクションゲーム（仮） 「魂夢」)

Gameplay
Gameplay is similar to Houchou Shoujo Gensoukyoku, but you have a gun along with a knife. The goal is to beat the game as fast as you can. Along the way you face off with various characters from the original Yume Nikki, including doppelgängers of Madotsuki herself.

The game ends either when you die (losing all your HP) or by defeating the game's final boss.

Plot
Madotsuki seems to be fighting to try to save Poniko.