Spying on Max and Jirachi Team Rocket argue about what they're gonna do once they get ahold of Jirachi.
Jessie: Jirachi? Hey, that's the Pokémon they say can grant wishes! Meowth: And it can teleport stuff, too. James: And our first wish should be that it doesn't teleport itself away from us once we capture it! Jessie: COULD YOU HAVE SAID SOMETHING EVEN MORE RIDICULOUS THAN THAT?! What if Jirachi grants us just one wish only? You'd waste it on that?! Meowth: I didn't even think about that! We might only ge one wish, and that's it! We're gonna need the perfect wish! Jessie: I've got it! Why don't we just wish for a hundred more wishes? It's genius! James: But, Jessie, if Jirachi teleports away from us after the first wish? Meowth: I wish I could teleport away from the two of you.
And then there's this bit of dialogue when Team Rocket sees Jirachi drawing energy from the Millennium Comet.
Meowth: Do you see dat? Jessie: You think I'm blind? James: That would explain the hair.