"The Legend of Kage (影の伝説; Kage no Densetsu) is a 1985 arcade game by Taito and was released for several contemporary home computer systems in 1986.
The player takes role of the young Iga ninja named Kage ("Shadow") on the misson to rescue Princess Kiri (Kirihime) from the villains Yoshi (Yoshiro Yukikusa) and Yuki (Yukinosuke Kiri). Kage must fight his way through the forest, along the secret passageway, up the fortress wall and through the castle, rescuing her two times (three in the NES version) in order to win the game. Each time the princess is rescued, the seasons change in the game."
Source: Wikipedia, Legend of Kage , available under the CC-BY-SA License.