Gaara commands Baki and his men to find Shikamaru and put him under a curse called "Man to Child". This curse would turn the victim back to their child state and even partially or fully erase their memory. In this case, Gaara chose to let Shikamaru keep his memories BUT erase all memory of Temari. Will Temari bring Shikamaru's memories back? PS - All of the " 🌟" you see are transition marks
8 parts