Move the contest opponent filter to C

This commit is contained in:
Phlosioneer 2019-03-09 22:54:17 -05:00
parent a32e8e7405
commit 0c935a8bd5
4 changed files with 303 additions and 105 deletions

View File

@ -6,11 +6,6 @@
.section .rodata .section .rodata
.align 2, 0 .align 2, 0
gUnknown_085898A4:: @ 85898A4
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02
.byte 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02
.align 2 .align 2
gUnknown_08589904:: @ 8589904 gUnknown_08589904:: @ 8589904
obj_tiles gBlankGfxCompressed, 0x1000, 0x80e8 obj_tiles gBlankGfxCompressed, 0x1000, 0x80e8

View File

@ -204,6 +204,12 @@ enum {
CONTEST_RANK_LINK CONTEST_RANK_LINK
}; };
enum {
CONTEST_FILTER_NONE,
CONTEST_FILTER_NO_POSTGAME,
CONTEST_FILTER_ONLY_POSTGAME
};
struct ContestPokemon struct ContestPokemon
{ {
/*0x00*/ u16 species; /*0x00*/ u16 species;

View File

@ -242,7 +242,6 @@ extern const u8 gText_Contest_Fear[];
extern const u8 gText_BDot[]; extern const u8 gText_BDot[];
extern const u8 gText_CDot[]; extern const u8 gText_CDot[];
extern const u8 *const gUnknown_08587E10[]; extern const u8 *const gUnknown_08587E10[];
extern const u8 gUnknown_085898A4[96];
extern const union AffineAnimCmd *const gUnknown_082FF6C0[]; extern const union AffineAnimCmd *const gUnknown_082FF6C0[];
extern const union AffineAnimCmd *const gUnknown_082FF694[]; extern const union AffineAnimCmd *const gUnknown_082FF694[];
extern const struct SpriteTemplate gSpriteTemplate_8587AD0; extern const struct SpriteTemplate gSpriteTemplate_8587AD0;
@ -2565,7 +2564,7 @@ void sub_80DAB8C(u8 contestType, u8 rank)
r7 = TRUE; r7 = TRUE;
// Find all suitable opponents // Find all suitable opponents
r3 = gUnknown_085898A4; r3 = gPostgameContestOpponentFilter;
for (i = 0; i < ARRAY_COUNT(gContestOpponents); i++) for (i = 0; i < ARRAY_COUNT(gContestOpponents); i++)
{ {
if (rank == gContestOpponents[i].whichRank) if (rank == gContestOpponents[i].whichRank)
@ -2625,12 +2624,12 @@ void sub_80DACBC(u8 contestType, u8 rank, bool32 isPostgame)
if (isPostgame == TRUE) if (isPostgame == TRUE)
{ {
if (gUnknown_085898A4[i] == 1) if (gPostgameContestOpponentFilter[i] == CONTEST_FILTER_NO_POSTGAME)
continue; continue;
} }
else else
{ {
if (gUnknown_085898A4[i] == 2) if (gPostgameContestOpponentFilter[i] == CONTEST_FILTER_ONLY_POSTGAME)
continue; continue;
} }
if ((contestType == CONTEST_CATEGORY_COOL && gContestOpponents[i].aiPool_Cool) if ((contestType == CONTEST_CATEGORY_COOL && gContestOpponents[i].aiPool_Cool)

View File

@ -3,6 +3,103 @@
#include "contest.h" #include "contest.h"
#include "constants/species.h" #include "constants/species.h"
#define CONTEST_OPPONENT_JIMMY 0
#define CONTEST_OPPONENT_EDITH 1
#define CONTEST_OPPONENT_EVAN 2
#define CONTEST_OPPONENT_KELSEY 3
#define CONTEST_OPPONENT_MADISON 4
#define CONTEST_OPPONENT_RAYMOND 5
#define CONTEST_OPPONENT_GRANT 6
#define CONTEST_OPPONENT_PAIGE 7
#define CONTEST_OPPONENT_ALEC 8
#define CONTEST_OPPONENT_SYDNEY 9
#define CONTEST_OPPONENT_MORRIS 10
#define CONTEST_OPPONENT_MARIAH 11
#define CONTEST_OPPONENT_RUSSELL 12
#define CONTEST_OPPONENT_MELANIE 13
#define CONTEST_OPPONENT_CHANCE 14
#define CONTEST_OPPONENT_AGATHA 15
#define CONTEST_OPPONENT_BEAU 16
#define CONTEST_OPPONENT_KAY 17
#define CONTEST_OPPONENT_CALE 18
#define CONTEST_OPPONENT_CAITLIN 19
#define CONTEST_OPPONENT_COLBY 20
#define CONTEST_OPPONENT_KYLIE 21
#define CONTEST_OPPONENT_LIAM 22
#define CONTEST_OPPONENT_MILO 23
#define CONTEST_OPPONENT_KARINA 24
#define CONTEST_OPPONENT_BOBBY 25
#define CONTEST_OPPONENT_CLAIRE 26
#define CONTEST_OPPONENT_WILLIE 27
#define CONTEST_OPPONENT_CASSIDY 28
#define CONTEST_OPPONENT_MORGAN 29
#define CONTEST_OPPONENT_SUMMER 30
#define CONTEST_OPPONENT_MILES 31
#define CONTEST_OPPONENT_AUDREY 32
#define CONTEST_OPPONENT_AVERY 33
#define CONTEST_OPPONENT_ARIANA 34
#define CONTEST_OPPONENT_ASHTON 35
#define CONTEST_OPPONENT_SANDRA 36
#define CONTEST_OPPONENT_CARSON 37
#define CONTEST_OPPONENT_KATRINA 38
#define CONTEST_OPPONENT_LUKE 39
#define CONTEST_OPPONENT_RAUL 40
#define CONTEST_OPPONENT_JADA 41
#define CONTEST_OPPONENT_ZEEK 42
#define CONTEST_OPPONENT_DIEGO 43
#define CONTEST_OPPONENT_ALIYAH 44
#define CONTEST_OPPONENT_NATALIA 45
#define CONTEST_OPPONENT_DEVIN 46
#define CONTEST_OPPONENT_TYLOR 47
#define CONTEST_OPPONENT_RONNIE 48
#define CONTEST_OPPONENT_CLAUDIA 49
#define CONTEST_OPPONENT_ELIAS 50
#define CONTEST_OPPONENT_JADE 51
#define CONTEST_OPPONENT_FRANCIS 52
#define CONTEST_OPPONENT_ALISHA 53
#define CONTEST_OPPONENT_SAUL 54
#define CONTEST_OPPONENT_FELICIA 55
#define CONTEST_OPPONENT_EMILIO 56
#define CONTEST_OPPONENT_KARLA 57
#define CONTEST_OPPONENT_DARRYL 58
#define CONTEST_OPPONENT_SELENA 59
#define CONTEST_OPPONENT_NOEL 60
#define CONTEST_OPPONENT_LACEY 61
#define CONTEST_OPPONENT_CORBIN 62
#define CONTEST_OPPONENT_GRACIE 63
#define CONTEST_OPPONENT_COLTIN 64
#define CONTEST_OPPONENT_ELLIE 65
#define CONTEST_OPPONENT_MARCUS 66
#define CONTEST_OPPONENT_KIARA 67
#define CONTEST_OPPONENT_BRYCE 68
#define CONTEST_OPPONENT_JAMIE 69
#define CONTEST_OPPONENT_JORGE 70
#define CONTEST_OPPONENT_DEVON 71
#define CONTEST_OPPONENT_JUSTINA 72
#define CONTEST_OPPONENT_RALPH 73
#define CONTEST_OPPONENT_ROSA 74
#define CONTEST_OPPONENT_KEATON 75
#define CONTEST_OPPONENT_MAYRA 76
#define CONTEST_OPPONENT_LAMAR 77
#define CONTEST_OPPONENT_AUBREY 78
#define CONTEST_OPPONENT_NIGEL 79
#define CONTEST_OPPONENT_CAMILLE 80
#define CONTEST_OPPONENT_DEON 81
#define CONTEST_OPPONENT_JANELLE 82
#define CONTEST_OPPONENT_HEATH 83
#define CONTEST_OPPONENT_SASHA 84
#define CONTEST_OPPONENT_FRANKIE 85
#define CONTEST_OPPONENT_HELEN 86
#define CONTEST_OPPONENT_CAMILE 87
#define CONTEST_OPPONENT_MARTIN 88
#define CONTEST_OPPONENT_SERGIO 89
#define CONTEST_OPPONENT_KAILEY 90
#define CONTEST_OPPONENT_PERLA 91
#define CONTEST_OPPONENT_CLARA 92
#define CONTEST_OPPONENT_JAKOB 93
#define CONTEST_OPPONENT_TREY 94
#define CONTEST_OPPONENT_LANE 95
const struct ContestWinner gUnknown_08587FA4[] = const struct ContestWinner gUnknown_08587FA4[] =
{ {
{ {
@ -81,7 +178,7 @@ const struct ContestWinner gUnknown_08587FA4[] =
const struct ContestPokemon gContestOpponents[] = const struct ContestPokemon gContestOpponents[] =
{ {
{ [CONTEST_OPPONENT_JIMMY] = {
.species = SPECIES_POOCHYENA, .species = SPECIES_POOCHYENA,
.nickname = _("POOCHY"), .nickname = _("POOCHY"),
.trainerName = _("JIMMY"), .trainerName = _("JIMMY"),
@ -110,7 +207,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_EDITH] = {
.species = SPECIES_ILLUMISE, .species = SPECIES_ILLUMISE,
.nickname = _("MUSILLE"), .nickname = _("MUSILLE"),
.trainerName = _("EDITH"), .trainerName = _("EDITH"),
@ -139,7 +236,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_EVAN] = {
.species = SPECIES_DUSTOX, .species = SPECIES_DUSTOX,
.nickname = _("DUSTER"), .nickname = _("DUSTER"),
.trainerName = _("EVAN"), .trainerName = _("EVAN"),
@ -168,7 +265,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_KELSEY] = {
.species = SPECIES_SEEDOT, .species = SPECIES_SEEDOT,
.nickname = _("DOTS"), .nickname = _("DOTS"),
.trainerName = _("KELSEY"), .trainerName = _("KELSEY"),
@ -197,7 +294,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_MADISON] = {
.species = SPECIES_TAILLOW, .species = SPECIES_TAILLOW,
.nickname = _("TATAY"), .nickname = _("TATAY"),
.trainerName = _("MADISON"), .trainerName = _("MADISON"),
@ -226,7 +323,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_RAYMOND] = {
.species = SPECIES_NINCADA, .species = SPECIES_NINCADA,
.nickname = _("NINDA"), .nickname = _("NINDA"),
.trainerName = _("RAYMOND"), .trainerName = _("RAYMOND"),
@ -255,7 +352,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_GRANT] = {
.species = SPECIES_SHROOMISH, .species = SPECIES_SHROOMISH,
.nickname = _("SMISH"), .nickname = _("SMISH"),
.trainerName = _("GRANT"), .trainerName = _("GRANT"),
@ -284,7 +381,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_PAIGE] = {
.species = SPECIES_SPHEAL, .species = SPECIES_SPHEAL,
.nickname = _("SLEAL"), .nickname = _("SLEAL"),
.trainerName = _("PAIGE"), .trainerName = _("PAIGE"),
@ -313,7 +410,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_ALEC] = {
.species = SPECIES_SLAKOTH, .species = SPECIES_SLAKOTH,
.nickname = _("SLOKTH"), .nickname = _("SLOKTH"),
.trainerName = _("ALEC"), .trainerName = _("ALEC"),
@ -342,7 +439,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_SYDNEY] = {
.species = SPECIES_WHISMUR, .species = SPECIES_WHISMUR,
.nickname = _("WHIRIS"), .nickname = _("WHIRIS"),
.trainerName = _("SYDNEY"), .trainerName = _("SYDNEY"),
@ -371,7 +468,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_MORRIS] = {
.species = SPECIES_MAKUHITA, .species = SPECIES_MAKUHITA,
.nickname = _("MAHITA"), .nickname = _("MAHITA"),
.trainerName = _("MORRIS"), .trainerName = _("MORRIS"),
@ -400,7 +497,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_MARIAH] = {
.species = SPECIES_ARON, .species = SPECIES_ARON,
.nickname = _("RONAR"), .nickname = _("RONAR"),
.trainerName = _("MARIAH"), .trainerName = _("MARIAH"),
@ -429,7 +526,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_RUSSELL] = {
.species = SPECIES_CROBAT, .species = SPECIES_CROBAT,
.nickname = _("BATRO"), .nickname = _("BATRO"),
.trainerName = _("RUSSELL"), .trainerName = _("RUSSELL"),
@ -458,7 +555,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_MELANIE] = {
.species = SPECIES_GULPIN, .species = SPECIES_GULPIN,
.nickname = _("GULIN"), .nickname = _("GULIN"),
.trainerName = _("MELANIE"), .trainerName = _("MELANIE"),
@ -487,7 +584,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_CHANCE] = {
.species = SPECIES_MANECTRIC, .species = SPECIES_MANECTRIC,
.nickname = _("RIKELEC"), .nickname = _("RIKELEC"),
.trainerName = _("CHANCE"), .trainerName = _("CHANCE"),
@ -516,7 +613,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_AGATHA] = {
.species = SPECIES_BULBASAUR, .species = SPECIES_BULBASAUR,
.nickname = _("BULBY"), .nickname = _("BULBY"),
.trainerName = _("AGATHA"), .trainerName = _("AGATHA"),
@ -545,7 +642,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_BEAU] = {
.species = SPECIES_BUTTERFREE, .species = SPECIES_BUTTERFREE,
.nickname = _("FUTTERBE"), .nickname = _("FUTTERBE"),
.trainerName = _("BEAU"), .trainerName = _("BEAU"),
@ -574,7 +671,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_KAY] = {
.species = SPECIES_PIDGEOTTO, .species = SPECIES_PIDGEOTTO,
.nickname = _("PIDEOT"), .nickname = _("PIDEOT"),
.trainerName = _("KAY"), .trainerName = _("KAY"),
@ -603,7 +700,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_CALE] = {
.species = SPECIES_DIGLETT, .species = SPECIES_DIGLETT,
.nickname = _("DIGLE"), .nickname = _("DIGLE"),
.trainerName = _("CALE"), .trainerName = _("CALE"),
@ -632,7 +729,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_CAITLIN] = {
.species = SPECIES_POLIWAG, .species = SPECIES_POLIWAG,
.nickname = _("WAGIL"), .nickname = _("WAGIL"),
.trainerName = _("CAITLIN"), .trainerName = _("CAITLIN"),
@ -661,7 +758,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_COLBY] = {
.species = SPECIES_TOTODILE, .species = SPECIES_TOTODILE,
.nickname = _("TOTDIL"), .nickname = _("TOTDIL"),
.trainerName = _("COLBY"), .trainerName = _("COLBY"),
@ -690,7 +787,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_KYLIE] = {
.species = SPECIES_LEDYBA, .species = SPECIES_LEDYBA,
.nickname = _("BALEDY"), .nickname = _("BALEDY"),
.trainerName = _("KYLIE"), .trainerName = _("KYLIE"),
@ -719,7 +816,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_LIAM] = {
.species = SPECIES_DELIBIRD, .species = SPECIES_DELIBIRD,
.nickname = _("BIRDLY"), .nickname = _("BIRDLY"),
.trainerName = _("LIAM"), .trainerName = _("LIAM"),
@ -748,7 +845,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_MILO] = {
.species = SPECIES_LARVITAR, .species = SPECIES_LARVITAR,
.nickname = _("TARVITAR"), .nickname = _("TARVITAR"),
.trainerName = _("MILO"), .trainerName = _("MILO"),
@ -777,7 +874,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_KARINA] = {
.species = SPECIES_ROSELIA, .species = SPECIES_ROSELIA,
.nickname = _("RELIA"), .nickname = _("RELIA"),
.trainerName = _("KARINA"), .trainerName = _("KARINA"),
@ -806,7 +903,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_BOBBY] = {
.species = SPECIES_DODRIO, .species = SPECIES_DODRIO,
.nickname = _("DUODO"), .nickname = _("DUODO"),
.trainerName = _("BOBBY"), .trainerName = _("BOBBY"),
@ -835,7 +932,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_CLAIRE] = {
.species = SPECIES_TRAPINCH, .species = SPECIES_TRAPINCH,
.nickname = _("PINCHIN"), .nickname = _("PINCHIN"),
.trainerName = _("CLAIRE"), .trainerName = _("CLAIRE"),
@ -864,7 +961,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_WILLIE] = {
.species = SPECIES_CACNEA, .species = SPECIES_CACNEA,
.nickname = _("NACAC"), .nickname = _("NACAC"),
.trainerName = _("WILLIE"), .trainerName = _("WILLIE"),
@ -893,7 +990,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_CASSIDY] = {
.species = SPECIES_SANDSLASH, .species = SPECIES_SANDSLASH,
.nickname = _("SHRAND"), .nickname = _("SHRAND"),
.trainerName = _("CASSIDY"), .trainerName = _("CASSIDY"),
@ -922,7 +1019,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_MORGAN] = {
.species = SPECIES_BALTOY, .species = SPECIES_BALTOY,
.nickname = _("TOYBAL"), .nickname = _("TOYBAL"),
.trainerName = _("MORGAN"), .trainerName = _("MORGAN"),
@ -951,7 +1048,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_SUMMER] = {
.species = SPECIES_MEDICHAM, .species = SPECIES_MEDICHAM,
.nickname = _("CHAMCHAM"), .nickname = _("CHAMCHAM"),
.trainerName = _("SUMMER"), .trainerName = _("SUMMER"),
@ -980,7 +1077,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_MILES] = {
.species = SPECIES_SPINDA, .species = SPECIES_SPINDA,
.nickname = _("SPININ"), .nickname = _("SPININ"),
.trainerName = _("MILES"), .trainerName = _("MILES"),
@ -1009,7 +1106,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_AUDREY] = {
.species = SPECIES_SWABLU, .species = SPECIES_SWABLU,
.nickname = _("SWABY"), .nickname = _("SWABY"),
.trainerName = _("AUDREY"), .trainerName = _("AUDREY"),
@ -1038,7 +1135,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_AVERY] = {
.species = SPECIES_SPOINK, .species = SPECIES_SPOINK,
.nickname = _("POINKER"), .nickname = _("POINKER"),
.trainerName = _("AVERY"), .trainerName = _("AVERY"),
@ -1067,7 +1164,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_ARIANA] = {
.species = SPECIES_KECLEON, .species = SPECIES_KECLEON,
.nickname = _("KECON"), .nickname = _("KECON"),
.trainerName = _("ARIANA"), .trainerName = _("ARIANA"),
@ -1096,7 +1193,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_ASHTON] = {
.species = SPECIES_GOLDEEN, .species = SPECIES_GOLDEEN,
.nickname = _("GOLDEN"), .nickname = _("GOLDEN"),
.trainerName = _("ASHTON"), .trainerName = _("ASHTON"),
@ -1125,7 +1222,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_SANDRA] = {
.species = SPECIES_BARBOACH, .species = SPECIES_BARBOACH,
.nickname = _("BOBOACH"), .nickname = _("BOBOACH"),
.trainerName = _("SANDRA"), .trainerName = _("SANDRA"),
@ -1154,7 +1251,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_CARSON] = {
.species = SPECIES_SKARMORY, .species = SPECIES_SKARMORY,
.nickname = _("CORPY"), .nickname = _("CORPY"),
.trainerName = _("CARSON"), .trainerName = _("CARSON"),
@ -1183,7 +1280,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_KATRINA] = {
.species = SPECIES_LOTAD, .species = SPECIES_LOTAD,
.nickname = _("TADO"), .nickname = _("TADO"),
.trainerName = _("KATRINA"), .trainerName = _("KATRINA"),
@ -1212,7 +1309,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_LUKE] = {
.species = SPECIES_SLOWBRO, .species = SPECIES_SLOWBRO,
.nickname = _("BROWLO"), .nickname = _("BROWLO"),
.trainerName = _("LUKE"), .trainerName = _("LUKE"),
@ -1241,7 +1338,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_RAUL] = {
.species = SPECIES_FARFETCHD, .species = SPECIES_FARFETCHD,
.nickname = _("FETCHIN"), .nickname = _("FETCHIN"),
.trainerName = _("RAUL"), .trainerName = _("RAUL"),
@ -1270,7 +1367,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_JADA] = {
.species = SPECIES_SEEL, .species = SPECIES_SEEL,
.nickname = _("SEELEY"), .nickname = _("SEELEY"),
.trainerName = _("JADA"), .trainerName = _("JADA"),
@ -1299,7 +1396,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_ZEEK] = {
.species = SPECIES_DROWZEE, .species = SPECIES_DROWZEE,
.nickname = _("DROWZIN"), .nickname = _("DROWZIN"),
.trainerName = _("ZEEK"), .trainerName = _("ZEEK"),
@ -1328,7 +1425,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_DIEGO] = {
.species = SPECIES_HITMONCHAN, .species = SPECIES_HITMONCHAN,
.nickname = _("HITEMON"), .nickname = _("HITEMON"),
.trainerName = _("DIEGO"), .trainerName = _("DIEGO"),
@ -1357,7 +1454,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_ALIYAH] = {
.species = SPECIES_BLISSEY, .species = SPECIES_BLISSEY,
.nickname = _("BLISS"), .nickname = _("BLISS"),
.trainerName = _("ALIYAH"), .trainerName = _("ALIYAH"),
@ -1386,7 +1483,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_NATALIA] = {
.species = SPECIES_ELEKID, .species = SPECIES_ELEKID,
.nickname = _("KIDLEK"), .nickname = _("KIDLEK"),
.trainerName = _("NATALIA"), .trainerName = _("NATALIA"),
@ -1415,7 +1512,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_DEVIN] = {
.species = SPECIES_SNUBBULL, .species = SPECIES_SNUBBULL,
.nickname = _("SNUBBINS"), .nickname = _("SNUBBINS"),
.trainerName = _("DEVIN"), .trainerName = _("DEVIN"),
@ -1444,7 +1541,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_TYLOR] = {
.species = SPECIES_MISDREAVUS, .species = SPECIES_MISDREAVUS,
.nickname = _("DREAVIS"), .nickname = _("DREAVIS"),
.trainerName = _("TYLOR"), .trainerName = _("TYLOR"),
@ -1473,7 +1570,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_RONNIE] = {
.species = SPECIES_LAIRON, .species = SPECIES_LAIRON,
.nickname = _("LAIRN"), .nickname = _("LAIRN"),
.trainerName = _("RONNIE"), .trainerName = _("RONNIE"),
@ -1502,7 +1599,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_CLAUDIA] = {
.species = SPECIES_SHIFTRY, .species = SPECIES_SHIFTRY,
.nickname = _("SHIFTY"), .nickname = _("SHIFTY"),
.trainerName = _("CLAUDIA"), .trainerName = _("CLAUDIA"),
@ -1531,7 +1628,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_ELIAS] = {
.species = SPECIES_NINJASK, .species = SPECIES_NINJASK,
.nickname = _("NINAS"), .nickname = _("NINAS"),
.trainerName = _("ELIAS"), .trainerName = _("ELIAS"),
@ -1560,7 +1657,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_JADE] = {
.species = SPECIES_SWELLOW, .species = SPECIES_SWELLOW,
.nickname = _("WELOW"), .nickname = _("WELOW"),
.trainerName = _("JADE"), .trainerName = _("JADE"),
@ -1589,7 +1686,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_FRANCIS] = {
.species = SPECIES_MIGHTYENA, .species = SPECIES_MIGHTYENA,
.nickname = _("YENA"), .nickname = _("YENA"),
.trainerName = _("FRANCIS"), .trainerName = _("FRANCIS"),
@ -1618,7 +1715,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_ALISHA] = {
.species = SPECIES_BEAUTIFLY, .species = SPECIES_BEAUTIFLY,
.nickname = _("TIFLY"), .nickname = _("TIFLY"),
.trainerName = _("ALISHA"), .trainerName = _("ALISHA"),
@ -1647,7 +1744,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_SAUL] = {
.species = SPECIES_SEAKING, .species = SPECIES_SEAKING,
.nickname = _("KINGSEA"), .nickname = _("KINGSEA"),
.trainerName = _("SAUL"), .trainerName = _("SAUL"),
@ -1676,7 +1773,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_FELICIA] = {
.species = SPECIES_CASTFORM, .species = SPECIES_CASTFORM,
.nickname = _("CASTER"), .nickname = _("CASTER"),
.trainerName = _("FELICIA"), .trainerName = _("FELICIA"),
@ -1705,7 +1802,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_EMILIO] = {
.species = SPECIES_MACHOKE, .species = SPECIES_MACHOKE,
.nickname = _("CHOKEM"), .nickname = _("CHOKEM"),
.trainerName = _("EMILIO"), .trainerName = _("EMILIO"),
@ -1734,7 +1831,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_KARLA] = {
.species = SPECIES_LOMBRE, .species = SPECIES_LOMBRE,
.nickname = _("LOMBE"), .nickname = _("LOMBE"),
.trainerName = _("KARLA"), .trainerName = _("KARLA"),
@ -1763,7 +1860,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_DARRYL] = {
.species = SPECIES_SEVIPER, .species = SPECIES_SEVIPER,
.nickname = _("VIPES"), .nickname = _("VIPES"),
.trainerName = _("DARRYL"), .trainerName = _("DARRYL"),
@ -1792,7 +1889,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_SELENA] = {
.species = SPECIES_WAILMER, .species = SPECIES_WAILMER,
.nickname = _("MERAIL"), .nickname = _("MERAIL"),
.trainerName = _("SELENA"), .trainerName = _("SELENA"),
@ -1821,7 +1918,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_NOEL] = {
.species = SPECIES_MAGIKARP, .species = SPECIES_MAGIKARP,
.nickname = _("KARPAG"), .nickname = _("KARPAG"),
.trainerName = _("NOEL"), .trainerName = _("NOEL"),
@ -1850,7 +1947,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_LACEY] = {
.species = SPECIES_LUNATONE, .species = SPECIES_LUNATONE,
.nickname = _("LUNONE"), .nickname = _("LUNONE"),
.trainerName = _("LACEY"), .trainerName = _("LACEY"),
@ -1879,7 +1976,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_CORBIN] = {
.species = SPECIES_ABSOL, .species = SPECIES_ABSOL,
.nickname = _("ABSO"), .nickname = _("ABSO"),
.trainerName = _("CORBIN"), .trainerName = _("CORBIN"),
@ -1908,7 +2005,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_GRACIE] = {
.species = SPECIES_EXEGGUTOR, .species = SPECIES_EXEGGUTOR,
.nickname = _("EGGSOR"), .nickname = _("EGGSOR"),
.trainerName = _("GRACIE"), .trainerName = _("GRACIE"),
@ -1937,7 +2034,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_COLTIN] = {
.species = SPECIES_CUBONE, .species = SPECIES_CUBONE,
.nickname = _("CUBIN"), .nickname = _("CUBIN"),
.trainerName = _("COLTIN"), .trainerName = _("COLTIN"),
@ -1966,7 +2063,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_ELLIE] = {
.species = SPECIES_HITMONLEE, .species = SPECIES_HITMONLEE,
.nickname = _("HITMON"), .nickname = _("HITMON"),
.trainerName = _("ELLIE"), .trainerName = _("ELLIE"),
@ -1995,7 +2092,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_MARCUS] = {
.species = SPECIES_SQUIRTLE, .species = SPECIES_SQUIRTLE,
.nickname = _("SURTLE"), .nickname = _("SURTLE"),
.trainerName = _("MARCUS"), .trainerName = _("MARCUS"),
@ -2024,7 +2121,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_KIARA] = {
.species = SPECIES_KANGASKHAN, .species = SPECIES_KANGASKHAN,
.nickname = _("KHANKAN"), .nickname = _("KHANKAN"),
.trainerName = _("KIARA"), .trainerName = _("KIARA"),
@ -2053,7 +2150,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_BRYCE] = {
.species = SPECIES_PINECO, .species = SPECIES_PINECO,
.nickname = _("PINOC"), .nickname = _("PINOC"),
.trainerName = _("BRYCE"), .trainerName = _("BRYCE"),
@ -2082,7 +2179,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_JAMIE] = {
.species = SPECIES_DUNSPARCE, .species = SPECIES_DUNSPARCE,
.nickname = _("DILTOT"), .nickname = _("DILTOT"),
.trainerName = _("JAMIE"), .trainerName = _("JAMIE"),
@ -2111,7 +2208,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_JORGE] = {
.species = SPECIES_HOUNDOOM, .species = SPECIES_HOUNDOOM,
.nickname = _("DOOMOND"), .nickname = _("DOOMOND"),
.trainerName = _("JORGE"), .trainerName = _("JORGE"),
@ -2140,7 +2237,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_DEVON] = {
.species = SPECIES_MILTANK, .species = SPECIES_MILTANK,
.nickname = _("MILKAN"), .nickname = _("MILKAN"),
.trainerName = _("DEVON"), .trainerName = _("DEVON"),
@ -2169,7 +2266,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_JUSTINA] = {
.species = SPECIES_GYARADOS, .species = SPECIES_GYARADOS,
.nickname = _("RADOS"), .nickname = _("RADOS"),
.trainerName = _("JUSTINA"), .trainerName = _("JUSTINA"),
@ -2198,7 +2295,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_RALPH] = {
.species = SPECIES_LOUDRED, .species = SPECIES_LOUDRED,
.nickname = _("LOUDERD"), .nickname = _("LOUDERD"),
.trainerName = _("RALPH"), .trainerName = _("RALPH"),
@ -2227,7 +2324,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_ROSA] = {
.species = SPECIES_SKITTY, .species = SPECIES_SKITTY,
.nickname = _("SITTY"), .nickname = _("SITTY"),
.trainerName = _("ROSA"), .trainerName = _("ROSA"),
@ -2256,7 +2353,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_KEATON] = {
.species = SPECIES_SLAKING, .species = SPECIES_SLAKING,
.nickname = _("SLING"), .nickname = _("SLING"),
.trainerName = _("KEATON"), .trainerName = _("KEATON"),
@ -2285,7 +2382,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_MAYRA] = {
.species = SPECIES_ALTARIA, .species = SPECIES_ALTARIA,
.nickname = _("TARIA"), .nickname = _("TARIA"),
.trainerName = _("MAYRA"), .trainerName = _("MAYRA"),
@ -2314,7 +2411,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_LAMAR] = {
.species = SPECIES_KIRLIA, .species = SPECIES_KIRLIA,
.nickname = _("LIRKI"), .nickname = _("LIRKI"),
.trainerName = _("LAMAR"), .trainerName = _("LAMAR"),
@ -2343,7 +2440,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_AUBREY] = {
.species = SPECIES_BELLOSSOM, .species = SPECIES_BELLOSSOM,
.nickname = _("BLOSSOM"), .nickname = _("BLOSSOM"),
.trainerName = _("AUBREY"), .trainerName = _("AUBREY"),
@ -2372,7 +2469,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_NIGEL] = {
.species = SPECIES_SABLEYE, .species = SPECIES_SABLEYE,
.nickname = _("EYESAB"), .nickname = _("EYESAB"),
.trainerName = _("NIGEL"), .trainerName = _("NIGEL"),
@ -2401,7 +2498,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_CAMILLE] = {
.species = SPECIES_NATU, .species = SPECIES_NATU,
.nickname = _("UTAN"), .nickname = _("UTAN"),
.trainerName = _("CAMILLE"), .trainerName = _("CAMILLE"),
@ -2430,7 +2527,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_DEON] = {
.species = SPECIES_SHARPEDO, .species = SPECIES_SHARPEDO,
.nickname = _("PEDOS"), .nickname = _("PEDOS"),
.trainerName = _("DEON"), .trainerName = _("DEON"),
@ -2459,7 +2556,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_JANELLE] = {
.species = SPECIES_LUVDISC, .species = SPECIES_LUVDISC,
.nickname = _("LUVIS"), .nickname = _("LUVIS"),
.trainerName = _("JANELLE"), .trainerName = _("JANELLE"),
@ -2488,7 +2585,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_HEATH] = {
.species = SPECIES_HERACROSS, .species = SPECIES_HERACROSS,
.nickname = _("HEROSS"), .nickname = _("HEROSS"),
.trainerName = _("HEATH"), .trainerName = _("HEATH"),
@ -2517,7 +2614,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_SASHA] = {
.species = SPECIES_ELECTRODE, .species = SPECIES_ELECTRODE,
.nickname = _("RODLECT"), .nickname = _("RODLECT"),
.trainerName = _("SASHA"), .trainerName = _("SASHA"),
@ -2546,7 +2643,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_FRANKIE] = {
.species = SPECIES_PICHU, .species = SPECIES_PICHU,
.nickname = _("CHUPY"), .nickname = _("CHUPY"),
.trainerName = _("FRANKIE"), .trainerName = _("FRANKIE"),
@ -2575,7 +2672,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_HELEN] = {
.species = SPECIES_WOBBUFFET, .species = SPECIES_WOBBUFFET,
.nickname = _("WOBET"), .nickname = _("WOBET"),
.trainerName = _("HELEN"), .trainerName = _("HELEN"),
@ -2604,7 +2701,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_CAMILE] = {
.species = SPECIES_GENGAR, .species = SPECIES_GENGAR,
.nickname = _("GAREN"), .nickname = _("GAREN"),
.trainerName = _("CAMILE"), .trainerName = _("CAMILE"),
@ -2633,7 +2730,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_MARTIN] = {
.species = SPECIES_PORYGON, .species = SPECIES_PORYGON,
.nickname = _("GONPOR"), .nickname = _("GONPOR"),
.trainerName = _("MARTIN"), .trainerName = _("MARTIN"),
@ -2662,7 +2759,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_SERGIO] = {
.species = SPECIES_DRAGONITE, .species = SPECIES_DRAGONITE,
.nickname = _("DRITE"), .nickname = _("DRITE"),
.trainerName = _("SERGIO"), .trainerName = _("SERGIO"),
@ -2691,7 +2788,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_KAILEY] = {
.species = SPECIES_MEOWTH, .species = SPECIES_MEOWTH,
.nickname = _("MEOWY"), .nickname = _("MEOWY"),
.trainerName = _("KAILEY"), .trainerName = _("KAILEY"),
@ -2720,7 +2817,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_PERLA] = {
.species = SPECIES_JYNX, .species = SPECIES_JYNX,
.nickname = _("NYX"), .nickname = _("NYX"),
.trainerName = _("PERLA"), .trainerName = _("PERLA"),
@ -2749,7 +2846,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_CLARA] = {
.species = SPECIES_TOGEPI, .species = SPECIES_TOGEPI,
.nickname = _("GEPITO"), .nickname = _("GEPITO"),
.trainerName = _("CLARA"), .trainerName = _("CLARA"),
@ -2778,7 +2875,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_JAKOB] = {
.species = SPECIES_ESPEON, .species = SPECIES_ESPEON,
.nickname = _("SPEON"), .nickname = _("SPEON"),
.trainerName = _("JAKOB"), .trainerName = _("JAKOB"),
@ -2807,7 +2904,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_TREY] = {
.species = SPECIES_SLOWKING, .species = SPECIES_SLOWKING,
.nickname = _("SLOWGO"), .nickname = _("SLOWGO"),
.trainerName = _("TREY"), .trainerName = _("TREY"),
@ -2836,7 +2933,7 @@ const struct ContestPokemon gContestOpponents[] =
.personality = 0, .personality = 0,
.otId = 0xFFFF .otId = 0xFFFF
}, },
{ [CONTEST_OPPONENT_LANE] = {
.species = SPECIES_URSARING, .species = SPECIES_URSARING,
.nickname = _("URSING"), .nickname = _("URSING"),
.trainerName = _("LANE"), .trainerName = _("LANE"),
@ -2866,3 +2963,104 @@ const struct ContestPokemon gContestOpponents[] =
.otId = 0xFFFF .otId = 0xFFFF
} }
}; };
const u8 gPostgameContestOpponentFilter[] =
{
[CONTEST_OPPONENT_JIMMY] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_EDITH] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_EVAN] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_KELSEY] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_MADISON] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_RAYMOND] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_GRANT] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_PAIGE] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_ALEC] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_SYDNEY] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_MORRIS] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_MARIAH] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_RUSSELL] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_MELANIE] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_CHANCE] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_AGATHA] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_BEAU] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_KAY] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_CALE] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_CAITLIN] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_COLBY] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_KYLIE] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_LIAM] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_MILO] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_KARINA] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_BOBBY] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_CLAIRE] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_WILLIE] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_CASSIDY] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_MORGAN] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_SUMMER] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_MILES] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_AUDREY] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_AVERY] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_ARIANA] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_ASHTON] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_SANDRA] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_CARSON] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_KATRINA] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_LUKE] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_RAUL] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_JADA] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_ZEEK] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_DIEGO] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_ALIYAH] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_NATALIA] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_DEVIN] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_TYLOR] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_RONNIE] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_CLAUDIA] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_ELIAS] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_JADE] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_FRANCIS] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_ALISHA] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_SAUL] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_FELICIA] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_EMILIO] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_KARLA] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_DARRYL] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_SELENA] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_NOEL] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_LACEY] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_CORBIN] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_GRACIE] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_COLTIN] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_ELLIE] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_MARCUS] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_KIARA] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_BRYCE] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_JAMIE] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_JORGE] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_DEVON] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_JUSTINA] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_RALPH] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_ROSA] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_KEATON] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_MAYRA] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_LAMAR] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_AUBREY] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_NIGEL] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_CAMILLE] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_DEON] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_JANELLE] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_HEATH] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_SASHA] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_FRANKIE] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_HELEN] = CONTEST_FILTER_NONE,
[CONTEST_OPPONENT_CAMILE] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_MARTIN] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_SERGIO] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_KAILEY] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_PERLA] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_CLARA] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_JAKOB] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_TREY] = CONTEST_FILTER_ONLY_POSTGAME,
[CONTEST_OPPONENT_LANE] = CONTEST_FILTER_ONLY_POSTGAME
};