Honestly, I kind of think Maleficent didn't really need to be in KH2 at all, especially after the role they gave her in it. I think that she should've just stayed dead after KH1, she was goodvillain for that game, but there was no reason to bring her back.