Kid Kool and the Quest for the Seven Wonder Herbs, known in Japan as カケフ君のジャンプ天国 スピード地獄, is a video game released for the Nintendo Entertainment System in 1988 by Vic Tokai. It is a platform game akin to the Mario series. There is also a small red creature, "Wicky," that the player can carry, which will eliminate enemies when thrown.
The main character is on a quest to obtain seven herbs needed to help cure a king from an illness. The game will gradually progress from "day" to "night" modes as a timer runs. The game must be completed in three of these "days". Each "day" relates to one hour in play time.
There are two endings to the game triggered by whether or not the player completes the game in under 3 ``days.
The Vic Tokai game Decap Attack (Magical Hat no Buttobi Tabo! Daibōken in Japan) are part of the same family of games, considered spiritual successors of Sega's Psycho Fox.
Source: Wikipedia, "Kid Kool", available under the CC-BY-SA License.