Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void transition(char cPokemon1,char cPokemon2,char *c1stName,char *c2ndName){
- char *cPokemonName1, *cPokemonName2;
- switch(cPokemon1){
- case 'e': cPokemonName1 = "Entei";
- case 'm': cPokemonName1 = "Milotic";
- case 't': cPokemonName1 = "Torterra";
- case 'p': cPokemonName1 = "Pikachu";
- case 'g': cPokemonName1 = "Groudon";
- case 'l': cPokemonName1 = "Lapras";
- case 's': cPokemonName1 = "Stunfisk";
- }
- switch(cPokemon2){
- case 'e': cPokemonName2 = "Entei";
- case 'm': cPokemonName2 = "Milotic";
- case 't': cPokemonName2 = "Torterra";
- case 'p': cPokemonName2 = "Pikachu";
- case 'g': cPokemonName2 = "Groudon";
- case 'l': cPokemonName2 = "Lapras";
- case 's': cPokemonName2 = "Stunfisk";
- }
- printf("\n\n\n\t %5s's Pokemon \t\t\t\t\t\t\t %5s's Pokemon \n", c1stName,c2ndName);
- printf("\t ============= \t\t\t\t\t\t\t =============\n");
- printf("\t|| ||\t\t\t\t\t\t\t|| || \n");
- printf("\t|| %s ||\t\t\t\t\t\t\t|| %s || \n",cPokemonName1, cPokemonName2 );
- printf("\t|| ||\t\t\t\t\t\t\t|| || \n");
- printf("\t ============= \t\t\t\t\t\t\t =============\n\n\n");
- printf("\t\t\t\t\t\t\t\t ==============================================\n");
- printf("\t\t\t\t\t\t\t\t|| INSTRUCTION ||\n");
- printf("\t\t\t\t\t\t\t\t|| ||\n");
- printf("\t\t\t\t\t\t\t\t|| Player 1 will make the first attack, ||\n");
- printf("\t\t\t\t\t\t\t\t|| then Player 2. Each Player will take ||\n");
- printf("\t\t\t\t\t\t\t\t|| turns selecting moves their Pokemon ||\n");
- printf("\t\t\t\t\t\t\t\t|| will use. The objective is to defeat ||\n");
- printf("\t\t\t\t\t\t\t\t|| your opponent's pokemon and win. ||\n");
- printf("\t\t\t\t\t\t\t\t|| ||\n");
- printf("\t\t\t\t\t\t\t\t ==============================================\n\n");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement