To gain all of the Dark Diary entries, press Left, Right, Attack, Action, Up, Down, Right, Left.
To restore your health, press Right, Right, Attack, Action, Up, Down, Right, Left.
To restore your magic, press Up, Right, Attack, Action, Up, Down, Right, Left.