Ok, I'm confident this score cannot be beaten. 22 frames for ending trophy,
6+2 frames for secret trophies, total 30 frames.
I had to mess around a LOT to figure out how to open the yellow door without needing a frame to branch off so I could merge backwards. I'm not sure if anybody can even copy how I did it even with the timeline revealed below. I used three tricks to do it.