version=2 @storage.set(integer,checked,0) @storage.set(string,pokedupe,0) @storage.set(string,itemdupe,0) :while:< :select:)> :when:150;151;249;250;251;382;383;384;385;386;483;484;487;489;490;491;492;493;494;643;644;646;647;648;649;716;717;718;719;720;721;789;790;791;792;800;801;802;807;808;809;888;889;890;893;898;1007;1008 @text.show(You have a restricted Pokémon on your team, please choose a different Pokémon.) :endscript :when: @text.show(Duplicate Pokémon are not allowed, please choose a different Pokémon.) :endscript :endwhen :if:)=true @text.show(Eggs are not allowed, please choose a different Pokémon.) :endscript :endif :select:)> :when: @text.show(Duplicate held items are not allowed, please choose a different Pokémon.) :endscript :endwhen @storage.set(string,pokedupe,;)>) @storage.set(string,itemdupe,;)>) @storage.set(integer,checked,+1) :endwhile