Roland Barthes identified 5 narrative codes used to analyze media: (1) Action code signifies progression of the narrative; (2) Mystery/Enigma code grabs audience attention by posing unresolved problems; (3) Semic code conveys signs and meanings about characters and narrative; (4) Cultural code references real-world elements for cultural understanding; (5) Code of Opposition relies on contrasting binary concepts like weak vs. strong that are vaguely used in thrillers.