How do you unlock robot in Super Smash Bros. brawl?

they call him r.o.b and I unlocked him by playing through all exept 1 in subspace emmisary