def get_hurt_frames(self, color_code):
        hurt_frames = [frame[1] for frame in self.sprites if color_code+"_hurt" in frame[0]]

        return hurt_frames
dataset/ETHPy150Open etmaifo/BoilerPlate2D/gamelib/assets.py/PlayerAsset.get_hurt_frames/original