Cards created from Sora’s memories can transform each floor of Castle Oblivion into a world from the first Kingdom Hearts. These include settings based on Disney films as well as worlds created by Square Enix.
Kingdom Hearts: Chain of Memories takes place immediately after the first game’s ending. Sora and his teammates arrive at the castle, which is kept by Lord Marluxia, and are told that entering causes visitors to lose their memories.