Riley is in the pre-conventional stage of moral development.
According to the psychologist, Kohlberg, during the pre-conventional stage of moral development, individuals have not developed a personal moral code. Instead, individuals follow moral codes and actions based on what they have learned from their parents, teachers and other elders. Individuals in the pre-conventional stage of moral development make moral decisions that help them avoid punishment.