code for riding a coaster with conditions = true