Yellow: Helps in the obscure sections (if you make a spin jump it will make a kind of flash in the obscurity
Red: I think this baby Yoshi does the same thing than the green. I think it was included because 5438A38A was inspired on the baby Yoshis of SMW and at the same time in the NSMBU ones.
