Input the code to max out the Pokemon in a specific slot in your party. If you want to increase the stats of your Pokemon in the fifth slot, then you input the right code for the stat that you want to increase.
The difference between a smaller and larger code is, of course, you get more from larger than smaller. You can also turn on multiple codes without any troubles.
First Pokemon
Attack (Smaller) 01E751DA 91E706DD
Defense (Larger) 010352DA 910307DD
Defense(Smaller) 01E753DA 91E708DD
Speed (Larger) 010354DA 910309DD
Speed (Smaller) 101E755DA 91E70ADD
Special Attack (Larger) 010356DA 91030BDD
Special Attack (Smaller) 01E757DA 91E70CDD
Special Defense (Larger) 010358DA 91030DDD
Special Defense(Smaller) 01E759DA 91E70EDD
Second Pokemon
Attack (Larger) 010380DA 910335DD
Attack (Smaller) 01E781DA 91E736DD
Defense (Larger) 010382DA 910337DD
Defense (Smaller) 01E783DA 91E738DD
Speed (Larger) 010384DA 910339DD
Speed (Smaller) 01E785DA 91E73ADD
Special Attack (Larger) 010386DA 91033BDD
Special Attack (Smaller) 01E787DA 91E73CDD
Special Defense (Larger) 010388DA 91033DDD
Special Defense (Smaller) 01E789DA 91E73EDD
Third Pokemon
Attack (Larger) 0103B0DA 910365DD
Attack (Smaller) 01E7B1DA 91E766DD
Defense (Larger) 0103B2DA 910367DD
Defense (Smaller) 01E7B3DA 91E768DD
Speed (Larger) 0103B4DA 910369DD
Speed (Smaller) 01E7B5DA 91E76ADD
Special Attack(Larger) 0103B6DA 91036BDD
Special Attack (Smaller) 01E7B7DA 91E76CDD
Special Defense (Larger) 0103B8DA 91036DDD
Special Defense (Smaller) 01E7B9DA 91E76EDD
Fourth Pokemon
Attack (Larger) 0103E0DA 910395DD
Attack (Smaller) 01E7E1DA 91E796DD
Defense (Larger) 0103E2DA 910397DD
Defense (Smaller) 01E7E3DA 91E798DD
Speed (Larger) 0103E4DA 910399DD
Speed (Smaller) 01E7E5DA 91E79ADD
Special Attack (Larger) 0103E6DA 91039BDD
Special Attack (Smaller) 01E7E7DA 91E79CDD
Special Defense (Larger) 0103E8DA 91039DDD
Special Defense (Smaller) 01E7E9DA 91E79EDD
Fifth Pokemon
Attack (Larger) 010310DB 9103C5DD
Attack (Smaller) 01E711DB 91E7C6DD
Defense (Larger) 010312DB 9103C7DD
Defense (Smaller) 01E713DB 91E7C8DD
Speed (Larger) 010314DB 9103C9DD
Speed (Smaller) 01E715DB 91E7CADD
Special Attack (Larger) 010316DB 9103CBDD
Special Attack (Smaller) 01E717DB 91E7CCDD
Special Defense (Larger) 010318DB 9103CDDD
Special Defense (Smaller) 01E719DB 91E7CEDD
Sixth Pokemon
Attack (Larger) 010340DB 9103F5DD
Attack (Smaller) 01E741DB 91E7F6DD
Defense (Larger) 010342DB 9103F7DD
Defense (Smaller) 01E743DB 91E7F8DD
Speed (Larger) 010344DB 9103F9DD
Speed (Smaller) 01E745DB 91E7FADD
Special Attack (Larger) 010346DB 9103FBDD
Special Attack (Smaller) 01E747DB 91E7FCDD
Special Defense (Larger) 010348DB 9103FDDD
Special Defense (Smaller) 01E749DB 91E7FEDD