How do you get deoxes in Pokemon LeafGreen?

You can't get it in Pokemon leafgreen or fire red.