From fa433964eb87d4a0bad942a303c189b9d51859eb Mon Sep 17 00:00:00 2001 From: ghoulslash Date: Wed, 27 Mar 2024 22:00:12 -0400 Subject: [PATCH] more customization to struct FacilityMon, remove facility item ids, convert vanilla data, add CreateFacilityMon universal function --- include/battle_tower.h | 14 +- include/constants/battle_frontier.h | 66 +- src/battle_dome.c | 98 +- src/battle_factory.c | 108 +- src/battle_factory_screen.c | 32 +- src/battle_tent.c | 8 +- src/battle_tower.c | 262 +- .../battle_frontier/battle_frontier_mons.h | 3528 ++++++++--------- src/data/battle_frontier/battle_tent.h | 640 +-- 9 files changed, 2254 insertions(+), 2502 deletions(-) diff --git a/include/battle_tower.h b/include/battle_tower.h index a80314592726..b12dfd89d189 100644 --- a/include/battle_tower.h +++ b/include/battle_tower.h @@ -28,16 +28,21 @@ struct FacilityMon { u16 species; u16 moves[MAX_MON_MOVES]; - u8 itemTableId; - u8 evSpread; - u8 nature; + u16 itemId; + const u8 *evSpread; + const u8 *ivs; // if not NULL, overrides default fixedIV values + u16 ability; + u8 ball; + u8 friendship; + u8 nature:5; + u8 gender:2; + u8 isShiny:1; }; extern const u8 gTowerMaleFacilityClasses[30]; extern const u8 gTowerMaleTrainerGfxIds[30]; extern const u8 gTowerFemaleFacilityClasses[20]; extern const u8 gTowerFemaleTrainerGfxIds[20]; -extern const u16 gBattleFrontierHeldItems[]; extern const struct FacilityMon gBattleFrontierMons[]; extern const struct BattleFrontierTrainer gBattleFrontierTrainers[]; extern const struct FacilityMon gSlateportBattleTentMons[]; @@ -84,5 +89,6 @@ s32 GetHighestLevelInPlayerParty(void); u8 FacilityClassToGraphicsId(u8 facilityClass); bool32 ValidateBattleTowerRecord(u8 recordId); // unused void TrySetLinkBattleTowerEnemyPartyLevel(void); +void CreateFacilityMon(const struct FacilityMon *fmon, u16 level, u8 fixedIV, u32 otID, u32 flags, struct Pokemon *dst); #endif //GUARD_BATTLE_TOWER_H diff --git a/include/constants/battle_frontier.h b/include/constants/battle_frontier.h index e4a56b15d147..7b3c77cc8fc1 100644 --- a/include/constants/battle_frontier.h +++ b/include/constants/battle_frontier.h @@ -116,6 +116,7 @@ #define EXCHANGE_CORNER_VITAMIN_CLERK 2 #define EXCHANGE_CORNER_HOLD_ITEM_CLERK 3 +// unused #define F_EV_SPREAD_HP (1 << 0) #define F_EV_SPREAD_ATTACK (1 << 1) #define F_EV_SPREAD_DEFENSE (1 << 2) @@ -123,68 +124,7 @@ #define F_EV_SPREAD_SP_ATTACK (1 << 4) #define F_EV_SPREAD_SP_DEFENSE (1 << 5) -#define BATTLE_FRONTIER_ITEM_NONE 0 -#define BATTLE_FRONTIER_ITEM_KINGS_ROCK 1 -#define BATTLE_FRONTIER_ITEM_SITRUS_BERRY 2 -#define BATTLE_FRONTIER_ITEM_ORAN_BERRY 3 -#define BATTLE_FRONTIER_ITEM_CHESTO_BERRY 4 -#define BATTLE_FRONTIER_ITEM_HARD_STONE 5 -#define BATTLE_FRONTIER_ITEM_FOCUS_BAND 6 -#define BATTLE_FRONTIER_ITEM_PERSIM_BERRY 7 -#define BATTLE_FRONTIER_ITEM_MIRACLE_SEED 8 -#define BATTLE_FRONTIER_ITEM_BERRY_JUICE 9 -#define BATTLE_FRONTIER_ITEM_MACHO_BRACE 10 -#define BATTLE_FRONTIER_ITEM_SILVER_POWDER 11 -#define BATTLE_FRONTIER_ITEM_CHERI_BERRY 12 -#define BATTLE_FRONTIER_ITEM_BLACK_GLASSES 13 -#define BATTLE_FRONTIER_ITEM_BLACK_BELT 14 -#define BATTLE_FRONTIER_ITEM_SOUL_DEW 15 -#define BATTLE_FRONTIER_ITEM_CHOICE_BAND 16 -#define BATTLE_FRONTIER_ITEM_MAGNET 17 -#define BATTLE_FRONTIER_ITEM_SILK_SCARF 18 -#define BATTLE_FRONTIER_ITEM_WHITE_HERB 19 -#define BATTLE_FRONTIER_ITEM_DEEP_SEA_SCALE 20 -#define BATTLE_FRONTIER_ITEM_DEEP_SEA_TOOTH 21 -#define BATTLE_FRONTIER_ITEM_MYSTIC_WATER 22 -#define BATTLE_FRONTIER_ITEM_SHARP_BEAK 23 -#define BATTLE_FRONTIER_ITEM_QUICK_CLAW 24 -#define BATTLE_FRONTIER_ITEM_LEFTOVERS 25 -#define BATTLE_FRONTIER_ITEM_RAWST_BERRY 26 -#define BATTLE_FRONTIER_ITEM_LIGHT_BALL 27 -#define BATTLE_FRONTIER_ITEM_POISON_BARB 28 -#define BATTLE_FRONTIER_ITEM_NEVER_MELT_ICE 29 -#define BATTLE_FRONTIER_ITEM_ASPEAR_BERRY 30 -#define BATTLE_FRONTIER_ITEM_SPELL_TAG 31 -#define BATTLE_FRONTIER_ITEM_BRIGHT_POWDER 32 -#define BATTLE_FRONTIER_ITEM_LEPPA_BERRY 33 -#define BATTLE_FRONTIER_ITEM_SCOPE_LENS 34 -#define BATTLE_FRONTIER_ITEM_TWISTED_SPOON 35 -#define BATTLE_FRONTIER_ITEM_METAL_COAT 36 -#define BATTLE_FRONTIER_ITEM_MENTAL_HERB 37 -#define BATTLE_FRONTIER_ITEM_CHARCOAL 38 -#define BATTLE_FRONTIER_ITEM_PECHA_BERRY 39 -#define BATTLE_FRONTIER_ITEM_SOFT_SAND 40 -#define BATTLE_FRONTIER_ITEM_LUM_BERRY 41 -#define BATTLE_FRONTIER_ITEM_DRAGON_SCALE 42 -#define BATTLE_FRONTIER_ITEM_DRAGON_FANG 43 -#define BATTLE_FRONTIER_ITEM_IAPAPA_BERRY 44 -#define BATTLE_FRONTIER_ITEM_WIKI_BERRY 45 -#define BATTLE_FRONTIER_ITEM_SEA_INCENSE 46 -#define BATTLE_FRONTIER_ITEM_SHELL_BELL 47 -#define BATTLE_FRONTIER_ITEM_SALAC_BERRY 48 -#define BATTLE_FRONTIER_ITEM_LANSAT_BERRY 49 -#define BATTLE_FRONTIER_ITEM_APICOT_BERRY 50 -#define BATTLE_FRONTIER_ITEM_STARF_BERRY 51 -#define BATTLE_FRONTIER_ITEM_LIECHI_BERRY 52 -#define BATTLE_FRONTIER_ITEM_LEEK 53 -#define BATTLE_FRONTIER_ITEM_LAX_INCENSE 54 -#define BATTLE_FRONTIER_ITEM_AGUAV_BERRY 55 -#define BATTLE_FRONTIER_ITEM_FIGY_BERRY 56 -#define BATTLE_FRONTIER_ITEM_THICK_CLUB 57 -#define BATTLE_FRONTIER_ITEM_MAGO_BERRY 58 -#define BATTLE_FRONTIER_ITEM_METAL_POWDER 59 -#define BATTLE_FRONTIER_ITEM_PETAYA_BERRY 60 -#define BATTLE_FRONTIER_ITEM_LUCKY_PUNCH 61 -#define BATTLE_FRONTIER_ITEM_GANLON_BERRY 62 +// CreateFacilityMonFlags +#define FLAG_FRONTIER_MON_FACTORY (1 << 0) #endif // GUARD_CONSTANTS_BATTLE_FRONTIER_H diff --git a/src/battle_dome.c b/src/battle_dome.c index 0978ae488887..cb9543e03f93 100644 --- a/src/battle_dome.c +++ b/src/battle_dome.c @@ -107,7 +107,7 @@ enum { static u8 GetDomeTrainerMonIvs(u16); static void SwapDomeTrainers(int, int, u16 *); -static void CalcDomeMonStats(u16, int, int, u8, u8, int *); +static void CalcDomeMonStats(const struct FacilityMon *fmon, int level, u8 ivs, int *stats); static void CreateDomeOpponentMons(u16); static int SelectOpponentMons_Good(u16, bool8); static int SelectOpponentMons_Bad(u16, bool8); @@ -2000,7 +2000,7 @@ static void InitDomeTrainers(void) if (alreadySelectedMonId == monId || species[0] == gFacilityTrainerMons[monId].species || species[1] == gFacilityTrainerMons[monId].species - || gFacilityTrainerMons[alreadySelectedMonId].itemTableId == gFacilityTrainerMons[monId].itemTableId) + || gFacilityTrainerMons[alreadySelectedMonId].itemId == gFacilityTrainerMons[monId].itemId) break; } } while (k != j); @@ -2053,11 +2053,8 @@ static void InitDomeTrainers(void) ivs = GetDomeTrainerMonIvs(DOME_TRAINERS[i].trainerId); for (j = 0; j < FRONTIER_PARTY_SIZE; j++) { - CalcDomeMonStats(gFacilityTrainerMons[DOME_MONS[i][j]].species, - monLevel, ivs, - gFacilityTrainerMons[DOME_MONS[i][j]].evSpread, - gFacilityTrainerMons[DOME_MONS[i][j]].nature, - statValues); + CalcDomeMonStats(&gFacilityTrainerMons[DOME_MONS[i][j]], + monLevel, ivs, statValues); rankingScores[i] += statValues[STAT_ATK]; rankingScores[i] += statValues[STAT_DEF]; @@ -2130,40 +2127,31 @@ static void InitDomeTrainers(void) #define CALC_STAT(base, statIndex) \ { \ - u8 baseStat = gSpeciesInfo[species].base; \ + u8 baseStat = gSpeciesInfo[fmon->species].base; \ stats[statIndex] = (((2 * baseStat + ivs + evs[statIndex] / 4) * level) / 100) + 5; \ - stats[statIndex] = (u8) ModifyStatByNature(nature, stats[statIndex], statIndex); \ + stats[statIndex] = (u8) ModifyStatByNature(fmon->nature, stats[statIndex], statIndex); \ } -static void CalcDomeMonStats(u16 species, int level, int ivs, u8 evBits, u8 nature, int *stats) +static void CalcDomeMonStats(const struct FacilityMon *fmon, int level, u8 ivs, int *stats) { - int i, count; - u8 bits; - u16 resultingEvs; int evs[NUM_STATS]; - - count = 0, bits = evBits; - for (i = 0; i < NUM_STATS; bits >>= 1, i++) - { - if (bits & 1) - count++; - } - - resultingEvs = MAX_TOTAL_EVS / count; - for (i = 0; i < NUM_STATS; bits <<= 1, i++) + int i; + + for (i = 0; i < NUM_STATS; i++) { - evs[i] = 0; - if (evBits & bits) - evs[i] = resultingEvs; + if (fmon->evSpread != NULL) + evs[i] = fmon->evSpread[i]; + else + evs[i] = 0; } - - if (species == SPECIES_SHEDINJA) + + if (fmon->species == SPECIES_SHEDINJA) { stats[STAT_HP] = 1; } else { - int n = 2 * gSpeciesInfo[species].baseHP; + int n = 2 * gSpeciesInfo[fmon->species].baseHP; stats[STAT_HP] = (((n + ivs + evs[STAT_HP] / 4) * level) / 100) + level + 10; } @@ -2205,33 +2193,15 @@ static void InitDomeOpponentParty(void) static void CreateDomeOpponentMon(u8 monPartyId, u16 tournamentTrainerId, u8 tournamentMonId, u32 otId) { - int i; - u8 friendship = MAX_FRIENDSHIP; #ifdef BUGFIX u8 fixedIv = GetDomeTrainerMonIvs(DOME_TRAINERS[tournamentTrainerId].trainerId); #else u8 fixedIv = GetDomeTrainerMonIvs(tournamentTrainerId); // BUG: Using the wrong ID. As a result, all Pokémon have ivs of 3. #endif u8 level = SetFacilityPtrsGetLevel(); - CreateMonWithEVSpreadNatureOTID(&gEnemyParty[monPartyId], - gFacilityTrainerMons[DOME_MONS[tournamentTrainerId][tournamentMonId]].species, - level, - gFacilityTrainerMons[DOME_MONS[tournamentTrainerId][tournamentMonId]].nature, - fixedIv, - gFacilityTrainerMons[DOME_MONS[tournamentTrainerId][tournamentMonId]].evSpread, otId); - - friendship = MAX_FRIENDSHIP; - for (i = 0; i < MAX_MON_MOVES; i++) - { - SetMonMoveSlot(&gEnemyParty[monPartyId], - gFacilityTrainerMons[DOME_MONS[tournamentTrainerId][tournamentMonId]].moves[i], i); - if (gMovesInfo[gFacilityTrainerMons[DOME_MONS[tournamentTrainerId][tournamentMonId]].moves[i]].effect == EFFECT_FRUSTRATION) - friendship = 0; - } - - SetMonData(&gEnemyParty[monPartyId], MON_DATA_FRIENDSHIP, &friendship); - SetMonData(&gEnemyParty[monPartyId], MON_DATA_HELD_ITEM, - &gBattleFrontierHeldItems[gFacilityTrainerMons[DOME_MONS[tournamentTrainerId][tournamentMonId]].itemTableId]); + + CreateFacilityMon(&gFacilityTrainerMons[DOME_MONS[tournamentTrainerId][tournamentMonId]], + level, fixedIv, otId, 0, &gEnemyParty[monPartyId]); } static void CreateDomeOpponentMons(u16 tournamentTrainerId) @@ -4463,23 +4433,14 @@ static void DisplayTrainerInfoOnCard(u8 flags, u8 trainerTourneyId) { for (i = 0; i < FRONTIER_PARTY_SIZE; i++) { - int evBits = gFacilityTrainerMons[DOME_MONS[trainerTourneyId][i]].evSpread; - for (k = 0, j = 0; j < NUM_STATS; j++) - { - allocatedArray[j] = 0; - if (evBits & 1) - k++; - evBits >>= 1; - } - k = MAX_TOTAL_EVS / k; - evBits = gFacilityTrainerMons[DOME_MONS[trainerTourneyId][i]].evSpread; for (j = 0; j < NUM_STATS; j++) { - if (evBits & 1) - allocatedArray[j] = k; - evBits >>= 1; + if (gFacilityTrainerMons[DOME_MONS[trainerTourneyId][i]].evSpread != NULL) + allocatedArray[j] = gFacilityTrainerMons[DOME_MONS[trainerTourneyId][i]].evSpread[j]; + else + allocatedArray[j] = 0; } - + allocatedArray[NUM_STATS] += allocatedArray[STAT_HP]; for (j = 0; j < NUM_NATURE_STATS; j++) { @@ -5800,7 +5761,7 @@ static void InitRandomTourneyTreeResults(void) if (alreadySelectedMonId == monId || species[0] == gFacilityTrainerMons[monId].species || species[1] == gFacilityTrainerMons[monId].species - || gFacilityTrainerMons[alreadySelectedMonId].itemTableId == gFacilityTrainerMons[monId].itemTableId) + || gFacilityTrainerMons[alreadySelectedMonId].itemId == gFacilityTrainerMons[monId].itemId) break; } } while (k != j); @@ -5821,11 +5782,8 @@ static void InitRandomTourneyTreeResults(void) ivs = GetDomeTrainerMonIvs(DOME_TRAINERS[i].trainerId); for (j = 0; j < FRONTIER_PARTY_SIZE; j++) { - CalcDomeMonStats(gFacilityTrainerMons[DOME_MONS[i][j]].species, - monLevel, ivs, - gFacilityTrainerMons[DOME_MONS[i][j]].evSpread, - gFacilityTrainerMons[DOME_MONS[i][j]].nature, - statValues); + CalcDomeMonStats(&gFacilityTrainerMons[DOME_MONS[i][j]], + monLevel, ivs, statValues); statSums[i] += statValues[STAT_ATK]; statSums[i] += statValues[STAT_DEF]; diff --git a/src/battle_factory.c b/src/battle_factory.c index 8e3f84b359d7..8bcb5d0c0f2a 100644 --- a/src/battle_factory.c +++ b/src/battle_factory.c @@ -362,7 +362,7 @@ static void GenerateOpponentMons(void) // Ensure held items don't repeat on the opponent's team for (k = firstMonId; k < firstMonId + i; k++) { - if (heldItems[k] != ITEM_NONE && heldItems[k] == gBattleFrontierHeldItems[gFacilityTrainerMons[monId].itemTableId]) + if (heldItems[k] != ITEM_NONE && heldItems[k] == gFacilityTrainerMons[monId].itemId) break; } if (k != firstMonId + i) @@ -370,7 +370,7 @@ static void GenerateOpponentMons(void) // Successful selection species[i] = gFacilityTrainerMons[monId].species; - heldItems[i] = gBattleFrontierHeldItems[gFacilityTrainerMons[monId].itemTableId]; + heldItems[i] = gFacilityTrainerMons[monId].itemId; gFrontierTempParty[i] = monId; i++; } @@ -396,21 +396,17 @@ static void SetRentalsToOpponentParty(void) gSaveBlock2Ptr->frontier.rentalMons[i + FRONTIER_PARTY_SIZE].ivs = GetBoxMonData(&gEnemyParty[i].box, MON_DATA_ATK_IV, NULL); gSaveBlock2Ptr->frontier.rentalMons[i + FRONTIER_PARTY_SIZE].personality = GetMonData(&gEnemyParty[i], MON_DATA_PERSONALITY, NULL); gSaveBlock2Ptr->frontier.rentalMons[i + FRONTIER_PARTY_SIZE].abilityNum = GetBoxMonData(&gEnemyParty[i].box, MON_DATA_ABILITY_NUM, NULL); - SetMonData(&gEnemyParty[i], MON_DATA_HELD_ITEM, &gBattleFrontierHeldItems[gFacilityTrainerMons[gFrontierTempParty[i]].itemTableId]); + SetMonData(&gEnemyParty[i], MON_DATA_HELD_ITEM, &gFacilityTrainerMons[gFrontierTempParty[i]].itemId); } } static void SetPlayerAndOpponentParties(void) { - int i, j, k; - int count = 0; - u8 bits = 0; + int i; u8 monLevel; u16 monId; - u16 evs; u8 ivs; - u8 friendship; - + if (gSaveBlock2Ptr->frontier.lvlMode == FRONTIER_LVL_TENT) { gFacilityTrainerMons = gSlateportBattleTentMons; @@ -432,36 +428,11 @@ static void SetPlayerAndOpponentParties(void) { monId = gSaveBlock2Ptr->frontier.rentalMons[i].monId; ivs = gSaveBlock2Ptr->frontier.rentalMons[i].ivs; - CreateMon(&gPlayerParty[i], - gFacilityTrainerMons[monId].species, - monLevel, - ivs, - TRUE, gSaveBlock2Ptr->frontier.rentalMons[i].personality, - OT_ID_PLAYER_ID, 0); - - count = 0; - bits = gFacilityTrainerMons[monId].evSpread; - for (j = 0; j < NUM_STATS; bits >>= 1, j++) - { - if (bits & 1) - count++; - } - - evs = MAX_TOTAL_EVS / count; - bits = 1; - for (j = 0; j < NUM_STATS; bits <<= 1, j++) - { - if (gFacilityTrainerMons[monId].evSpread & bits) - SetMonData(&gPlayerParty[i], MON_DATA_HP_EV + j, &evs); - } - + + CreateFacilityMon(&gFacilityTrainerMons[monId], monLevel, ivs, OT_ID_PLAYER_ID, FLAG_FRONTIER_MON_FACTORY, &gPlayerParty[i]); + SetMonData(&gPlayerParty[i], MON_DATA_PERSONALITY, + &gSaveBlock2Ptr->frontier.rentalMons[i].personality); CalculateMonStats(&gPlayerParty[i]); - friendship = 0; - for (k = 0; k < MAX_MON_MOVES; k++) - SetMonMoveAvoidReturn(&gPlayerParty[i], gFacilityTrainerMons[monId].moves[k], k); - SetMonData(&gPlayerParty[i], MON_DATA_FRIENDSHIP, &friendship); - SetMonData(&gPlayerParty[i], MON_DATA_HELD_ITEM, &gBattleFrontierHeldItems[gFacilityTrainerMons[monId].itemTableId]); - SetMonData(&gPlayerParty[i], MON_DATA_ABILITY_NUM, &gSaveBlock2Ptr->frontier.rentalMons[i].abilityNum); } } @@ -473,34 +444,12 @@ static void SetPlayerAndOpponentParties(void) { monId = gSaveBlock2Ptr->frontier.rentalMons[i + FRONTIER_PARTY_SIZE].monId; ivs = gSaveBlock2Ptr->frontier.rentalMons[i + FRONTIER_PARTY_SIZE].ivs; - CreateMon(&gEnemyParty[i], - gFacilityTrainerMons[monId].species, - monLevel, - ivs, - TRUE, gSaveBlock2Ptr->frontier.rentalMons[i + FRONTIER_PARTY_SIZE].personality, - OT_ID_PLAYER_ID, 0); - - count = 0; - bits = gFacilityTrainerMons[monId].evSpread; - for (j = 0; j < NUM_STATS; bits >>= 1, j++) - { - if (bits & 1) - count++; - } - - evs = MAX_TOTAL_EVS / count; - bits = 1; - for (j = 0; j < NUM_STATS; bits <<= 1, j++) - { - if (gFacilityTrainerMons[monId].evSpread & bits) - SetMonData(&gEnemyParty[i], MON_DATA_HP_EV + j, &evs); - } - - CalculateMonStats(&gEnemyParty[i]); - for (k = 0; k < MAX_MON_MOVES; k++) - SetMonMoveAvoidReturn(&gEnemyParty[i], gFacilityTrainerMons[monId].moves[k], k); - SetMonData(&gEnemyParty[i], MON_DATA_HELD_ITEM, &gBattleFrontierHeldItems[gFacilityTrainerMons[monId].itemTableId]); - SetMonData(&gEnemyParty[i], MON_DATA_ABILITY_NUM, &gSaveBlock2Ptr->frontier.rentalMons[i + FRONTIER_PARTY_SIZE].abilityNum); + CreateFacilityMon(&gFacilityTrainerMons[monId], + monLevel, ivs, OT_ID_PLAYER_ID, FLAG_FRONTIER_MON_FACTORY, + &gEnemyParty[i]); + SetMonData(&gPlayerParty[i], MON_DATA_PERSONALITY, + &gSaveBlock2Ptr->frontier.rentalMons[i + FRONTIER_PARTY_SIZE].personality); + CalculateMonStats(&gPlayerParty[i]); } break; } @@ -582,7 +531,7 @@ static void GenerateInitialRentalMons(void) // Cannot have two same held items. for (j = firstMonId; j < firstMonId + i; j++) { - if (heldItems[j] != ITEM_NONE && heldItems[j] == gBattleFrontierHeldItems[gFacilityTrainerMons[monId].itemTableId]) + if (heldItems[j] != ITEM_NONE && heldItems[j] == gFacilityTrainerMons[monId].itemId) { if (gFacilityTrainerMons[monId].species == currSpecies) currSpecies = SPECIES_NONE; @@ -594,7 +543,7 @@ static void GenerateInitialRentalMons(void) gSaveBlock2Ptr->frontier.rentalMons[i].monId = monId; species[i] = gFacilityTrainerMons[monId].species; - heldItems[i] = gBattleFrontierHeldItems[gFacilityTrainerMons[monId].itemTableId]; + heldItems[i] = gFacilityTrainerMons[monId].itemId; monIds[i] = monId; i++; } @@ -724,7 +673,7 @@ static void RestorePlayerPartyHeldItems(void) { SetMonData(&gPlayerParty[i], MON_DATA_HELD_ITEM, - &gBattleFrontierHeldItems[gFacilityTrainerMons[gSaveBlock2Ptr->frontier.rentalMons[i].monId].itemTableId]); + &gFacilityTrainerMons[gSaveBlock2Ptr->frontier.rentalMons[i].monId].itemId); } } @@ -761,7 +710,6 @@ void FillFactoryBrainParty(void) int i, j, k; u16 species[FRONTIER_PARTY_SIZE]; u16 heldItems[FRONTIER_PARTY_SIZE]; - u8 friendship; int monLevel; u8 fixedIV; u32 otId; @@ -801,27 +749,17 @@ void FillFactoryBrainParty(void) for (k = 0; k < i; k++) { - if (heldItems[k] != ITEM_NONE && heldItems[k] == gBattleFrontierHeldItems[gFacilityTrainerMons[monId].itemTableId]) + if (heldItems[k] != ITEM_NONE && heldItems[k] == gFacilityTrainerMons[monId].itemId) break; } if (k != i) continue; species[i] = gFacilityTrainerMons[monId].species; - heldItems[i] = gBattleFrontierHeldItems[gFacilityTrainerMons[monId].itemTableId]; - CreateMonWithEVSpreadNatureOTID(&gEnemyParty[i], - gFacilityTrainerMons[monId].species, - monLevel, - gFacilityTrainerMons[monId].nature, - fixedIV, - gFacilityTrainerMons[monId].evSpread, - otId); - - friendship = 0; - for (k = 0; k < MAX_MON_MOVES; k++) - SetMonMoveAvoidReturn(&gEnemyParty[i], gFacilityTrainerMons[monId].moves[k], k); - SetMonData(&gEnemyParty[i], MON_DATA_FRIENDSHIP, &friendship); - SetMonData(&gEnemyParty[i], MON_DATA_HELD_ITEM, &gBattleFrontierHeldItems[gFacilityTrainerMons[monId].itemTableId]); + heldItems[i] = gFacilityTrainerMons[monId].itemId; + CreateFacilityMon(&gFacilityTrainerMons[monId], + monLevel, fixedIV, otId, FLAG_FRONTIER_MON_FACTORY, + &gEnemyParty[i]); i++; } } diff --git a/src/battle_factory_screen.c b/src/battle_factory_screen.c index e945361f338b..e1429a5379f7 100644 --- a/src/battle_factory_screen.c +++ b/src/battle_factory_screen.c @@ -1762,27 +1762,18 @@ static void CreateFrontierFactorySelectableMons(u8 firstMonId) ivs = GetFactoryMonFixedIV(challengeNum + 1, FALSE); else ivs = GetFactoryMonFixedIV(challengeNum, FALSE); - CreateMonWithEVSpreadNatureOTID(&sFactorySelectScreen->mons[i + firstMonId].monData, - gFacilityTrainerMons[monId].species, - level, - gFacilityTrainerMons[monId].nature, - ivs, - gFacilityTrainerMons[monId].evSpread, - otId); - friendship = 0; - for (j = 0; j < MAX_MON_MOVES; j++) - SetMonMoveAvoidReturn(&sFactorySelectScreen->mons[i + firstMonId].monData, gFacilityTrainerMons[monId].moves[j], j); - SetMonData(&sFactorySelectScreen->mons[i + firstMonId].monData, MON_DATA_FRIENDSHIP, &friendship); - SetMonData(&sFactorySelectScreen->mons[i + firstMonId].monData, MON_DATA_HELD_ITEM, &gBattleFrontierHeldItems[gFacilityTrainerMons[monId].itemTableId]); + + CreateFacilityMon(&gFacilityTrainerMons[monId], + level, ivs, otId, FLAG_FRONTIER_MON_FACTORY, + &sFactorySelectScreen->mons[i + firstMonId].monData); } } static void CreateSlateportTentSelectableMons(u8 firstMonId) { - u8 i, j; + u8 i; u8 ivs = 0; u8 level = TENT_MIN_LEVEL; - u8 friendship = 0; u32 otId = 0; gFacilityTrainerMons = gSlateportBattleTentMons; @@ -1792,18 +1783,7 @@ static void CreateSlateportTentSelectableMons(u8 firstMonId) { u16 monId = gSaveBlock2Ptr->frontier.rentalMons[i].monId; sFactorySelectScreen->mons[i + firstMonId].monId = monId; - CreateMonWithEVSpreadNatureOTID(&sFactorySelectScreen->mons[i + firstMonId].monData, - gFacilityTrainerMons[monId].species, - level, - gFacilityTrainerMons[monId].nature, - ivs, - gFacilityTrainerMons[monId].evSpread, - otId); - friendship = 0; - for (j = 0; j < MAX_MON_MOVES; j++) - SetMonMoveAvoidReturn(&sFactorySelectScreen->mons[i + firstMonId].monData, gFacilityTrainerMons[monId].moves[j], j); - SetMonData(&sFactorySelectScreen->mons[i + firstMonId].monData, MON_DATA_FRIENDSHIP, &friendship); - SetMonData(&sFactorySelectScreen->mons[i + firstMonId].monData, MON_DATA_HELD_ITEM, &gBattleFrontierHeldItems[gFacilityTrainerMons[monId].itemTableId]); + CreateFacilityMon(&gFacilityTrainerMons[monId], level, ivs, otId, 0, &sFactorySelectScreen->mons[i + firstMonId].monData); } } diff --git a/src/battle_tent.c b/src/battle_tent.c index c003affebe9f..af3b733d7133 100644 --- a/src/battle_tent.c +++ b/src/battle_tent.c @@ -329,7 +329,7 @@ static void GenerateInitialRentalMons(void) // Cannot have two same held items. for (j = firstMonId; j < i + firstMonId; j++) { - if (heldItems[j] != 0 && heldItems[j] == gBattleFrontierHeldItems[gFacilityTrainerMons[monSetId].itemTableId]) + if (heldItems[j] != 0 && heldItems[j] == gFacilityTrainerMons[monSetId].itemId) { if (gFacilityTrainerMons[monSetId].species == currSpecies) currSpecies = SPECIES_NONE; @@ -341,7 +341,7 @@ static void GenerateInitialRentalMons(void) gSaveBlock2Ptr->frontier.rentalMons[i].monId = monSetId; species[i] = gFacilityTrainerMons[monSetId].species; - heldItems[i] = gBattleFrontierHeldItems[gFacilityTrainerMons[monSetId].itemTableId]; + heldItems[i] = gFacilityTrainerMons[monSetId].itemId; monIds[i] = monSetId; i++; } @@ -411,7 +411,7 @@ static void GenerateOpponentMons(void) // Ensure held items don't repeat on the opponent's team for (k = 0; k < i; k++) { - if (heldItems[k] != ITEM_NONE && heldItems[k] == gBattleFrontierHeldItems[gFacilityTrainerMons[sRandMonId].itemTableId]) + if (heldItems[k] != ITEM_NONE && heldItems[k] == gFacilityTrainerMons[sRandMonId].itemId) break; } if (k != i) @@ -419,7 +419,7 @@ static void GenerateOpponentMons(void) // Successful selection species[i] = gFacilityTrainerMons[sRandMonId].species; - heldItems[i] = gBattleFrontierHeldItems[gFacilityTrainerMons[sRandMonId].itemTableId]; + heldItems[i] = gFacilityTrainerMons[sRandMonId].itemId; gFrontierTempParty[i] = sRandMonId; i++; } diff --git a/src/battle_tower.c b/src/battle_tower.c index 477a08742b89..d6b7c813ef03 100644 --- a/src/battle_tower.c +++ b/src/battle_tower.c @@ -81,73 +81,6 @@ static void SetEReaderTrainerChecksum(struct BattleTowerEReaderTrainer *ereaderT #endif //FREE_BATTLE_TOWER_E_READER static u8 SetTentPtrsGetLevel(void); -const u16 gBattleFrontierHeldItems[] = -{ - [BATTLE_FRONTIER_ITEM_NONE] = ITEM_NONE, - [BATTLE_FRONTIER_ITEM_KINGS_ROCK] = ITEM_KINGS_ROCK, - [BATTLE_FRONTIER_ITEM_SITRUS_BERRY] = ITEM_SITRUS_BERRY, - [BATTLE_FRONTIER_ITEM_ORAN_BERRY] = ITEM_ORAN_BERRY, - [BATTLE_FRONTIER_ITEM_CHESTO_BERRY] = ITEM_CHESTO_BERRY, - [BATTLE_FRONTIER_ITEM_HARD_STONE] = ITEM_HARD_STONE, - [BATTLE_FRONTIER_ITEM_FOCUS_BAND] = ITEM_FOCUS_BAND, - [BATTLE_FRONTIER_ITEM_PERSIM_BERRY] = ITEM_PERSIM_BERRY, - [BATTLE_FRONTIER_ITEM_MIRACLE_SEED] = ITEM_MIRACLE_SEED, - [BATTLE_FRONTIER_ITEM_BERRY_JUICE] = ITEM_BERRY_JUICE, - [BATTLE_FRONTIER_ITEM_MACHO_BRACE] = ITEM_MACHO_BRACE, - [BATTLE_FRONTIER_ITEM_SILVER_POWDER] = ITEM_SILVER_POWDER, - [BATTLE_FRONTIER_ITEM_CHERI_BERRY] = ITEM_CHERI_BERRY, - [BATTLE_FRONTIER_ITEM_BLACK_GLASSES] = ITEM_BLACK_GLASSES, - [BATTLE_FRONTIER_ITEM_BLACK_BELT] = ITEM_BLACK_BELT, - [BATTLE_FRONTIER_ITEM_SOUL_DEW] = ITEM_SOUL_DEW, - [BATTLE_FRONTIER_ITEM_CHOICE_BAND] = ITEM_CHOICE_BAND, - [BATTLE_FRONTIER_ITEM_MAGNET] = ITEM_MAGNET, - [BATTLE_FRONTIER_ITEM_SILK_SCARF] = ITEM_SILK_SCARF, - [BATTLE_FRONTIER_ITEM_WHITE_HERB] = ITEM_WHITE_HERB, - [BATTLE_FRONTIER_ITEM_DEEP_SEA_SCALE] = ITEM_DEEP_SEA_SCALE, - [BATTLE_FRONTIER_ITEM_DEEP_SEA_TOOTH] = ITEM_DEEP_SEA_TOOTH, - [BATTLE_FRONTIER_ITEM_MYSTIC_WATER] = ITEM_MYSTIC_WATER, - [BATTLE_FRONTIER_ITEM_SHARP_BEAK] = ITEM_SHARP_BEAK, - [BATTLE_FRONTIER_ITEM_QUICK_CLAW] = ITEM_QUICK_CLAW, - [BATTLE_FRONTIER_ITEM_LEFTOVERS] = ITEM_LEFTOVERS, - [BATTLE_FRONTIER_ITEM_RAWST_BERRY] = ITEM_RAWST_BERRY, - [BATTLE_FRONTIER_ITEM_LIGHT_BALL] = ITEM_LIGHT_BALL, - [BATTLE_FRONTIER_ITEM_POISON_BARB] = ITEM_POISON_BARB, - [BATTLE_FRONTIER_ITEM_NEVER_MELT_ICE] = ITEM_NEVER_MELT_ICE, - [BATTLE_FRONTIER_ITEM_ASPEAR_BERRY] = ITEM_ASPEAR_BERRY, - [BATTLE_FRONTIER_ITEM_SPELL_TAG] = ITEM_SPELL_TAG, - [BATTLE_FRONTIER_ITEM_BRIGHT_POWDER] = ITEM_BRIGHT_POWDER, - [BATTLE_FRONTIER_ITEM_LEPPA_BERRY] = ITEM_LEPPA_BERRY, - [BATTLE_FRONTIER_ITEM_SCOPE_LENS] = ITEM_SCOPE_LENS, - [BATTLE_FRONTIER_ITEM_TWISTED_SPOON] = ITEM_TWISTED_SPOON, - [BATTLE_FRONTIER_ITEM_METAL_COAT] = ITEM_METAL_COAT, - [BATTLE_FRONTIER_ITEM_MENTAL_HERB] = ITEM_MENTAL_HERB, - [BATTLE_FRONTIER_ITEM_CHARCOAL] = ITEM_CHARCOAL, - [BATTLE_FRONTIER_ITEM_PECHA_BERRY] = ITEM_PECHA_BERRY, - [BATTLE_FRONTIER_ITEM_SOFT_SAND] = ITEM_SOFT_SAND, - [BATTLE_FRONTIER_ITEM_LUM_BERRY] = ITEM_LUM_BERRY, - [BATTLE_FRONTIER_ITEM_DRAGON_SCALE] = ITEM_DRAGON_SCALE, - [BATTLE_FRONTIER_ITEM_DRAGON_FANG] = ITEM_DRAGON_FANG, - [BATTLE_FRONTIER_ITEM_IAPAPA_BERRY] = ITEM_IAPAPA_BERRY, - [BATTLE_FRONTIER_ITEM_WIKI_BERRY] = ITEM_WIKI_BERRY, - [BATTLE_FRONTIER_ITEM_SEA_INCENSE] = ITEM_SEA_INCENSE, - [BATTLE_FRONTIER_ITEM_SHELL_BELL] = ITEM_SHELL_BELL, - [BATTLE_FRONTIER_ITEM_SALAC_BERRY] = ITEM_SALAC_BERRY, - [BATTLE_FRONTIER_ITEM_LANSAT_BERRY] = ITEM_LANSAT_BERRY, - [BATTLE_FRONTIER_ITEM_APICOT_BERRY] = ITEM_APICOT_BERRY, - [BATTLE_FRONTIER_ITEM_STARF_BERRY] = ITEM_STARF_BERRY, - [BATTLE_FRONTIER_ITEM_LIECHI_BERRY] = ITEM_LIECHI_BERRY, - [BATTLE_FRONTIER_ITEM_LEEK] = ITEM_LEEK, - [BATTLE_FRONTIER_ITEM_LAX_INCENSE] = ITEM_LAX_INCENSE, - [BATTLE_FRONTIER_ITEM_AGUAV_BERRY] = ITEM_AGUAV_BERRY, - [BATTLE_FRONTIER_ITEM_FIGY_BERRY] = ITEM_FIGY_BERRY, - [BATTLE_FRONTIER_ITEM_THICK_CLUB] = ITEM_THICK_CLUB, - [BATTLE_FRONTIER_ITEM_MAGO_BERRY] = ITEM_MAGO_BERRY, - [BATTLE_FRONTIER_ITEM_METAL_POWDER] = ITEM_METAL_POWDER, - [BATTLE_FRONTIER_ITEM_PETAYA_BERRY] = ITEM_PETAYA_BERRY, - [BATTLE_FRONTIER_ITEM_LUCKY_PUNCH] = ITEM_LUCKY_PUNCH, - [BATTLE_FRONTIER_ITEM_GANLON_BERRY] = ITEM_GANLON_BERRY, -}; - #include "data/battle_frontier/battle_frontier_trainer_mons.h" #include "data/battle_frontier/battle_frontier_trainers.h" #include "data/battle_frontier/battle_frontier_mons.h" @@ -1627,11 +1560,89 @@ static void FillTentTrainerParty(u8 monsCount) FillTentTrainerParty_(gTrainerBattleOpponent_A, 0, monsCount); } +void CreateFacilityMon(const struct FacilityMon *fmon, u16 level, u8 fixedIV, u32 otID, u32 flags, struct Pokemon *dst) +{ + u8 ball = (fmon->ball == 0xFF) ? Random() % POKEBALL_COUNT : fmon->ball; + u16 move; + u32 personality, ability, friendship, j; + + if (fmon->gender == TRAINER_MON_MALE) + { + personality = GeneratePersonalityForGender(MON_MALE, fmon->species); + } + else if (fmon->gender == TRAINER_MON_FEMALE) + { + personality = GeneratePersonalityForGender(MON_FEMALE, fmon->species); + } + + ModifyPersonalityForNature(&personality, fmon->nature); + CreateMon(dst, fmon->species, level, fixedIV, TRUE, personality, otID, OT_ID_PRESET); + + friendship = MAX_FRIENDSHIP; + // Give the chosen Pokémon its specified moves. + for (j = 0; j < MAX_MON_MOVES; j++) + { + move = fmon->moves[j]; + if (flags & FLAG_FRONTIER_MON_FACTORY && move == MOVE_RETURN) + move = MOVE_FRUSTRATION; + + SetMonMoveSlot(dst, move, j); + if (gMovesInfo[move].effect == EFFECT_FRUSTRATION) + friendship = 0; // Frustration is more powerful the lower the pokemon's friendship is. + } + + SetMonData(dst, MON_DATA_FRIENDSHIP, &friendship); + SetMonData(dst, MON_DATA_HELD_ITEM, &fmon->itemId); + + // try to set ability. Otherwise, random of non-hidden as per vanilla + if (fmon->ability != ABILITY_NONE) + { + const struct SpeciesInfo *speciesInfo = &gSpeciesInfo[fmon->species]; + u32 maxAbilities = ARRAY_COUNT(speciesInfo->abilities); + for (ability = 0; ability < maxAbilities; ++ability) + { + if (speciesInfo->abilities[ability] == fmon->ability) + break; + } + if (ability >= maxAbilities) + ability = 0; + SetMonData(dst, MON_DATA_ABILITY_NUM, &ability); + } + + if (fmon->evSpread != NULL) + { + SetMonData(dst, MON_DATA_HP_EV, &(fmon->evSpread[0])); + SetMonData(dst, MON_DATA_ATK_EV, &(fmon->evSpread[1])); + SetMonData(dst, MON_DATA_DEF_EV, &(fmon->evSpread[2])); + SetMonData(dst, MON_DATA_SPATK_EV, &(fmon->evSpread[3])); + SetMonData(dst, MON_DATA_SPDEF_EV, &(fmon->evSpread[4])); + SetMonData(dst, MON_DATA_SPEED_EV, &(fmon->evSpread[5])); + } + + if (fmon->ivs != NULL) + { + SetMonData(dst, MON_DATA_HP_IV, &(fmon->ivs[0])); + SetMonData(dst, MON_DATA_ATK_IV, &(fmon->ivs[1])); + SetMonData(dst, MON_DATA_DEF_IV, &(fmon->ivs[2])); + SetMonData(dst, MON_DATA_SPATK_IV, &(fmon->ivs[3])); + SetMonData(dst, MON_DATA_SPDEF_IV, &(fmon->ivs[4])); + SetMonData(dst, MON_DATA_SPEED_IV, &(fmon->ivs[5])); + } + + if (fmon->isShiny) + { + u32 data = TRUE; + SetMonData(dst, MON_DATA_IS_SHINY, &data); + } + + SetMonData(dst, MON_DATA_POKEBALL, &ball); + CalculateMonStats(dst); +} + static void FillTrainerParty(u16 trainerId, u8 firstMonId, u8 monCount) { s32 i, j; u16 chosenMonIndices[MAX_FRONTIER_PARTY_SIZE]; - u8 friendship = MAX_FRIENDSHIP; u8 level = SetFacilityPtrsGetLevel(); u8 fixedIV = 0; u8 bfMonCount; @@ -1708,7 +1719,7 @@ static void FillTrainerParty(u16 trainerId, u8 firstMonId, u8 monCount) for (j = 0; j < i + firstMonId; j++) { if (GetMonData(&gEnemyParty[j], MON_DATA_HELD_ITEM, NULL) != ITEM_NONE - && GetMonData(&gEnemyParty[j], MON_DATA_HELD_ITEM, NULL) == gBattleFrontierHeldItems[gFacilityTrainerMons[monId].itemTableId]) + && GetMonData(&gEnemyParty[j], MON_DATA_HELD_ITEM, NULL) == gFacilityTrainerMons[monId].itemId) break; } if (j != i + firstMonId) @@ -1725,27 +1736,9 @@ static void FillTrainerParty(u16 trainerId, u8 firstMonId, u8 monCount) continue; chosenMonIndices[i] = monId; - + // Place the chosen Pokémon into the trainer's party. - CreateMonWithEVSpreadNatureOTID(&gEnemyParty[i + firstMonId], - gFacilityTrainerMons[monId].species, - level, - gFacilityTrainerMons[monId].nature, - fixedIV, - gFacilityTrainerMons[monId].evSpread, - otID); - - friendship = MAX_FRIENDSHIP; - // Give the chosen Pokémon its specified moves. - for (j = 0; j < MAX_MON_MOVES; j++) - { - SetMonMoveSlot(&gEnemyParty[i + firstMonId], gFacilityTrainerMons[monId].moves[j], j); - if (gMovesInfo[gFacilityTrainerMons[monId].moves[j]].effect == EFFECT_FRUSTRATION) - friendship = 0; // Frustration is more powerful the lower the pokemon's friendship is. - } - - SetMonData(&gEnemyParty[i + firstMonId], MON_DATA_FRIENDSHIP, &friendship); - SetMonData(&gEnemyParty[i + firstMonId], MON_DATA_HELD_ITEM, &gBattleFrontierHeldItems[gFacilityTrainerMons[monId].itemTableId]); + CreateFacilityMon(&gFacilityTrainerMons[monId], level, fixedIV, otID, 0, &gEnemyParty[i + firstMonId]); // The Pokémon was successfully added to the trainer's party, so it's safe to move on to // the next party slot. @@ -1822,8 +1815,7 @@ static void FillFactoryTrainerParty(void) static void FillFactoryFrontierTrainerParty(u16 trainerId, u8 firstMonId) { - u8 i, j; - u8 friendship; + u8 i; u8 level; u8 fixedIV; u32 otID; @@ -1868,27 +1860,15 @@ static void FillFactoryFrontierTrainerParty(u16 trainerId, u8 firstMonId) for (i = 0; i < FRONTIER_PARTY_SIZE; i++) { u16 monId = gFrontierTempParty[i]; - CreateMonWithEVSpreadNatureOTID(&gEnemyParty[firstMonId + i], - gFacilityTrainerMons[monId].species, - level, - gFacilityTrainerMons[monId].nature, - fixedIV, - gFacilityTrainerMons[monId].evSpread, - otID); - - friendship = 0; - for (j = 0; j < MAX_MON_MOVES; j++) - SetMonMoveAvoidReturn(&gEnemyParty[firstMonId + i], gFacilityTrainerMons[monId].moves[j], j); - - SetMonData(&gEnemyParty[firstMonId + i], MON_DATA_FRIENDSHIP, &friendship); - SetMonData(&gEnemyParty[firstMonId + i], MON_DATA_HELD_ITEM, &gBattleFrontierHeldItems[gFacilityTrainerMons[monId].itemTableId]); + CreateFacilityMon(&gFacilityTrainerMons[monId], + level, fixedIV, otID, FLAG_FRONTIER_MON_FACTORY, + &gEnemyParty[firstMonId + i]); } } static void FillFactoryTentTrainerParty(u16 trainerId, u8 firstMonId) { - u8 i, j; - u8 friendship; + u8 i; u8 level = TENT_MIN_LEVEL; u8 fixedIV = 0; u32 otID = T1_READ_32(gSaveBlock2Ptr->playerTrainerId); @@ -1896,24 +1876,9 @@ static void FillFactoryTentTrainerParty(u16 trainerId, u8 firstMonId) for (i = 0; i < FRONTIER_PARTY_SIZE; i++) { u16 monId = gFrontierTempParty[i]; - CreateMonWithEVSpreadNatureOTID(&gEnemyParty[firstMonId + i], - gFacilityTrainerMons[monId].species, - level, - gFacilityTrainerMons[monId].nature, - fixedIV, - gFacilityTrainerMons[monId].evSpread, - otID); - - friendship = 0; - for (j = 0; j < MAX_MON_MOVES; j++) - { - SetMonMoveAvoidReturn(&gEnemyParty[firstMonId + i], gFacilityTrainerMons[monId].moves[j], j); - if (gMovesInfo[gFacilityTrainerMons[monId].moves[j]].effect == EFFECT_FRUSTRATION) - friendship = 0; - } - - SetMonData(&gEnemyParty[firstMonId + i], MON_DATA_FRIENDSHIP, &friendship); - SetMonData(&gEnemyParty[firstMonId + i], MON_DATA_HELD_ITEM, &gBattleFrontierHeldItems[gFacilityTrainerMons[monId].itemTableId]); + CreateFacilityMon(&gFacilityTrainerMons[monId], + level, fixedIV, otID, 0, + &gEnemyParty[firstMonId + i]); } } @@ -2348,7 +2313,7 @@ static void LoadMultiPartnerCandidatesData(void) while (1) { monId = GetRandomFrontierMonFromSet(trainerId); - if (j % 2 != 0 && gFacilityTrainerMons[gSaveBlock2Ptr->frontier.trainerIds[r10 - 1]].itemTableId == gFacilityTrainerMons[monId].itemTableId) + if (j % 2 != 0 && gFacilityTrainerMons[gSaveBlock2Ptr->frontier.trainerIds[r10 - 1]].itemId == gFacilityTrainerMons[monId].itemId) continue; for (k = 8; k < r10; k++) @@ -3017,7 +2982,6 @@ static void FillPartnerParty(u16 trainerId) s32 i, j, k; u32 firstIdPart = 0, secondIdPart = 0, thirdIdPart = 0; u32 ivs, level, personality; - u32 friendship; u16 monId; u32 otID; u8 trainerName[(PLAYER_NAME_LENGTH * 3) + 1]; @@ -3124,22 +3088,7 @@ static void FillPartnerParty(u16 trainerId) for (i = 0; i < FRONTIER_MULTI_PARTY_SIZE; i++) { monId = gSaveBlock2Ptr->frontier.trainerIds[i + 18]; - CreateMonWithEVSpreadNatureOTID(&gPlayerParty[MULTI_PARTY_SIZE + i], - gFacilityTrainerMons[monId].species, - level, - gFacilityTrainerMons[monId].nature, - ivs, - gFacilityTrainerMons[monId].evSpread, - otID); - friendship = MAX_FRIENDSHIP; - for (j = 0; j < MAX_MON_MOVES; j++) - { - SetMonMoveSlot(&gPlayerParty[MULTI_PARTY_SIZE + i], gFacilityTrainerMons[monId].moves[j], j); - if (gMovesInfo[gFacilityTrainerMons[monId].moves[j]].effect == EFFECT_FRUSTRATION) - friendship = 0; - } - SetMonData(&gPlayerParty[MULTI_PARTY_SIZE + i], MON_DATA_FRIENDSHIP, &friendship); - SetMonData(&gPlayerParty[MULTI_PARTY_SIZE + i], MON_DATA_HELD_ITEM, &gBattleFrontierHeldItems[gFacilityTrainerMons[monId].itemTableId]); + CreateFacilityMon(&gFacilityTrainerMons[monId], level, ivs, otID, 0, &gPlayerParty[MULTI_PARTY_SIZE + i]); for (j = 0; j < PLAYER_NAME_LENGTH + 1; j++) trainerName[j] = gFacilityTrainers[trainerId].trainerName[j]; SetMonData(&gPlayerParty[MULTI_PARTY_SIZE + i], MON_DATA_OT_NAME, &trainerName); @@ -3499,7 +3448,6 @@ static void FillTentTrainerParty_(u16 trainerId, u8 firstMonId, u8 monCount) { s32 i, j; u16 chosenMonIndices[MAX_FRONTIER_PARTY_SIZE]; - u8 friendship; u8 level = SetTentPtrsGetLevel(); u8 fixedIV = 0; u8 bfMonCount; @@ -3538,7 +3486,7 @@ static void FillTentTrainerParty_(u16 trainerId, u8 firstMonId, u8 monCount) for (j = 0; j < i + firstMonId; j++) { if (GetMonData(&gEnemyParty[j], MON_DATA_HELD_ITEM, NULL) != ITEM_NONE - && GetMonData(&gEnemyParty[j], MON_DATA_HELD_ITEM, NULL) == gBattleFrontierHeldItems[gFacilityTrainerMons[monId].itemTableId]) + && GetMonData(&gEnemyParty[j], MON_DATA_HELD_ITEM, NULL) == gFacilityTrainerMons[monId].itemId) break; } if (j != i + firstMonId) @@ -3555,27 +3503,9 @@ static void FillTentTrainerParty_(u16 trainerId, u8 firstMonId, u8 monCount) continue; chosenMonIndices[i] = monId; - - // Place the chosen Pokémon into the trainer's party. - CreateMonWithEVSpreadNatureOTID(&gEnemyParty[i + firstMonId], - gFacilityTrainerMons[monId].species, - level, - gFacilityTrainerMons[monId].nature, - fixedIV, - gFacilityTrainerMons[monId].evSpread, - otID); - - friendship = MAX_FRIENDSHIP; - // Give the chosen Pokémon its specified moves. - for (j = 0; j < MAX_MON_MOVES; j++) - { - SetMonMoveSlot(&gEnemyParty[i + firstMonId], gFacilityTrainerMons[monId].moves[j], j); - if (gMovesInfo[gFacilityTrainerMons[monId].moves[j]].effect == EFFECT_FRUSTRATION) - friendship = 0; // Frustration is more powerful the lower the pokemon's friendship is. - } - - SetMonData(&gEnemyParty[i + firstMonId], MON_DATA_FRIENDSHIP, &friendship); - SetMonData(&gEnemyParty[i + firstMonId], MON_DATA_HELD_ITEM, &gBattleFrontierHeldItems[gFacilityTrainerMons[monId].itemTableId]); + CreateFacilityMon(&gFacilityTrainerMons[monId], + level, fixedIV, otID, 0, + &gEnemyParty[i + firstMonId]); // The Pokémon was successfully added to the trainer's party, so it's safe to move on to // the next party slot. diff --git a/src/data/battle_frontier/battle_frontier_mons.h b/src/data/battle_frontier/battle_frontier_mons.h index 1147ab908089..9bae4a857caa 100644 --- a/src/data/battle_frontier/battle_frontier_mons.h +++ b/src/data/battle_frontier/battle_frontier_mons.h @@ -3,6175 +3,6175 @@ const struct FacilityMon gBattleFrontierMons[NUM_FRONTIER_MONS] = [FRONTIER_MON_SUNKERN] = { .species = SPECIES_SUNKERN, .moves = {MOVE_MEGA_DRAIN, MOVE_HELPING_HAND, MOVE_SUNNY_DAY, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_AZURILL] = { .species = SPECIES_AZURILL, .moves = {MOVE_WATER_PULSE, MOVE_ATTRACT, MOVE_SING, MOVE_CHARM}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_RASH }, [FRONTIER_MON_CATERPIE] = { .species = SPECIES_CATERPIE, .moves = {MOVE_TACKLE, MOVE_STRING_SHOT, MOVE_NONE, MOVE_NONE}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_WEEDLE] = { .species = SPECIES_WEEDLE, .moves = {MOVE_POISON_STING, MOVE_STRING_SHOT, MOVE_NONE, MOVE_NONE}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_WURMPLE] = { .species = SPECIES_WURMPLE, .moves = {MOVE_TACKLE, MOVE_STRING_SHOT, MOVE_POISON_STING, MOVE_NONE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_RALTS] = { .species = SPECIES_RALTS, .moves = {MOVE_CONFUSION, MOVE_IMPRISON, MOVE_DOUBLE_TEAM, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_TWISTED_SPOON, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_TWISTED_SPOON, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_MAGIKARP] = { .species = SPECIES_MAGIKARP, .moves = {MOVE_FLAIL, MOVE_NONE, MOVE_NONE, MOVE_NONE}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_FEEBAS] = { .species = SPECIES_FEEBAS, .moves = {MOVE_FLAIL, MOVE_MIRROR_COAT, MOVE_NONE, MOVE_NONE}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_LONELY }, [FRONTIER_MON_METAPOD] = { .species = SPECIES_METAPOD, .moves = {MOVE_HARDEN, MOVE_NONE, MOVE_NONE, MOVE_NONE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_BASHFUL }, [FRONTIER_MON_KAKUNA] = { .species = SPECIES_KAKUNA, .moves = {MOVE_HARDEN, MOVE_NONE, MOVE_NONE, MOVE_NONE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_BASHFUL }, [FRONTIER_MON_PICHU] = { .species = SPECIES_PICHU, .moves = {MOVE_SWEET_KISS, MOVE_THUNDER_WAVE, MOVE_ATTRACT, MOVE_SHOCK_WAVE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_RASH }, [FRONTIER_MON_SILCOON] = { .species = SPECIES_SILCOON, .moves = {MOVE_HARDEN, MOVE_NONE, MOVE_NONE, MOVE_NONE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_BASHFUL }, [FRONTIER_MON_CASCOON] = { .species = SPECIES_CASCOON, .moves = {MOVE_HARDEN, MOVE_NONE, MOVE_NONE, MOVE_NONE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_BASHFUL }, [FRONTIER_MON_IGGLYBUFF] = { .species = SPECIES_IGGLYBUFF, .moves = {MOVE_SWEET_KISS, MOVE_SING, MOVE_ATTRACT, MOVE_SEISMIC_TOSS}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_WOOPER] = { .species = SPECIES_WOOPER, .moves = {MOVE_YAWN, MOVE_DIG, MOVE_WATER_PULSE, MOVE_RAIN_DANCE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_TYROGUE] = { .species = SPECIES_TYROGUE, .moves = {MOVE_MACH_PUNCH, MOVE_PROTECT, MOVE_DOUBLE_TEAM, MOVE_FACADE}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_SENTRET] = { .species = SPECIES_SENTRET, .moves = {MOVE_QUICK_ATTACK, MOVE_FOLLOW_ME, MOVE_HELPING_HAND, MOVE_ASSIST}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_CLEFFA] = { .species = SPECIES_CLEFFA, .moves = {MOVE_SWEET_KISS, MOVE_SING, MOVE_ATTRACT, MOVE_METRONOME}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_SERIOUS }, [FRONTIER_MON_SEEDOT] = { .species = SPECIES_SEEDOT, .moves = {MOVE_BULLET_SEED, MOVE_BIDE, MOVE_DEFENSE_CURL, MOVE_ROLLOUT}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_LOTAD] = { .species = SPECIES_LOTAD, .moves = {MOVE_RAIN_DANCE, MOVE_WATER_PULSE, MOVE_SUNNY_DAY, MOVE_MEGA_DRAIN}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_POOCHYENA] = { .species = SPECIES_POOCHYENA, .moves = {MOVE_CRUNCH, MOVE_SWAGGER, MOVE_ROAR, MOVE_SAND_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_PETAYA_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PETAYA_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_SHEDINJA] = { .species = SPECIES_SHEDINJA, .moves = {MOVE_SHADOW_BALL, MOVE_CONFUSE_RAY, MOVE_SILVER_WIND, MOVE_GRUDGE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_NAIVE }, [FRONTIER_MON_MAKUHITA] = { .species = SPECIES_MAKUHITA, .moves = {MOVE_FAKE_OUT, MOVE_SEISMIC_TOSS, MOVE_DETECT, MOVE_WHIRLWIND}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_WHISMUR] = { .species = SPECIES_WHISMUR, .moves = {MOVE_UPROAR, MOVE_SWAGGER, MOVE_BODY_SLAM, MOVE_SMELLING_SALTS}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_ZIGZAGOON] = { .species = SPECIES_ZIGZAGOON, .moves = {MOVE_HEADBUTT, MOVE_PIN_MISSILE, MOVE_SWIFT, MOVE_SAND_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_SILK_SCARF, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SILK_SCARF, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_TIMID }, [FRONTIER_MON_ZUBAT] = { .species = SPECIES_ZUBAT, .moves = {MOVE_POISON_FANG, MOVE_WHIRLWIND, MOVE_CONFUSE_RAY, MOVE_AERIAL_ACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_SASSY }, [FRONTIER_MON_TOGEPI] = { .species = SPECIES_TOGEPI, .moves = {MOVE_RETURN, MOVE_YAWN, MOVE_WISH, MOVE_SWEET_KISS}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_SPINARAK] = { .species = SPECIES_SPINARAK, .moves = {MOVE_SIGNAL_BEAM, MOVE_NIGHT_SHADE, MOVE_SPIDER_WEB, MOVE_SCARY_FACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LIECHI_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LIECHI_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_MARILL] = { .species = SPECIES_MARILL, .moves = {MOVE_WATER_PULSE, MOVE_RAIN_DANCE, MOVE_LIGHT_SCREEN, MOVE_RETURN}, - .itemTableId = BATTLE_FRONTIER_ITEM_MYSTIC_WATER, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_MYSTIC_WATER, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_GENTLE }, [FRONTIER_MON_HOPPIP] = { .species = SPECIES_HOPPIP, .moves = {MOVE_MEGA_DRAIN, MOVE_LEECH_SEED, MOVE_SLEEP_POWDER, MOVE_STUN_SPORE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_LAX }, [FRONTIER_MON_SLUGMA] = { .species = SPECIES_SLUGMA, .moves = {MOVE_EMBER, MOVE_ROCK_SLIDE, MOVE_YAWN, MOVE_BODY_SLAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_SASSY }, [FRONTIER_MON_SWINUB] = { .species = SPECIES_SWINUB, .moves = {MOVE_ICY_WIND, MOVE_DIG, MOVE_ROCK_TOMB, MOVE_ENDURE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_GENTLE }, [FRONTIER_MON_SMEARGLE] = { .species = SPECIES_SMEARGLE, .moves = {MOVE_EXTREME_SPEED, MOVE_FAKE_OUT, MOVE_QUICK_ATTACK, MOVE_MACH_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_PIDGEY] = { .species = SPECIES_PIDGEY, .moves = {MOVE_GUST, MOVE_SAND_ATTACK, MOVE_WHIRLWIND, MOVE_QUICK_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHARP_BEAK, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SHARP_BEAK, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_LONELY }, [FRONTIER_MON_RATTATA] = { .species = SPECIES_RATTATA, .moves = {MOVE_HYPER_FANG, MOVE_PURSUIT, MOVE_QUICK_ATTACK, MOVE_SWAGGER}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_WYNAUT] = { .species = SPECIES_WYNAUT, .moves = {MOVE_ENCORE, MOVE_COUNTER, MOVE_MIRROR_COAT, MOVE_CHARM}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_JOLLY }, [FRONTIER_MON_SKITTY] = { .species = SPECIES_SKITTY, .moves = {MOVE_SING, MOVE_ATTRACT, MOVE_CHARM, MOVE_DOUBLE_SLAP}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_SPEAROW] = { .species = SPECIES_SPEAROW, .moves = {MOVE_FURY_ATTACK, MOVE_PURSUIT, MOVE_MIRROR_MOVE, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LIECHI_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_LIECHI_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_HOOTHOOT] = { .species = SPECIES_HOOTHOOT, .moves = {MOVE_CONFUSION, MOVE_HYPNOSIS, MOVE_SUPERSONIC, MOVE_REFLECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_DIGLETT] = { .species = SPECIES_DIGLETT, .moves = {MOVE_MAGNITUDE, MOVE_SLASH, MOVE_ROCK_TOMB, MOVE_SAND_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_NAIVE }, [FRONTIER_MON_LEDYBA] = { .species = SPECIES_LEDYBA, .moves = {MOVE_PSYBEAM, MOVE_AGILITY, MOVE_BATON_PASS, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_BASHFUL }, [FRONTIER_MON_NINCADA] = { .species = SPECIES_NINCADA, .moves = {MOVE_MUD_SLAP, MOVE_DIG, MOVE_TOXIC, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_PECHA_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PECHA_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_CALM }, [FRONTIER_MON_SURSKIT] = { .species = SPECIES_SURSKIT, .moves = {MOVE_BUBBLE_BEAM, MOVE_RAIN_DANCE, MOVE_SWEET_SCENT, MOVE_QUICK_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_MYSTIC_WATER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_MYSTIC_WATER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_JIGGLYPUFF] = { .species = SPECIES_JIGGLYPUFF, .moves = {MOVE_SING, MOVE_WISH, MOVE_MIMIC, MOVE_DOUBLE_SLAP}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_RELAXED }, [FRONTIER_MON_TAILLOW] = { .species = SPECIES_TAILLOW, .moves = {MOVE_FLY, MOVE_QUICK_ATTACK, MOVE_ENDEAVOR, MOVE_FOCUS_ENERGY}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 170, 0, 0), .nature = NATURE_GENTLE }, [FRONTIER_MON_WINGULL] = { .species = SPECIES_WINGULL, .moves = {MOVE_WATER_PULSE, MOVE_FLY, MOVE_QUICK_ATTACK, MOVE_STEEL_WING}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_NIDORAN_M] = { .species = SPECIES_NIDORAN_M, .moves = {MOVE_DOUBLE_KICK, MOVE_POISON_STING, MOVE_DISABLE, MOVE_HELPING_HAND}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_NIDORAN_F] = { .species = SPECIES_NIDORAN_F, .moves = {MOVE_CRUNCH, MOVE_DOUBLE_KICK, MOVE_FLATTER, MOVE_HELPING_HAND}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_KIRLIA] = { .species = SPECIES_KIRLIA, .moves = {MOVE_CONFUSION, MOVE_WILL_O_WISP, MOVE_FUTURE_SIGHT, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_MAREEP] = { .species = SPECIES_MAREEP, .moves = {MOVE_SHOCK_WAVE, MOVE_FLASH, MOVE_REFLECT, MOVE_COTTON_SPORE}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_MEDITITE] = { .species = SPECIES_MEDITITE, .moves = {MOVE_HIGH_JUMP_KICK, MOVE_MEDITATE, MOVE_SWAGGER, MOVE_PSYCH_UP}, - .itemTableId = BATTLE_FRONTIER_ITEM_MENTAL_HERB, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_MENTAL_HERB, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_NAUGHTY }, [FRONTIER_MON_SLAKOTH] = { .species = SPECIES_SLAKOTH, .moves = {MOVE_YAWN, MOVE_SCRATCH, MOVE_ENCORE, MOVE_COUNTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_PARAS] = { .species = SPECIES_PARAS, .moves = {MOVE_SPORE, MOVE_LEECH_LIFE, MOVE_SLASH, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_EKANS] = { .species = SPECIES_EKANS, .moves = {MOVE_ACID, MOVE_DIG, MOVE_SCREECH, MOVE_TORMENT}, - .itemTableId = BATTLE_FRONTIER_ITEM_POISON_BARB, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_POISON_BARB, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_DITTO] = { .species = SPECIES_DITTO, .moves = {MOVE_TRANSFORM, MOVE_NONE, MOVE_NONE, MOVE_NONE}, - .itemTableId = BATTLE_FRONTIER_ITEM_METAL_POWDER, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_METAL_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_BARBOACH] = { .species = SPECIES_BARBOACH, .moves = {MOVE_MAGNITUDE, MOVE_WATER_PULSE, MOVE_SPARK, MOVE_FUTURE_SIGHT}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_BASHFUL }, [FRONTIER_MON_MEOWTH] = { .species = SPECIES_MEOWTH, .moves = {MOVE_SLASH, MOVE_BITE, MOVE_SCREECH, MOVE_FAKE_OUT}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_PINECO] = { .species = SPECIES_PINECO, .moves = {MOVE_SELF_DESTRUCT, MOVE_TAKE_DOWN, MOVE_REFLECT, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_TRAPINCH] = { .species = SPECIES_TRAPINCH, .moves = {MOVE_TOXIC, MOVE_DIG, MOVE_SANDSTORM, MOVE_SAND_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_SERIOUS }, [FRONTIER_MON_SPHEAL] = { .species = SPECIES_SPHEAL, .moves = {MOVE_ICE_BALL, MOVE_WATER_PULSE, MOVE_HAIL, MOVE_MUD_SLAP}, - .itemTableId = BATTLE_FRONTIER_ITEM_NEVER_MELT_ICE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_NEVER_MELT_ICE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_HORSEA] = { .species = SPECIES_HORSEA, .moves = {MOVE_WATER_GUN, MOVE_AGILITY, MOVE_ICY_WIND, MOVE_TWISTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_PETAYA_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PETAYA_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_SHROOMISH] = { .species = SPECIES_SHROOMISH, .moves = {MOVE_SPORE, MOVE_BULLET_SEED, MOVE_LEECH_SEED, MOVE_HEADBUTT}, - .itemTableId = BATTLE_FRONTIER_ITEM_MIRACLE_SEED, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_MIRACLE_SEED, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_SHUPPET] = { .species = SPECIES_SHUPPET, .moves = {MOVE_WILL_O_WISP, MOVE_NIGHT_SHADE, MOVE_GRUDGE, MOVE_KNOCK_OFF}, - .itemTableId = BATTLE_FRONTIER_ITEM_RAWST_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_RAWST_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_RASH }, [FRONTIER_MON_DUSKULL] = { .species = SPECIES_DUSKULL, .moves = {MOVE_SKILL_SWAP, MOVE_NIGHT_SHADE, MOVE_DISABLE, MOVE_CONFUSE_RAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_ELECTRIKE] = { .species = SPECIES_ELECTRIKE, .moves = {MOVE_SPARK, MOVE_THUNDER_WAVE, MOVE_ROAR, MOVE_QUICK_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_VULPIX] = { .species = SPECIES_VULPIX, .moves = {MOVE_WILL_O_WISP, MOVE_CONFUSE_RAY, MOVE_FIRE_SPIN, MOVE_QUICK_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_RAWST_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_RAWST_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_PIKACHU] = { .species = SPECIES_PIKACHU, .moves = {MOVE_THUNDER_PUNCH, MOVE_THUNDER_WAVE, MOVE_DOUBLE_TEAM, MOVE_QUICK_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_LIGHT_BALL, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_LIGHT_BALL, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_SANDSHREW] = { .species = SPECIES_SANDSHREW, .moves = {MOVE_DIG, MOVE_ROCK_TOMB, MOVE_SANDSTORM, MOVE_SAND_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_SOFT_SAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SOFT_SAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_POLIWAG] = { .species = SPECIES_POLIWAG, .moves = {MOVE_HYPNOSIS, MOVE_ICY_WIND, MOVE_WATER_GUN, MOVE_RAIN_DANCE}, - .itemTableId = BATTLE_FRONTIER_ITEM_MYSTIC_WATER, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_MYSTIC_WATER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_BELLSPROUT] = { .species = SPECIES_BELLSPROUT, .moves = {MOVE_RAZOR_LEAF, MOVE_ACID, MOVE_STUN_SPORE, MOVE_WRAP}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_LAX }, [FRONTIER_MON_GEODUDE] = { .species = SPECIES_GEODUDE, .moves = {MOVE_MAGNITUDE, MOVE_ROCK_BLAST, MOVE_STRENGTH, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_BRAVE }, [FRONTIER_MON_DRATINI] = { .species = SPECIES_DRATINI, .moves = {MOVE_OUTRAGE, MOVE_THUNDER_WAVE, MOVE_SUPERSONIC, MOVE_WATER_PULSE}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_SNUBBULL] = { .species = SPECIES_SNUBBULL, .moves = {MOVE_BITE, MOVE_CHARM, MOVE_SWAGGER, MOVE_SCARY_FACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_REMORAID] = { .species = SPECIES_REMORAID, .moves = {MOVE_BUBBLE_BEAM, MOVE_AURORA_BEAM, MOVE_PSYBEAM, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_PETAYA_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_PETAYA_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_LARVITAR] = { .species = SPECIES_LARVITAR, .moves = {MOVE_THRASH, MOVE_ROCK_SLIDE, MOVE_DIG, MOVE_DRAGON_DANCE}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_NAUGHTY }, [FRONTIER_MON_BALTOY] = { .species = SPECIES_BALTOY, .moves = {MOVE_PSYBEAM, MOVE_ANCIENT_POWER, MOVE_LIGHT_SCREEN, MOVE_MUD_SLAP}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_NAUGHTY }, [FRONTIER_MON_SNORUNT] = { .species = SPECIES_SNORUNT, .moves = {MOVE_ICY_WIND, MOVE_HEADBUTT, MOVE_LEER, MOVE_BITE}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_BRAVE }, [FRONTIER_MON_BAGON] = { .species = SPECIES_BAGON, .moves = {MOVE_DRAGON_BREATH, MOVE_HEADBUTT, MOVE_BRICK_BREAK, MOVE_SCARY_FACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LIECHI_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LIECHI_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_NAUGHTY }, [FRONTIER_MON_BELDUM] = { .species = SPECIES_BELDUM, .moves = {MOVE_TAKE_DOWN, MOVE_NONE, MOVE_NONE, MOVE_NONE}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHOICE_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHOICE_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_GULPIN] = { .species = SPECIES_GULPIN, .moves = {MOVE_TOXIC, MOVE_YAWN, MOVE_PAIN_SPLIT, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_SERIOUS }, [FRONTIER_MON_VENONAT] = { .species = SPECIES_VENONAT, .moves = {MOVE_PSYBEAM, MOVE_SUPERSONIC, MOVE_STUN_SPORE, MOVE_SKILL_SWAP}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_MANKEY] = { .species = SPECIES_MANKEY, .moves = {MOVE_KARATE_CHOP, MOVE_LOW_KICK, MOVE_SCREECH, MOVE_SWAGGER}, - .itemTableId = BATTLE_FRONTIER_ITEM_BLACK_BELT, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BLACK_BELT, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_NAUGHTY }, [FRONTIER_MON_MACHOP] = { .species = SPECIES_MACHOP, .moves = {MOVE_SEISMIC_TOSS, MOVE_REVENGE, MOVE_ROCK_TOMB, MOVE_SCARY_FACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SHELLDER] = { .species = SPECIES_SHELLDER, .moves = {MOVE_ICICLE_SPEAR, MOVE_SUPERSONIC, MOVE_CLAMP, MOVE_WITHDRAW}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_SMOOCHUM] = { .species = SPECIES_SMOOCHUM, .moves = {MOVE_SWEET_KISS, MOVE_SING, MOVE_MUD_SLAP, MOVE_FAKE_OUT}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_NUMEL] = { .species = SPECIES_NUMEL, .moves = {MOVE_EMBER, MOVE_MAGNITUDE, MOVE_ROCK_TOMB, MOVE_SANDSTORM}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_CARVANHA] = { .species = SPECIES_CARVANHA, .moves = {MOVE_BITE, MOVE_SCREECH, MOVE_SCARY_FACE, MOVE_SWAGGER}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_CORPHISH] = { .species = SPECIES_CORPHISH, .moves = {MOVE_CRABHAMMER, MOVE_WATER_PULSE, MOVE_MUD_SLAP, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_MYSTIC_WATER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_MYSTIC_WATER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_BRAVE }, [FRONTIER_MON_CHARMANDER] = { .species = SPECIES_CHARMANDER, .moves = {MOVE_FIRE_SPIN, MOVE_METAL_CLAW, MOVE_SMOKESCREEN, MOVE_SCARY_FACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_CYNDAQUIL] = { .species = SPECIES_CYNDAQUIL, .moves = {MOVE_EMBER, MOVE_SWIFT, MOVE_QUICK_ATTACK, MOVE_SMOKESCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_ABRA] = { .species = SPECIES_ABRA, .moves = {MOVE_MIMIC, MOVE_METRONOME, MOVE_FLASH, MOVE_SEISMIC_TOSS}, - .itemTableId = BATTLE_FRONTIER_ITEM_TWISTED_SPOON, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_TWISTED_SPOON, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_LONELY }, [FRONTIER_MON_DODUO] = { .species = SPECIES_DODUO, .moves = {MOVE_FURY_ATTACK, MOVE_UPROAR, MOVE_MUD_SLAP, MOVE_FEINT_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_LIECHI_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_LIECHI_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_LONELY }, [FRONTIER_MON_GASTLY] = { .species = SPECIES_GASTLY, .moves = {MOVE_DREAM_EATER, MOVE_HYPNOSIS, MOVE_NIGHT_SHADE, MOVE_CONFUSE_RAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_LONELY }, [FRONTIER_MON_SWABLU] = { .species = SPECIES_SWABLU, .moves = {MOVE_TAKE_DOWN, MOVE_DREAM_EATER, MOVE_SING, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_MENTAL_HERB, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_MENTAL_HERB, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_LONELY }, [FRONTIER_MON_TREECKO] = { .species = SPECIES_TREECKO, .moves = {MOVE_BULLET_SEED, MOVE_AERIAL_ACE, MOVE_QUICK_ATTACK, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_LONELY }, [FRONTIER_MON_TORCHIC] = { .species = SPECIES_TORCHIC, .moves = {MOVE_FIRE_SPIN, MOVE_QUICK_ATTACK, MOVE_SAND_ATTACK, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_LONELY }, [FRONTIER_MON_MUDKIP] = { .species = SPECIES_MUDKIP, .moves = {MOVE_WHIRLPOOL, MOVE_ENDEAVOR, MOVE_MUD_SPORT, MOVE_MUD_SLAP}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_SQUIRTLE] = { .species = SPECIES_SQUIRTLE, .moves = {MOVE_WATER_PULSE, MOVE_BITE, MOVE_WITHDRAW, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_TOTODILE] = { .species = SPECIES_TOTODILE, .moves = {MOVE_SLASH, MOVE_WATER_PULSE, MOVE_SCREECH, MOVE_ICY_WIND}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_SLOWPOKE] = { .species = SPECIES_SLOWPOKE, .moves = {MOVE_CONFUSION, MOVE_DISABLE, MOVE_WATER_PULSE, MOVE_YAWN}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_BRAVE }, [FRONTIER_MON_BULBASAUR] = { .species = SPECIES_BULBASAUR, .moves = {MOVE_RAZOR_LEAF, MOVE_SWEET_SCENT, MOVE_SLEEP_POWDER, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_CHIKORITA] = { .species = SPECIES_CHIKORITA, .moves = {MOVE_SECRET_POWER, MOVE_BULLET_SEED, MOVE_MUD_SLAP, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_ODDISH] = { .species = SPECIES_ODDISH, .moves = {MOVE_ACID, MOVE_STUN_SPORE, MOVE_SWEET_SCENT, MOVE_MOONLIGHT}, - .itemTableId = BATTLE_FRONTIER_ITEM_PECHA_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PECHA_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_PSYDUCK] = { .species = SPECIES_PSYDUCK, .moves = {MOVE_CONFUSION, MOVE_FURY_SWIPES, MOVE_AERIAL_ACE, MOVE_DISABLE}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HASTY }, [FRONTIER_MON_CUBONE] = { .species = SPECIES_CUBONE, .moves = {MOVE_BONE_CLUB, MOVE_HEADBUTT, MOVE_BRICK_BREAK, MOVE_AERIAL_ACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SOFT_SAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SOFT_SAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_GOLDEEN] = { .species = SPECIES_GOLDEEN, .moves = {MOVE_WATERFALL, MOVE_FURY_ATTACK, MOVE_AGILITY, MOVE_PSYBEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_PETAYA_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PETAYA_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_NATU] = { .species = SPECIES_NATU, .moves = {MOVE_NIGHT_SHADE, MOVE_FUTURE_SIGHT, MOVE_CONFUSE_RAY, MOVE_FLASH}, - .itemTableId = BATTLE_FRONTIER_ITEM_TWISTED_SPOON, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_TWISTED_SPOON, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_CLEFAIRY] = { .species = SPECIES_CLEFAIRY, .moves = {MOVE_FOLLOW_ME, MOVE_RETURN, MOVE_ENCORE, MOVE_SING}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_LONELY }, [FRONTIER_MON_MAGNEMITE] = { .species = SPECIES_MAGNEMITE, .moves = {MOVE_SHOCK_WAVE, MOVE_SUPERSONIC, MOVE_METAL_SOUND, MOVE_REFLECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_RAWST_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_RAWST_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_GENTLE }, [FRONTIER_MON_SEEL] = { .species = SPECIES_SEEL, .moves = {MOVE_AURORA_BEAM, MOVE_DIVE, MOVE_BODY_SLAM, MOVE_FAKE_OUT}, - .itemTableId = BATTLE_FRONTIER_ITEM_ASPEAR_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_ASPEAR_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_GRIMER] = { .species = SPECIES_GRIMER, .moves = {MOVE_SLUDGE, MOVE_ROCK_TOMB, MOVE_ACID_ARMOR, MOVE_MINIMIZE}, - .itemTableId = BATTLE_FRONTIER_ITEM_PECHA_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_PECHA_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_QUIRKY }, [FRONTIER_MON_KRABBY] = { .species = SPECIES_KRABBY, .moves = {MOVE_CRABHAMMER, MOVE_MUD_SHOT, MOVE_FLAIL, MOVE_KNOCK_OFF}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_EXEGGCUTE] = { .species = SPECIES_EXEGGCUTE, .moves = {MOVE_CONFUSION, MOVE_ANCIENT_POWER, MOVE_LEECH_SEED, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_NAUGHTY }, [FRONTIER_MON_EEVEE] = { .species = SPECIES_EEVEE, .moves = {MOVE_CHARM, MOVE_ATTRACT, MOVE_FLAIL, MOVE_ENDURE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_DROWZEE] = { .species = SPECIES_DROWZEE, .moves = {MOVE_CONFUSION, MOVE_HEADBUTT, MOVE_DISABLE, MOVE_BARRIER}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_VOLTORB] = { .species = SPECIES_VOLTORB, .moves = {MOVE_SPARK, MOVE_SCREECH, MOVE_ROLLOUT, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_CHINCHOU] = { .species = SPECIES_CHINCHOU, .moves = {MOVE_SPARK, MOVE_DIVE, MOVE_CONFUSE_RAY, MOVE_TAKE_DOWN}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_TEDDIURSA] = { .species = SPECIES_TEDDIURSA, .moves = {MOVE_SECRET_POWER, MOVE_FAKE_TEARS, MOVE_FEINT_ATTACK, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_DELIBIRD] = { .species = SPECIES_DELIBIRD, .moves = {MOVE_PRESENT, MOVE_ICE_BALL, MOVE_AERIAL_ACE, MOVE_HAIL}, - .itemTableId = BATTLE_FRONTIER_ITEM_NEVER_MELT_ICE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_NEVER_MELT_ICE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_HOUNDOUR] = { .species = SPECIES_HOUNDOUR, .moves = {MOVE_CRUNCH, MOVE_EMBER, MOVE_ROAR, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHARCOAL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHARCOAL, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_PHANPY] = { .species = SPECIES_PHANPY, .moves = {MOVE_ROLLOUT, MOVE_DEFENSE_CURL, MOVE_ROCK_TOMB, MOVE_SANDSTORM}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_NAUGHTY }, [FRONTIER_MON_SPOINK] = { .species = SPECIES_SPOINK, .moves = {MOVE_PSYWAVE, MOVE_BOUNCE, MOVE_MAGIC_COAT, MOVE_CONFUSE_RAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_ARON] = { .species = SPECIES_ARON, .moves = {MOVE_METAL_CLAW, MOVE_AERIAL_ACE, MOVE_METAL_SOUND, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_LUVDISC] = { .species = SPECIES_LUVDISC, .moves = {MOVE_SWEET_KISS, MOVE_ATTRACT, MOVE_DIVE, MOVE_RAIN_DANCE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_TENTACOOL] = { .species = SPECIES_TENTACOOL, .moves = {MOVE_BUBBLE_BEAM, MOVE_ACID, MOVE_BARRIER, MOVE_WRAP}, - .itemTableId = BATTLE_FRONTIER_ITEM_PECHA_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PECHA_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_CACNEA] = { .species = SPECIES_CACNEA, .moves = {MOVE_NEEDLE_ARM, MOVE_FEINT_ATTACK, MOVE_COTTON_SPORE, MOVE_SAND_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_UNOWN] = { .species = SPECIES_UNOWN, .moves = {MOVE_HIDDEN_POWER, MOVE_NONE, MOVE_NONE, MOVE_NONE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_KOFFING] = { .species = SPECIES_KOFFING, .moves = {MOVE_SLUDGE, MOVE_SMOKESCREEN, MOVE_TORMENT, MOVE_HAZE}, - .itemTableId = BATTLE_FRONTIER_ITEM_POISON_BARB, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_POISON_BARB, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_STARYU] = { .species = SPECIES_STARYU, .moves = {MOVE_BUBBLE_BEAM, MOVE_MINIMIZE, MOVE_SWIFT, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_SKIPLOOM] = { .species = SPECIES_SKIPLOOM, .moves = {MOVE_MEGA_DRAIN, MOVE_CONFUSION, MOVE_COTTON_SPORE, MOVE_SYNTHESIS}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_NUZLEAF] = { .species = SPECIES_NUZLEAF, .moves = {MOVE_EXTRASENSORY, MOVE_FAKE_OUT, MOVE_RAZOR_WIND, MOVE_FEINT_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_LOMBRE] = { .species = SPECIES_LOMBRE, .moves = {MOVE_WATER_PULSE, MOVE_FAKE_OUT, MOVE_BRICK_BREAK, MOVE_ABSORB}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_VIBRAVA] = { .species = SPECIES_VIBRAVA, .moves = {MOVE_DRAGON_BREATH, MOVE_DIG, MOVE_SCREECH, MOVE_ROCK_TOMB}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_RHYHORN] = { .species = SPECIES_RHYHORN, .moves = {MOVE_ROCK_BLAST, MOVE_DIG, MOVE_SCARY_FACE, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_CLAMPERL] = { .species = SPECIES_CLAMPERL, .moves = {MOVE_DIVE, MOVE_TOXIC, MOVE_IRON_DEFENSE, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_DEEP_SEA_SCALE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_DEEP_SEA_SCALE, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_DOCILE }, [FRONTIER_MON_PIDGEOTTO] = { .species = SPECIES_PIDGEOTTO, .moves = {MOVE_AERIAL_ACE, MOVE_QUICK_ATTACK, MOVE_FEATHER_DANCE, MOVE_SAND_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_GROWLITHE] = { .species = SPECIES_GROWLITHE, .moves = {MOVE_FLAME_WHEEL, MOVE_BITE, MOVE_ROAR, MOVE_AGILITY}, - .itemTableId = BATTLE_FRONTIER_ITEM_RAWST_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_RAWST_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_FARFETCHD] = { .species = SPECIES_FARFETCHD, .moves = {MOVE_SLASH, MOVE_KNOCK_OFF, MOVE_SWORDS_DANCE, MOVE_AGILITY}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEEK, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEEK, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_RELAXED }, [FRONTIER_MON_OMANYTE] = { .species = SPECIES_OMANYTE, .moves = {MOVE_MUD_SHOT, MOVE_WATER_GUN, MOVE_ANCIENT_POWER, MOVE_TICKLE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_KABUTO] = { .species = SPECIES_KABUTO, .moves = {MOVE_MEGA_DRAIN, MOVE_ANCIENT_POWER, MOVE_SAND_ATTACK, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_LILEEP] = { .species = SPECIES_LILEEP, .moves = {MOVE_ANCIENT_POWER, MOVE_ACID, MOVE_INGRAIN, MOVE_CONFUSE_RAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_ANORITH] = { .species = SPECIES_ANORITH, .moves = {MOVE_METAL_CLAW, MOVE_FURY_CUTTER, MOVE_ANCIENT_POWER, MOVE_WATER_GUN}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_AIPOM] = { .species = SPECIES_AIPOM, .moves = {MOVE_FURY_SWIPES, MOVE_SAND_ATTACK, MOVE_BATON_PASS, MOVE_AGILITY}, - .itemTableId = BATTLE_FRONTIER_ITEM_SILK_SCARF, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SILK_SCARF, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_ELEKID] = { .species = SPECIES_ELEKID, .moves = {MOVE_THUNDER_PUNCH, MOVE_QUICK_ATTACK, MOVE_SWIFT, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_NAIVE }, [FRONTIER_MON_LOUDRED] = { .species = SPECIES_LOUDRED, .moves = {MOVE_STOMP, MOVE_HOWL, MOVE_ASTONISH, MOVE_SUPERSONIC}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_SPINDA] = { .species = SPECIES_SPINDA, .moves = {MOVE_DIZZY_PUNCH, MOVE_TEETER_DANCE, MOVE_PSYBEAM, MOVE_FEINT_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_NIDORINA] = { .species = SPECIES_NIDORINA, .moves = {MOVE_DOUBLE_KICK, MOVE_BITE, MOVE_AERIAL_ACE, MOVE_FLATTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_NIDORINO] = { .species = SPECIES_NIDORINO, .moves = {MOVE_DOUBLE_KICK, MOVE_WATER_PULSE, MOVE_MUD_SLAP, MOVE_FLATTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_FLAAFFY] = { .species = SPECIES_FLAAFFY, .moves = {MOVE_SHOCK_WAVE, MOVE_THUNDER_WAVE, MOVE_COTTON_SPORE, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_MAGNET, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_MAGNET, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MILD }, [FRONTIER_MON_MAGBY] = { .species = SPECIES_MAGBY, .moves = {MOVE_FIRE_PUNCH, MOVE_SMOKESCREEN, MOVE_CONFUSE_RAY, MOVE_SMOG}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_NOSEPASS] = { .species = SPECIES_NOSEPASS, .moves = {MOVE_ROCK_SLIDE, MOVE_SHOCK_WAVE, MOVE_THUNDER_WAVE, MOVE_SANDSTORM}, - .itemTableId = BATTLE_FRONTIER_ITEM_HARD_STONE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_HARD_STONE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_SASSY }, [FRONTIER_MON_CORSOLA] = { .species = SPECIES_CORSOLA, .moves = {MOVE_BUBBLE_BEAM, MOVE_MIRROR_COAT, MOVE_ATTRACT, MOVE_ANCIENT_POWER}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_IMPISH }, [FRONTIER_MON_MAWILE] = { .species = SPECIES_MAWILE, .moves = {MOVE_CRUNCH, MOVE_FAKE_TEARS, MOVE_IRON_DEFENSE, MOVE_BATON_PASS}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_BUTTERFREE] = { .species = SPECIES_BUTTERFREE, .moves = {MOVE_SILVER_WIND, MOVE_PSYBEAM, MOVE_TOXIC, MOVE_WHIRLWIND}, - .itemTableId = BATTLE_FRONTIER_ITEM_PECHA_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PECHA_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_BEEDRILL] = { .species = SPECIES_BEEDRILL, .moves = {MOVE_TWINEEDLE, MOVE_PURSUIT, MOVE_ENDEAVOR, MOVE_AGILITY}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_NAUGHTY }, [FRONTIER_MON_POLIWHIRL] = { .species = SPECIES_POLIWHIRL, .moves = {MOVE_WATER_PULSE, MOVE_DOUBLE_SLAP, MOVE_ICY_WIND, MOVE_RAIN_DANCE}, - .itemTableId = BATTLE_FRONTIER_ITEM_PETAYA_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PETAYA_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_ONIX] = { .species = SPECIES_ONIX, .moves = {MOVE_ROCK_SLIDE, MOVE_BIND, MOVE_DRAGON_BREATH, MOVE_SANDSTORM}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_HARDY }, [FRONTIER_MON_BEAUTIFLY] = { .species = SPECIES_BEAUTIFLY, .moves = {MOVE_SILVER_WIND, MOVE_MEGA_DRAIN, MOVE_ATTRACT, MOVE_WHIRLWIND}, - .itemTableId = BATTLE_FRONTIER_ITEM_MENTAL_HERB, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_MENTAL_HERB, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_DUSTOX] = { .species = SPECIES_DUSTOX, .moves = {MOVE_SILVER_WIND, MOVE_TOXIC, MOVE_PSYBEAM, MOVE_WHIRLWIND}, - .itemTableId = BATTLE_FRONTIER_ITEM_SILVER_POWDER, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_SILVER_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_LEDIAN] = { .species = SPECIES_LEDIAN, .moves = {MOVE_COMET_PUNCH, MOVE_BATON_PASS, MOVE_SWORDS_DANCE, MOVE_AGILITY}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_BASHFUL }, [FRONTIER_MON_ARIADOS] = { .species = SPECIES_ARIADOS, .moves = {MOVE_SIGNAL_BEAM, MOVE_SPIDER_WEB, MOVE_NIGHT_SHADE, MOVE_TOXIC}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_SERIOUS }, [FRONTIER_MON_YANMA] = { .species = SPECIES_YANMA, .moves = {MOVE_SIGNAL_BEAM, MOVE_AERIAL_ACE, MOVE_DOUBLE_TEAM, MOVE_DETECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_RELAXED }, [FRONTIER_MON_DELCATTY_1] = { .species = SPECIES_DELCATTY, .moves = {MOVE_SECRET_POWER, MOVE_FEINT_ATTACK, MOVE_DOUBLE_TEAM, MOVE_HEAL_BELL}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_LONELY }, [FRONTIER_MON_SABLEYE_1] = { .species = SPECIES_SABLEYE, .moves = {MOVE_FEINT_ATTACK, MOVE_CONFUSE_RAY, MOVE_KNOCK_OFF, MOVE_FAKE_OUT}, - .itemTableId = BATTLE_FRONTIER_ITEM_BLACK_GLASSES, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BLACK_GLASSES, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_LONELY }, [FRONTIER_MON_LICKITUNG_1] = { .species = SPECIES_LICKITUNG, .moves = {MOVE_SLAM, MOVE_BRICK_BREAK, MOVE_LICK, MOVE_MUD_SLAP}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_WEEPINBELL_1] = { .species = SPECIES_WEEPINBELL, .moves = {MOVE_RAZOR_LEAF, MOVE_ACID, MOVE_WRAP, MOVE_SWEET_SCENT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_GRAVELER_1] = { .species = SPECIES_GRAVELER, .moves = {MOVE_MAGNITUDE, MOVE_ROCK_THROW, MOVE_DEFENSE_CURL, MOVE_BRICK_BREAK}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_GLOOM_1] = { .species = SPECIES_GLOOM, .moves = {MOVE_PETAL_DANCE, MOVE_ACID, MOVE_STUN_SPORE, MOVE_MOONLIGHT}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_PORYGON_1] = { .species = SPECIES_PORYGON, .moves = {MOVE_PSYBEAM, MOVE_ICY_WIND, MOVE_RECYCLE, MOVE_AGILITY}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_KADABRA_1] = { .species = SPECIES_KADABRA, .moves = {MOVE_CONFUSION, MOVE_ROLE_PLAY, MOVE_FUTURE_SIGHT, MOVE_DISABLE}, - .itemTableId = BATTLE_FRONTIER_ITEM_TWISTED_SPOON, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_TWISTED_SPOON, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_IMPISH }, [FRONTIER_MON_WAILMER_1] = { .species = SPECIES_WAILMER, .moves = {MOVE_WHIRLPOOL, MOVE_ROAR, MOVE_DEFENSE_CURL, MOVE_ROLLOUT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_DOCILE }, [FRONTIER_MON_ROSELIA_1] = { .species = SPECIES_ROSELIA, .moves = {MOVE_MAGICAL_LEAF, MOVE_TOXIC, MOVE_GRASS_WHISTLE, MOVE_COTTON_SPORE}, - .itemTableId = BATTLE_FRONTIER_ITEM_PECHA_BERRY, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_PECHA_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_VOLBEAT_1] = { .species = SPECIES_VOLBEAT, .moves = {MOVE_SILVER_WIND, MOVE_CONFUSE_RAY, MOVE_QUICK_ATTACK, MOVE_HELPING_HAND}, - .itemTableId = BATTLE_FRONTIER_ITEM_LIECHI_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LIECHI_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_ILLUMISE_1] = { .species = SPECIES_ILLUMISE, .moves = {MOVE_SILVER_WIND, MOVE_WISH, MOVE_QUICK_ATTACK, MOVE_HELPING_HAND}, - .itemTableId = BATTLE_FRONTIER_ITEM_LIECHI_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LIECHI_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_IVYSAUR_1] = { .species = SPECIES_IVYSAUR, .moves = {MOVE_PETAL_DANCE, MOVE_GROWTH, MOVE_SWEET_SCENT, MOVE_FURY_CUTTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_GENTLE }, [FRONTIER_MON_CHARMELEON_1] = { .species = SPECIES_CHARMELEON, .moves = {MOVE_SLASH, MOVE_FIRE_SPIN, MOVE_SWORDS_DANCE, MOVE_AERIAL_ACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_NAUGHTY }, [FRONTIER_MON_WARTORTLE_1] = { .species = SPECIES_WARTORTLE, .moves = {MOVE_WATER_PULSE, MOVE_BITE, MOVE_MUD_SLAP, MOVE_YAWN}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_PARASECT_1] = { .species = SPECIES_PARASECT, .moves = {MOVE_SLASH, MOVE_PSYBEAM, MOVE_STUN_SPORE, MOVE_FLASH}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_RASH }, [FRONTIER_MON_MACHOKE_1] = { .species = SPECIES_MACHOKE, .moves = {MOVE_LOW_KICK, MOVE_ROCK_TOMB, MOVE_FORESIGHT, MOVE_SCARY_FACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_HAUNTER_1] = { .species = SPECIES_HAUNTER, .moves = {MOVE_SHADOW_PUNCH, MOVE_CONFUSE_RAY, MOVE_SPITE, MOVE_GRUDGE}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_RASH }, [FRONTIER_MON_BAYLEEF_1] = { .species = SPECIES_BAYLEEF, .moves = {MOVE_RAZOR_LEAF, MOVE_TOXIC, MOVE_SAFEGUARD, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_QUILAVA_1] = { .species = SPECIES_QUILAVA, .moves = {MOVE_FLAME_WHEEL, MOVE_FURY_SWIPES, MOVE_SWIFT, MOVE_SMOKESCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_CROCONAW_1] = { .species = SPECIES_CROCONAW, .moves = {MOVE_SLASH, MOVE_WATER_PULSE, MOVE_BITE, MOVE_SCARY_FACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_TOGETIC_1] = { .species = SPECIES_TOGETIC, .moves = {MOVE_AERIAL_ACE, MOVE_MAGICAL_LEAF, MOVE_WISH, MOVE_FOLLOW_ME}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_MURKROW_1] = { .species = SPECIES_MURKROW, .moves = {MOVE_FEINT_ATTACK, MOVE_FLY, MOVE_TORMENT, MOVE_TAUNT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_QUIRKY }, [FRONTIER_MON_WOBBUFFET_1] = { .species = SPECIES_WOBBUFFET, .moves = {MOVE_COUNTER, MOVE_MIRROR_COAT, MOVE_CHARM, MOVE_SAFEGUARD}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_CAREFUL }, [FRONTIER_MON_PLUSLE_1] = { .species = SPECIES_PLUSLE, .moves = {MOVE_SPARK, MOVE_FAKE_TEARS, MOVE_QUICK_ATTACK, MOVE_HELPING_HAND}, - .itemTableId = BATTLE_FRONTIER_ITEM_PETAYA_BERRY, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_PETAYA_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_MINUN_1] = { .species = SPECIES_MINUN, .moves = {MOVE_SPARK, MOVE_CHARM, MOVE_ENCORE, MOVE_HELPING_HAND}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_GROVYLE_1] = { .species = SPECIES_GROVYLE, .moves = {MOVE_FURY_CUTTER, MOVE_ENDEAVOR, MOVE_BRICK_BREAK, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_COMBUSKEN_1] = { .species = SPECIES_COMBUSKEN, .moves = {MOVE_EMBER, MOVE_DOUBLE_KICK, MOVE_QUICK_ATTACK, MOVE_SAND_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_MARSHTOMP_1] = { .species = SPECIES_MARSHTOMP, .moves = {MOVE_MUD_SHOT, MOVE_WATER_GUN, MOVE_ROCK_TOMB, MOVE_MUD_SLAP}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_PONYTA_1] = { .species = SPECIES_PONYTA, .moves = {MOVE_FIRE_SPIN, MOVE_BOUNCE, MOVE_QUICK_ATTACK, MOVE_TAIL_WHIP}, - .itemTableId = BATTLE_FRONTIER_ITEM_RAWST_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_RAWST_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_AZUMARILL_1] = { .species = SPECIES_AZUMARILL, .moves = {MOVE_BUBBLE_BEAM, MOVE_FACADE, MOVE_DIG, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_DOCILE }, [FRONTIER_MON_SUDOWOODO_1] = { .species = SPECIES_SUDOWOODO, .moves = {MOVE_ROCK_SLIDE, MOVE_FEINT_ATTACK, MOVE_SANDSTORM, MOVE_BLOCK}, - .itemTableId = BATTLE_FRONTIER_ITEM_HARD_STONE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_HARD_STONE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_HARDY }, [FRONTIER_MON_MAGCARGO_1] = { .species = SPECIES_MAGCARGO, .moves = {MOVE_ROCK_SLIDE, MOVE_EMBER, MOVE_ACID_ARMOR, MOVE_SANDSTORM}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_GENTLE }, [FRONTIER_MON_PUPITAR_1] = { .species = SPECIES_PUPITAR, .moves = {MOVE_DIG, MOVE_BITE, MOVE_SCARY_FACE, MOVE_SANDSTORM}, - .itemTableId = BATTLE_FRONTIER_ITEM_SOFT_SAND, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_SOFT_SAND, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_SEALEO_1] = { .species = SPECIES_SEALEO, .moves = {MOVE_ICE_BALL, MOVE_HAIL, MOVE_SNORE, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_QUIRKY }, [FRONTIER_MON_RATICATE_1] = { .species = SPECIES_RATICATE, .moves = {MOVE_ENDEAVOR, MOVE_PURSUIT, MOVE_SCARY_FACE, MOVE_QUICK_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_SILK_SCARF, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SILK_SCARF, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 170, 0, 0), .nature = NATURE_NAIVE }, [FRONTIER_MON_MASQUERAIN_1] = { .species = SPECIES_MASQUERAIN, .moves = {MOVE_SILVER_WIND, MOVE_AERIAL_ACE, MOVE_ICY_WIND, MOVE_STUN_SPORE}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 252, 0, 0, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_FURRET_1] = { .species = SPECIES_FURRET, .moves = {MOVE_SLAM, MOVE_PROTECT, MOVE_HELPING_HAND, MOVE_FOLLOW_ME}, - .itemTableId = BATTLE_FRONTIER_ITEM_LIECHI_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LIECHI_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_SERIOUS }, [FRONTIER_MON_DUNSPARCE_1] = { .species = SPECIES_DUNSPARCE, .moves = {MOVE_HEADBUTT, MOVE_GLARE, MOVE_DEFENSE_CURL, MOVE_ROLLOUT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_DRAGONAIR_1] = { .species = SPECIES_DRAGONAIR, .moves = {MOVE_DRAGON_BREATH, MOVE_LEER, MOVE_WRAP, MOVE_SAFEGUARD}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_DOCILE }, [FRONTIER_MON_MIGHTYENA_1] = { .species = SPECIES_MIGHTYENA, .moves = {MOVE_BITE, MOVE_POISON_FANG, MOVE_TAUNT, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_MENTAL_HERB, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_MENTAL_HERB, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_TIMID }, [FRONTIER_MON_LINOONE_1] = { .species = SPECIES_LINOONE, .moves = {MOVE_SECRET_POWER, MOVE_SAND_ATTACK, MOVE_COVET, MOVE_TICKLE}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_CASTFORM_1] = { .species = SPECIES_CASTFORM_NORMAL, .moves = {MOVE_EMBER, MOVE_WATER_PULSE, MOVE_SHOCK_WAVE, MOVE_ICY_WIND}, - .itemTableId = BATTLE_FRONTIER_ITEM_PETAYA_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PETAYA_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_HASTY }, [FRONTIER_MON_SHELGON_1] = { .species = SPECIES_SHELGON, .moves = {MOVE_HEADBUTT, MOVE_DRAGON_BREATH, MOVE_PROTECT, MOVE_SCARY_FACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 0, 170), .nature = NATURE_HARDY }, [FRONTIER_MON_METANG_1] = { .species = SPECIES_METANG, .moves = {MOVE_METAL_CLAW, MOVE_CONFUSION, MOVE_PURSUIT, MOVE_SCARY_FACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_HARDY }, [FRONTIER_MON_WIGGLYTUFF_1] = { .species = SPECIES_WIGGLYTUFF, .moves = {MOVE_SING, MOVE_DISABLE, MOVE_WISH, MOVE_SECRET_POWER}, - .itemTableId = BATTLE_FRONTIER_ITEM_SILK_SCARF, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_SILK_SCARF, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_RELAXED }, [FRONTIER_MON_SUNFLORA_1] = { .species = SPECIES_SUNFLORA, .moves = {MOVE_PETAL_DANCE, MOVE_INGRAIN, MOVE_LEECH_SEED, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_CHIMECHO_1] = { .species = SPECIES_CHIMECHO, .moves = {MOVE_PSYWAVE, MOVE_TAKE_DOWN, MOVE_HEAL_BELL, MOVE_SAFEGUARD}, - .itemTableId = BATTLE_FRONTIER_ITEM_TWISTED_SPOON, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_TWISTED_SPOON, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_SASSY }, [FRONTIER_MON_GLIGAR_1] = { .species = SPECIES_GLIGAR, .moves = {MOVE_METAL_CLAW, MOVE_DIG, MOVE_AERIAL_ACE, MOVE_QUICK_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_HASTY }, [FRONTIER_MON_QWILFISH_1] = { .species = SPECIES_QWILFISH, .moves = {MOVE_BUBBLE_BEAM, MOVE_PIN_MISSILE, MOVE_SPIKES, MOVE_MINIMIZE}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 0, 252, 252), .nature = NATURE_IMPISH }, [FRONTIER_MON_SNEASEL_1] = { .species = SPECIES_SNEASEL, .moves = {MOVE_FEINT_ATTACK, MOVE_FAKE_OUT, MOVE_ICY_WIND, MOVE_QUICK_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_RELAXED }, [FRONTIER_MON_PELIPPER_1] = { .species = SPECIES_PELIPPER, .moves = {MOVE_WATER_PULSE, MOVE_AERIAL_ACE, MOVE_STOCKPILE, MOVE_SWALLOW}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_QUIET }, [FRONTIER_MON_SWELLOW_1] = { .species = SPECIES_SWELLOW, .moves = {MOVE_FLY, MOVE_ENDEAVOR, MOVE_FACADE, MOVE_QUICK_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_LAIRON_1] = { .species = SPECIES_LAIRON, .moves = {MOVE_METAL_CLAW, MOVE_ROCK_TOMB, MOVE_IRON_DEFENSE, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_METAL_COAT, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_METAL_COAT, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_SASSY }, [FRONTIER_MON_TANGELA_1] = { .species = SPECIES_TANGELA, .moves = {MOVE_MEGA_DRAIN, MOVE_SLAM, MOVE_TOXIC, MOVE_BIND}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_HARDY }, [FRONTIER_MON_ARBOK_1] = { .species = SPECIES_ARBOK, .moves = {MOVE_POISON_FANG, MOVE_DIG, MOVE_BITE, MOVE_GLARE}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_PERSIAN_1] = { .species = SPECIES_PERSIAN, .moves = {MOVE_FAKE_OUT, MOVE_SLASH, MOVE_TORMENT, MOVE_SWAGGER}, - .itemTableId = BATTLE_FRONTIER_ITEM_SILK_SCARF, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SILK_SCARF, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_QUIRKY }, [FRONTIER_MON_SEADRA_1] = { .species = SPECIES_SEADRA, .moves = {MOVE_AURORA_BEAM, MOVE_SMOKESCREEN, MOVE_WATER_GUN, MOVE_RAIN_DANCE}, - .itemTableId = BATTLE_FRONTIER_ITEM_MYSTIC_WATER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_MYSTIC_WATER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_SASSY }, [FRONTIER_MON_KECLEON_1] = { .species = SPECIES_KECLEON, .moves = {MOVE_SECRET_POWER, MOVE_PSYBEAM, MOVE_MAGIC_COAT, MOVE_SEISMIC_TOSS}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(170, 170, 170, 0, 0, 0), .nature = NATURE_NAIVE }, [FRONTIER_MON_VIGOROTH_1] = { .species = SPECIES_VIGOROTH, .moves = {MOVE_SLASH, MOVE_COUNTER, MOVE_ENCORE, MOVE_UPROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_LONELY }, [FRONTIER_MON_LUNATONE_1] = { .species = SPECIES_LUNATONE, .moves = {MOVE_CONFUSION, MOVE_COSMIC_POWER, MOVE_LIGHT_SCREEN, MOVE_SANDSTORM}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_SOLROCK_1] = { .species = SPECIES_SOLROCK, .moves = {MOVE_CONFUSION, MOVE_FIRE_SPIN, MOVE_LIGHT_SCREEN, MOVE_SANDSTORM}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_QUIET }, [FRONTIER_MON_NOCTOWL_1] = { .species = SPECIES_NOCTOWL, .moves = {MOVE_CONFUSION, MOVE_AERIAL_ACE, MOVE_FEINT_ATTACK, MOVE_REFLECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_SANDSLASH_1] = { .species = SPECIES_SANDSLASH, .moves = {MOVE_CRUSH_CLAW, MOVE_ROCK_SLIDE, MOVE_SWIFT, MOVE_SANDSTORM}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_VENOMOTH_1] = { .species = SPECIES_VENOMOTH, .moves = {MOVE_SILVER_WIND, MOVE_PSYBEAM, MOVE_SLEEP_POWDER, MOVE_SKILL_SWAP}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_CHANSEY_1] = { .species = SPECIES_CHANSEY, .moves = {MOVE_METRONOME, MOVE_REFRESH, MOVE_DEFENSE_CURL, MOVE_MINIMIZE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_RELAXED }, [FRONTIER_MON_SEAKING_1] = { .species = SPECIES_SEAKING, .moves = {MOVE_WATER_PULSE, MOVE_PSYBEAM, MOVE_SWIFT, MOVE_AGILITY}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_DOCILE }, [FRONTIER_MON_JUMPLUFF_1] = { .species = SPECIES_JUMPLUFF, .moves = {MOVE_AERIAL_ACE, MOVE_SWAGGER, MOVE_PSYCH_UP, MOVE_SYNTHESIS}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_PILOSWINE_1] = { .species = SPECIES_PILOSWINE, .moves = {MOVE_DIG, MOVE_ANCIENT_POWER, MOVE_HAIL, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_SOFT_SAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SOFT_SAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_GOLBAT_1] = { .species = SPECIES_GOLBAT, .moves = {MOVE_AIR_CUTTER, MOVE_CONFUSE_RAY, MOVE_TOXIC, MOVE_STEEL_WING}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_PRIMEAPE_1] = { .species = SPECIES_PRIMEAPE, .moves = {MOVE_KARATE_CHOP, MOVE_COUNTER, MOVE_SWAGGER, MOVE_SCREECH}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_QUIRKY }, [FRONTIER_MON_HITMONLEE_1] = { .species = SPECIES_HITMONLEE, .moves = {MOVE_ROLLING_KICK, MOVE_BRICK_BREAK, MOVE_FOCUS_ENERGY, MOVE_FACADE}, - .itemTableId = BATTLE_FRONTIER_ITEM_BLACK_BELT, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BLACK_BELT, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_HITMONCHAN_1] = { .species = SPECIES_HITMONCHAN, .moves = {MOVE_MACH_PUNCH, MOVE_SKY_UPPERCUT, MOVE_DETECT, MOVE_COUNTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_GIRAFARIG_1] = { .species = SPECIES_GIRAFARIG, .moves = {MOVE_PSYBEAM, MOVE_STOMP, MOVE_WISH, MOVE_SKILL_SWAP}, - .itemTableId = BATTLE_FRONTIER_ITEM_PETAYA_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PETAYA_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_HITMONTOP_1] = { .species = SPECIES_HITMONTOP, .moves = {MOVE_TRIPLE_KICK, MOVE_DIG, MOVE_MACH_PUNCH, MOVE_QUICK_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_LIECHI_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LIECHI_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_BANETTE_1] = { .species = SPECIES_BANETTE, .moves = {MOVE_NIGHT_SHADE, MOVE_WILL_O_WISP, MOVE_SPITE, MOVE_KNOCK_OFF}, - .itemTableId = BATTLE_FRONTIER_ITEM_RAWST_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_RAWST_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_SASSY }, [FRONTIER_MON_NINJASK_1] = { .species = SPECIES_NINJASK, .moves = {MOVE_BATON_PASS, MOVE_SWORDS_DANCE, MOVE_ENDURE, MOVE_DIG}, - .itemTableId = BATTLE_FRONTIER_ITEM_PETAYA_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_PETAYA_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_MILD }, [FRONTIER_MON_SEVIPER_1] = { .species = SPECIES_SEVIPER, .moves = {MOVE_POISON_TAIL, MOVE_BITE, MOVE_GLARE, MOVE_SCREECH}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_ZANGOOSE_1] = { .species = SPECIES_ZANGOOSE, .moves = {MOVE_SLASH, MOVE_DOUBLE_KICK, MOVE_ROAR, MOVE_QUICK_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_CAMERUPT_1] = { .species = SPECIES_CAMERUPT, .moves = {MOVE_MAGNITUDE, MOVE_PROTECT, MOVE_SANDSTORM, MOVE_ROCK_SLIDE}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_SHARPEDO_1] = { .species = SPECIES_SHARPEDO, .moves = {MOVE_SLASH, MOVE_BITE, MOVE_WATER_PULSE, MOVE_SCARY_FACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_TROPIUS_1] = { .species = SPECIES_TROPIUS, .moves = {MOVE_MAGICAL_LEAF, MOVE_WHIRLWIND, MOVE_AERIAL_ACE, MOVE_STEEL_WING}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_MAGNETON_1] = { .species = SPECIES_MAGNETON, .moves = {MOVE_SHOCK_WAVE, MOVE_SONIC_BOOM, MOVE_THUNDER_WAVE, MOVE_SUPERSONIC}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_LONELY }, [FRONTIER_MON_MANTINE_1] = { .species = SPECIES_MANTINE, .moves = {MOVE_BUBBLE_BEAM, MOVE_AERIAL_ACE, MOVE_RAIN_DANCE, MOVE_ICY_WIND}, - .itemTableId = BATTLE_FRONTIER_ITEM_MYSTIC_WATER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_MYSTIC_WATER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_DOCILE }, [FRONTIER_MON_STANTLER_1] = { .species = SPECIES_STANTLER, .moves = {MOVE_EXTRASENSORY, MOVE_CONFUSE_RAY, MOVE_STOMP, MOVE_SAND_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_TWISTED_SPOON, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_TWISTED_SPOON, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_GENTLE }, [FRONTIER_MON_ABSOL_1] = { .species = SPECIES_ABSOL, .moves = {MOVE_BITE, MOVE_RAZOR_WIND, MOVE_FUTURE_SIGHT, MOVE_QUICK_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SWALOT_1] = { .species = SPECIES_SWALOT, .moves = {MOVE_STOCKPILE, MOVE_SWALLOW, MOVE_SPIT_UP, MOVE_SLUDGE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_QUIRKY }, [FRONTIER_MON_CRAWDAUNT_1] = { .species = SPECIES_CRAWDAUNT, .moves = {MOVE_BUBBLE_BEAM, MOVE_VISE_GRIP, MOVE_KNOCK_OFF, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_PIDGEOT_1] = { .species = SPECIES_PIDGEOT, .moves = {MOVE_AERIAL_ACE, MOVE_FEATHER_DANCE, MOVE_MUD_SLAP, MOVE_FEINT_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHARP_BEAK, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SHARP_BEAK, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_GRUMPIG_1] = { .species = SPECIES_GRUMPIG, .moves = {MOVE_PSYBEAM, MOVE_CONFUSE_RAY, MOVE_FUTURE_SIGHT, MOVE_MAGIC_COAT}, - .itemTableId = BATTLE_FRONTIER_ITEM_PETAYA_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PETAYA_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_TORKOAL_1] = { .species = SPECIES_TORKOAL, .moves = {MOVE_EMBER, MOVE_FIRE_SPIN, MOVE_SMOKESCREEN, MOVE_AMNESIA}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_RELAXED }, [FRONTIER_MON_KINGLER_1] = { .species = SPECIES_KINGLER, .moves = {MOVE_CRABHAMMER, MOVE_METAL_CLAW, MOVE_MUD_SHOT, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_HARDY }, [FRONTIER_MON_CACTURNE_1] = { .species = SPECIES_CACTURNE, .moves = {MOVE_NEEDLE_ARM, MOVE_FEINT_ATTACK, MOVE_ACID, MOVE_MEGA_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_HASTY }, [FRONTIER_MON_BELLOSSOM_1] = { .species = SPECIES_BELLOSSOM, .moves = {MOVE_PETAL_DANCE, MOVE_SAFEGUARD, MOVE_SUNNY_DAY, MOVE_SYNTHESIS}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_OCTILLERY_1] = { .species = SPECIES_OCTILLERY, .moves = {MOVE_OCTAZOOKA, MOVE_AURORA_BEAM, MOVE_PSYBEAM, MOVE_ROCK_BLAST}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_HUNTAIL_1] = { .species = SPECIES_HUNTAIL, .moves = {MOVE_WHIRLPOOL, MOVE_SCARY_FACE, MOVE_MUD_SLAP, MOVE_BITE}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_GOREBYSS_1] = { .species = SPECIES_GOREBYSS, .moves = {MOVE_WHIRLPOOL, MOVE_AMNESIA, MOVE_ICY_WIND, MOVE_CONFUSION}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_BRAVE }, [FRONTIER_MON_RELICANTH_1] = { .species = SPECIES_RELICANTH, .moves = {MOVE_ANCIENT_POWER, MOVE_WATER_PULSE, MOVE_HARDEN, MOVE_AMNESIA}, - .itemTableId = BATTLE_FRONTIER_ITEM_LIECHI_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LIECHI_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 0, 0, 170, 170), .nature = NATURE_SASSY }, [FRONTIER_MON_OMASTAR_1] = { .species = SPECIES_OMASTAR, .moves = {MOVE_BUBBLE_BEAM, MOVE_SPIKE_CANNON, MOVE_TICKLE, MOVE_ANCIENT_POWER}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_KABUTOPS_1] = { .species = SPECIES_KABUTOPS, .moves = {MOVE_SLASH, MOVE_DIG, MOVE_FURY_CUTTER, MOVE_KNOCK_OFF}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_POLIWRATH_1] = { .species = SPECIES_POLIWRATH, .moves = {MOVE_SUBMISSION, MOVE_DIG, MOVE_ROCK_TOMB, MOVE_BUBBLE_BEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_BLACK_BELT, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BLACK_BELT, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SCYTHER_1] = { .species = SPECIES_SCYTHER, .moves = {MOVE_FURY_CUTTER, MOVE_AERIAL_ACE, MOVE_LIGHT_SCREEN, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_LIECHI_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LIECHI_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_PINSIR_1] = { .species = SPECIES_PINSIR, .moves = {MOVE_SUBMISSION, MOVE_FOCUS_ENERGY, MOVE_SWORDS_DANCE, MOVE_REVENGE}, - .itemTableId = BATTLE_FRONTIER_ITEM_BLACK_BELT, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BLACK_BELT, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_NAUGHTY }, [FRONTIER_MON_POLITOED_1] = { .species = SPECIES_POLITOED, .moves = {MOVE_DIVE, MOVE_DIG, MOVE_HYPNOSIS, MOVE_SWAGGER}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_RELAXED }, [FRONTIER_MON_CLOYSTER_1] = { .species = SPECIES_CLOYSTER, .moves = {MOVE_AURORA_BEAM, MOVE_SPIKE_CANNON, MOVE_SUPERSONIC, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_NEVER_MELT_ICE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_NEVER_MELT_ICE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_SASSY }, [FRONTIER_MON_DELCATTY_2] = { .species = SPECIES_DELCATTY, .moves = {MOVE_FAKE_TEARS, MOVE_SING, MOVE_THUNDERBOLT, MOVE_ICE_BEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_SABLEYE_2] = { .species = SPECIES_SABLEYE, .moves = {MOVE_SHADOW_BALL, MOVE_FEINT_ATTACK, MOVE_CONFUSE_RAY, MOVE_RECOVER}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_LICKITUNG_2] = { .species = SPECIES_LICKITUNG, .moves = {MOVE_EARTHQUAKE, MOVE_BODY_SLAM, MOVE_SHADOW_BALL, MOVE_ROCK_SLIDE}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 170, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_WEEPINBELL_2] = { .species = SPECIES_WEEPINBELL, .moves = {MOVE_SLUDGE_BOMB, MOVE_RAZOR_LEAF, MOVE_SLEEP_POWDER, MOVE_REFLECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_QUIRKY }, [FRONTIER_MON_GRAVELER_2] = { .species = SPECIES_GRAVELER, .moves = {MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_BRICK_BREAK, MOVE_COUNTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_GLOOM_2] = { .species = SPECIES_GLOOM, .moves = {MOVE_SOLAR_BEAM, MOVE_SUNNY_DAY, MOVE_SLUDGE_BOMB, MOVE_MOONLIGHT}, - .itemTableId = BATTLE_FRONTIER_ITEM_PECHA_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_PECHA_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_PORYGON_2] = { .species = SPECIES_PORYGON, .moves = {MOVE_TRI_ATTACK, MOVE_PSYCHIC, MOVE_THUNDER_WAVE, MOVE_RECOVER}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_KADABRA_2] = { .species = SPECIES_KADABRA, .moves = {MOVE_PSYCHIC, MOVE_THUNDER_WAVE, MOVE_REFLECT, MOVE_RECOVER}, - .itemTableId = BATTLE_FRONTIER_ITEM_TWISTED_SPOON, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_TWISTED_SPOON, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_WAILMER_2] = { .species = SPECIES_WAILMER, .moves = {MOVE_WATER_SPOUT, MOVE_EARTHQUAKE, MOVE_BODY_SLAM, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_DOCILE }, [FRONTIER_MON_ROSELIA_2] = { .species = SPECIES_ROSELIA, .moves = {MOVE_GIGA_DRAIN, MOVE_SLUDGE_BOMB, MOVE_GRASS_WHISTLE, MOVE_SYNTHESIS}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_VOLBEAT_2] = { .species = SPECIES_VOLBEAT, .moves = {MOVE_SIGNAL_BEAM, MOVE_THUNDERBOLT, MOVE_ICE_PUNCH, MOVE_TAIL_GLOW}, - .itemTableId = BATTLE_FRONTIER_ITEM_PETAYA_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_PETAYA_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_ILLUMISE_2] = { .species = SPECIES_ILLUMISE, .moves = {MOVE_SILVER_WIND, MOVE_THUNDERBOLT, MOVE_ICE_PUNCH, MOVE_GIGA_DRAIN}, - .itemTableId = BATTLE_FRONTIER_ITEM_PETAYA_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_PETAYA_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_IVYSAUR_2] = { .species = SPECIES_IVYSAUR, .moves = {MOVE_GIGA_DRAIN, MOVE_SLUDGE_BOMB, MOVE_SLEEP_POWDER, MOVE_LEECH_SEED}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_CHARMELEON_2] = { .species = SPECIES_CHARMELEON, .moves = {MOVE_FLAMETHROWER, MOVE_SLASH, MOVE_ANCIENT_POWER, MOVE_DRAGON_RAGE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_WARTORTLE_2] = { .species = SPECIES_WARTORTLE, .moves = {MOVE_SURF, MOVE_ICE_BEAM, MOVE_RAPID_SPIN, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_PARASECT_2] = { .species = SPECIES_PARASECT, .moves = {MOVE_SPORE, MOVE_GIGA_DRAIN, MOVE_DIG, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_CALM }, [FRONTIER_MON_MACHOKE_2] = { .species = SPECIES_MACHOKE, .moves = {MOVE_CROSS_CHOP, MOVE_ROCK_SLIDE, MOVE_FORESIGHT, MOVE_SCARY_FACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_HAUNTER_2] = { .species = SPECIES_HAUNTER, .moves = {MOVE_PSYCHIC, MOVE_HYPNOSIS, MOVE_NIGHTMARE, MOVE_CONFUSE_RAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_RELAXED }, [FRONTIER_MON_BAYLEEF_2] = { .species = SPECIES_BAYLEEF, .moves = {MOVE_GIGA_DRAIN, MOVE_BODY_SLAM, MOVE_GRASS_WHISTLE, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_DOCILE }, [FRONTIER_MON_QUILAVA_2] = { .species = SPECIES_QUILAVA, .moves = {MOVE_FLAMETHROWER, MOVE_CRUSH_CLAW, MOVE_BODY_SLAM, MOVE_SMOKESCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_CROCONAW_2] = { .species = SPECIES_CROCONAW, .moves = {MOVE_MEGA_KICK, MOVE_AERIAL_ACE, MOVE_ROCK_SLIDE, MOVE_DIG}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_TOGETIC_2] = { .species = SPECIES_TOGETIC, .moves = {MOVE_RETURN, MOVE_SWEET_KISS, MOVE_AERIAL_ACE, MOVE_YAWN}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_MURKROW_2] = { .species = SPECIES_MURKROW, .moves = {MOVE_PERISH_SONG, MOVE_MEAN_LOOK, MOVE_DOUBLE_TEAM, MOVE_THUNDER_WAVE}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_QUIRKY }, [FRONTIER_MON_WOBBUFFET_2] = { .species = SPECIES_WOBBUFFET, .moves = {MOVE_COUNTER, MOVE_MIRROR_COAT, MOVE_ENCORE, MOVE_DESTINY_BOND}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_CAREFUL }, [FRONTIER_MON_PLUSLE_2] = { .species = SPECIES_PLUSLE, .moves = {MOVE_THUNDERBOLT, MOVE_THUNDER_WAVE, MOVE_SEISMIC_TOSS, MOVE_WISH}, - .itemTableId = BATTLE_FRONTIER_ITEM_PETAYA_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_PETAYA_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_MINUN_2] = { .species = SPECIES_MINUN, .moves = {MOVE_THUNDERBOLT, MOVE_ATTRACT, MOVE_CHARM, MOVE_WISH}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_GROVYLE_2] = { .species = SPECIES_GROVYLE, .moves = {MOVE_GIGA_DRAIN, MOVE_CRUSH_CLAW, MOVE_SCREECH, MOVE_ROCK_TOMB}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_COMBUSKEN_2] = { .species = SPECIES_COMBUSKEN, .moves = {MOVE_FLAMETHROWER, MOVE_SKY_UPPERCUT, MOVE_SLASH, MOVE_SAND_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_MARSHTOMP_2] = { .species = SPECIES_MARSHTOMP, .moves = {MOVE_MUDDY_WATER, MOVE_EARTHQUAKE, MOVE_MUD_SLAP, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_PONYTA_2] = { .species = SPECIES_PONYTA, .moves = {MOVE_FLAMETHROWER, MOVE_BODY_SLAM, MOVE_DOUBLE_KICK, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_AZUMARILL_2] = { .species = SPECIES_AZUMARILL, .moves = {MOVE_MEGA_KICK, MOVE_BRICK_BREAK, MOVE_IRON_TAIL, MOVE_DIG}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SUDOWOODO_2] = { .species = SPECIES_SUDOWOODO, .moves = {MOVE_MEGA_KICK, MOVE_EARTHQUAKE, MOVE_LOW_KICK, MOVE_SELF_DESTRUCT}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_HARDY }, [FRONTIER_MON_MAGCARGO_2] = { .species = SPECIES_MAGCARGO, .moves = {MOVE_OVERHEAT, MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_BODY_SLAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_QUIET }, [FRONTIER_MON_PUPITAR_2] = { .species = SPECIES_PUPITAR, .moves = {MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_CRUNCH, MOVE_SCARY_FACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_SEALEO_2] = { .species = SPECIES_SEALEO, .moves = {MOVE_ICE_BEAM, MOVE_SURF, MOVE_BODY_SLAM, MOVE_HAIL}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_RATICATE_2] = { .species = SPECIES_RATICATE, .moves = {MOVE_SUPER_FANG, MOVE_HYPER_FANG, MOVE_SHADOW_BALL, MOVE_SCARY_FACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_MASQUERAIN_2] = { .species = SPECIES_MASQUERAIN, .moves = {MOVE_HYDRO_PUMP, MOVE_ICE_BEAM, MOVE_GIGA_DRAIN, MOVE_STUN_SPORE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_FURRET_2] = { .species = SPECIES_FURRET, .moves = {MOVE_TRICK, MOVE_FRUSTRATION, MOVE_SHADOW_BALL, MOVE_FOLLOW_ME}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHOICE_BAND, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_CHOICE_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_DUNSPARCE_2] = { .species = SPECIES_DUNSPARCE, .moves = {MOVE_ICE_BEAM, MOVE_ROCK_TOMB, MOVE_BITE, MOVE_SHADOW_BALL}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_QUIET }, [FRONTIER_MON_DRAGONAIR_2] = { .species = SPECIES_DRAGONAIR, .moves = {MOVE_RETURN, MOVE_REST, MOVE_THUNDER_WAVE, MOVE_DRAGON_DANCE}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_MIGHTYENA_2] = { .species = SPECIES_MIGHTYENA, .moves = {MOVE_CRUNCH, MOVE_SHADOW_BALL, MOVE_FRUSTRATION, MOVE_SCARY_FACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_LINOONE_2] = { .species = SPECIES_LINOONE, .moves = {MOVE_TRICK, MOVE_FRUSTRATION, MOVE_THUNDER_WAVE, MOVE_SAND_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHOICE_BAND, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_CHOICE_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_JOLLY }, [FRONTIER_MON_CASTFORM_2] = { .species = SPECIES_CASTFORM_NORMAL, .moves = {MOVE_THUNDERBOLT, MOVE_FLAMETHROWER, MOVE_ICE_BEAM, MOVE_WATER_PULSE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_SHELGON_2] = { .species = SPECIES_SHELGON, .moves = {MOVE_FRUSTRATION, MOVE_DRAGON_DANCE, MOVE_CRUNCH, MOVE_SCARY_FACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_HARDY }, [FRONTIER_MON_METANG_2] = { .species = SPECIES_METANG, .moves = {MOVE_METEOR_MASH, MOVE_PSYCHIC, MOVE_BODY_SLAM, MOVE_SCARY_FACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_WIGGLYTUFF_2] = { .species = SPECIES_WIGGLYTUFF, .moves = {MOVE_FAKE_TEARS, MOVE_SING, MOVE_DREAM_EATER, MOVE_BRICK_BREAK}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_DOCILE }, [FRONTIER_MON_SUNFLORA_2] = { .species = SPECIES_SUNFLORA, .moves = {MOVE_GIGA_DRAIN, MOVE_GRASS_WHISTLE, MOVE_GROWTH, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_CHIMECHO_2] = { .species = SPECIES_CHIMECHO, .moves = {MOVE_PSYCHIC, MOVE_HYPNOSIS, MOVE_DREAM_EATER, MOVE_HEAL_BELL}, - .itemTableId = BATTLE_FRONTIER_ITEM_TWISTED_SPOON, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_TWISTED_SPOON, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_QUIET }, [FRONTIER_MON_GLIGAR_2] = { .species = SPECIES_GLIGAR, .moves = {MOVE_EARTHQUAKE, MOVE_AERIAL_ACE, MOVE_GUILLOTINE, MOVE_SCREECH}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_QWILFISH_2] = { .species = SPECIES_QWILFISH, .moves = {MOVE_REVENGE, MOVE_SLUDGE_BOMB, MOVE_SHADOW_BALL, MOVE_DESTINY_BOND}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SNEASEL_2] = { .species = SPECIES_SNEASEL, .moves = {MOVE_CRUSH_CLAW, MOVE_BRICK_BREAK, MOVE_AERIAL_ACE, MOVE_SCREECH}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 170, 0, 0), .nature = NATURE_JOLLY }, [FRONTIER_MON_PELIPPER_2] = { .species = SPECIES_PELIPPER, .moves = {MOVE_SURF, MOVE_BLIZZARD, MOVE_AERIAL_ACE, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_QUIET }, [FRONTIER_MON_SWELLOW_2] = { .species = SPECIES_SWELLOW, .moves = {MOVE_FACADE, MOVE_AERIAL_ACE, MOVE_PURSUIT, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_LAIRON_2] = { .species = SPECIES_LAIRON, .moves = {MOVE_EARTHQUAKE, MOVE_IRON_TAIL, MOVE_ROAR, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_SASSY }, [FRONTIER_MON_TANGELA_2] = { .species = SPECIES_TANGELA, .moves = {MOVE_GIGA_DRAIN, MOVE_STUN_SPORE, MOVE_REST, MOVE_AMNESIA}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_CALM }, [FRONTIER_MON_ARBOK_2] = { .species = SPECIES_ARBOK, .moves = {MOVE_SLUDGE_BOMB, MOVE_EARTHQUAKE, MOVE_IRON_TAIL, MOVE_GLARE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_PERSIAN_2] = { .species = SPECIES_PERSIAN, .moves = {MOVE_FRUSTRATION, MOVE_SHADOW_BALL, MOVE_ROAR, MOVE_FAKE_OUT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SILK_SCARF, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SILK_SCARF, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_QUIRKY }, [FRONTIER_MON_SEADRA_2] = { .species = SPECIES_SEADRA, .moves = {MOVE_HYDRO_PUMP, MOVE_FRUSTRATION, MOVE_DRAGON_BREATH, MOVE_DRAGON_DANCE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_DOCILE }, [FRONTIER_MON_KECLEON_2] = { .species = SPECIES_KECLEON, .moves = {MOVE_TRICK, MOVE_BRICK_BREAK, MOVE_SHADOW_BALL, MOVE_SKILL_SWAP}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHOICE_BAND, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHOICE_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_VIGOROTH_2] = { .species = SPECIES_VIGOROTH, .moves = {MOVE_CRUSH_CLAW, MOVE_REVERSAL, MOVE_ENDURE, MOVE_SHADOW_BALL}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_LUNATONE_2] = { .species = SPECIES_LUNATONE, .moves = {MOVE_PSYCHIC, MOVE_ICE_BEAM, MOVE_COSMIC_POWER, MOVE_CALM_MIND}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_SOLROCK_2] = { .species = SPECIES_SOLROCK, .moves = {MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_COSMIC_POWER, MOVE_OVERHEAT}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_HARDY }, [FRONTIER_MON_NOCTOWL_2] = { .species = SPECIES_NOCTOWL, .moves = {MOVE_PSYCHIC, MOVE_FEINT_ATTACK, MOVE_AERIAL_ACE, MOVE_REFLECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_SANDSLASH_2] = { .species = SPECIES_SANDSLASH, .moves = {MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_CRUSH_CLAW, MOVE_SANDSTORM}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_VENOMOTH_2] = { .species = SPECIES_VENOMOTH, .moves = {MOVE_SIGNAL_BEAM, MOVE_PSYCHIC, MOVE_SLUDGE_BOMB, MOVE_GIGA_DRAIN}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_CHANSEY_2] = { .species = SPECIES_CHANSEY, .moves = {MOVE_SEISMIC_TOSS, MOVE_SHADOW_BALL, MOVE_DOUBLE_TEAM, MOVE_SOFT_BOILED}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_RELAXED }, [FRONTIER_MON_SEAKING_2] = { .species = SPECIES_SEAKING, .moves = {MOVE_HORN_DRILL, MOVE_MEGAHORN, MOVE_SLEEP_TALK, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_IMPISH }, [FRONTIER_MON_JUMPLUFF_2] = { .species = SPECIES_JUMPLUFF, .moves = {MOVE_LEECH_SEED, MOVE_SLEEP_POWDER, MOVE_GIGA_DRAIN, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_BOLD }, [FRONTIER_MON_PILOSWINE_2] = { .species = SPECIES_PILOSWINE, .moves = {MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_BODY_SLAM, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_GOLBAT_2] = { .species = SPECIES_GOLBAT, .moves = {MOVE_SLUDGE_BOMB, MOVE_SHADOW_BALL, MOVE_CONFUSE_RAY, MOVE_AIR_CUTTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_PRIMEAPE_2] = { .species = SPECIES_PRIMEAPE, .moves = {MOVE_CROSS_CHOP, MOVE_ROCK_TOMB, MOVE_OVERHEAT, MOVE_BULK_UP}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_QUIRKY }, [FRONTIER_MON_HITMONLEE_2] = { .species = SPECIES_HITMONLEE, .moves = {MOVE_MEGA_KICK, MOVE_BRICK_BREAK, MOVE_FORESIGHT, MOVE_ROCK_TOMB}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_HITMONCHAN_2] = { .species = SPECIES_HITMONCHAN, .moves = {MOVE_DYNAMIC_PUNCH, MOVE_MACH_PUNCH, MOVE_DETECT, MOVE_COUNTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_GIRAFARIG_2] = { .species = SPECIES_GIRAFARIG, .moves = {MOVE_PSYCHIC, MOVE_CRUNCH, MOVE_BATON_PASS, MOVE_AGILITY}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_MODEST }, [FRONTIER_MON_HITMONTOP_2] = { .species = SPECIES_HITMONTOP, .moves = {MOVE_DOUBLE_EDGE, MOVE_SEISMIC_TOSS, MOVE_ROCK_SLIDE, MOVE_COUNTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_BANETTE_2] = { .species = SPECIES_BANETTE, .moves = {MOVE_SHADOW_BALL, MOVE_FRUSTRATION, MOVE_SCREECH, MOVE_WILL_O_WISP}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_NINJASK_2] = { .species = SPECIES_NINJASK, .moves = {MOVE_SLASH, MOVE_SHADOW_BALL, MOVE_SWORDS_DANCE, MOVE_BATON_PASS}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_QUIRKY }, [FRONTIER_MON_SEVIPER_2] = { .species = SPECIES_SEVIPER, .moves = {MOVE_SLUDGE_BOMB, MOVE_EARTHQUAKE, MOVE_CRUNCH, MOVE_GIGA_DRAIN}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_QUIRKY }, [FRONTIER_MON_ZANGOOSE_2] = { .species = SPECIES_ZANGOOSE, .moves = {MOVE_CRUSH_CLAW, MOVE_SHADOW_BALL, MOVE_BRICK_BREAK, MOVE_AERIAL_ACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_CAMERUPT_2] = { .species = SPECIES_CAMERUPT, .moves = {MOVE_EARTHQUAKE, MOVE_ERUPTION, MOVE_BODY_SLAM, MOVE_SCARY_FACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_SHARPEDO_2] = { .species = SPECIES_SHARPEDO, .moves = {MOVE_DOUBLE_EDGE, MOVE_CRUNCH, MOVE_EARTHQUAKE, MOVE_SURF}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_TROPIUS_2] = { .species = SPECIES_TROPIUS, .moves = {MOVE_SOLAR_BEAM, MOVE_SUNNY_DAY, MOVE_SYNTHESIS, MOVE_BODY_SLAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_MAGNETON_2] = { .species = SPECIES_MAGNETON, .moves = {MOVE_THUNDER, MOVE_RAIN_DANCE, MOVE_THUNDER_WAVE, MOVE_METAL_SOUND}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_HARDY }, [FRONTIER_MON_MANTINE_2] = { .species = SPECIES_MANTINE, .moves = {MOVE_SURF, MOVE_ICE_BEAM, MOVE_RAIN_DANCE, MOVE_CONFUSE_RAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_STANTLER_2] = { .species = SPECIES_STANTLER, .moves = {MOVE_FRUSTRATION, MOVE_SHADOW_BALL, MOVE_THUNDER_WAVE, MOVE_CONFUSE_RAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_ABSOL_2] = { .species = SPECIES_ABSOL, .moves = {MOVE_DOUBLE_EDGE, MOVE_SHADOW_BALL, MOVE_AERIAL_ACE, MOVE_IRON_TAIL}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHOICE_BAND, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_CHOICE_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SWALOT_2] = { .species = SPECIES_SWALOT, .moves = {MOVE_SLUDGE_BOMB, MOVE_SHADOW_BALL, MOVE_BODY_SLAM, MOVE_COUNTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_CRAWDAUNT_2] = { .species = SPECIES_CRAWDAUNT, .moves = {MOVE_GUILLOTINE, MOVE_FRUSTRATION, MOVE_ANCIENT_POWER, MOVE_AERIAL_ACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_PIDGEOT_2] = { .species = SPECIES_PIDGEOT, .moves = {MOVE_RETURN, MOVE_AERIAL_ACE, MOVE_STEEL_WING, MOVE_MUD_SLAP}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_GRUMPIG_2] = { .species = SPECIES_GRUMPIG, .moves = {MOVE_PSYCHIC, MOVE_ICE_PUNCH, MOVE_THUNDER_PUNCH, MOVE_FIRE_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_TORKOAL_2] = { .species = SPECIES_TORKOAL, .moves = {MOVE_OVERHEAT, MOVE_BODY_SLAM, MOVE_SMOKESCREEN, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_SASSY }, [FRONTIER_MON_KINGLER_2] = { .species = SPECIES_KINGLER, .moves = {MOVE_GUILLOTINE, MOVE_ROCK_TOMB, MOVE_FLAIL, MOVE_ENDURE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_CACTURNE_2] = { .species = SPECIES_CACTURNE, .moves = {MOVE_MEGA_KICK, MOVE_TEETER_DANCE, MOVE_FEINT_ATTACK, MOVE_SANDSTORM}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_HARDY }, [FRONTIER_MON_BELLOSSOM_2] = { .species = SPECIES_BELLOSSOM, .moves = {MOVE_SOLAR_BEAM, MOVE_ATTRACT, MOVE_SUNNY_DAY, MOVE_SYNTHESIS}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_OCTILLERY_2] = { .species = SPECIES_OCTILLERY, .moves = {MOVE_OCTAZOOKA, MOVE_FIRE_BLAST, MOVE_THUNDER_WAVE, MOVE_MUD_SLAP}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_QUIRKY }, [FRONTIER_MON_HUNTAIL_2] = { .species = SPECIES_HUNTAIL, .moves = {MOVE_SURF, MOVE_RAIN_DANCE, MOVE_CRUNCH, MOVE_BODY_SLAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_QUIET }, [FRONTIER_MON_GOREBYSS_2] = { .species = SPECIES_GOREBYSS, .moves = {MOVE_SURF, MOVE_RAIN_DANCE, MOVE_PSYCHIC, MOVE_BODY_SLAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_QUIET }, [FRONTIER_MON_RELICANTH_2] = { .species = SPECIES_RELICANTH, .moves = {MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_AMNESIA, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_SASSY }, [FRONTIER_MON_OMASTAR_2] = { .species = SPECIES_OMASTAR, .moves = {MOVE_HYDRO_PUMP, MOVE_RAIN_DANCE, MOVE_ICE_BEAM, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_MODEST }, [FRONTIER_MON_KABUTOPS_2] = { .species = SPECIES_KABUTOPS, .moves = {MOVE_SLASH, MOVE_ROCK_SLIDE, MOVE_FLAIL, MOVE_ENDURE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_POLIWRATH_2] = { .species = SPECIES_POLIWRATH, .moves = {MOVE_BRICK_BREAK, MOVE_HYPNOSIS, MOVE_REST, MOVE_BELLY_DRUM}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SCYTHER_2] = { .species = SPECIES_SCYTHER, .moves = {MOVE_SILVER_WIND, MOVE_AERIAL_ACE, MOVE_SWORDS_DANCE, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_PINSIR_2] = { .species = SPECIES_PINSIR, .moves = {MOVE_GUILLOTINE, MOVE_SWORDS_DANCE, MOVE_FLAIL, MOVE_ENDURE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_JOLLY }, [FRONTIER_MON_POLITOED_2] = { .species = SPECIES_POLITOED, .moves = {MOVE_SURF, MOVE_PSYCHIC, MOVE_MUD_SLAP, MOVE_SWAGGER}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_CLOYSTER_2] = { .species = SPECIES_CLOYSTER, .moves = {MOVE_DIVE, MOVE_TOXIC, MOVE_DOUBLE_TEAM, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_CAREFUL }, [FRONTIER_MON_DUGTRIO_1] = { .species = SPECIES_DUGTRIO, .moves = {MOVE_EARTHQUAKE, MOVE_TRI_ATTACK, MOVE_SLASH, MOVE_SAND_TOMB}, - .itemTableId = BATTLE_FRONTIER_ITEM_SOFT_SAND, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SOFT_SAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_MEDICHAM_1] = { .species = SPECIES_MEDICHAM, .moves = {MOVE_PSYCHIC, MOVE_HIGH_JUMP_KICK, MOVE_CALM_MIND, MOVE_BATON_PASS}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_MISDREAVUS_1] = { .species = SPECIES_MISDREAVUS, .moves = {MOVE_PAIN_SPLIT, MOVE_SHADOW_BALL, MOVE_CONFUSE_RAY, MOVE_THUNDER_WAVE}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_IMPISH }, [FRONTIER_MON_FEAROW_1] = { .species = SPECIES_FEAROW, .moves = {MOVE_DRILL_PECK, MOVE_TRI_ATTACK, MOVE_FACADE, MOVE_MUD_SLAP}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHARP_BEAK, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SHARP_BEAK, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_GRANBULL_1] = { .species = SPECIES_GRANBULL, .moves = {MOVE_MEGA_KICK, MOVE_SMELLING_SALTS, MOVE_THUNDER_WAVE, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_JYNX_1] = { .species = SPECIES_JYNX, .moves = {MOVE_ICE_BEAM, MOVE_FAKE_OUT, MOVE_LOVELY_KISS, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_DUSCLOPS_1] = { .species = SPECIES_DUSCLOPS, .moves = {MOVE_WILL_O_WISP, MOVE_SEISMIC_TOSS, MOVE_PAIN_SPLIT, MOVE_CONFUSE_RAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_IMPISH }, [FRONTIER_MON_DODRIO_1] = { .species = SPECIES_DODRIO, .moves = {MOVE_DRILL_PECK, MOVE_TRI_ATTACK, MOVE_SLEEP_TALK, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_MR_MIME_1] = { .species = SPECIES_MR_MIME, .moves = {MOVE_PSYCHIC, MOVE_MAGICAL_LEAF, MOVE_FAKE_OUT, MOVE_REFLECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_LANTURN_1] = { .species = SPECIES_LANTURN, .moves = {MOVE_SURF, MOVE_CONFUSE_RAY, MOVE_ATTRACT, MOVE_THUNDER_WAVE}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_BRELOOM_1] = { .species = SPECIES_BRELOOM, .moves = {MOVE_SKY_UPPERCUT, MOVE_MACH_PUNCH, MOVE_HEADBUTT, MOVE_COUNTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_JOLLY }, [FRONTIER_MON_FORRETRESS_1] = { .species = SPECIES_FORRETRESS, .moves = {MOVE_DOUBLE_EDGE, MOVE_ROCK_SLIDE, MOVE_LIGHT_SCREEN, MOVE_SPIKES}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_WHISCASH_1] = { .species = SPECIES_WHISCASH, .moves = {MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_AMNESIA, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_XATU_1] = { .species = SPECIES_XATU, .moves = {MOVE_DRILL_PECK, MOVE_NIGHT_SHADE, MOVE_WISH, MOVE_FUTURE_SIGHT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHARP_BEAK, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SHARP_BEAK, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_SKARMORY_1] = { .species = SPECIES_SKARMORY, .moves = {MOVE_STEEL_WING, MOVE_AIR_CUTTER, MOVE_COUNTER, MOVE_AGILITY}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_MAROWAK_1] = { .species = SPECIES_MAROWAK, .moves = {MOVE_BONEMERANG, MOVE_ROCK_SLIDE, MOVE_ICY_WIND, MOVE_HEADBUTT}, - .itemTableId = BATTLE_FRONTIER_ITEM_THICK_CLUB, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_THICK_CLUB, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_QUAGSIRE_1] = { .species = SPECIES_QUAGSIRE, .moves = {MOVE_EARTHQUAKE, MOVE_BRICK_BREAK, MOVE_COUNTER, MOVE_MUD_SLAP}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_CLEFABLE_1] = { .species = SPECIES_CLEFABLE, .moves = {MOVE_METRONOME, MOVE_DOUBLE_TEAM, MOVE_REFLECT, MOVE_FOLLOW_ME}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_BRAVE }, [FRONTIER_MON_HARIYAMA_1] = { .species = SPECIES_HARIYAMA, .moves = {MOVE_CROSS_CHOP, MOVE_ROCK_SLIDE, MOVE_COUNTER, MOVE_FAKE_OUT}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_RAICHU_1] = { .species = SPECIES_RAICHU, .moves = {MOVE_THUNDERBOLT, MOVE_QUICK_ATTACK, MOVE_LIGHT_SCREEN, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 170, 170, 170, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_DEWGONG_1] = { .species = SPECIES_DEWGONG, .moves = {MOVE_ICE_BEAM, MOVE_ICY_WIND, MOVE_HEADBUTT, MOVE_FAKE_OUT}, - .itemTableId = BATTLE_FRONTIER_ITEM_NEVER_MELT_ICE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_NEVER_MELT_ICE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_MANECTRIC_1] = { .species = SPECIES_MANECTRIC, .moves = {MOVE_THUNDERBOLT, MOVE_FLASH, MOVE_QUICK_ATTACK, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_MAGNET, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_MAGNET, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_VILEPLUME_1] = { .species = SPECIES_VILEPLUME, .moves = {MOVE_SLUDGE_BOMB, MOVE_PETAL_DANCE, MOVE_MOONLIGHT, MOVE_AROMATHERAPY}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_IMPISH }, [FRONTIER_MON_VICTREEBEL_1] = { .species = SPECIES_VICTREEBEL, .moves = {MOVE_GIGA_DRAIN, MOVE_SLEEP_POWDER, MOVE_SWEET_SCENT, MOVE_SYNTHESIS}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_QUIET }, [FRONTIER_MON_ELECTRODE_1] = { .species = SPECIES_ELECTRODE, .moves = {MOVE_THUNDERBOLT, MOVE_SWIFT, MOVE_LIGHT_SCREEN, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_EXPLOUD_1] = { .species = SPECIES_EXPLOUD, .moves = {MOVE_HYPER_VOICE, MOVE_SHADOW_BALL, MOVE_SLEEP_TALK, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_IMPISH }, [FRONTIER_MON_SHIFTRY_1] = { .species = SPECIES_SHIFTRY, .moves = {MOVE_GIGA_DRAIN, MOVE_FEINT_ATTACK, MOVE_QUICK_ATTACK, MOVE_FAKE_OUT}, - .itemTableId = BATTLE_FRONTIER_ITEM_MIRACLE_SEED, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_MIRACLE_SEED, + .evSpread = TRAINER_PARTY_EVS(0, 0, 170, 0, 170, 170), .nature = NATURE_QUIET }, [FRONTIER_MON_GLALIE_1] = { .species = SPECIES_GLALIE, .moves = {MOVE_ICE_BEAM, MOVE_CRUNCH, MOVE_HAIL, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_PETAYA_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PETAYA_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_LUDICOLO_1] = { .species = SPECIES_LUDICOLO, .moves = {MOVE_SURF, MOVE_RAIN_DANCE, MOVE_THUNDER_PUNCH, MOVE_FIRE_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_HYPNO_1] = { .species = SPECIES_HYPNO, .moves = {MOVE_THUNDER_PUNCH, MOVE_FIRE_PUNCH, MOVE_ICE_PUNCH, MOVE_HYPNOSIS}, - .itemTableId = BATTLE_FRONTIER_ITEM_TWISTED_SPOON, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_TWISTED_SPOON, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_GOLEM_1] = { .species = SPECIES_GOLEM, .moves = {MOVE_EARTHQUAKE, MOVE_BODY_SLAM, MOVE_COUNTER, MOVE_ROCK_TOMB}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_RHYDON_1] = { .species = SPECIES_RHYDON, .moves = {MOVE_EARTHQUAKE, MOVE_ROCK_TOMB, MOVE_SCARY_FACE, MOVE_BRICK_BREAK}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_ALAKAZAM_1] = { .species = SPECIES_ALAKAZAM, .moves = {MOVE_THUNDER_PUNCH, MOVE_FIRE_PUNCH, MOVE_ICE_PUNCH, MOVE_THUNDER_WAVE}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_WEEZING_1] = { .species = SPECIES_WEEZING, .moves = {MOVE_SLUDGE_BOMB, MOVE_WILL_O_WISP, MOVE_SHADOW_BALL, MOVE_SMOKESCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_KANGASKHAN_1] = { .species = SPECIES_KANGASKHAN, .moves = {MOVE_DIZZY_PUNCH, MOVE_BRICK_BREAK, MOVE_COUNTER, MOVE_FAKE_OUT}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_ELECTABUZZ_1] = { .species = SPECIES_ELECTABUZZ, .moves = {MOVE_THUNDERBOLT, MOVE_THUNDER_WAVE, MOVE_BRICK_BREAK, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_TAUROS_1] = { .species = SPECIES_TAUROS, .moves = {MOVE_EARTHQUAKE, MOVE_THRASH, MOVE_SWAGGER, MOVE_FACADE}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SLOWBRO_1] = { .species = SPECIES_SLOWBRO, .moves = {MOVE_SURF, MOVE_RAIN_DANCE, MOVE_HEADBUTT, MOVE_ICE_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_QUIET }, [FRONTIER_MON_SLOWKING_1] = { .species = SPECIES_SLOWKING, .moves = {MOVE_PSYCHIC, MOVE_BRICK_BREAK, MOVE_AMNESIA, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_MILTANK_1] = { .species = SPECIES_MILTANK, .moves = {MOVE_FACADE, MOVE_SHADOW_BALL, MOVE_COUNTER, MOVE_MILK_DRINK}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_CAREFUL }, [FRONTIER_MON_ALTARIA_1] = { .species = SPECIES_ALTARIA, .moves = {MOVE_DRAGON_CLAW, MOVE_AERIAL_ACE, MOVE_REFRESH, MOVE_BODY_SLAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_NIDOQUEEN_1] = { .species = SPECIES_NIDOQUEEN, .moves = {MOVE_SLUDGE_BOMB, MOVE_DOUBLE_KICK, MOVE_BODY_SLAM, MOVE_COUNTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_NIDOKING_1] = { .species = SPECIES_NIDOKING, .moves = {MOVE_HORN_DRILL, MOVE_DOUBLE_KICK, MOVE_BODY_SLAM, MOVE_COUNTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_MAGMAR_1] = { .species = SPECIES_MAGMAR, .moves = {MOVE_FLAMETHROWER, MOVE_SMOKESCREEN, MOVE_BRICK_BREAK, MOVE_BARRIER}, - .itemTableId = BATTLE_FRONTIER_ITEM_RAWST_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_RAWST_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_CRADILY_1] = { .species = SPECIES_CRADILY, .moves = {MOVE_GIGA_DRAIN, MOVE_ROCK_SLIDE, MOVE_BARRIER, MOVE_CONFUSE_RAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_RELAXED }, [FRONTIER_MON_ARMALDO_1] = { .species = SPECIES_ARMALDO, .moves = {MOVE_SLASH, MOVE_AERIAL_ACE, MOVE_ANCIENT_POWER, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_GOLDUCK_1] = { .species = SPECIES_GOLDUCK, .moves = {MOVE_HYDRO_PUMP, MOVE_DIG, MOVE_BRICK_BREAK, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_RAPIDASH_1] = { .species = SPECIES_RAPIDASH, .moves = {MOVE_FLAMETHROWER, MOVE_DOUBLE_KICK, MOVE_QUICK_ATTACK, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHARCOAL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_CHARCOAL, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_MUK_1] = { .species = SPECIES_MUK, .moves = {MOVE_SLUDGE_BOMB, MOVE_BODY_SLAM, MOVE_SCREECH, MOVE_MINIMIZE}, - .itemTableId = BATTLE_FRONTIER_ITEM_POISON_BARB, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_POISON_BARB, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_GENGAR_1] = { .species = SPECIES_GENGAR, .moves = {MOVE_DREAM_EATER, MOVE_HYPNOSIS, MOVE_CONFUSE_RAY, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 0, 170, 170, 0), .nature = NATURE_TIMID }, [FRONTIER_MON_AMPHAROS_1] = { .species = SPECIES_AMPHAROS, .moves = {MOVE_THUNDER, MOVE_RAIN_DANCE, MOVE_THUNDER_WAVE, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_MAGNET, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_MAGNET, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_RELAXED }, [FRONTIER_MON_SCIZOR_1] = { .species = SPECIES_SCIZOR, .moves = {MOVE_METAL_CLAW, MOVE_AERIAL_ACE, MOVE_COUNTER, MOVE_QUICK_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_HERACROSS_1] = { .species = SPECIES_HERACROSS, .moves = {MOVE_MEGAHORN, MOVE_BRICK_BREAK, MOVE_ROCK_TOMB, MOVE_COUNTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 252, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_URSARING_1] = { .species = SPECIES_URSARING, .moves = {MOVE_MEGA_KICK, MOVE_CRUNCH, MOVE_AERIAL_ACE, MOVE_COUNTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_HOUNDOOM_1] = { .species = SPECIES_HOUNDOOM, .moves = {MOVE_FLAMETHROWER, MOVE_SHADOW_BALL, MOVE_COUNTER, MOVE_WILL_O_WISP}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_DONPHAN_1] = { .species = SPECIES_DONPHAN, .moves = {MOVE_EARTHQUAKE, MOVE_ANCIENT_POWER, MOVE_SWAGGER, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_CLAYDOL_1] = { .species = SPECIES_CLAYDOL, .moves = {MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_SWAGGER, MOVE_PSYCH_UP}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_WAILORD_1] = { .species = SPECIES_WAILORD, .moves = {MOVE_SURF, MOVE_ICY_WIND, MOVE_BODY_SLAM, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_SASSY }, [FRONTIER_MON_NINETALES_1] = { .species = SPECIES_NINETALES, .moves = {MOVE_FLAMETHROWER, MOVE_ROAR, MOVE_CONFUSE_RAY, MOVE_WILL_O_WISP}, - .itemTableId = BATTLE_FRONTIER_ITEM_RAWST_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_RAWST_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_MACHAMP_1] = { .species = SPECIES_MACHAMP, .moves = {MOVE_CROSS_CHOP, MOVE_ROCK_SLIDE, MOVE_COUNTER, MOVE_SCARY_FACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SHUCKLE_1] = { .species = SPECIES_SHUCKLE, .moves = {MOVE_ROLLOUT, MOVE_DEFENSE_CURL, MOVE_SLEEP_TALK, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_BRAVE }, [FRONTIER_MON_STEELIX_1] = { .species = SPECIES_STEELIX, .moves = {MOVE_EARTHQUAKE, MOVE_DRAGON_BREATH, MOVE_ROCK_TOMB, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_TENTACRUEL_1] = { .species = SPECIES_TENTACRUEL, .moves = {MOVE_SLUDGE_BOMB, MOVE_ICY_WIND, MOVE_BARRIER, MOVE_CONFUSE_RAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 252, 0, 0, 0), .nature = NATURE_IMPISH }, [FRONTIER_MON_AERODACTYL_1] = { .species = SPECIES_AERODACTYL, .moves = {MOVE_ANCIENT_POWER, MOVE_DRAGON_BREATH, MOVE_AERIAL_ACE, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 170, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_PORYGON2_1] = { .species = SPECIES_PORYGON2, .moves = {MOVE_TRI_ATTACK, MOVE_AERIAL_ACE, MOVE_SHADOW_BALL, MOVE_RECOVER}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_GARDEVOIR_1] = { .species = SPECIES_GARDEVOIR, .moves = {MOVE_DREAM_EATER, MOVE_HYPNOSIS, MOVE_MAGICAL_LEAF, MOVE_REFLECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 170, 0, 0), .nature = NATURE_TIMID }, [FRONTIER_MON_EXEGGUTOR_1] = { .species = SPECIES_EXEGGUTOR, .moves = {MOVE_SOLAR_BEAM, MOVE_SUNNY_DAY, MOVE_SYNTHESIS, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_QUIET }, [FRONTIER_MON_STARMIE_1] = { .species = SPECIES_STARMIE, .moves = {MOVE_PSYCHIC, MOVE_CONFUSE_RAY, MOVE_THUNDER_WAVE, MOVE_RECOVER}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_FLYGON_1] = { .species = SPECIES_FLYGON, .moves = {MOVE_EARTHQUAKE, MOVE_STEEL_WING, MOVE_FEINT_ATTACK, MOVE_FACADE}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_VENUSAUR_1] = { .species = SPECIES_VENUSAUR, .moves = {MOVE_GIGA_DRAIN, MOVE_SUNNY_DAY, MOVE_SYNTHESIS, MOVE_SLEEP_POWDER}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_VAPOREON_1] = { .species = SPECIES_VAPOREON, .moves = {MOVE_SURF, MOVE_ROAR, MOVE_BITE, MOVE_QUICK_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_MYSTIC_WATER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_MYSTIC_WATER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 170, 0, 170, 170), .nature = NATURE_MODEST }, [FRONTIER_MON_JOLTEON_1] = { .species = SPECIES_JOLTEON, .moves = {MOVE_THUNDERBOLT, MOVE_THUNDER_WAVE, MOVE_ATTRACT, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_FLAREON_1] = { .species = SPECIES_FLAREON, .moves = {MOVE_FLAMETHROWER, MOVE_ROAR, MOVE_BITE, MOVE_SAND_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_MEGANIUM_1] = { .species = SPECIES_MEGANIUM, .moves = {MOVE_SOLAR_BEAM, MOVE_SUNNY_DAY, MOVE_LIGHT_SCREEN, MOVE_SYNTHESIS}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_ESPEON_1] = { .species = SPECIES_ESPEON, .moves = {MOVE_PSYCHIC, MOVE_CHARM, MOVE_CALM_MIND, MOVE_BATON_PASS}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SPEED | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 170, 170, 0, 170), .nature = NATURE_MODEST }, [FRONTIER_MON_UMBREON_1] = { .species = SPECIES_UMBREON, .moves = {MOVE_CONFUSE_RAY, MOVE_FEINT_ATTACK, MOVE_DOUBLE_TEAM, MOVE_BATON_PASS}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_BOLD }, [FRONTIER_MON_BLASTOISE_1] = { .species = SPECIES_BLASTOISE, .moves = {MOVE_HYDRO_PUMP, MOVE_RAIN_DANCE, MOVE_BITE, MOVE_SEISMIC_TOSS}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_FERALIGATR_1] = { .species = SPECIES_FERALIGATR, .moves = {MOVE_SURF, MOVE_RAIN_DANCE, MOVE_AERIAL_ACE, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 0, 0, 170, 170), .nature = NATURE_QUIET }, [FRONTIER_MON_AGGRON_1] = { .species = SPECIES_AGGRON, .moves = {MOVE_IRON_TAIL, MOVE_EARTHQUAKE, MOVE_AERIAL_ACE, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_BLAZIKEN_1] = { .species = SPECIES_BLAZIKEN, .moves = {MOVE_FLAMETHROWER, MOVE_SUNNY_DAY, MOVE_DOUBLE_KICK, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_WALREIN_1] = { .species = SPECIES_WALREIN, .moves = {MOVE_BLIZZARD, MOVE_HAIL, MOVE_YAWN, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_QUIET }, [FRONTIER_MON_SCEPTILE_1] = { .species = SPECIES_SCEPTILE, .moves = {MOVE_LEAF_BLADE, MOVE_LEECH_SEED, MOVE_AERIAL_ACE, MOVE_DETECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_CHARIZARD_1] = { .species = SPECIES_CHARIZARD, .moves = {MOVE_FIRE_BLAST, MOVE_SUNNY_DAY, MOVE_ROAR, MOVE_SCARY_FACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_TYPHLOSION_1] = { .species = SPECIES_TYPHLOSION, .moves = {MOVE_FIRE_BLAST, MOVE_SUNNY_DAY, MOVE_SMOKESCREEN, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_LAPRAS_1] = { .species = SPECIES_LAPRAS, .moves = {MOVE_SURF, MOVE_ATTRACT, MOVE_CONFUSE_RAY, MOVE_SING}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_BOLD }, [FRONTIER_MON_CROBAT_1] = { .species = SPECIES_CROBAT, .moves = {MOVE_SLUDGE_BOMB, MOVE_BITE, MOVE_ASTONISH, MOVE_SCREECH}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_SWAMPERT_1] = { .species = SPECIES_SWAMPERT, .moves = {MOVE_EARTHQUAKE, MOVE_COUNTER, MOVE_REST, MOVE_CURSE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_GYARADOS_1] = { .species = SPECIES_GYARADOS, .moves = {MOVE_RETURN, MOVE_BITE, MOVE_THUNDER_WAVE, MOVE_DRAGON_DANCE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_CAREFUL }, [FRONTIER_MON_SNORLAX_1] = { .species = SPECIES_SNORLAX, .moves = {MOVE_FACADE, MOVE_SHADOW_BALL, MOVE_ATTRACT, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 252, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_KINGDRA_1] = { .species = SPECIES_KINGDRA, .moves = {MOVE_HYDRO_PUMP, MOVE_DRAGON_BREATH, MOVE_ICY_WIND, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_BLISSEY_1] = { .species = SPECIES_BLISSEY, .moves = {MOVE_TOXIC, MOVE_DOUBLE_TEAM, MOVE_SING, MOVE_SOFT_BOILED}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_BOLD }, [FRONTIER_MON_MILOTIC_1] = { .species = SPECIES_MILOTIC, .moves = {MOVE_HYDRO_PUMP, MOVE_ICY_WIND, MOVE_RECOVER, MOVE_MIRROR_COAT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_ARCANINE_1] = { .species = SPECIES_ARCANINE, .moves = {MOVE_FLAMETHROWER, MOVE_EXTREME_SPEED, MOVE_CRUNCH, MOVE_BODY_SLAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SALAMENCE_1] = { .species = SPECIES_SALAMENCE, .moves = {MOVE_DRAGON_CLAW, MOVE_AERIAL_ACE, MOVE_HEADBUTT, MOVE_ROCK_SLIDE}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_METAGROSS_1] = { .species = SPECIES_METAGROSS, .moves = {MOVE_METEOR_MASH, MOVE_AERIAL_ACE, MOVE_FACADE, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SLAKING_1] = { .species = SPECIES_SLAKING, .moves = {MOVE_YAWN, MOVE_BULK_UP, MOVE_SWAGGER, MOVE_AERIAL_ACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_DUGTRIO_2] = { .species = SPECIES_DUGTRIO, .moves = {MOVE_EARTHQUAKE, MOVE_ANCIENT_POWER, MOVE_AERIAL_ACE, MOVE_TRI_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_MEDICHAM_2] = { .species = SPECIES_MEDICHAM, .moves = {MOVE_REVERSAL, MOVE_ENDURE, MOVE_PSYCHIC, MOVE_FAKE_OUT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_MAROWAK_2] = { .species = SPECIES_MAROWAK, .moves = {MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_SWORDS_DANCE, MOVE_ICY_WIND}, - .itemTableId = BATTLE_FRONTIER_ITEM_THICK_CLUB, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_THICK_CLUB, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_QUAGSIRE_2] = { .species = SPECIES_QUAGSIRE, .moves = {MOVE_CURSE, MOVE_ATTRACT, MOVE_YAWN, MOVE_ANCIENT_POWER}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_SASSY }, [FRONTIER_MON_MISDREAVUS_2] = { .species = SPECIES_MISDREAVUS, .moves = {MOVE_PSYCHIC, MOVE_ATTRACT, MOVE_THUNDER_WAVE, MOVE_CONFUSE_RAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 252, 0), .nature = NATURE_BOLD }, [FRONTIER_MON_FEAROW_2] = { .species = SPECIES_FEAROW, .moves = {MOVE_DRILL_PECK, MOVE_TRI_ATTACK, MOVE_ATTRACT, MOVE_PURSUIT}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_GRANBULL_2] = { .species = SPECIES_GRANBULL, .moves = {MOVE_OVERHEAT, MOVE_THUNDERBOLT, MOVE_ICE_PUNCH, MOVE_FACADE}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 0, 252, 252), .nature = NATURE_QUIET }, [FRONTIER_MON_JYNX_2] = { .species = SPECIES_JYNX, .moves = {MOVE_PERISH_SONG, MOVE_MEAN_LOOK, MOVE_LOVELY_KISS, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_IMPISH }, [FRONTIER_MON_DUSCLOPS_2] = { .species = SPECIES_DUSCLOPS, .moves = {MOVE_TOXIC, MOVE_CONFUSE_RAY, MOVE_DOUBLE_TEAM, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_IMPISH }, [FRONTIER_MON_DODRIO_2] = { .species = SPECIES_DODRIO, .moves = {MOVE_DRILL_PECK, MOVE_DOUBLE_EDGE, MOVE_FEINT_ATTACK, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_MR_MIME_2] = { .species = SPECIES_MR_MIME, .moves = {MOVE_BATON_PASS, MOVE_SWAGGER, MOVE_PSYCH_UP, MOVE_PSYCHIC}, - .itemTableId = BATTLE_FRONTIER_ITEM_LIECHI_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LIECHI_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_LANTURN_2] = { .species = SPECIES_LANTURN, .moves = {MOVE_FLAIL, MOVE_ENDURE, MOVE_THUNDERBOLT, MOVE_SURF}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_BRELOOM_2] = { .species = SPECIES_BRELOOM, .moves = {MOVE_GIGA_DRAIN, MOVE_LEECH_SEED, MOVE_FOCUS_PUNCH, MOVE_SPORE}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_FORRETRESS_2] = { .species = SPECIES_FORRETRESS, .moves = {MOVE_EARTHQUAKE, MOVE_DOUBLE_EDGE, MOVE_COUNTER, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SKARMORY_2] = { .species = SPECIES_SKARMORY, .moves = {MOVE_SPIKES, MOVE_ROAR, MOVE_DRILL_PECK, MOVE_TOXIC}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 0, 170), .nature = NATURE_CAREFUL }, [FRONTIER_MON_WHISCASH_2] = { .species = SPECIES_WHISCASH, .moves = {MOVE_SURF, MOVE_EARTHQUAKE, MOVE_SPARK, MOVE_FUTURE_SIGHT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_XATU_2] = { .species = SPECIES_XATU, .moves = {MOVE_FLY, MOVE_TOXIC, MOVE_CONFUSE_RAY, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_IMPISH }, [FRONTIER_MON_CLEFABLE_2] = { .species = SPECIES_CLEFABLE, .moves = {MOVE_METEOR_MASH, MOVE_COSMIC_POWER, MOVE_DOUBLE_TEAM, MOVE_FOLLOW_ME}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 252, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_HARIYAMA_2] = { .species = SPECIES_HARIYAMA, .moves = {MOVE_CROSS_CHOP, MOVE_FIRE_PUNCH, MOVE_ICE_PUNCH, MOVE_THUNDER_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_RAICHU_2] = { .species = SPECIES_RAICHU, .moves = {MOVE_THUNDERBOLT, MOVE_REVERSAL, MOVE_ENDURE, MOVE_AGILITY}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_DEWGONG_2] = { .species = SPECIES_DEWGONG, .moves = {MOVE_BLIZZARD, MOVE_DOUBLE_EDGE, MOVE_ENCORE, MOVE_DISABLE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_MANECTRIC_2] = { .species = SPECIES_MANECTRIC, .moves = {MOVE_THUNDER, MOVE_RAIN_DANCE, MOVE_CRUNCH, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_PETAYA_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_PETAYA_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_VILEPLUME_2] = { .species = SPECIES_VILEPLUME, .moves = {MOVE_INGRAIN, MOVE_DOUBLE_TEAM, MOVE_TOXIC, MOVE_GIGA_DRAIN}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_BOLD }, [FRONTIER_MON_VICTREEBEL_2] = { .species = SPECIES_VICTREEBEL, .moves = {MOVE_GIGA_DRAIN, MOVE_SLUDGE_BOMB, MOVE_SLEEP_POWDER, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_SERIOUS }, [FRONTIER_MON_ELECTRODE_2] = { .species = SPECIES_ELECTRODE, .moves = {MOVE_THUNDER, MOVE_RAIN_DANCE, MOVE_DOUBLE_TEAM, MOVE_SWAGGER}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_MODEST }, [FRONTIER_MON_EXPLOUD_2] = { .species = SPECIES_EXPLOUD, .moves = {MOVE_SOLAR_BEAM, MOVE_SUNNY_DAY, MOVE_EARTHQUAKE, MOVE_COUNTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_SHIFTRY_2] = { .species = SPECIES_SHIFTRY, .moves = {MOVE_LEECH_SEED, MOVE_DIG, MOVE_DOUBLE_TEAM, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_IMPISH }, [FRONTIER_MON_GLALIE_2] = { .species = SPECIES_GLALIE, .moves = {MOVE_EXPLOSION, MOVE_ENDURE, MOVE_BODY_SLAM, MOVE_ICY_WIND}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_LUDICOLO_2] = { .species = SPECIES_LUDICOLO, .moves = {MOVE_SURF, MOVE_ICE_BEAM, MOVE_THUNDER_PUNCH, MOVE_FIRE_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_HYPNO_2] = { .species = SPECIES_HYPNO, .moves = {MOVE_HYPNOSIS, MOVE_NIGHTMARE, MOVE_DREAM_EATER, MOVE_PSYCHIC}, - .itemTableId = BATTLE_FRONTIER_ITEM_TWISTED_SPOON, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_TWISTED_SPOON, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_MODEST }, [FRONTIER_MON_GOLEM_2] = { .species = SPECIES_GOLEM, .moves = {MOVE_FOCUS_PUNCH, MOVE_SUBSTITUTE, MOVE_DOUBLE_TEAM, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_RHYDON_2] = { .species = SPECIES_RHYDON, .moves = {MOVE_EARTHQUAKE, MOVE_HORN_DRILL, MOVE_ROCK_SLIDE, MOVE_BRICK_BREAK}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_ALAKAZAM_2] = { .species = SPECIES_ALAKAZAM, .moves = {MOVE_PSYCHIC, MOVE_CALM_MIND, MOVE_THUNDER_WAVE, MOVE_RECOVER}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_WEEZING_2] = { .species = SPECIES_WEEZING, .moves = {MOVE_MEMENTO, MOVE_SLUDGE_BOMB, MOVE_FACADE, MOVE_DESTINY_BOND}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_KANGASKHAN_2] = { .species = SPECIES_KANGASKHAN, .moves = {MOVE_CRUSH_CLAW, MOVE_SHADOW_BALL, MOVE_ATTRACT, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_ELECTABUZZ_2] = { .species = SPECIES_ELECTABUZZ, .moves = {MOVE_THUNDER, MOVE_RAIN_DANCE, MOVE_ATTRACT, MOVE_FOCUS_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_TAUROS_2] = { .species = SPECIES_TAUROS, .moves = {MOVE_DOUBLE_EDGE, MOVE_EARTHQUAKE, MOVE_DOUBLE_TEAM, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SLOWBRO_2] = { .species = SPECIES_SLOWBRO, .moves = {MOVE_SURF, MOVE_ICE_BEAM, MOVE_CALM_MIND, MOVE_YAWN}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_MODEST }, [FRONTIER_MON_SLOWKING_2] = { .species = SPECIES_SLOWKING, .moves = {MOVE_YAWN, MOVE_THUNDER_WAVE, MOVE_SURF, MOVE_PSYCHIC}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_MILTANK_2] = { .species = SPECIES_MILTANK, .moves = {MOVE_FOCUS_PUNCH, MOVE_SHADOW_BALL, MOVE_ATTRACT, MOVE_THUNDER_WAVE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 0, 170), .nature = NATURE_CAREFUL }, [FRONTIER_MON_ALTARIA_2] = { .species = SPECIES_ALTARIA, .moves = {MOVE_PERISH_SONG, MOVE_DRAGON_BREATH, MOVE_PURSUIT, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_BOLD }, [FRONTIER_MON_NIDOQUEEN_2] = { .species = SPECIES_NIDOQUEEN, .moves = {MOVE_DOUBLE_EDGE, MOVE_EARTHQUAKE, MOVE_AERIAL_ACE, MOVE_ROCK_SLIDE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_NIDOKING_2] = { .species = SPECIES_NIDOKING, .moves = {MOVE_MEGA_KICK, MOVE_EARTHQUAKE, MOVE_SHADOW_BALL, MOVE_BRICK_BREAK}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_MAGMAR_2] = { .species = SPECIES_MAGMAR, .moves = {MOVE_FIRE_BLAST, MOVE_SMOKESCREEN, MOVE_THUNDER_PUNCH, MOVE_CONFUSE_RAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_CRADILY_2] = { .species = SPECIES_CRADILY, .moves = {MOVE_EARTHQUAKE, MOVE_ANCIENT_POWER, MOVE_SWAGGER, MOVE_PSYCH_UP}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_ARMALDO_2] = { .species = SPECIES_ARMALDO, .moves = {MOVE_IRON_TAIL, MOVE_ANCIENT_POWER, MOVE_BRICK_BREAK, MOVE_KNOCK_OFF}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_GOLDUCK_2] = { .species = SPECIES_GOLDUCK, .moves = {MOVE_CROSS_CHOP, MOVE_SURF, MOVE_SWAGGER, MOVE_PSYCH_UP}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_RAPIDASH_2] = { .species = SPECIES_RAPIDASH, .moves = {MOVE_FIRE_BLAST, MOVE_BOUNCE, MOVE_DOUBLE_TEAM, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_MUK_2] = { .species = SPECIES_MUK, .moves = {MOVE_CURSE, MOVE_REST, MOVE_SLUDGE_BOMB, MOVE_DYNAMIC_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 252, 0, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_GENGAR_2] = { .species = SPECIES_GENGAR, .moves = {MOVE_SLUDGE_BOMB, MOVE_SHADOW_BALL, MOVE_CONFUSE_RAY, MOVE_WILL_O_WISP}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_AMPHAROS_2] = { .species = SPECIES_AMPHAROS, .moves = {MOVE_THUNDER_PUNCH, MOVE_FIRE_PUNCH, MOVE_FOCUS_PUNCH, MOVE_THUNDER_WAVE}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_SCIZOR_2] = { .species = SPECIES_SCIZOR, .moves = {MOVE_SILVER_WIND, MOVE_STEEL_WING, MOVE_SWORDS_DANCE, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_HERACROSS_2] = { .species = SPECIES_HERACROSS, .moves = {MOVE_MEGAHORN, MOVE_EARTHQUAKE, MOVE_ATTRACT, MOVE_BULK_UP}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_JOLLY }, [FRONTIER_MON_URSARING_2] = { .species = SPECIES_URSARING, .moves = {MOVE_DOUBLE_EDGE, MOVE_EARTHQUAKE, MOVE_BRICK_BREAK, MOVE_COUNTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_HOUNDOOM_2] = { .species = SPECIES_HOUNDOOM, .moves = {MOVE_FIRE_BLAST, MOVE_CRUNCH, MOVE_ROAR, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_DONPHAN_2] = { .species = SPECIES_DONPHAN, .moves = {MOVE_FLAIL, MOVE_ENDURE, MOVE_EARTHQUAKE, MOVE_ROCK_TOMB}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_JOLLY }, [FRONTIER_MON_CLAYDOL_2] = { .species = SPECIES_CLAYDOL, .moves = {MOVE_PSYCHIC, MOVE_EARTHQUAKE, MOVE_DOUBLE_TEAM, MOVE_COSMIC_POWER}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_CALM }, [FRONTIER_MON_WAILORD_2] = { .species = SPECIES_WAILORD, .moves = {MOVE_DOUBLE_EDGE, MOVE_REST, MOVE_CURSE, MOVE_AMNESIA}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_NINETALES_2] = { .species = SPECIES_NINETALES, .moves = {MOVE_HEAT_WAVE, MOVE_BODY_SLAM, MOVE_GRUDGE, MOVE_SUNNY_DAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_MACHAMP_2] = { .species = SPECIES_MACHAMP, .moves = {MOVE_CROSS_CHOP, MOVE_EARTHQUAKE, MOVE_BULK_UP, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SHUCKLE_2] = { .species = SPECIES_SHUCKLE, .moves = {MOVE_SANDSTORM, MOVE_DIG, MOVE_FLASH, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_CAREFUL }, [FRONTIER_MON_STEELIX_2] = { .species = SPECIES_STEELIX, .moves = {MOVE_EARTHQUAKE, MOVE_DRAGON_BREATH, MOVE_SANDSTORM, MOVE_BLOCK}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_HARDY }, [FRONTIER_MON_TENTACRUEL_2] = { .species = SPECIES_TENTACRUEL, .moves = {MOVE_TOXIC, MOVE_GIGA_DRAIN, MOVE_CONFUSE_RAY, MOVE_SURF}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_AERODACTYL_2] = { .species = SPECIES_AERODACTYL, .moves = {MOVE_HYPER_BEAM, MOVE_EARTHQUAKE, MOVE_AERIAL_ACE, MOVE_ANCIENT_POWER}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHOICE_BAND, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHOICE_BAND, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 170, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_PORYGON2_2] = { .species = SPECIES_PORYGON2, .moves = {MOVE_SOLAR_BEAM, MOVE_SUNNY_DAY, MOVE_THUNDER_WAVE, MOVE_RECOVER}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_GARDEVOIR_2] = { .species = SPECIES_GARDEVOIR, .moves = {MOVE_PSYCHIC, MOVE_CALM_MIND, MOVE_DOUBLE_TEAM, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_EXEGGUTOR_2] = { .species = SPECIES_EXEGGUTOR, .moves = {MOVE_RETURN, MOVE_CURSE, MOVE_SLEEP_POWDER, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_HARDY }, [FRONTIER_MON_STARMIE_2] = { .species = SPECIES_STARMIE, .moves = {MOVE_HYDRO_PUMP, MOVE_THUNDER, MOVE_RAIN_DANCE, MOVE_RECOVER}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_MODEST }, [FRONTIER_MON_FLYGON_2] = { .species = SPECIES_FLYGON, .moves = {MOVE_SOLAR_BEAM, MOVE_FIRE_BLAST, MOVE_CRUNCH, MOVE_SUNNY_DAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_VENUSAUR_2] = { .species = SPECIES_VENUSAUR, .moves = {MOVE_LEECH_SEED, MOVE_GIGA_DRAIN, MOVE_DOUBLE_TEAM, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_BOLD }, [FRONTIER_MON_VAPOREON_2] = { .species = SPECIES_VAPOREON, .moves = {MOVE_SURF, MOVE_ICE_BEAM, MOVE_BODY_SLAM, MOVE_SHADOW_BALL}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_DOCILE }, [FRONTIER_MON_JOLTEON_2] = { .species = SPECIES_JOLTEON, .moves = {MOVE_THUNDERBOLT, MOVE_DIG, MOVE_DOUBLE_KICK, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_FLAREON_2] = { .species = SPECIES_FLAREON, .moves = {MOVE_CURSE, MOVE_ATTRACT, MOVE_DOUBLE_EDGE, MOVE_SHADOW_BALL}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_RELAXED }, [FRONTIER_MON_MEGANIUM_2] = { .species = SPECIES_MEGANIUM, .moves = {MOVE_LEECH_SEED, MOVE_SUBSTITUTE, MOVE_DOUBLE_TEAM, MOVE_GRASS_WHISTLE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_CALM }, [FRONTIER_MON_ESPEON_2] = { .species = SPECIES_ESPEON, .moves = {MOVE_PSYCHIC, MOVE_SHADOW_BALL, MOVE_CALM_MIND, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_UMBREON_2] = { .species = SPECIES_UMBREON, .moves = {MOVE_CURSE, MOVE_SCREECH, MOVE_DOUBLE_TEAM, MOVE_DOUBLE_EDGE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_BLASTOISE_2] = { .species = SPECIES_BLASTOISE, .moves = {MOVE_HYDRO_PUMP, MOVE_MEGA_KICK, MOVE_BRICK_BREAK, MOVE_MIRROR_COAT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_BRAVE }, [FRONTIER_MON_FERALIGATR_2] = { .species = SPECIES_FERALIGATR, .moves = {MOVE_SURF, MOVE_DRAGON_CLAW, MOVE_BRICK_BREAK, MOVE_SCARY_FACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(170, 0, 0, 0, 170, 170), .nature = NATURE_SASSY }, [FRONTIER_MON_AGGRON_2] = { .species = SPECIES_AGGRON, .moves = {MOVE_FOCUS_PUNCH, MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_THUNDER_WAVE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_BLAZIKEN_2] = { .species = SPECIES_BLAZIKEN, .moves = {MOVE_BLAZE_KICK, MOVE_MEGA_KICK, MOVE_THUNDER_PUNCH, MOVE_BRICK_BREAK}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_WALREIN_2] = { .species = SPECIES_WALREIN, .moves = {MOVE_EARTHQUAKE, MOVE_ICE_BEAM, MOVE_CURSE, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_QUIRKY }, [FRONTIER_MON_SCEPTILE_2] = { .species = SPECIES_SCEPTILE, .moves = {MOVE_LEAF_BLADE, MOVE_THUNDER_PUNCH, MOVE_ATTRACT, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_CHARIZARD_2] = { .species = SPECIES_CHARIZARD, .moves = {MOVE_EARTHQUAKE, MOVE_AERIAL_ACE, MOVE_DRAGON_DANCE, MOVE_SMOKESCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_TYPHLOSION_2] = { .species = SPECIES_TYPHLOSION, .moves = {MOVE_FLAMETHROWER, MOVE_THUNDER_PUNCH, MOVE_AERIAL_ACE, MOVE_ROCK_SLIDE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_LAPRAS_2] = { .species = SPECIES_LAPRAS, .moves = {MOVE_SURF, MOVE_ICE_BEAM, MOVE_BODY_SLAM, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_TIMID }, [FRONTIER_MON_CROBAT_2] = { .species = SPECIES_CROBAT, .moves = {MOVE_TOXIC, MOVE_GIGA_DRAIN, MOVE_CONFUSE_RAY, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_CALM }, [FRONTIER_MON_SWAMPERT_2] = { .species = SPECIES_SWAMPERT, .moves = {MOVE_SURF, MOVE_EARTHQUAKE, MOVE_COUNTER, MOVE_MIRROR_COAT}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_DOCILE }, [FRONTIER_MON_GYARADOS_2] = { .species = SPECIES_GYARADOS, .moves = {MOVE_HYDRO_PUMP, MOVE_THUNDERBOLT, MOVE_FIRE_BLAST, MOVE_BLIZZARD}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_SNORLAX_2] = { .species = SPECIES_SNORLAX, .moves = {MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_CURSE, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_KINGDRA_2] = { .species = SPECIES_KINGDRA, .moves = {MOVE_SURF, MOVE_ICE_BEAM, MOVE_DRAGON_BREATH, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_MODEST }, [FRONTIER_MON_BLISSEY_2] = { .species = SPECIES_BLISSEY, .moves = {MOVE_SEISMIC_TOSS, MOVE_SING, MOVE_ATTRACT, MOVE_SUBSTITUTE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_BOLD }, [FRONTIER_MON_MILOTIC_2] = { .species = SPECIES_MILOTIC, .moves = {MOVE_SURF, MOVE_ICE_BEAM, MOVE_SAFEGUARD, MOVE_MIRROR_COAT}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_ARCANINE_2] = { .species = SPECIES_ARCANINE, .moves = {MOVE_FIRE_BLAST, MOVE_SUNNY_DAY, MOVE_CRUNCH, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_SALAMENCE_2] = { .species = SPECIES_SALAMENCE, .moves = {MOVE_DOUBLE_EDGE, MOVE_CRUNCH, MOVE_SWAGGER, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_METAGROSS_2] = { .species = SPECIES_METAGROSS, .moves = {MOVE_EARTHQUAKE, MOVE_METEOR_MASH, MOVE_PSYCH_UP, MOVE_SWAGGER}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 0, 170, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SLAKING_2] = { .species = SPECIES_SLAKING, .moves = {MOVE_MEGA_KICK, MOVE_SHADOW_BALL, MOVE_YAWN, MOVE_AMNESIA}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_DUGTRIO_3] = { .species = SPECIES_DUGTRIO, .moves = {MOVE_EARTHQUAKE, MOVE_DOUBLE_EDGE, MOVE_SLUDGE_BOMB, MOVE_FISSURE}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_MEDICHAM_3] = { .species = SPECIES_MEDICHAM, .moves = {MOVE_DYNAMIC_PUNCH, MOVE_THUNDER_PUNCH, MOVE_ICE_PUNCH, MOVE_FIRE_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_MISDREAVUS_3] = { .species = SPECIES_MISDREAVUS, .moves = {MOVE_PERISH_SONG, MOVE_MEAN_LOOK, MOVE_THUNDER_WAVE, MOVE_CONFUSE_RAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_BOLD }, [FRONTIER_MON_FEAROW_3] = { .species = SPECIES_FEAROW, .moves = {MOVE_DRILL_PECK, MOVE_RETURN, MOVE_STEEL_WING, MOVE_FEINT_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_GRANBULL_3] = { .species = SPECIES_GRANBULL, .moves = {MOVE_DOUBLE_EDGE, MOVE_EARTHQUAKE, MOVE_SLUDGE_BOMB, MOVE_ROCK_SLIDE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_JYNX_3] = { .species = SPECIES_JYNX, .moves = {MOVE_DREAM_EATER, MOVE_LOVELY_KISS, MOVE_ATTRACT, MOVE_SUBSTITUTE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_DUSCLOPS_3] = { .species = SPECIES_DUSCLOPS, .moves = {MOVE_PSYCH_UP, MOVE_SWAGGER, MOVE_SHADOW_BALL, MOVE_EARTHQUAKE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_DODRIO_3] = { .species = SPECIES_DODRIO, .moves = {MOVE_DOUBLE_EDGE, MOVE_DRILL_PECK, MOVE_STEEL_WING, MOVE_FEINT_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_MR_MIME_3] = { .species = SPECIES_MR_MIME, .moves = {MOVE_TRICK, MOVE_TORMENT, MOVE_PSYCHIC, MOVE_THUNDERBOLT}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHOICE_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHOICE_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_LANTURN_3] = { .species = SPECIES_LANTURN, .moves = {MOVE_HYDRO_PUMP, MOVE_THUNDER, MOVE_CONFUSE_RAY, MOVE_RAIN_DANCE}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_BRELOOM_3] = { .species = SPECIES_BRELOOM, .moves = {MOVE_IRON_TAIL, MOVE_FOCUS_PUNCH, MOVE_ATTRACT, MOVE_SPORE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_FORRETRESS_3] = { .species = SPECIES_FORRETRESS, .moves = {MOVE_EXPLOSION, MOVE_EARTHQUAKE, MOVE_GIGA_DRAIN, MOVE_ZAP_CANNON}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 0, 170, 170), .nature = NATURE_QUIET }, [FRONTIER_MON_WHISCASH_3] = { .species = SPECIES_WHISCASH, .moves = {MOVE_SLEEP_TALK, MOVE_REST, MOVE_SURF, MOVE_FISSURE}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_HARDY }, [FRONTIER_MON_XATU_3] = { .species = SPECIES_XATU, .moves = {MOVE_DRILL_PECK, MOVE_PSYCHIC, MOVE_GIGA_DRAIN, MOVE_STEEL_WING}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_JOLLY }, [FRONTIER_MON_SKARMORY_3] = { .species = SPECIES_SKARMORY, .moves = {MOVE_TOXIC, MOVE_CURSE, MOVE_REST, MOVE_FLY}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_CAREFUL }, [FRONTIER_MON_MAROWAK_3] = { .species = SPECIES_MAROWAK, .moves = {MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_SWORDS_DANCE, MOVE_BRICK_BREAK}, - .itemTableId = BATTLE_FRONTIER_ITEM_THICK_CLUB, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_THICK_CLUB, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_QUAGSIRE_3] = { .species = SPECIES_QUAGSIRE, .moves = {MOVE_EARTHQUAKE, MOVE_SLUDGE_BOMB, MOVE_DOUBLE_EDGE, MOVE_CURSE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_CLEFABLE_3] = { .species = SPECIES_CLEFABLE, .moves = {MOVE_THUNDERBOLT, MOVE_ICE_BEAM, MOVE_FLAMETHROWER, MOVE_MAGICAL_LEAF}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_HARIYAMA_3] = { .species = SPECIES_HARIYAMA, .moves = {MOVE_CROSS_CHOP, MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_FACADE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_RAICHU_3] = { .species = SPECIES_RAICHU, .moves = {MOVE_THUNDER, MOVE_RAIN_DANCE, MOVE_IRON_TAIL, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_DEWGONG_3] = { .species = SPECIES_DEWGONG, .moves = {MOVE_HORN_DRILL, MOVE_SHEER_COLD, MOVE_SLEEP_TALK, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_BOLD }, [FRONTIER_MON_MANECTRIC_3] = { .species = SPECIES_MANECTRIC, .moves = {MOVE_THUNDERBOLT, MOVE_IRON_TAIL, MOVE_THUNDER_WAVE, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_VILEPLUME_3] = { .species = SPECIES_VILEPLUME, .moves = {MOVE_ATTRACT, MOVE_STUN_SPORE, MOVE_SLUDGE_BOMB, MOVE_GIGA_DRAIN}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_VICTREEBEL_3] = { .species = SPECIES_VICTREEBEL, .moves = {MOVE_STUN_SPORE, MOVE_INGRAIN, MOVE_GIGA_DRAIN, MOVE_SLUDGE_BOMB}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_ELECTRODE_3] = { .species = SPECIES_ELECTRODE, .moves = {MOVE_EXPLOSION, MOVE_THUNDERBOLT, MOVE_THUNDER_WAVE, MOVE_ENDURE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LIECHI_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LIECHI_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_NAUGHTY }, [FRONTIER_MON_EXPLOUD_3] = { .species = SPECIES_EXPLOUD, .moves = {MOVE_OVERHEAT, MOVE_ICE_BEAM, MOVE_THUNDER_PUNCH, MOVE_EXTRASENSORY}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_SHIFTRY_3] = { .species = SPECIES_SHIFTRY, .moves = {MOVE_SOLAR_BEAM, MOVE_SUNNY_DAY, MOVE_EXPLOSION, MOVE_SYNTHESIS}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_GLALIE_3] = { .species = SPECIES_GLALIE, .moves = {MOVE_BLIZZARD, MOVE_EARTHQUAKE, MOVE_DOUBLE_EDGE, MOVE_SHADOW_BALL}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_LUDICOLO_3] = { .species = SPECIES_LUDICOLO, .moves = {MOVE_LEECH_SEED, MOVE_RAIN_DANCE, MOVE_DOUBLE_TEAM, MOVE_GIGA_DRAIN}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_BOLD }, [FRONTIER_MON_HYPNO_3] = { .species = SPECIES_HYPNO, .moves = {MOVE_PSYCH_UP, MOVE_SWAGGER, MOVE_MEGA_KICK, MOVE_SHADOW_BALL}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_GOLEM_3] = { .species = SPECIES_GOLEM, .moves = {MOVE_EXPLOSION, MOVE_EARTHQUAKE, MOVE_FLAMETHROWER, MOVE_BRICK_BREAK}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_RHYDON_3] = { .species = SPECIES_RHYDON, .moves = {MOVE_MEGAHORN, MOVE_CRUSH_CLAW, MOVE_EARTHQUAKE, MOVE_HORN_DRILL}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_ALAKAZAM_3] = { .species = SPECIES_ALAKAZAM, .moves = {MOVE_TRICK, MOVE_DISABLE, MOVE_PSYCHIC, MOVE_SKILL_SWAP}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHOICE_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_CHOICE_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_WEEZING_3] = { .species = SPECIES_WEEZING, .moves = {MOVE_EXPLOSION, MOVE_SLUDGE_BOMB, MOVE_FLAMETHROWER, MOVE_THUNDERBOLT}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_KANGASKHAN_3] = { .species = SPECIES_KANGASKHAN, .moves = {MOVE_REVERSAL, MOVE_ENDURE, MOVE_THUNDERBOLT, MOVE_EARTHQUAKE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_JOLLY }, [FRONTIER_MON_ELECTABUZZ_3] = { .species = SPECIES_ELECTABUZZ, .moves = {MOVE_FIRE_PUNCH, MOVE_ICE_PUNCH, MOVE_THUNDERBOLT, MOVE_CROSS_CHOP}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_TAUROS_3] = { .species = SPECIES_TAUROS, .moves = {MOVE_DOUBLE_EDGE, MOVE_EARTHQUAKE, MOVE_FLAMETHROWER, MOVE_ICE_BEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_SLOWBRO_3] = { .species = SPECIES_SLOWBRO, .moves = {MOVE_SURF, MOVE_PSYCHIC, MOVE_SHADOW_BALL, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 0, 252, 252), .nature = NATURE_QUIET }, [FRONTIER_MON_SLOWKING_3] = { .species = SPECIES_SLOWKING, .moves = {MOVE_PSYCHIC, MOVE_SURF, MOVE_ICE_BEAM, MOVE_EARTHQUAKE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 170, 170, 0, 170, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_MILTANK_3] = { .species = SPECIES_MILTANK, .moves = {MOVE_REVERSAL, MOVE_ENDURE, MOVE_EARTHQUAKE, MOVE_SHADOW_BALL}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_ALTARIA_3] = { .species = SPECIES_ALTARIA, .moves = {MOVE_SING, MOVE_DRAGON_DANCE, MOVE_EARTHQUAKE, MOVE_AERIAL_ACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_NIDOQUEEN_3] = { .species = SPECIES_NIDOQUEEN, .moves = {MOVE_THUNDERBOLT, MOVE_FLAMETHROWER, MOVE_ICE_BEAM, MOVE_CRUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_NIDOKING_3] = { .species = SPECIES_NIDOKING, .moves = {MOVE_HORN_DRILL, MOVE_FIRE_BLAST, MOVE_BLIZZARD, MOVE_SURF}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEPPA_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LEPPA_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_MAGMAR_3] = { .species = SPECIES_MAGMAR, .moves = {MOVE_MEGA_KICK, MOVE_CROSS_CHOP, MOVE_IRON_TAIL, MOVE_COUNTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 252, 0, 0, 0), .nature = NATURE_IMPISH }, [FRONTIER_MON_CRADILY_3] = { .species = SPECIES_CRADILY, .moves = {MOVE_SUBSTITUTE, MOVE_SOLAR_BEAM, MOVE_SUNNY_DAY, MOVE_RECOVER}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 0, 170, 0, 170, 170), .nature = NATURE_MODEST }, [FRONTIER_MON_ARMALDO_3] = { .species = SPECIES_ARMALDO, .moves = {MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_BRICK_BREAK, MOVE_SWORDS_DANCE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_GOLDUCK_3] = { .species = SPECIES_GOLDUCK, .moves = {MOVE_HYDRO_PUMP, MOVE_CROSS_CHOP, MOVE_BLIZZARD, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_RAPIDASH_3] = { .species = SPECIES_RAPIDASH, .moves = {MOVE_OVERHEAT, MOVE_SOLAR_BEAM, MOVE_SUNNY_DAY, MOVE_HYPNOSIS}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(170, 0, 0, 170, 170, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_MUK_3] = { .species = SPECIES_MUK, .moves = {MOVE_SLUDGE_BOMB, MOVE_THUNDERBOLT, MOVE_FLAMETHROWER, MOVE_ICE_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_GENGAR_3] = { .species = SPECIES_GENGAR, .moves = {MOVE_PSYCHIC, MOVE_THUNDERBOLT, MOVE_GIGA_DRAIN, MOVE_SKILL_SWAP}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_AMPHAROS_3] = { .species = SPECIES_AMPHAROS, .moves = {MOVE_THUNDERBOLT, MOVE_MEGA_KICK, MOVE_IRON_TAIL, MOVE_BRICK_BREAK}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_SCIZOR_3] = { .species = SPECIES_SCIZOR, .moves = {MOVE_REVERSAL, MOVE_ENDURE, MOVE_AGILITY, MOVE_SLASH}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_CAREFUL }, [FRONTIER_MON_HERACROSS_3] = { .species = SPECIES_HERACROSS, .moves = {MOVE_MEGAHORN, MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_BRICK_BREAK}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_URSARING_3] = { .species = SPECIES_URSARING, .moves = {MOVE_FIRE_PUNCH, MOVE_THUNDER_PUNCH, MOVE_ICE_PUNCH, MOVE_CRUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 0, 170, 170, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_HOUNDOOM_3] = { .species = SPECIES_HOUNDOOM, .moves = {MOVE_OVERHEAT, MOVE_SHADOW_BALL, MOVE_SLUDGE_BOMB, MOVE_DOUBLE_EDGE}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_DONPHAN_3] = { .species = SPECIES_DONPHAN, .moves = {MOVE_FISSURE, MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_SECRET_POWER}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_CLAYDOL_3] = { .species = SPECIES_CLAYDOL, .moves = {MOVE_PSYCHIC, MOVE_ICE_BEAM, MOVE_SOLAR_BEAM, MOVE_SUNNY_DAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_WAILORD_3] = { .species = SPECIES_WAILORD, .moves = {MOVE_HYDRO_PUMP, MOVE_FISSURE, MOVE_DOUBLE_TEAM, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_MODEST }, [FRONTIER_MON_NINETALES_3] = { .species = SPECIES_NINETALES, .moves = {MOVE_FIRE_BLAST, MOVE_IRON_TAIL, MOVE_CONFUSE_RAY, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_MACHAMP_3] = { .species = SPECIES_MACHAMP, .moves = {MOVE_CROSS_CHOP, MOVE_FIRE_BLAST, MOVE_THUNDER_PUNCH, MOVE_ICE_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_SHUCKLE_3] = { .species = SPECIES_SHUCKLE, .moves = {MOVE_SUBSTITUTE, MOVE_ATTRACT, MOVE_TOXIC, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_CAREFUL }, [FRONTIER_MON_STEELIX_3] = { .species = SPECIES_STEELIX, .moves = {MOVE_EARTHQUAKE, MOVE_BODY_SLAM, MOVE_ROCK_SLIDE, MOVE_EXPLOSION}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_TENTACRUEL_3] = { .species = SPECIES_TENTACRUEL, .moves = {MOVE_SURF, MOVE_GIGA_DRAIN, MOVE_ICE_BEAM, MOVE_MIRROR_COAT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 0, 170, 170, 170, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_AERODACTYL_3] = { .species = SPECIES_AERODACTYL, .moves = {MOVE_DOUBLE_EDGE, MOVE_ROCK_SLIDE, MOVE_FIRE_BLAST, MOVE_DRAGON_CLAW}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_PORYGON2_3] = { .species = SPECIES_PORYGON2, .moves = {MOVE_PSYCHIC, MOVE_TRI_ATTACK, MOVE_THUNDER_WAVE, MOVE_RECOVER}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_GARDEVOIR_3] = { .species = SPECIES_GARDEVOIR, .moves = {MOVE_PSYCHIC, MOVE_ICE_PUNCH, MOVE_FIRE_PUNCH, MOVE_MAGICAL_LEAF}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_EXEGGUTOR_3] = { .species = SPECIES_EXEGGUTOR, .moves = {MOVE_LEECH_SEED, MOVE_GIGA_DRAIN, MOVE_TOXIC, MOVE_EXPLOSION}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_HARDY }, [FRONTIER_MON_STARMIE_3] = { .species = SPECIES_STARMIE, .moves = {MOVE_SURF, MOVE_PSYCHIC, MOVE_THUNDERBOLT, MOVE_ICE_BEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_FLYGON_3] = { .species = SPECIES_FLYGON, .moves = {MOVE_EARTHQUAKE, MOVE_DRAGON_CLAW, MOVE_FLAMETHROWER, MOVE_GIGA_DRAIN}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_VENUSAUR_3] = { .species = SPECIES_VENUSAUR, .moves = {MOVE_DOUBLE_EDGE, MOVE_SLUDGE_BOMB, MOVE_EARTHQUAKE, MOVE_SLEEP_POWDER}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 170, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_VAPOREON_3] = { .species = SPECIES_VAPOREON, .moves = {MOVE_SURF, MOVE_ICE_BEAM, MOVE_ACID_ARMOR, MOVE_BATON_PASS}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_CALM }, [FRONTIER_MON_JOLTEON_3] = { .species = SPECIES_JOLTEON, .moves = {MOVE_THUNDERBOLT, MOVE_THUNDER_WAVE, MOVE_AGILITY, MOVE_BATON_PASS}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_BOLD }, [FRONTIER_MON_FLAREON_3] = { .species = SPECIES_FLAREON, .moves = {MOVE_SHADOW_BALL, MOVE_FLAIL, MOVE_ENDURE, MOVE_OVERHEAT}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_JOLLY }, [FRONTIER_MON_MEGANIUM_3] = { .species = SPECIES_MEGANIUM, .moves = {MOVE_EARTHQUAKE, MOVE_FLAIL, MOVE_ENDURE, MOVE_GIGA_DRAIN}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_JOLLY }, [FRONTIER_MON_ESPEON_3] = { .species = SPECIES_ESPEON, .moves = {MOVE_PSYCHIC, MOVE_BITE, MOVE_WISH, MOVE_REFLECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_UMBREON_3] = { .species = SPECIES_UMBREON, .moves = {MOVE_SWAGGER, MOVE_PSYCH_UP, MOVE_ATTRACT, MOVE_SHADOW_BALL}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_BOLD }, [FRONTIER_MON_BLASTOISE_3] = { .species = SPECIES_BLASTOISE, .moves = {MOVE_SURF, MOVE_EARTHQUAKE, MOVE_ICE_BEAM, MOVE_COUNTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_FERALIGATR_3] = { .species = SPECIES_FERALIGATR, .moves = {MOVE_HYDRO_PUMP, MOVE_CRUNCH, MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_AGGRON_3] = { .species = SPECIES_AGGRON, .moves = {MOVE_SURF, MOVE_THUNDER, MOVE_FIRE_BLAST, MOVE_BLIZZARD}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_BLAZIKEN_3] = { .species = SPECIES_BLAZIKEN, .moves = {MOVE_OVERHEAT, MOVE_EARTHQUAKE, MOVE_ENDURE, MOVE_REVERSAL}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_WALREIN_3] = { .species = SPECIES_WALREIN, .moves = {MOVE_SHEER_COLD, MOVE_FISSURE, MOVE_SURF, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_HARDY }, [FRONTIER_MON_SCEPTILE_3] = { .species = SPECIES_SCEPTILE, .moves = {MOVE_LEAF_BLADE, MOVE_EARTHQUAKE, MOVE_CRUSH_CLAW, MOVE_AERIAL_ACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_CHARIZARD_3] = { .species = SPECIES_CHARIZARD, .moves = {MOVE_FLAMETHROWER, MOVE_DRAGON_CLAW, MOVE_BITE, MOVE_BRICK_BREAK}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_TYPHLOSION_3] = { .species = SPECIES_TYPHLOSION, .moves = {MOVE_EARTHQUAKE, MOVE_OVERHEAT, MOVE_ENDURE, MOVE_REVERSAL}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_LAPRAS_3] = { .species = SPECIES_LAPRAS, .moves = {MOVE_DOUBLE_EDGE, MOVE_PSYCHIC, MOVE_CONFUSE_RAY, MOVE_DRAGON_DANCE}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_DOCILE }, [FRONTIER_MON_CROBAT_3] = { .species = SPECIES_CROBAT, .moves = {MOVE_AIR_CUTTER, MOVE_DOUBLE_EDGE, MOVE_SHADOW_BALL, MOVE_SCREECH}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SWAMPERT_3] = { .species = SPECIES_SWAMPERT, .moves = {MOVE_SURF, MOVE_EARTHQUAKE, MOVE_ICE_BEAM, MOVE_COUNTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_BRAVE }, [FRONTIER_MON_GYARADOS_3] = { .species = SPECIES_GYARADOS, .moves = {MOVE_SURF, MOVE_THUNDER, MOVE_RAIN_DANCE, MOVE_EARTHQUAKE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_SNORLAX_3] = { .species = SPECIES_SNORLAX, .moves = {MOVE_MEGA_KICK, MOVE_SHADOW_BALL, MOVE_SWAGGER, MOVE_PSYCH_UP}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_KINGDRA_3] = { .species = SPECIES_KINGDRA, .moves = {MOVE_FLAIL, MOVE_HYDRO_PUMP, MOVE_DRAGON_DANCE, MOVE_ENDURE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_BLISSEY_3] = { .species = SPECIES_BLISSEY, .moves = {MOVE_FIRE_BLAST, MOVE_BLIZZARD, MOVE_CALM_MIND, MOVE_SOFT_BOILED}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_BOLD }, [FRONTIER_MON_MILOTIC_3] = { .species = SPECIES_MILOTIC, .moves = {MOVE_SURF, MOVE_BLIZZARD, MOVE_ATTRACT, MOVE_RECOVER}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_BOLD }, [FRONTIER_MON_ARCANINE_3] = { .species = SPECIES_ARCANINE, .moves = {MOVE_OVERHEAT, MOVE_EXTREME_SPEED, MOVE_CRUNCH, MOVE_AERIAL_ACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_SALAMENCE_3] = { .species = SPECIES_SALAMENCE, .moves = {MOVE_DOUBLE_EDGE, MOVE_EARTHQUAKE, MOVE_CRUNCH, MOVE_ENDURE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_METAGROSS_3] = { .species = SPECIES_METAGROSS, .moves = {MOVE_EARTHQUAKE, MOVE_METEOR_MASH, MOVE_DOUBLE_TEAM, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 170, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SLAKING_3] = { .species = SPECIES_SLAKING, .moves = {MOVE_EARTHQUAKE, MOVE_SHADOW_BALL, MOVE_AERIAL_ACE, MOVE_BRICK_BREAK}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHOICE_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_CHOICE_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_DUGTRIO_4] = { .species = SPECIES_DUGTRIO, .moves = {MOVE_EARTHQUAKE, MOVE_DOUBLE_EDGE, MOVE_ROCK_SLIDE, MOVE_FISSURE}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_MEDICHAM_4] = { .species = SPECIES_MEDICHAM, .moves = {MOVE_MEGA_KICK, MOVE_PSYCHIC, MOVE_SHADOW_BALL, MOVE_ROCK_SLIDE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_MISDREAVUS_4] = { .species = SPECIES_MISDREAVUS, .moves = {MOVE_DESTINY_BOND, MOVE_PSYCHIC, MOVE_SHADOW_BALL, MOVE_THUNDERBOLT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_TIMID }, [FRONTIER_MON_FEAROW_4] = { .species = SPECIES_FEAROW, .moves = {MOVE_DRILL_PECK, MOVE_DOUBLE_EDGE, MOVE_STEEL_WING, MOVE_SKY_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_GRANBULL_4] = { .species = SPECIES_GRANBULL, .moves = {MOVE_MEGA_KICK, MOVE_EARTHQUAKE, MOVE_CRUNCH, MOVE_SHADOW_BALL}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHOICE_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_CHOICE_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_BRAVE }, [FRONTIER_MON_JYNX_4] = { .species = SPECIES_JYNX, .moves = {MOVE_PSYCHIC, MOVE_ICE_BEAM, MOVE_LOVELY_KISS, MOVE_FAKE_TEARS}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_DUSCLOPS_4] = { .species = SPECIES_DUSCLOPS, .moves = {MOVE_DOUBLE_EDGE, MOVE_SHADOW_BALL, MOVE_CURSE, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_DODRIO_4] = { .species = SPECIES_DODRIO, .moves = {MOVE_FLAIL, MOVE_ENDURE, MOVE_DRILL_PECK, MOVE_FACADE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_MR_MIME_4] = { .species = SPECIES_MR_MIME, .moves = {MOVE_PSYCHIC, MOVE_THUNDERBOLT, MOVE_ICE_PUNCH, MOVE_FIRE_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_LANTURN_4] = { .species = SPECIES_LANTURN, .moves = {MOVE_SURF, MOVE_THUNDERBOLT, MOVE_ICE_BEAM, MOVE_CONFUSE_RAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_BRELOOM_4] = { .species = SPECIES_BRELOOM, .moves = {MOVE_FOCUS_PUNCH, MOVE_SLUDGE_BOMB, MOVE_SPORE, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_FORRETRESS_4] = { .species = SPECIES_FORRETRESS, .moves = {MOVE_EXPLOSION, MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_DOUBLE_EDGE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_WHISCASH_4] = { .species = SPECIES_WHISCASH, .moves = {MOVE_FISSURE, MOVE_SURF, MOVE_EARTHQUAKE, MOVE_ICE_BEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_XATU_4] = { .species = SPECIES_XATU, .moves = {MOVE_PSYCHIC, MOVE_DRILL_PECK, MOVE_SHADOW_BALL, MOVE_CONFUSE_RAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_PETAYA_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_PETAYA_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_SKARMORY_4] = { .species = SPECIES_SKARMORY, .moves = {MOVE_DRILL_PECK, MOVE_STEEL_WING, MOVE_COUNTER, MOVE_ROCK_SLIDE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_MAROWAK_4] = { .species = SPECIES_MAROWAK, .moves = {MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_SWORDS_DANCE, MOVE_MEGA_KICK}, - .itemTableId = BATTLE_FRONTIER_ITEM_THICK_CLUB, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_THICK_CLUB, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_QUAGSIRE_4] = { .species = SPECIES_QUAGSIRE, .moves = {MOVE_SURF, MOVE_EARTHQUAKE, MOVE_ICE_BEAM, MOVE_AMNESIA}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 0, 170, 170), .nature = NATURE_SASSY }, [FRONTIER_MON_CLEFABLE_4] = { .species = SPECIES_CLEFABLE, .moves = {MOVE_MEGA_KICK, MOVE_PSYCHIC, MOVE_SHADOW_BALL, MOVE_SOFT_BOILED}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 252, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_HARIYAMA_4] = { .species = SPECIES_HARIYAMA, .moves = {MOVE_CROSS_CHOP, MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_FAKE_OUT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_RAICHU_4] = { .species = SPECIES_RAICHU, .moves = {MOVE_THUNDERBOLT, MOVE_THUNDER_WAVE, MOVE_PROTECT, MOVE_MEGA_KICK}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_DEWGONG_4] = { .species = SPECIES_DEWGONG, .moves = {MOVE_SHEER_COLD, MOVE_ICE_BEAM, MOVE_SURF, MOVE_SIGNAL_BEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_MANECTRIC_4] = { .species = SPECIES_MANECTRIC, .moves = {MOVE_THUNDERBOLT, MOVE_CRUNCH, MOVE_THUNDER_WAVE, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_VILEPLUME_4] = { .species = SPECIES_VILEPLUME, .moves = {MOVE_SOLAR_BEAM, MOVE_SLUDGE_BOMB, MOVE_SUNNY_DAY, MOVE_SYNTHESIS}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_VICTREEBEL_4] = { .species = SPECIES_VICTREEBEL, .moves = {MOVE_GIGA_DRAIN, MOVE_DOUBLE_EDGE, MOVE_SLUDGE_BOMB, MOVE_SYNTHESIS}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_ELECTRODE_4] = { .species = SPECIES_ELECTRODE, .moves = {MOVE_EXPLOSION, MOVE_THUNDERBOLT, MOVE_THUNDER_WAVE, MOVE_MIRROR_COAT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_NAUGHTY }, [FRONTIER_MON_EXPLOUD_4] = { .species = SPECIES_EXPLOUD, .moves = {MOVE_MEGA_KICK, MOVE_EARTHQUAKE, MOVE_SHADOW_BALL, MOVE_OVERHEAT}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_SHIFTRY_4] = { .species = SPECIES_SHIFTRY, .moves = {MOVE_EXPLOSION, MOVE_GIGA_DRAIN, MOVE_MEGA_KICK, MOVE_FAKE_OUT}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_GLALIE_4] = { .species = SPECIES_GLALIE, .moves = {MOVE_ICE_BEAM, MOVE_EARTHQUAKE, MOVE_CRUNCH, MOVE_SHADOW_BALL}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_LUDICOLO_4] = { .species = SPECIES_LUDICOLO, .moves = {MOVE_LEECH_SEED, MOVE_RAIN_DANCE, MOVE_DOUBLE_TEAM, MOVE_TOXIC}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_BOLD }, [FRONTIER_MON_HYPNO_4] = { .species = SPECIES_HYPNO, .moves = {MOVE_PSYCHIC, MOVE_THUNDER_PUNCH, MOVE_FIRE_PUNCH, MOVE_ICE_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_GOLEM_4] = { .species = SPECIES_GOLEM, .moves = {MOVE_EXPLOSION, MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_DOUBLE_EDGE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_RHYDON_4] = { .species = SPECIES_RHYDON, .moves = {MOVE_MEGAHORN, MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_HORN_DRILL}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_ALAKAZAM_4] = { .species = SPECIES_ALAKAZAM, .moves = {MOVE_PSYCHIC, MOVE_THUNDER_PUNCH, MOVE_FIRE_PUNCH, MOVE_ICE_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_WEEZING_4] = { .species = SPECIES_WEEZING, .moves = {MOVE_EXPLOSION, MOVE_SLUDGE_BOMB, MOVE_FRUSTRATION, MOVE_SHADOW_BALL}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_KANGASKHAN_4] = { .species = SPECIES_KANGASKHAN, .moves = {MOVE_MEGA_KICK, MOVE_EARTHQUAKE, MOVE_AERIAL_ACE, MOVE_SHADOW_BALL}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_ELECTABUZZ_4] = { .species = SPECIES_ELECTABUZZ, .moves = {MOVE_THUNDERBOLT, MOVE_PSYCHIC, MOVE_MEGA_KICK, MOVE_CROSS_CHOP}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_TAUROS_4] = { .species = SPECIES_TAUROS, .moves = {MOVE_DOUBLE_EDGE, MOVE_ROCK_TOMB, MOVE_THUNDERBOLT, MOVE_SURF}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_SLOWBRO_4] = { .species = SPECIES_SLOWBRO, .moves = {MOVE_PSYCHIC, MOVE_SURF, MOVE_EARTHQUAKE, MOVE_ICE_BEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 0, 252, 252), .nature = NATURE_SASSY }, [FRONTIER_MON_SLOWKING_4] = { .species = SPECIES_SLOWKING, .moves = {MOVE_PSYCHIC, MOVE_SURF, MOVE_ICE_BEAM, MOVE_FLAMETHROWER}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_MILTANK_4] = { .species = SPECIES_MILTANK, .moves = {MOVE_DOUBLE_EDGE, MOVE_CURSE, MOVE_DOUBLE_TEAM, MOVE_MILK_DRINK}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_ALTARIA_4] = { .species = SPECIES_ALTARIA, .moves = {MOVE_DRAGON_CLAW, MOVE_EARTHQUAKE, MOVE_FLAMETHROWER, MOVE_ICE_BEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_NIDOQUEEN_4] = { .species = SPECIES_NIDOQUEEN, .moves = {MOVE_SUPERPOWER, MOVE_SLUDGE_BOMB, MOVE_EARTHQUAKE, MOVE_SHADOW_BALL}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_NIDOKING_4] = { .species = SPECIES_NIDOKING, .moves = {MOVE_MEGAHORN, MOVE_SLUDGE_BOMB, MOVE_EARTHQUAKE, MOVE_THUNDER}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_MAGMAR_4] = { .species = SPECIES_MAGMAR, .moves = {MOVE_FLAMETHROWER, MOVE_PSYCHIC, MOVE_CROSS_CHOP, MOVE_CONFUSE_RAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_CRADILY_4] = { .species = SPECIES_CRADILY, .moves = {MOVE_TOXIC, MOVE_INGRAIN, MOVE_MIRROR_COAT, MOVE_GIGA_DRAIN}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_BOLD }, [FRONTIER_MON_ARMALDO_4] = { .species = SPECIES_ARMALDO, .moves = {MOVE_DOUBLE_EDGE, MOVE_EARTHQUAKE, MOVE_AERIAL_ACE, MOVE_ROCK_SLIDE}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHOICE_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHOICE_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_GOLDUCK_4] = { .species = SPECIES_GOLDUCK, .moves = {MOVE_SURF, MOVE_CROSS_CHOP, MOVE_ICE_BEAM, MOVE_AERIAL_ACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_RAPIDASH_4] = { .species = SPECIES_RAPIDASH, .moves = {MOVE_OVERHEAT, MOVE_DOUBLE_EDGE, MOVE_IRON_TAIL, MOVE_DOUBLE_KICK}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_MUK_4] = { .species = SPECIES_MUK, .moves = {MOVE_SLUDGE_BOMB, MOVE_BRICK_BREAK, MOVE_GIGA_DRAIN, MOVE_EXPLOSION}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 252, 0, 0, 0), .nature = NATURE_BRAVE }, [FRONTIER_MON_GENGAR_4] = { .species = SPECIES_GENGAR, .moves = {MOVE_PSYCHIC, MOVE_FIRE_PUNCH, MOVE_ICE_PUNCH, MOVE_DESTINY_BOND}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_AMPHAROS_4] = { .species = SPECIES_AMPHAROS, .moves = {MOVE_THUNDERBOLT, MOVE_FIRE_PUNCH, MOVE_THUNDER_WAVE, MOVE_REFLECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_SCIZOR_4] = { .species = SPECIES_SCIZOR, .moves = {MOVE_SILVER_WIND, MOVE_SWORDS_DANCE, MOVE_AGILITY, MOVE_BATON_PASS}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_CAREFUL }, [FRONTIER_MON_HERACROSS_4] = { .species = SPECIES_HERACROSS, .moves = {MOVE_MEGAHORN, MOVE_EARTHQUAKE, MOVE_REVERSAL, MOVE_ENDURE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_URSARING_4] = { .species = SPECIES_URSARING, .moves = {MOVE_DOUBLE_EDGE, MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_AERIAL_ACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_HOUNDOOM_4] = { .species = SPECIES_HOUNDOOM, .moves = {MOVE_OVERHEAT, MOVE_SOLAR_BEAM, MOVE_CRUNCH, MOVE_SUNNY_DAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_DONPHAN_4] = { .species = SPECIES_DONPHAN, .moves = {MOVE_FISSURE, MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_IRON_TAIL}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_CLAYDOL_4] = { .species = SPECIES_CLAYDOL, .moves = {MOVE_PSYCHIC, MOVE_EARTHQUAKE, MOVE_SHADOW_BALL, MOVE_EXPLOSION}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_WAILORD_4] = { .species = SPECIES_WAILORD, .moves = {MOVE_SURF, MOVE_ICE_BEAM, MOVE_EARTHQUAKE, MOVE_FISSURE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_HARDY }, [FRONTIER_MON_NINETALES_4] = { .species = SPECIES_NINETALES, .moves = {MOVE_OVERHEAT, MOVE_DOUBLE_EDGE, MOVE_CONFUSE_RAY, MOVE_WILL_O_WISP}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_MACHAMP_4] = { .species = SPECIES_MACHAMP, .moves = {MOVE_CROSS_CHOP, MOVE_EARTHQUAKE, MOVE_FLAMETHROWER, MOVE_ROCK_SLIDE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_SHUCKLE_4] = { .species = SPECIES_SHUCKLE, .moves = {MOVE_TOXIC, MOVE_DOUBLE_TEAM, MOVE_WRAP, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_CAREFUL }, [FRONTIER_MON_STEELIX_4] = { .species = SPECIES_STEELIX, .moves = {MOVE_EARTHQUAKE, MOVE_IRON_TAIL, MOVE_DOUBLE_EDGE, MOVE_EXPLOSION}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_TENTACRUEL_4] = { .species = SPECIES_TENTACRUEL, .moves = {MOVE_HYDRO_PUMP, MOVE_SLUDGE_BOMB, MOVE_ICE_BEAM, MOVE_MIRROR_COAT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 170, 170, 0, 170, 0), .nature = NATURE_QUIRKY }, [FRONTIER_MON_AERODACTYL_4] = { .species = SPECIES_AERODACTYL, .moves = {MOVE_DOUBLE_EDGE, MOVE_EARTHQUAKE, MOVE_FIRE_BLAST, MOVE_BITE}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_PORYGON2_4] = { .species = SPECIES_PORYGON2, .moves = {MOVE_PSYCHIC, MOVE_THUNDERBOLT, MOVE_ICE_BEAM, MOVE_RECOVER}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_GARDEVOIR_4] = { .species = SPECIES_GARDEVOIR, .moves = {MOVE_PSYCHIC, MOVE_THUNDERBOLT, MOVE_ICE_PUNCH, MOVE_FIRE_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_EXEGGUTOR_4] = { .species = SPECIES_EXEGGUTOR, .moves = {MOVE_PSYCHIC, MOVE_GIGA_DRAIN, MOVE_SLUDGE_BOMB, MOVE_EXPLOSION}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_STARMIE_4] = { .species = SPECIES_STARMIE, .moves = {MOVE_PSYCHIC, MOVE_THUNDERBOLT, MOVE_ICE_BEAM, MOVE_RECOVER}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_FLYGON_4] = { .species = SPECIES_FLYGON, .moves = {MOVE_EARTHQUAKE, MOVE_DRAGON_CLAW, MOVE_DOUBLE_EDGE, MOVE_CRUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_VENUSAUR_4] = { .species = SPECIES_VENUSAUR, .moves = {MOVE_SOLAR_BEAM, MOVE_SLUDGE_BOMB, MOVE_SUNNY_DAY, MOVE_EARTHQUAKE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 0, 170, 170), .nature = NATURE_DOCILE }, [FRONTIER_MON_VAPOREON_4] = { .species = SPECIES_VAPOREON, .moves = {MOVE_SURF, MOVE_ICE_BEAM, MOVE_ACID_ARMOR, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 0, 0, 170, 170), .nature = NATURE_CALM }, [FRONTIER_MON_JOLTEON_4] = { .species = SPECIES_JOLTEON, .moves = {MOVE_THUNDERBOLT, MOVE_THUNDER_WAVE, MOVE_BITE, MOVE_SHADOW_BALL}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_TIMID }, [FRONTIER_MON_FLAREON_4] = { .species = SPECIES_FLAREON, .moves = {MOVE_OVERHEAT, MOVE_SUNNY_DAY, MOVE_DOUBLE_EDGE, MOVE_SHADOW_BALL}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_MEGANIUM_4] = { .species = SPECIES_MEGANIUM, .moves = {MOVE_GIGA_DRAIN, MOVE_EARTHQUAKE, MOVE_ANCIENT_POWER, MOVE_BODY_SLAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_ESPEON_4] = { .species = SPECIES_ESPEON, .moves = {MOVE_PSYCHIC, MOVE_BITE, MOVE_ATTRACT, MOVE_CALM_MIND}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_UMBREON_4] = { .species = SPECIES_UMBREON, .moves = {MOVE_CONFUSE_RAY, MOVE_TOXIC, MOVE_FEINT_ATTACK, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_BOLD }, [FRONTIER_MON_BLASTOISE_4] = { .species = SPECIES_BLASTOISE, .moves = {MOVE_SURF, MOVE_EARTHQUAKE, MOVE_ICE_BEAM, MOVE_MIRROR_COAT}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_FERALIGATR_4] = { .species = SPECIES_FERALIGATR, .moves = {MOVE_HYDRO_PUMP, MOVE_ICE_BEAM, MOVE_EARTHQUAKE, MOVE_AERIAL_ACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_AGGRON_4] = { .species = SPECIES_AGGRON, .moves = {MOVE_DOUBLE_EDGE, MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_AERIAL_ACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_BLAZIKEN_4] = { .species = SPECIES_BLAZIKEN, .moves = {MOVE_OVERHEAT, MOVE_EARTHQUAKE, MOVE_THUNDER_PUNCH, MOVE_ROCK_SLIDE}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_WALREIN_4] = { .species = SPECIES_WALREIN, .moves = {MOVE_SURF, MOVE_ICE_BEAM, MOVE_EARTHQUAKE, MOVE_SHEER_COLD}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_SCEPTILE_4] = { .species = SPECIES_SCEPTILE, .moves = {MOVE_LEAF_BLADE, MOVE_DRAGON_CLAW, MOVE_CRUNCH, MOVE_THUNDER_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_CHARIZARD_4] = { .species = SPECIES_CHARIZARD, .moves = {MOVE_OVERHEAT, MOVE_EARTHQUAKE, MOVE_AERIAL_ACE, MOVE_ROCK_SLIDE}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_TYPHLOSION_4] = { .species = SPECIES_TYPHLOSION, .moves = {MOVE_OVERHEAT, MOVE_THUNDER_PUNCH, MOVE_EARTHQUAKE, MOVE_CRUSH_CLAW}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_LAPRAS_4] = { .species = SPECIES_LAPRAS, .moves = {MOVE_SURF, MOVE_ICE_BEAM, MOVE_THUNDERBOLT, MOVE_PSYCHIC}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_CROBAT_4] = { .species = SPECIES_CROBAT, .moves = {MOVE_SLUDGE_BOMB, MOVE_AERIAL_ACE, MOVE_SHADOW_BALL, MOVE_CONFUSE_RAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SWAMPERT_4] = { .species = SPECIES_SWAMPERT, .moves = {MOVE_SURF, MOVE_EARTHQUAKE, MOVE_ICE_BEAM, MOVE_MIRROR_COAT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_GYARADOS_4] = { .species = SPECIES_GYARADOS, .moves = {MOVE_RETURN, MOVE_EARTHQUAKE, MOVE_DRAGON_DANCE, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SNORLAX_4] = { .species = SPECIES_SNORLAX, .moves = {MOVE_DOUBLE_EDGE, MOVE_SHADOW_BALL, MOVE_BRICK_BREAK, MOVE_CURSE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 252, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_KINGDRA_4] = { .species = SPECIES_KINGDRA, .moves = {MOVE_DOUBLE_EDGE, MOVE_ICE_BEAM, MOVE_DRAGON_DANCE, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_HARDY }, [FRONTIER_MON_BLISSEY_4] = { .species = SPECIES_BLISSEY, .moves = {MOVE_ICE_BEAM, MOVE_CALM_MIND, MOVE_COUNTER, MOVE_SOFT_BOILED}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_BOLD }, [FRONTIER_MON_MILOTIC_4] = { .species = SPECIES_MILOTIC, .moves = {MOVE_SURF, MOVE_ICE_BEAM, MOVE_RECOVER, MOVE_MIRROR_COAT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 0, 170, 0, 170, 170), .nature = NATURE_MODEST }, [FRONTIER_MON_ARCANINE_4] = { .species = SPECIES_ARCANINE, .moves = {MOVE_OVERHEAT, MOVE_EXTREME_SPEED, MOVE_CRUNCH, MOVE_DOUBLE_EDGE}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_SALAMENCE_4] = { .species = SPECIES_SALAMENCE, .moves = {MOVE_DOUBLE_EDGE, MOVE_EARTHQUAKE, MOVE_AERIAL_ACE, MOVE_DRAGON_DANCE}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_METAGROSS_4] = { .species = SPECIES_METAGROSS, .moves = {MOVE_METEOR_MASH, MOVE_PSYCHIC, MOVE_EARTHQUAKE, MOVE_SHADOW_BALL}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_SLAKING_4] = { .species = SPECIES_SLAKING, .moves = {MOVE_THUNDERBOLT, MOVE_FLAMETHROWER, MOVE_ICE_BEAM, MOVE_YAWN}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 0, 252, 252), .nature = NATURE_MODEST }, [FRONTIER_MON_ARTICUNO_1] = { .species = SPECIES_ARTICUNO, .moves = {MOVE_ICE_BEAM, MOVE_WATER_PULSE, MOVE_ICY_WIND, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_ZAPDOS_1] = { .species = SPECIES_ZAPDOS, .moves = {MOVE_THUNDERBOLT, MOVE_DRILL_PECK, MOVE_THUNDER_WAVE, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_MOLTRES_1] = { .species = SPECIES_MOLTRES, .moves = {MOVE_FLAMETHROWER, MOVE_AERIAL_ACE, MOVE_MUD_SLAP, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_RAIKOU_1] = { .species = SPECIES_RAIKOU, .moves = {MOVE_THUNDERBOLT, MOVE_THUNDER_WAVE, MOVE_CALM_MIND, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_ENTEI_1] = { .species = SPECIES_ENTEI, .moves = {MOVE_FLAMETHROWER, MOVE_DOUBLE_TEAM, MOVE_CALM_MIND, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_SUICUNE_1] = { .species = SPECIES_SUICUNE, .moves = {MOVE_SURF, MOVE_DOUBLE_TEAM, MOVE_CALM_MIND, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_REGIROCK_1] = { .species = SPECIES_REGIROCK, .moves = {MOVE_SUPERPOWER, MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_EXPLOSION}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_REGICE_1] = { .species = SPECIES_REGICE, .moves = {MOVE_ICE_BEAM, MOVE_THUNDERBOLT, MOVE_AMNESIA, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_REGISTEEL_1] = { .species = SPECIES_REGISTEEL, .moves = {MOVE_METAL_CLAW, MOVE_CURSE, MOVE_AMNESIA, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_LATIAS_1] = { .species = SPECIES_LATIAS, .moves = {MOVE_PSYCHIC, MOVE_THUNDERBOLT, MOVE_ICE_BEAM, MOVE_DRAGON_CLAW}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_LATIOS_1] = { .species = SPECIES_LATIOS, .moves = {MOVE_PSYCHIC, MOVE_THUNDERBOLT, MOVE_ICE_BEAM, MOVE_DRAGON_CLAW}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_ARTICUNO_2] = { .species = SPECIES_ARTICUNO, .moves = {MOVE_SUBSTITUTE, MOVE_TOXIC, MOVE_BLIZZARD, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_IMPISH }, [FRONTIER_MON_ZAPDOS_2] = { .species = SPECIES_ZAPDOS, .moves = {MOVE_THUNDER, MOVE_RAIN_DANCE, MOVE_DRILL_PECK, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_MOLTRES_2] = { .species = SPECIES_MOLTRES, .moves = {MOVE_OVERHEAT, MOVE_AERIAL_ACE, MOVE_DOUBLE_TEAM, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_RAIKOU_2] = { .species = SPECIES_RAIKOU, .moves = {MOVE_THUNDER, MOVE_RAIN_DANCE, MOVE_DOUBLE_TEAM, MOVE_REFLECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_ENTEI_2] = { .species = SPECIES_ENTEI, .moves = {MOVE_FIRE_BLAST, MOVE_SUNNY_DAY, MOVE_SOLAR_BEAM, MOVE_REFLECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_SUICUNE_2] = { .species = SPECIES_SUICUNE, .moves = {MOVE_TOXIC, MOVE_DIVE, MOVE_DOUBLE_TEAM, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_CALM }, [FRONTIER_MON_REGIROCK_2] = { .species = SPECIES_REGIROCK, .moves = {MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_COUNTER, MOVE_EXPLOSION}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_REGICE_2] = { .species = SPECIES_REGICE, .moves = {MOVE_THUNDER, MOVE_RAIN_DANCE, MOVE_BLIZZARD, MOVE_BRICK_BREAK}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_REGISTEEL_2] = { .species = SPECIES_REGISTEEL, .moves = {MOVE_THUNDERBOLT, MOVE_ICE_PUNCH, MOVE_EARTHQUAKE, MOVE_AERIAL_ACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_LATIAS_2] = { .species = SPECIES_LATIAS, .moves = {MOVE_PSYCHIC, MOVE_THUNDERBOLT, MOVE_ICE_BEAM, MOVE_EARTHQUAKE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_LATIOS_2] = { .species = SPECIES_LATIOS, .moves = {MOVE_PSYCHIC, MOVE_THUNDERBOLT, MOVE_ICE_BEAM, MOVE_EARTHQUAKE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_ARTICUNO_3] = { .species = SPECIES_ARTICUNO, .moves = {MOVE_ICE_BEAM, MOVE_FACADE, MOVE_AERIAL_ACE, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_ZAPDOS_3] = { .species = SPECIES_ZAPDOS, .moves = {MOVE_THUNDERBOLT, MOVE_DRILL_PECK, MOVE_THUNDER_WAVE, MOVE_SUBSTITUTE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_MOLTRES_3] = { .species = SPECIES_MOLTRES, .moves = {MOVE_FIRE_BLAST, MOVE_SUNNY_DAY, MOVE_DOUBLE_TEAM, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_RAIKOU_3] = { .species = SPECIES_RAIKOU, .moves = {MOVE_THUNDERBOLT, MOVE_THUNDER_WAVE, MOVE_QUICK_ATTACK, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_ENTEI_3] = { .species = SPECIES_ENTEI, .moves = {MOVE_FLAMETHROWER, MOVE_DOUBLE_EDGE, MOVE_SWAGGER, MOVE_PSYCH_UP}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_SUICUNE_3] = { .species = SPECIES_SUICUNE, .moves = {MOVE_SURF, MOVE_ICE_BEAM, MOVE_RAIN_DANCE, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_REGIROCK_3] = { .species = SPECIES_REGIROCK, .moves = {MOVE_ROCK_SLIDE, MOVE_EARTHQUAKE, MOVE_CURSE, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_REGICE_3] = { .species = SPECIES_REGICE, .moves = {MOVE_ICE_BEAM, MOVE_THUNDERBOLT, MOVE_THUNDER_WAVE, MOVE_EXPLOSION}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_REGISTEEL_3] = { .species = SPECIES_REGISTEEL, .moves = {MOVE_ANCIENT_POWER, MOVE_AMNESIA, MOVE_COUNTER, MOVE_EXPLOSION}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_LATIAS_3] = { .species = SPECIES_LATIAS, .moves = {MOVE_DRAGON_CLAW, MOVE_THUNDERBOLT, MOVE_ICE_BEAM, MOVE_EARTHQUAKE}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_LATIOS_3] = { .species = SPECIES_LATIOS, .moves = {MOVE_DRAGON_CLAW, MOVE_THUNDERBOLT, MOVE_ICE_BEAM, MOVE_EARTHQUAKE}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_ARTICUNO_4] = { .species = SPECIES_ARTICUNO, .moves = {MOVE_BLIZZARD, MOVE_DOUBLE_EDGE, MOVE_REST, MOVE_REFLECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_ZAPDOS_4] = { .species = SPECIES_ZAPDOS, .moves = {MOVE_THUNDERBOLT, MOVE_DRILL_PECK, MOVE_THUNDER_WAVE, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_MOLTRES_4] = { .species = SPECIES_MOLTRES, .moves = {MOVE_OVERHEAT, MOVE_DOUBLE_EDGE, MOVE_STEEL_WING, MOVE_SAFEGUARD}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FRONTIER_MON_RAIKOU_4] = { .species = SPECIES_RAIKOU, .moves = {MOVE_THUNDERBOLT, MOVE_BITE, MOVE_THUNDER_WAVE, MOVE_REFLECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_ENTEI_4] = { .species = SPECIES_ENTEI, .moves = {MOVE_FLAMETHROWER, MOVE_BITE, MOVE_DOUBLE_TEAM, MOVE_REFLECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_SUICUNE_4] = { .species = SPECIES_SUICUNE, .moves = {MOVE_SURF, MOVE_ICE_BEAM, MOVE_BITE, MOVE_REFLECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_REGIROCK_4] = { .species = SPECIES_REGIROCK, .moves = {MOVE_ROCK_SLIDE, MOVE_BRICK_BREAK, MOVE_DOUBLE_TEAM, MOVE_THUNDER_WAVE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 0, 170), .nature = NATURE_CAREFUL }, [FRONTIER_MON_REGICE_4] = { .species = SPECIES_REGICE, .moves = {MOVE_ICE_BEAM, MOVE_HAIL, MOVE_DOUBLE_TEAM, MOVE_THUNDER_WAVE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_BOLD }, [FRONTIER_MON_REGISTEEL_4] = { .species = SPECIES_REGISTEEL, .moves = {MOVE_ANCIENT_POWER, MOVE_EARTHQUAKE, MOVE_DOUBLE_TEAM, MOVE_THUNDER_WAVE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_IMPISH }, [FRONTIER_MON_LATIAS_4] = { .species = SPECIES_LATIAS, .moves = {MOVE_MIST_BALL, MOVE_SHADOW_BALL, MOVE_CHARM, MOVE_REFLECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_LATIOS_4] = { .species = SPECIES_LATIOS, .moves = {MOVE_LUSTER_PURGE, MOVE_THUNDERBOLT, MOVE_ICE_BEAM, MOVE_DRAGON_CLAW}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_GENGAR_5] = { .species = SPECIES_GENGAR, .moves = {MOVE_PSYCHIC, MOVE_SHADOW_BALL, MOVE_THUNDERBOLT, MOVE_FIRE_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_GENGAR_6] = { .species = SPECIES_GENGAR, .moves = {MOVE_PSYCHIC, MOVE_SHADOW_BALL, MOVE_THUNDERBOLT, MOVE_ICE_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_GENGAR_7] = { .species = SPECIES_GENGAR, .moves = {MOVE_PSYCHIC, MOVE_THUNDERBOLT, MOVE_FIRE_PUNCH, MOVE_DESTINY_BOND}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_GENGAR_8] = { .species = SPECIES_GENGAR, .moves = {MOVE_PSYCHIC, MOVE_THUNDERBOLT, MOVE_ICE_PUNCH, MOVE_DESTINY_BOND}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_URSARING_5] = { .species = SPECIES_URSARING, .moves = {MOVE_MEGA_KICK, MOVE_AERIAL_ACE, MOVE_ROCK_SLIDE, MOVE_BRICK_BREAK}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHOICE_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHOICE_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_URSARING_6] = { .species = SPECIES_URSARING, .moves = {MOVE_HYPER_BEAM, MOVE_YAWN, MOVE_SWORDS_DANCE, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_URSARING_7] = { .species = SPECIES_URSARING, .moves = {MOVE_FACADE, MOVE_EARTHQUAKE, MOVE_CRUNCH, MOVE_BULK_UP}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_URSARING_8] = { .species = SPECIES_URSARING, .moves = {MOVE_FACADE, MOVE_EARTHQUAKE, MOVE_CRUNCH, MOVE_BRICK_BREAK}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_MACHAMP_5] = { .species = SPECIES_MACHAMP, .moves = {MOVE_CROSS_CHOP, MOVE_DOUBLE_EDGE, MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_MACHAMP_6] = { .species = SPECIES_MACHAMP, .moves = {MOVE_CROSS_CHOP, MOVE_EARTHQUAKE, MOVE_COUNTER, MOVE_ROCK_TOMB}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_MACHAMP_7] = { .species = SPECIES_MACHAMP, .moves = {MOVE_FOCUS_PUNCH, MOVE_SUBSTITUTE, MOVE_ATTRACT, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_MACHAMP_8] = { .species = SPECIES_MACHAMP, .moves = {MOVE_REVENGE, MOVE_ROCK_SLIDE, MOVE_FACADE, MOVE_COUNTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_GARDEVOIR_5] = { .species = SPECIES_GARDEVOIR, .moves = {MOVE_PSYCHIC, MOVE_SHADOW_BALL, MOVE_ENDURE, MOVE_DESTINY_BOND}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 170, 0, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_GARDEVOIR_6] = { .species = SPECIES_GARDEVOIR, .moves = {MOVE_PSYCHIC, MOVE_THUNDERBOLT, MOVE_WILL_O_WISP, MOVE_DESTINY_BOND}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_TIMID }, [FRONTIER_MON_GARDEVOIR_7] = { .species = SPECIES_GARDEVOIR, .moves = {MOVE_PSYCHIC, MOVE_CALM_MIND, MOVE_WILL_O_WISP, MOVE_DESTINY_BOND}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_BOLD }, [FRONTIER_MON_GARDEVOIR_8] = { .species = SPECIES_GARDEVOIR, .moves = {MOVE_PSYCHIC, MOVE_MAGICAL_LEAF, MOVE_ATTRACT, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_STARMIE_5] = { .species = SPECIES_STARMIE, .moves = {MOVE_SURF, MOVE_PSYCHIC, MOVE_RECOVER, MOVE_LIGHT_SCREEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_STARMIE_6] = { .species = SPECIES_STARMIE, .moves = {MOVE_SURF, MOVE_CONFUSE_RAY, MOVE_THUNDER_WAVE, MOVE_RECOVER}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_CALM }, [FRONTIER_MON_STARMIE_7] = { .species = SPECIES_STARMIE, .moves = {MOVE_PSYCHIC, MOVE_ICE_BEAM, MOVE_COSMIC_POWER, MOVE_RECOVER}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_STARMIE_8] = { .species = SPECIES_STARMIE, .moves = {MOVE_SURF, MOVE_THUNDERBOLT, MOVE_COSMIC_POWER, MOVE_RECOVER}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_LAPRAS_5] = { .species = SPECIES_LAPRAS, .moves = {MOVE_PSYCHIC, MOVE_THUNDERBOLT, MOVE_IRON_TAIL, MOVE_DOUBLE_EDGE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_LAPRAS_6] = { .species = SPECIES_LAPRAS, .moves = {MOVE_HYDRO_PUMP, MOVE_THUNDER, MOVE_RAIN_DANCE, MOVE_BLIZZARD}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_LAPRAS_7] = { .species = SPECIES_LAPRAS, .moves = {MOVE_SHEER_COLD, MOVE_HORN_DRILL, MOVE_REST, MOVE_SLEEP_TALK}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEPPA_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEPPA_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_CALM }, [FRONTIER_MON_LAPRAS_8] = { .species = SPECIES_LAPRAS, .moves = {MOVE_SHEER_COLD, MOVE_HORN_DRILL, MOVE_SING, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_CALM }, [FRONTIER_MON_SNORLAX_5] = { .species = SPECIES_SNORLAX, .moves = {MOVE_MEGA_KICK, MOVE_SHADOW_BALL, MOVE_BRICK_BREAK, MOVE_COUNTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 252, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SNORLAX_6] = { .species = SPECIES_SNORLAX, .moves = {MOVE_EARTHQUAKE, MOVE_SHADOW_BALL, MOVE_BRICK_BREAK, MOVE_COUNTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 252, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SNORLAX_7] = { .species = SPECIES_SNORLAX, .moves = {MOVE_HYPER_BEAM, MOVE_SHADOW_BALL, MOVE_EARTHQUAKE, MOVE_CURSE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SNORLAX_8] = { .species = SPECIES_SNORLAX, .moves = {MOVE_RETURN, MOVE_SHADOW_BALL, MOVE_BELLY_DRUM, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SALAMENCE_5] = { .species = SPECIES_SALAMENCE, .moves = {MOVE_FACADE, MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_DRAGON_DANCE}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_SALAMENCE_6] = { .species = SPECIES_SALAMENCE, .moves = {MOVE_HEADBUTT, MOVE_AERIAL_ACE, MOVE_CRUNCH, MOVE_DRAGON_DANCE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_HARDY }, [FRONTIER_MON_SALAMENCE_7] = { .species = SPECIES_SALAMENCE, .moves = {MOVE_FLAMETHROWER, MOVE_DRAGON_CLAW, MOVE_CRUNCH, MOVE_BRICK_BREAK}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_SALAMENCE_8] = { .species = SPECIES_SALAMENCE, .moves = {MOVE_FLAMETHROWER, MOVE_DRAGON_CLAW, MOVE_CRUNCH, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_METAGROSS_5] = { .species = SPECIES_METAGROSS, .moves = {MOVE_EXPLOSION, MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_BRICK_BREAK}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 170, 0, 0), .nature = NATURE_JOLLY }, [FRONTIER_MON_METAGROSS_6] = { .species = SPECIES_METAGROSS, .moves = {MOVE_METEOR_MASH, MOVE_PSYCHIC, MOVE_ICE_PUNCH, MOVE_THUNDER_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_METAGROSS_7] = { .species = SPECIES_METAGROSS, .moves = {MOVE_EARTHQUAKE, MOVE_SHADOW_BALL, MOVE_ICE_PUNCH, MOVE_THUNDER_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_METAGROSS_8] = { .species = SPECIES_METAGROSS, .moves = {MOVE_METEOR_MASH, MOVE_EARTHQUAKE, MOVE_BRICK_BREAK, MOVE_EXPLOSION}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 170, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_REGIROCK_5] = { .species = SPECIES_REGIROCK, .moves = {MOVE_HYPER_BEAM, MOVE_FOCUS_PUNCH, MOVE_ROCK_SLIDE, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_REGIROCK_6] = { .species = SPECIES_REGIROCK, .moves = {MOVE_SWAGGER, MOVE_PSYCH_UP, MOVE_ROCK_SLIDE, MOVE_EXPLOSION}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FRONTIER_MON_REGICE_5] = { .species = SPECIES_REGICE, .moves = {MOVE_EARTHQUAKE, MOVE_ICE_BEAM, MOVE_CURSE, MOVE_COUNTER}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_BRAVE }, [FRONTIER_MON_REGICE_6] = { .species = SPECIES_REGICE, .moves = {MOVE_ICE_BEAM, MOVE_THUNDERBOLT, MOVE_SLEEP_TALK, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_REGISTEEL_5] = { .species = SPECIES_REGISTEEL, .moves = {MOVE_FOCUS_PUNCH, MOVE_SUBSTITUTE, MOVE_TOXIC, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_REGISTEEL_6] = { .species = SPECIES_REGISTEEL, .moves = {MOVE_SUPERPOWER, MOVE_AERIAL_ACE, MOVE_SWAGGER, MOVE_PSYCH_UP}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_LATIAS_5] = { .species = SPECIES_LATIAS, .moves = {MOVE_DRAGON_CLAW, MOVE_THUNDER_WAVE, MOVE_CALM_MIND, MOVE_RECOVER}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_MODEST }, [FRONTIER_MON_LATIAS_6] = { .species = SPECIES_LATIAS, .moves = {MOVE_MIST_BALL, MOVE_DRAGON_CLAW, MOVE_ATTRACT, MOVE_THUNDER_WAVE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_LATIAS_7] = { .species = SPECIES_LATIAS, .moves = {MOVE_EARTHQUAKE, MOVE_SHADOW_BALL, MOVE_SWAGGER, MOVE_PSYCH_UP}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_LATIAS_8] = { .species = SPECIES_LATIAS, .moves = {MOVE_PSYCHIC, MOVE_SHADOW_BALL, MOVE_EARTHQUAKE, MOVE_AERIAL_ACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_LATIOS_5] = { .species = SPECIES_LATIOS, .moves = {MOVE_DRAGON_CLAW, MOVE_THUNDER_WAVE, MOVE_CALM_MIND, MOVE_RECOVER}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_MODEST }, [FRONTIER_MON_LATIOS_6] = { .species = SPECIES_LATIOS, .moves = {MOVE_LUSTER_PURGE, MOVE_SHADOW_BALL, MOVE_DRAGON_CLAW, MOVE_THUNDER_WAVE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_LATIOS_7] = { .species = SPECIES_LATIOS, .moves = {MOVE_EARTHQUAKE, MOVE_SHADOW_BALL, MOVE_DRAGON_DANCE, MOVE_RECOVER}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_LATIOS_8] = { .species = SPECIES_LATIOS, .moves = {MOVE_PSYCHIC, MOVE_SHADOW_BALL, MOVE_EARTHQUAKE, MOVE_AERIAL_ACE}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_DRAGONITE_1] = { .species = SPECIES_DRAGONITE, .moves = {MOVE_EARTHQUAKE, MOVE_AERIAL_ACE, MOVE_BRICK_BREAK, MOVE_DRAGON_DANCE}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_DRAGONITE_2] = { .species = SPECIES_DRAGONITE, .moves = {MOVE_EARTHQUAKE, MOVE_DOUBLE_EDGE, MOVE_AERIAL_ACE, MOVE_DRAGON_DANCE}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_DRAGONITE_3] = { .species = SPECIES_DRAGONITE, .moves = {MOVE_HYPER_BEAM, MOVE_ATTRACT, MOVE_DOUBLE_TEAM, MOVE_THUNDER_WAVE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 170, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_DRAGONITE_4] = { .species = SPECIES_DRAGONITE, .moves = {MOVE_HYPER_BEAM, MOVE_THUNDER_WAVE, MOVE_DRAGON_DANCE, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_DRAGONITE_5] = { .species = SPECIES_DRAGONITE, .moves = {MOVE_OUTRAGE, MOVE_DOUBLE_EDGE, MOVE_THUNDER_WAVE, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_DRAGONITE_6] = { .species = SPECIES_DRAGONITE, .moves = {MOVE_DRAGON_CLAW, MOVE_THUNDERBOLT, MOVE_SURF, MOVE_FLAMETHROWER}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_DRAGONITE_7] = { .species = SPECIES_DRAGONITE, .moves = {MOVE_DRAGON_CLAW, MOVE_THUNDERBOLT, MOVE_SURF, MOVE_ICE_BEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_DRAGONITE_8] = { .species = SPECIES_DRAGONITE, .moves = {MOVE_DRAGON_CLAW, MOVE_FLAMETHROWER, MOVE_ICE_BEAM, MOVE_BRICK_BREAK}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_DRAGONITE_9] = { .species = SPECIES_DRAGONITE, .moves = {MOVE_THUNDER, MOVE_SURF, MOVE_RAIN_DANCE, MOVE_EARTHQUAKE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_DRAGONITE_10] = { .species = SPECIES_DRAGONITE, .moves = {MOVE_FIRE_BLAST, MOVE_BLIZZARD, MOVE_SUNNY_DAY, MOVE_EARTHQUAKE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_TYRANITAR_1] = { .species = SPECIES_TYRANITAR, .moves = {MOVE_EARTHQUAKE, MOVE_AERIAL_ACE, MOVE_THUNDERBOLT, MOVE_SURF}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_TYRANITAR_2] = { .species = SPECIES_TYRANITAR, .moves = {MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_CRUNCH, MOVE_THUNDERBOLT}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_TYRANITAR_3] = { .species = SPECIES_TYRANITAR, .moves = {MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_COUNTER, MOVE_DRAGON_DANCE}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_TYRANITAR_4] = { .species = SPECIES_TYRANITAR, .moves = {MOVE_CRUNCH, MOVE_ICE_BEAM, MOVE_THUNDERBOLT, MOVE_FLAMETHROWER}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_TYRANITAR_5] = { .species = SPECIES_TYRANITAR, .moves = {MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_DRAGON_DANCE, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_TYRANITAR_6] = { .species = SPECIES_TYRANITAR, .moves = {MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_CURSE, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_TYRANITAR_7] = { .species = SPECIES_TYRANITAR, .moves = {MOVE_ROCK_SLIDE, MOVE_AERIAL_ACE, MOVE_BRICK_BREAK, MOVE_CURSE}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FRONTIER_MON_TYRANITAR_8] = { .species = SPECIES_TYRANITAR, .moves = {MOVE_ROCK_SLIDE, MOVE_THUNDER_WAVE, MOVE_DRAGON_DANCE, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_TYRANITAR_9] = { .species = SPECIES_TYRANITAR, .moves = {MOVE_CRUNCH, MOVE_EARTHQUAKE, MOVE_AERIAL_ACE, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HARDY }, [FRONTIER_MON_TYRANITAR_10] = { .species = SPECIES_TYRANITAR, .moves = {MOVE_DOUBLE_EDGE, MOVE_EARTHQUAKE, MOVE_ROCK_SLIDE, MOVE_DRAGON_DANCE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [FRONTIER_MON_ARTICUNO_5] = { .species = SPECIES_ARTICUNO, .moves = {MOVE_BLIZZARD, MOVE_DOUBLE_EDGE, MOVE_AGILITY, MOVE_SWAGGER}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_ARTICUNO_6] = { .species = SPECIES_ARTICUNO, .moves = {MOVE_ICE_BEAM, MOVE_AERIAL_ACE, MOVE_REFLECT, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_ZAPDOS_5] = { .species = SPECIES_ZAPDOS, .moves = {MOVE_THUNDERBOLT, MOVE_DRILL_PECK, MOVE_DOUBLE_EDGE, MOVE_THUNDER_WAVE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_ZAPDOS_6] = { .species = SPECIES_ZAPDOS, .moves = {MOVE_THUNDER, MOVE_DRILL_PECK, MOVE_RAIN_DANCE, MOVE_DOUBLE_EDGE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_MOLTRES_5] = { .species = SPECIES_MOLTRES, .moves = {MOVE_OVERHEAT, MOVE_SUNNY_DAY, MOVE_SWAGGER, MOVE_FACADE}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_MOLTRES_6] = { .species = SPECIES_MOLTRES, .moves = {MOVE_OVERHEAT, MOVE_DOUBLE_EDGE, MOVE_AERIAL_ACE, MOVE_STEEL_WING}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_DOCILE }, [FRONTIER_MON_RAIKOU_5] = { .species = SPECIES_RAIKOU, .moves = {MOVE_THUNDERBOLT, MOVE_DOUBLE_EDGE, MOVE_ROAR, MOVE_REFLECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_RAIKOU_6] = { .species = SPECIES_RAIKOU, .moves = {MOVE_THUNDERBOLT, MOVE_CALM_MIND, MOVE_SUBSTITUTE, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 252, 0, 0, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_ENTEI_5] = { .species = SPECIES_ENTEI, .moves = {MOVE_FIRE_BLAST, MOVE_DOUBLE_EDGE, MOVE_ENDURE, MOVE_REFLECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_DOCILE }, [FRONTIER_MON_ENTEI_6] = { .species = SPECIES_ENTEI, .moves = {MOVE_FLAMETHROWER, MOVE_CALM_MIND, MOVE_ROAR, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_MODEST }, [FRONTIER_MON_SUICUNE_5] = { .species = SPECIES_SUICUNE, .moves = {MOVE_SURF, MOVE_ICE_BEAM, MOVE_CALM_MIND, MOVE_ICY_WIND}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FRONTIER_MON_SUICUNE_6] = { .species = SPECIES_SUICUNE, .moves = {MOVE_SURF, MOVE_ICE_BEAM, MOVE_CALM_MIND, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_MODEST } }; diff --git a/src/data/battle_frontier/battle_tent.h b/src/data/battle_frontier/battle_tent.h index 46598b212045..0e0a20ad7202 100644 --- a/src/data/battle_frontier/battle_tent.h +++ b/src/data/battle_frontier/battle_tent.h @@ -756,491 +756,491 @@ const struct FacilityMon gSlateportBattleTentMons[NUM_SLATEPORT_TENT_MONS] = [SLATEPORT_TENT_MON_ZIGZAGOON_1] = { .species = SPECIES_ZIGZAGOON, .moves = {MOVE_TACKLE, MOVE_CHARM, MOVE_ODOR_SLEUTH, MOVE_PIN_MISSILE}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHOICE_BAND, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_CHOICE_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_JOLLY }, [SLATEPORT_TENT_MON_ZIGZAGOON_2] = { .species = SPECIES_ZIGZAGOON, .moves = {MOVE_DIG, MOVE_MUD_SPORT, MOVE_TAIL_WHIP, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_JOLLY }, [SLATEPORT_TENT_MON_BEAUTIFLY] = { .species = SPECIES_BEAUTIFLY, .moves = {MOVE_STUN_SPORE, MOVE_MEGA_DRAIN, MOVE_GUST, MOVE_HARDEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [SLATEPORT_TENT_MON_DUSTOX] = { .species = SPECIES_DUSTOX, .moves = {MOVE_POISON_STING, MOVE_MOONLIGHT, MOVE_PROTECT, MOVE_GUST}, - .itemTableId = BATTLE_FRONTIER_ITEM_ORAN_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_ORAN_BERRY, + .evSpread = TRAINER_PARTY_EVS(128, 0, 128, 0, 128, 128), .nature = NATURE_MODEST }, [SLATEPORT_TENT_MON_WAILMER_1] = { .species = SPECIES_WAILMER, .moves = {MOVE_ROLLOUT, MOVE_CURSE, MOVE_GROWL, MOVE_WHIRLPOOL}, - .itemTableId = BATTLE_FRONTIER_ITEM_RAWST_BERRY, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_RAWST_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 170, 170, 0, 0, 0), .nature = NATURE_ADAMANT }, [SLATEPORT_TENT_MON_WAILMER_2] = { .species = SPECIES_WAILMER, .moves = {MOVE_ROLLOUT, MOVE_GROWL, MOVE_WHIRLPOOL, MOVE_WATER_PULSE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 170, 0), .nature = NATURE_MODEST }, [SLATEPORT_TENT_MON_MARILL_1] = { .species = SPECIES_MARILL, .moves = {MOVE_ROLLOUT, MOVE_DEFENSE_CURL, MOVE_TAIL_WHIP, MOVE_BUBBLE_BEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_IMPISH }, [SLATEPORT_TENT_MON_WINGULL_1] = { .species = SPECIES_WINGULL, .moves = {MOVE_SUPERSONIC, MOVE_GROWL, MOVE_WING_ATTACK, MOVE_STEEL_WING}, - .itemTableId = BATTLE_FRONTIER_ITEM_METAL_COAT, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_METAL_COAT, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_NAIVE }, [SLATEPORT_TENT_MON_PELIPPER_1] = { .species = SPECIES_PELIPPER, .moves = {MOVE_TWISTER, MOVE_WATER_SPORT, MOVE_GROWL, MOVE_WING_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_DRAGON_FANG, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_DRAGON_FANG, + .evSpread = TRAINER_PARTY_EVS(0, 0, 170, 0, 170, 170), .nature = NATURE_MODEST }, [SLATEPORT_TENT_MON_CACNEA_1] = { .species = SPECIES_CACNEA, .moves = {MOVE_SANDSTORM, MOVE_LEER, MOVE_LEECH_SEED, MOVE_PIN_MISSILE}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SPEED, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 0, 0), .nature = NATURE_JOLLY }, [SLATEPORT_TENT_MON_LOMBRE_1] = { .species = SPECIES_LOMBRE, .moves = {MOVE_ASTONISH, MOVE_WATER_GUN, MOVE_FAKE_OUT, MOVE_ABSORB}, - .itemTableId = BATTLE_FRONTIER_ITEM_MIRACLE_SEED, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_MIRACLE_SEED, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [SLATEPORT_TENT_MON_LOTAD] = { .species = SPECIES_LOTAD, .moves = {MOVE_SYNTHESIS, MOVE_NATURE_POWER, MOVE_RAIN_DANCE, MOVE_MEGA_DRAIN}, - .itemTableId = BATTLE_FRONTIER_ITEM_MYSTIC_WATER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_MYSTIC_WATER, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 170, 0), .nature = NATURE_DOCILE }, [SLATEPORT_TENT_MON_SEEDOT] = { .species = SPECIES_SEEDOT, .moves = {MOVE_SUNNY_DAY, MOVE_SYNTHESIS, MOVE_LEECH_SEED, MOVE_BIDE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_TIMID }, [SLATEPORT_TENT_MON_NUZLEAF] = { .species = SPECIES_NUZLEAF, .moves = {MOVE_FAKE_OUT, MOVE_NATURE_POWER, MOVE_HARDEN, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_LONELY }, [SLATEPORT_TENT_MON_NINJASK_1] = { .species = SPECIES_NINJASK, .moves = {MOVE_FURY_CUTTER, MOVE_SCREECH, MOVE_SWORDS_DANCE, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(102, 0, 102, 102, 102, 102), .nature = NATURE_QUIRKY }, [SLATEPORT_TENT_MON_NINJASK_2] = { .species = SPECIES_NINJASK, .moves = {MOVE_FURY_CUTTER, MOVE_DOUBLE_TEAM, MOVE_SCREECH, MOVE_SAND_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_SILVER_POWDER, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SILVER_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 252, 252, 0, 0, 0), .nature = NATURE_NAUGHTY }, [SLATEPORT_TENT_MON_GRAVELER] = { .species = SPECIES_GRAVELER, .moves = {MOVE_MUD_SPORT, MOVE_BLOCK, MOVE_ROCK_TOMB, MOVE_MAGNITUDE}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 0, 170), .nature = NATURE_BRAVE }, [SLATEPORT_TENT_MON_BALTOY] = { .species = SPECIES_BALTOY, .moves = {MOVE_SELF_DESTRUCT, MOVE_ANCIENT_POWER, MOVE_PSYBEAM, MOVE_REFLECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_NAIVE }, [SLATEPORT_TENT_MON_MIGHTYENA_1] = { .species = SPECIES_MIGHTYENA, .moves = {MOVE_BITE, MOVE_ROAR, MOVE_SWAGGER, MOVE_TACKLE}, - .itemTableId = BATTLE_FRONTIER_ITEM_BLACK_GLASSES, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_BLACK_GLASSES, + .evSpread = TRAINER_PARTY_EVS(170, 0, 0, 170, 170, 0), .nature = NATURE_CALM }, [SLATEPORT_TENT_MON_MIGHTYENA_2] = { .species = SPECIES_MIGHTYENA, .moves = {MOVE_ODOR_SLEUTH, MOVE_HOWL, MOVE_SAND_ATTACK, MOVE_POISON_FANG}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHELL_BELL, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SHELL_BELL, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_LONELY }, [SLATEPORT_TENT_MON_LINOONE] = { .species = SPECIES_LINOONE, .moves = {MOVE_HEADBUTT, MOVE_TICKLE, MOVE_TAIL_WHIP, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_MENTAL_HERB, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_MENTAL_HERB, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 0, 170), .nature = NATURE_JOLLY }, [SLATEPORT_TENT_MON_GOLDEEN] = { .species = SPECIES_GOLDEEN, .moves = {MOVE_WATER_SPORT, MOVE_HORN_ATTACK, MOVE_WATERFALL, MOVE_SUPERSONIC}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 0, 170, 0, 170, 170), .nature = NATURE_CALM }, [SLATEPORT_TENT_MON_ELECTRIKE_1] = { .species = SPECIES_ELECTRIKE, .moves = {MOVE_BITE, MOVE_SPARK, MOVE_ROAR, MOVE_FLASH}, - .itemTableId = BATTLE_FRONTIER_ITEM_MAGNET, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_MAGNET, + .evSpread = TRAINER_PARTY_EVS(0, 170, 170, 170, 0, 0), .nature = NATURE_MODEST }, [SLATEPORT_TENT_MON_VOLTORB] = { .species = SPECIES_VOLTORB, .moves = {MOVE_SPARK, MOVE_ROLLOUT, MOVE_CHARGE, MOVE_SCREECH}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 0, 252, 252), .nature = NATURE_MILD }, [SLATEPORT_TENT_MON_ARON_1] = { .species = SPECIES_ARON, .moves = {MOVE_DIG, MOVE_METAL_CLAW, MOVE_IRON_DEFENSE, MOVE_ENDEAVOR}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(170, 170, 170, 0, 0, 0), .nature = NATURE_NAUGHTY }, [SLATEPORT_TENT_MON_ARON_2] = { .species = SPECIES_ARON, .moves = {MOVE_MUD_SLAP, MOVE_IRON_TAIL, MOVE_HARDEN, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEPPA_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LEPPA_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 0, 0, 170, 170), .nature = NATURE_MODEST }, [SLATEPORT_TENT_MON_TRAPINCH_1] = { .species = SPECIES_TRAPINCH, .moves = {MOVE_BODY_SLAM, MOVE_FOCUS_ENERGY, MOVE_SAND_TOMB, MOVE_SAND_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_BRAVE }, [SLATEPORT_TENT_MON_CACNEA_2] = { .species = SPECIES_CACNEA, .moves = {MOVE_INGRAIN, MOVE_SANDSTORM, MOVE_POISON_STING, MOVE_DESTINY_BOND}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_TIMID }, [SLATEPORT_TENT_MON_TAILLOW] = { .species = SPECIES_TAILLOW, .moves = {MOVE_GROWL, MOVE_AERIAL_ACE, MOVE_AGILITY, MOVE_ENDEAVOR}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHARP_BEAK, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SHARP_BEAK, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [SLATEPORT_TENT_MON_SWELLOW] = { .species = SPECIES_SWELLOW, .moves = {MOVE_SUPERSONIC, MOVE_GROWL, MOVE_FOCUS_ENERGY, MOVE_PECK}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(170, 170, 170, 0, 0, 0), .nature = NATURE_IMPISH }, [SLATEPORT_TENT_MON_GOLBAT_1] = { .species = SPECIES_GOLBAT, .moves = {MOVE_ASTONISH, MOVE_GUST, MOVE_MEAN_LOOK, MOVE_CONFUSE_RAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_SPELL_TAG, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SPEED | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_SPELL_TAG, + .evSpread = TRAINER_PARTY_EVS(0, 0, 170, 170, 0, 170), .nature = NATURE_TIMID }, [SLATEPORT_TENT_MON_LOUDRED] = { .species = SPECIES_LOUDRED, .moves = {MOVE_ASTONISH, MOVE_SCREECH, MOVE_UPROAR, MOVE_SUPERSONIC}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(170, 170, 170, 0, 0, 0), .nature = NATURE_ADAMANT }, [SLATEPORT_TENT_MON_SPINDA] = { .species = SPECIES_SPINDA, .moves = {MOVE_DIZZY_PUNCH, MOVE_FEINT_ATTACK, MOVE_HYPNOSIS, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 170, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [SLATEPORT_TENT_MON_MAGNEMITE] = { .species = SPECIES_MAGNEMITE, .moves = {MOVE_METAL_SOUND, MOVE_SUPERSONIC, MOVE_THUNDER_WAVE, MOVE_SPARK}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_SERIOUS }, [SLATEPORT_TENT_MON_WHISMUR] = { .species = SPECIES_WHISMUR, .moves = {MOVE_REST, MOVE_SLEEP_TALK, MOVE_HOWL, MOVE_BODY_SLAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_SILK_SCARF, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SILK_SCARF, + .evSpread = TRAINER_PARTY_EVS(128, 128, 128, 0, 0, 128), .nature = NATURE_ADAMANT }, [SLATEPORT_TENT_MON_MAKUHITA] = { .species = SPECIES_MAKUHITA, .moves = {MOVE_SAND_ATTACK, MOVE_KNOCK_OFF, MOVE_ARM_THRUST, MOVE_BELLY_DRUM}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [SLATEPORT_TENT_MON_NUMEL_1] = { .species = SPECIES_NUMEL, .moves = {MOVE_EMBER, MOVE_TAKE_DOWN, MOVE_GROWL, MOVE_FOCUS_ENERGY}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_MODEST }, [SLATEPORT_TENT_MON_BARBOACH] = { .species = SPECIES_BARBOACH, .moves = {MOVE_MAGNITUDE, MOVE_MUD_SPORT, MOVE_WATER_SPORT, MOVE_WATER_GUN}, - .itemTableId = BATTLE_FRONTIER_ITEM_SEA_INCENSE, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SEA_INCENSE, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_JOLLY }, [SLATEPORT_TENT_MON_TENTACOOL] = { .species = SPECIES_TENTACOOL, .moves = {MOVE_SCREECH, MOVE_BUBBLE_BEAM, MOVE_ACID, MOVE_BARRIER}, - .itemTableId = BATTLE_FRONTIER_ITEM_POISON_BARB, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_POISON_BARB, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [SLATEPORT_TENT_MON_VIGOROTH] = { .species = SPECIES_VIGOROTH, .moves = {MOVE_FOCUS_ENERGY, MOVE_FURY_SWIPES, MOVE_ENDURE, MOVE_YAWN}, - .itemTableId = BATTLE_FRONTIER_ITEM_AGUAV_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_AGUAV_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [SLATEPORT_TENT_MON_MAGIKARP] = { .species = SPECIES_MAGIKARP, .moves = {MOVE_TACKLE, MOVE_FLAIL, MOVE_SPLASH, MOVE_NONE}, - .itemTableId = BATTLE_FRONTIER_ITEM_DRAGON_SCALE, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_DRAGON_SCALE, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [SLATEPORT_TENT_MON_SEVIPER_1] = { .species = SPECIES_SEVIPER, .moves = {MOVE_LICK, MOVE_POISON_FANG, MOVE_GLARE, MOVE_WRAP}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_ADAMANT }, [SLATEPORT_TENT_MON_SOLROCK] = { .species = SPECIES_SOLROCK, .moves = {MOVE_ROCK_THROW, MOVE_HARDEN, MOVE_PSYWAVE, MOVE_TACKLE}, - .itemTableId = BATTLE_FRONTIER_ITEM_HARD_STONE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_HARD_STONE, + .evSpread = TRAINER_PARTY_EVS(0, 170, 170, 0, 0, 170), .nature = NATURE_ADAMANT }, [SLATEPORT_TENT_MON_KECLEON_1] = { .species = SPECIES_KECLEON, .moves = {MOVE_PSYBEAM, MOVE_SUBSTITUTE, MOVE_THIEF, MOVE_TAIL_WHIP}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(170, 0, 0, 170, 170, 0), .nature = NATURE_MODEST }, [SLATEPORT_TENT_MON_KECLEON_2] = { .species = SPECIES_KECLEON, .moves = {MOVE_FEINT_ATTACK, MOVE_ASTONISH, MOVE_LICK, MOVE_SCREECH}, - .itemTableId = BATTLE_FRONTIER_ITEM_IAPAPA_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_IAPAPA_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_CALM }, [SLATEPORT_TENT_MON_SHROOMISH_1] = { .species = SPECIES_SHROOMISH, .moves = {MOVE_STUN_SPORE, MOVE_TACKLE, MOVE_LEECH_SEED, MOVE_MEGA_DRAIN}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [SLATEPORT_TENT_MON_SHROOMISH_2] = { .species = SPECIES_SHROOMISH, .moves = {MOVE_ABSORB, MOVE_STUN_SPORE, MOVE_SPORE, MOVE_LEECH_SEED}, - .itemTableId = BATTLE_FRONTIER_ITEM_FIGY_BERRY, - .evSpread = F_EV_SPREAD_ATTACK, + .itemId = ITEM_FIGY_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 0), .nature = NATURE_BRAVE }, [SLATEPORT_TENT_MON_LOMBRE_2] = { .species = SPECIES_LOMBRE, .moves = {MOVE_NATURE_POWER, MOVE_ASTONISH, MOVE_GROWL, MOVE_ABSORB}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_LONELY }, [SLATEPORT_TENT_MON_NUMEL_2] = { .species = SPECIES_NUMEL, .moves = {MOVE_EMBER, MOVE_GROWL, MOVE_EARTHQUAKE, MOVE_SUNNY_DAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHARCOAL, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_CHARCOAL, + .evSpread = TRAINER_PARTY_EVS(0, 0, 170, 0, 170, 170), .nature = NATURE_MODEST }, [SLATEPORT_TENT_MON_TRAPINCH_2] = { .species = SPECIES_TRAPINCH, .moves = {MOVE_FEINT_ATTACK, MOVE_DIG, MOVE_BITE, MOVE_QUICK_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_ASPEAR_BERRY, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_ASPEAR_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 170, 170, 0, 0, 0), .nature = NATURE_BRAVE }, [SLATEPORT_TENT_MON_PELIPPER_2] = { .species = SPECIES_PELIPPER, .moves = {MOVE_WING_ATTACK, MOVE_SUPERSONIC, MOVE_MIST, MOVE_AGILITY}, - .itemTableId = BATTLE_FRONTIER_ITEM_WIKI_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SPEED | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_WIKI_BERRY, + .evSpread = TRAINER_PARTY_EVS(128, 0, 128, 128, 0, 128), .nature = NATURE_ADAMANT }, [SLATEPORT_TENT_MON_WINGULL_2] = { .species = SPECIES_WINGULL, .moves = {MOVE_WATER_GUN, MOVE_SUPERSONIC, MOVE_GROWL, MOVE_ICY_WIND}, - .itemTableId = BATTLE_FRONTIER_ITEM_NEVER_MELT_ICE, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_NEVER_MELT_ICE, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [SLATEPORT_TENT_MON_MARILL_2] = { .species = SPECIES_MARILL, .moves = {MOVE_DOUBLE_EDGE, MOVE_RAIN_DANCE, MOVE_TAIL_WHIP, MOVE_WATER_GUN}, - .itemTableId = BATTLE_FRONTIER_ITEM_GANLON_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_GANLON_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [SLATEPORT_TENT_MON_SKITTY] = { .species = SPECIES_SKITTY, .moves = {MOVE_ASSIST, MOVE_ATTRACT, MOVE_SING, MOVE_CHARM}, - .itemTableId = BATTLE_FRONTIER_ITEM_PETAYA_BERRY, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PETAYA_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 170, 170, 0, 0, 0), .nature = NATURE_CAREFUL }, [SLATEPORT_TENT_MON_SEVIPER_2] = { .species = SPECIES_SEVIPER, .moves = {MOVE_SWAGGER, MOVE_WRAP, MOVE_POISON_TAIL, MOVE_HAZE}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(0, 0, 170, 0, 170, 170), .nature = NATURE_BRAVE }, [SLATEPORT_TENT_MON_GOLBAT_2] = { .species = SPECIES_GOLBAT, .moves = {MOVE_BITE, MOVE_TORMENT, MOVE_SCREECH, MOVE_POISON_FANG}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_HARDY }, [SLATEPORT_TENT_MON_RALTS] = { .species = SPECIES_RALTS, .moves = {MOVE_HYPNOSIS, MOVE_IMPRISON, MOVE_PSYCHIC, MOVE_DREAM_EATER}, - .itemTableId = BATTLE_FRONTIER_ITEM_MAGO_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_MAGO_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_TIMID }, [SLATEPORT_TENT_MON_SANDSHREW] = { .species = SPECIES_SANDSHREW, .moves = {MOVE_SLASH, MOVE_SAND_ATTACK, MOVE_SAND_TOMB, MOVE_DEFENSE_CURL}, - .itemTableId = BATTLE_FRONTIER_ITEM_SOFT_SAND, - .evSpread = 0, + .itemId = ITEM_SOFT_SAND, + .evSpread = NULL, .nature = NATURE_HARDY }, [SLATEPORT_TENT_MON_SWALOT] = { .species = SPECIES_SWALOT, .moves = {MOVE_YAWN, MOVE_SLUDGE, MOVE_ENCORE, MOVE_POUND}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(0, 170, 170, 0, 0, 170), .nature = NATURE_IMPISH }, [SLATEPORT_TENT_MON_VOLBEAT] = { .species = SPECIES_VOLBEAT, .moves = {MOVE_TACKLE, MOVE_CONFUSE_RAY, MOVE_QUICK_ATTACK, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_HARDY }, [SLATEPORT_TENT_MON_ILLUMISE] = { .species = SPECIES_ILLUMISE, .moves = {MOVE_CHARM, MOVE_TACKLE, MOVE_ENCORE, MOVE_MOONLIGHT}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHERI_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHERI_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 170, 0, 0), .nature = NATURE_ADAMANT }, [SLATEPORT_TENT_MON_KADABRA] = { .species = SPECIES_KADABRA, .moves = {MOVE_DISABLE, MOVE_CONFUSION, MOVE_REFLECT, MOVE_RECOVER}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_QUIRKY }, [SLATEPORT_TENT_MON_KIRLIA] = { .species = SPECIES_KIRLIA, .moves = {MOVE_CALM_MIND, MOVE_CONFUSION, MOVE_DOUBLE_TEAM, MOVE_GROWL}, - .itemTableId = BATTLE_FRONTIER_ITEM_TWISTED_SPOON, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_TWISTED_SPOON, + .evSpread = TRAINER_PARTY_EVS(128, 128, 128, 0, 0, 128), .nature = NATURE_CAREFUL }, [SLATEPORT_TENT_MON_BRELOOM] = { .species = SPECIES_BRELOOM, .moves = {MOVE_ABSORB, MOVE_TACKLE, MOVE_STUN_SPORE, MOVE_MEGA_DRAIN}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(170, 170, 170, 0, 0, 0), .nature = NATURE_NAIVE }, [SLATEPORT_TENT_MON_PLUSLE_1] = { .species = SPECIES_PLUSLE, .moves = {MOVE_SPARK, MOVE_ENCORE, MOVE_THUNDER_WAVE, MOVE_GROWL}, - .itemTableId = BATTLE_FRONTIER_ITEM_LIECHI_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LIECHI_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_LONELY }, [SLATEPORT_TENT_MON_PLUSLE_2] = { .species = SPECIES_PLUSLE, .moves = {MOVE_SPARK, MOVE_FAKE_TEARS, MOVE_SUBSTITUTE, MOVE_QUICK_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_PECHA_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_PECHA_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MILD }, [SLATEPORT_TENT_MON_ELECTRIKE_2] = { .species = SPECIES_ELECTRIKE, .moves = {MOVE_SPARK, MOVE_CHARGE, MOVE_ROAR, MOVE_THUNDER_WAVE}, - .itemTableId = BATTLE_FRONTIER_ITEM_APICOT_BERRY, - .evSpread = F_EV_SPREAD_SPEED, + .itemId = ITEM_APICOT_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 0, 0), .nature = NATURE_TIMID }, [SLATEPORT_TENT_MON_SWABLU] = { .species = SPECIES_SWABLU, .moves = {MOVE_SING, MOVE_PECK, MOVE_STEEL_WING, MOVE_SAFEGUARD}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_JOLLY }, [SLATEPORT_TENT_MON_MACHOP] = { .species = SPECIES_MACHOP, .moves = {MOVE_FOCUS_ENERGY, MOVE_VITAL_THROW, MOVE_SEISMIC_TOSS, MOVE_FORESIGHT}, - .itemTableId = BATTLE_FRONTIER_ITEM_BLACK_BELT, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BLACK_BELT, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [SLATEPORT_TENT_MON_MACHOKE] = { .species = SPECIES_MACHOKE, .moves = {MOVE_FOCUS_ENERGY, MOVE_LEER, MOVE_KARATE_CHOP, MOVE_FORESIGHT}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_MODEST } }; @@ -1809,316 +1809,316 @@ const struct FacilityMon gVerdanturfBattleTentMons[NUM_VERDANTURF_TENT_MONS] = [VERDANTURF_TENT_MON_POOCHYENA] = { .species = SPECIES_POOCHYENA, .moves = {MOVE_ROAR, MOVE_THIEF, MOVE_BITE, MOVE_HOWL}, - .itemTableId = BATTLE_FRONTIER_ITEM_BLACK_GLASSES, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SPEED | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BLACK_GLASSES, + .evSpread = TRAINER_PARTY_EVS(102, 102, 102, 102, 0, 102), .nature = NATURE_NAUGHTY }, [VERDANTURF_TENT_MON_ZIGZAGOON] = { .species = SPECIES_ZIGZAGOON, .moves = {MOVE_COVET, MOVE_GROWL, MOVE_PIN_MISSILE, MOVE_MUD_SPORT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [VERDANTURF_TENT_MON_DUSTOX] = { .species = SPECIES_DUSTOX, .moves = {MOVE_CONFUSION, MOVE_MOONLIGHT, MOVE_PROTECT, MOVE_FLASH}, - .itemTableId = BATTLE_FRONTIER_ITEM_SILVER_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_SILVER_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 170, 170, 170, 0), .nature = NATURE_MODEST }, [VERDANTURF_TENT_MON_TAILLOW] = { .species = SPECIES_TAILLOW, .moves = {MOVE_AGILITY, MOVE_DOUBLE_TEAM, MOVE_WING_ATTACK, MOVE_GROWL}, - .itemTableId = BATTLE_FRONTIER_ITEM_ORAN_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_ORAN_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 170, 0, 0), .nature = NATURE_RELAXED }, [VERDANTURF_TENT_MON_SHROOMISH] = { .species = SPECIES_SHROOMISH, .moves = {MOVE_HEADBUTT, MOVE_STUN_SPORE, MOVE_LEECH_SEED, MOVE_FLASH}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 252, 0, 0), .nature = NATURE_RASH }, [VERDANTURF_TENT_MON_MACHOP] = { .species = SPECIES_MACHOP, .moves = {MOVE_LOW_KICK, MOVE_LEER, MOVE_FOCUS_ENERGY, MOVE_ENCORE}, - .itemTableId = BATTLE_FRONTIER_ITEM_PERSIM_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_PERSIM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 170, 170, 170, 0, 0), .nature = NATURE_LONELY }, [VERDANTURF_TENT_MON_MAGIKARP] = { .species = SPECIES_MAGIKARP, .moves = {MOVE_SPLASH, MOVE_FLAIL, MOVE_TACKLE, MOVE_NONE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SILK_SCARF, - .evSpread = F_EV_SPREAD_ATTACK, + .itemId = ITEM_SILK_SCARF, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 0), .nature = NATURE_HARDY }, [VERDANTURF_TENT_MON_BARBOACH] = { .species = SPECIES_BARBOACH, .moves = {MOVE_MUD_SLAP, MOVE_WATER_GUN, MOVE_RAIN_DANCE, MOVE_SPARK}, - .itemTableId = BATTLE_FRONTIER_ITEM_ASPEAR_BERRY, - .evSpread = F_EV_SPREAD_SPEED, + .itemId = ITEM_ASPEAR_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 0, 0), .nature = NATURE_HASTY }, [VERDANTURF_TENT_MON_WINGULL] = { .species = SPECIES_WINGULL, .moves = {MOVE_ATTRACT, MOVE_TWISTER, MOVE_WING_ATTACK, MOVE_SUPERSONIC}, - .itemTableId = BATTLE_FRONTIER_ITEM_DRAGON_FANG, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_DRAGON_FANG, + .evSpread = TRAINER_PARTY_EVS(0, 170, 170, 0, 0, 170), .nature = NATURE_IMPISH }, [VERDANTURF_TENT_MON_ARON_1] = { .species = SPECIES_ARON, .moves = {MOVE_ENDEAVOR, MOVE_METAL_CLAW, MOVE_TACKLE, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_PECHA_BERRY, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_PECHA_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 252, 0, 0, 0), .nature = NATURE_HARDY }, [VERDANTURF_TENT_MON_NUMEL_1] = { .species = SPECIES_NUMEL, .moves = {MOVE_EMBER, MOVE_ROCK_SLIDE, MOVE_ROLLOUT, MOVE_GROWL}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHARCOAL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_CHARCOAL, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_SASSY }, [VERDANTURF_TENT_MON_SWALOT] = { .species = SPECIES_SWALOT, .moves = {MOVE_YAWN, MOVE_SLUDGE, MOVE_ACID_ARMOR, MOVE_AMNESIA}, - .itemTableId = BATTLE_FRONTIER_ITEM_POISON_BARB, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_POISON_BARB, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_BOLD }, [VERDANTURF_TENT_MON_KECLEON] = { .species = SPECIES_KECLEON, .moves = {MOVE_SUBSTITUTE, MOVE_FEINT_ATTACK, MOVE_DOUBLE_TEAM, MOVE_BIND}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_QUIET }, [VERDANTURF_TENT_MON_BALTOY] = { .species = SPECIES_BALTOY, .moves = {MOVE_SANDSTORM, MOVE_FLASH, MOVE_SELF_DESTRUCT, MOVE_HARDEN}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(0, 170, 170, 0, 0, 170), .nature = NATURE_NAUGHTY }, [VERDANTURF_TENT_MON_NINJASK] = { .species = SPECIES_NINJASK, .moves = {MOVE_DIG, MOVE_SCREECH, MOVE_SWORDS_DANCE, MOVE_LEECH_LIFE}, - .itemTableId = BATTLE_FRONTIER_ITEM_PETAYA_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_PETAYA_BERRY, + .evSpread = TRAINER_PARTY_EVS(102, 0, 102, 102, 102, 102), .nature = NATURE_SASSY }, [VERDANTURF_TENT_MON_MAKUHITA] = { .species = SPECIES_MAKUHITA, .moves = {MOVE_BULK_UP, MOVE_ARM_THRUST, MOVE_SMELLING_SALTS, MOVE_SAND_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 252, 0, 0, 0), .nature = NATURE_NAUGHTY }, [VERDANTURF_TENT_MON_SWABLU] = { .species = SPECIES_SWABLU, .moves = {MOVE_REFRESH, MOVE_SAFEGUARD, MOVE_ATTRACT, MOVE_MIRROR_MOVE}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MILD }, [VERDANTURF_TENT_MON_GOLDEEN_1] = { .species = SPECIES_GOLDEEN, .moves = {MOVE_WATERFALL, MOVE_MUD_SPORT, MOVE_SUPERSONIC, MOVE_DOUBLE_TEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_MYSTIC_WATER, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_MYSTIC_WATER, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_GENTLE }, [VERDANTURF_TENT_MON_LOTAD] = { .species = SPECIES_LOTAD, .moves = {MOVE_GROWL, MOVE_WATER_GUN, MOVE_MEGA_DRAIN, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_IAPAPA_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_IAPAPA_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_QUIRKY }, [VERDANTURF_TENT_MON_NUMEL_2] = { .species = SPECIES_NUMEL, .moves = {MOVE_MAGNITUDE, MOVE_EMBER, MOVE_GROWL, MOVE_DEFENSE_CURL}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHARCOAL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_CHARCOAL, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_RELAXED }, [VERDANTURF_TENT_MON_LINOONE] = { .species = SPECIES_LINOONE, .moves = {MOVE_HEADBUTT, MOVE_TICKLE, MOVE_PROTECT, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(128, 128, 128, 0, 0, 128), .nature = NATURE_IMPISH }, [VERDANTURF_TENT_MON_SEVIPER] = { .species = SPECIES_SEVIPER, .moves = {MOVE_WRAP, MOVE_GLARE, MOVE_POISON_FANG, MOVE_SWAGGER}, - .itemTableId = BATTLE_FRONTIER_ITEM_ASPEAR_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_ASPEAR_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 0, 0, 170, 170), .nature = NATURE_LONELY }, [VERDANTURF_TENT_MON_SKARMORY] = { .species = SPECIES_SKARMORY, .moves = {MOVE_AIR_CUTTER, MOVE_SANDSTORM, MOVE_LEER, MOVE_AGILITY}, - .itemTableId = BATTLE_FRONTIER_ITEM_MACHO_BRACE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_MACHO_BRACE, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_BASHFUL }, [VERDANTURF_TENT_MON_SWELLOW] = { .species = SPECIES_SWELLOW, .moves = {MOVE_AGILITY, MOVE_WING_ATTACK, MOVE_DOUBLE_TEAM, MOVE_SUPERSONIC}, - .itemTableId = BATTLE_FRONTIER_ITEM_SHARP_BEAK, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SHARP_BEAK, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_NAUGHTY }, [VERDANTURF_TENT_MON_GOLDEEN_2] = { .species = SPECIES_GOLDEEN, .moves = {MOVE_PECK, MOVE_SUPERSONIC, MOVE_PSYBEAM, MOVE_RAIN_DANCE}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(170, 0, 0, 170, 170, 0), .nature = NATURE_GENTLE }, [VERDANTURF_TENT_MON_ELECTRIKE] = { .species = SPECIES_ELECTRIKE, .moves = {MOVE_SHOCK_WAVE, MOVE_TACKLE, MOVE_CHARGE, MOVE_THUNDER_WAVE}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_MILD }, [VERDANTURF_TENT_MON_NUZLEAF] = { .species = SPECIES_NUZLEAF, .moves = {MOVE_SUNNY_DAY, MOVE_TORMENT, MOVE_FAKE_OUT, MOVE_THIEF}, - .itemTableId = BATTLE_FRONTIER_ITEM_BLACK_GLASSES, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BLACK_GLASSES, + .evSpread = TRAINER_PARTY_EVS(128, 0, 128, 0, 128, 128), .nature = NATURE_BOLD }, [VERDANTURF_TENT_MON_ARON_2] = { .species = SPECIES_ARON, .moves = {MOVE_TAKE_DOWN, MOVE_METAL_CLAW, MOVE_IRON_DEFENSE, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_MODEST }, [VERDANTURF_TENT_MON_MIGHTYENA] = { .species = SPECIES_MIGHTYENA, .moves = {MOVE_HOWL, MOVE_TAKE_DOWN, MOVE_ODOR_SLEUTH, MOVE_SAND_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(170, 170, 170, 0, 0, 0), .nature = NATURE_QUIRKY }, [VERDANTURF_TENT_MON_SOLROCK] = { .species = SPECIES_SOLROCK, .moves = {MOVE_HARDEN, MOVE_FIRE_SPIN, MOVE_MIMIC, MOVE_PSYWAVE}, - .itemTableId = BATTLE_FRONTIER_ITEM_TWISTED_SPOON, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_TWISTED_SPOON, + .evSpread = TRAINER_PARTY_EVS(0, 128, 128, 0, 128, 128), .nature = NATURE_ADAMANT }, [VERDANTURF_TENT_MON_GRAVELER] = { .species = SPECIES_GRAVELER, .moves = {MOVE_ROLLOUT, MOVE_ROCK_SMASH, MOVE_SANDSTORM, MOVE_BLOCK}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 252, 0, 0, 0), .nature = NATURE_IMPISH }, [VERDANTURF_TENT_MON_KADABRA] = { .species = SPECIES_KADABRA, .moves = {MOVE_ENCORE, MOVE_PSYBEAM, MOVE_DISABLE, MOVE_KINESIS}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(170, 0, 0, 170, 170, 0), .nature = NATURE_QUIET }, [VERDANTURF_TENT_MON_VOLTORB] = { .species = SPECIES_VOLTORB, .moves = {MOVE_PROTECT, MOVE_SELF_DESTRUCT, MOVE_SPARK, MOVE_SCREECH}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_BASHFUL }, [VERDANTURF_TENT_MON_MAGNEMITE] = { .species = SPECIES_MAGNEMITE, .moves = {MOVE_METAL_SOUND, MOVE_SUPERSONIC, MOVE_THUNDER_WAVE, MOVE_SHOCK_WAVE}, - .itemTableId = BATTLE_FRONTIER_ITEM_MAGNET, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_MAGNET, + .evSpread = TRAINER_PARTY_EVS(84, 84, 84, 84, 84, 84), .nature = NATURE_SERIOUS }, [VERDANTURF_TENT_MON_PELIPPER] = { .species = SPECIES_PELIPPER, .moves = {MOVE_WING_ATTACK, MOVE_MIST, MOVE_AGILITY, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_FIGY_BERRY, - .evSpread = 0, + .itemId = ITEM_FIGY_BERRY, + .evSpread = NULL, .nature = NATURE_BRAVE }, [VERDANTURF_TENT_MON_LOUDRED] = { .species = SPECIES_LOUDRED, .moves = {MOVE_HOWL, MOVE_UPROAR, MOVE_REST, MOVE_SCREECH}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_CALM }, [VERDANTURF_TENT_MON_MARILL] = { .species = SPECIES_MARILL, .moves = {MOVE_ROLLOUT, MOVE_DEFENSE_CURL, MOVE_TAIL_WHIP, MOVE_BUBBLE_BEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_RAWST_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_RAWST_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_JOLLY }, [VERDANTURF_TENT_MON_TRAPINCH] = { .species = SPECIES_TRAPINCH, .moves = {MOVE_DIG, MOVE_ROCK_TOMB, MOVE_SANDSTORM, MOVE_FEINT_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_NONE, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_NONE, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 170, 0, 0), .nature = NATURE_NAUGHTY }, [VERDANTURF_TENT_MON_TENTACOOL] = { .species = SPECIES_TENTACOOL, .moves = {MOVE_SCREECH, MOVE_CONFUSE_RAY, MOVE_WRAP, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_RELAXED }, [VERDANTURF_TENT_MON_VIGOROTH] = { .species = SPECIES_VIGOROTH, .moves = {MOVE_ENCORE, MOVE_SLACK_OFF, MOVE_YAWN, MOVE_SECRET_POWER}, - .itemTableId = BATTLE_FRONTIER_ITEM_MENTAL_HERB, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_MENTAL_HERB, + .evSpread = TRAINER_PARTY_EVS(0, 170, 170, 0, 0, 170), .nature = NATURE_QUIRKY }, [VERDANTURF_TENT_MON_WAILMER] = { .species = SPECIES_WAILMER, .moves = {MOVE_WATER_PULSE, MOVE_ROLLOUT, MOVE_CURSE, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_WHITE_HERB, - .evSpread = F_EV_SPREAD_HP, + .itemId = ITEM_WHITE_HERB, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 0), .nature = NATURE_RELAXED }, [VERDANTURF_TENT_MON_ILLUMISE] = { .species = SPECIES_ILLUMISE, .moves = {MOVE_TACKLE, MOVE_SWEET_SCENT, MOVE_WISH, MOVE_ENCORE}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_QUIRKY }, [VERDANTURF_TENT_MON_MACHOKE] = { .species = SPECIES_MACHOKE, .moves = {MOVE_LEER, MOVE_KARATE_CHOP, MOVE_BULK_UP, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_CALM }, [VERDANTURF_TENT_MON_WHISMUR] = { .species = SPECIES_WHISMUR, .moves = {MOVE_SECRET_POWER, MOVE_SUPERSONIC, MOVE_STOMP, MOVE_ROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_RAWST_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_RAWST_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_QUIRKY }, [VERDANTURF_TENT_MON_CACNEA] = { .species = SPECIES_CACNEA, .moves = {MOVE_INGRAIN, MOVE_LEECH_SEED, MOVE_NEEDLE_ARM, MOVE_GROWTH}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_SERIOUS } }; @@ -2690,316 +2690,316 @@ const struct FacilityMon gFallarborBattleTentMons[NUM_FALLARBOR_TENT_MONS] = [FALLARBOR_TENT_MON_NUMEL] = { .species = SPECIES_NUMEL, .moves = {MOVE_GROWL, MOVE_FLAMETHROWER, MOVE_TACKLE, MOVE_SUNNY_DAY}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHARCOAL, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHARCOAL, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FALLARBOR_TENT_MON_LINOONE_1] = { .species = SPECIES_LINOONE, .moves = {MOVE_ODOR_SLEUTH, MOVE_COVET, MOVE_ROCK_SMASH, MOVE_CHARM}, - .itemTableId = BATTLE_FRONTIER_ITEM_SILK_SCARF, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_SILK_SCARF, + .evSpread = TRAINER_PARTY_EVS(0, 0, 252, 0, 0, 252), .nature = NATURE_SASSY }, [FALLARBOR_TENT_MON_PLUSLE] = { .species = SPECIES_PLUSLE, .moves = {MOVE_SPARK, MOVE_GROWL, MOVE_QUICK_ATTACK, MOVE_FAKE_TEARS}, - .itemTableId = BATTLE_FRONTIER_ITEM_MENTAL_HERB, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_MENTAL_HERB, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FALLARBOR_TENT_MON_POOCHYENA] = { .species = SPECIES_POOCHYENA, .moves = {MOVE_YAWN, MOVE_ODOR_SLEUTH, MOVE_HOWL, MOVE_FRUSTRATION}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEPPA_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LEPPA_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_NAUGHTY }, [FALLARBOR_TENT_MON_KECLEON] = { .species = SPECIES_KECLEON, .moves = {MOVE_LICK, MOVE_SLASH, MOVE_FEINT_ATTACK, MOVE_PSYBEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_WIKI_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_WIKI_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_MODEST }, [FALLARBOR_TENT_MON_MAGIKARP] = { .species = SPECIES_MAGIKARP, .moves = {MOVE_SPLASH, MOVE_TACKLE, MOVE_FLAIL, MOVE_NONE}, - .itemTableId = BATTLE_FRONTIER_ITEM_DRAGON_SCALE, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_DRAGON_SCALE, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_QUIRKY }, [FALLARBOR_TENT_MON_SOLROCK] = { .species = SPECIES_SOLROCK, .moves = {MOVE_ROCK_THROW, MOVE_FLASH, MOVE_SANDSTORM, MOVE_PSYWAVE}, - .itemTableId = BATTLE_FRONTIER_ITEM_HARD_STONE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_HARD_STONE, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_SASSY }, [FALLARBOR_TENT_MON_MAKUHITA] = { .species = SPECIES_MAKUHITA, .moves = {MOVE_DETECT, MOVE_ARM_THRUST, MOVE_FAKE_OUT, MOVE_SMELLING_SALTS}, - .itemTableId = BATTLE_FRONTIER_ITEM_BLACK_BELT, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_BLACK_BELT, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_ADAMANT }, [FALLARBOR_TENT_MON_MACHOKE] = { .species = SPECIES_MACHOKE, .moves = {MOVE_COUNTER, MOVE_REVENGE, MOVE_BULK_UP, MOVE_FOCUS_ENERGY}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_NAIVE }, [FALLARBOR_TENT_MON_NINCADA] = { .species = SPECIES_NINCADA, .moves = {MOVE_FURY_SWIPES, MOVE_ENDURE, MOVE_MUD_SLAP, MOVE_DIG}, - .itemTableId = BATTLE_FRONTIER_ITEM_LUM_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_LUM_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_SERIOUS }, [FALLARBOR_TENT_MON_BEAUTIFLY] = { .species = SPECIES_BEAUTIFLY, .moves = {MOVE_FLASH, MOVE_MORNING_SUN, MOVE_HARDEN, MOVE_MEGA_DRAIN}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SPEED | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(0, 128, 128, 128, 0, 128), .nature = NATURE_QUIRKY }, [FALLARBOR_TENT_MON_DUSTOX] = { .species = SPECIES_DUSTOX, .moves = {MOVE_MOONLIGHT, MOVE_HARDEN, MOVE_POISON_STING, MOVE_PSYBEAM}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SPEED | F_EV_SPREAD_DEFENSE, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(0, 0, 170, 170, 0, 170), .nature = NATURE_DOCILE }, [FALLARBOR_TENT_MON_ILLUMISE] = { .species = SPECIES_ILLUMISE, .moves = {MOVE_METRONOME, MOVE_FLATTER, MOVE_WISH, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_SALAC_BERRY, - .evSpread = F_EV_SPREAD_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SALAC_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 252, 0, 0, 0), .nature = NATURE_ADAMANT }, [FALLARBOR_TENT_MON_VOLBEAT] = { .species = SPECIES_VOLBEAT, .moves = {MOVE_TACKLE, MOVE_MOONLIGHT, MOVE_SIGNAL_BEAM, MOVE_TAIL_GLOW}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEPPA_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LEPPA_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 0, 170), .nature = NATURE_ADAMANT }, [FALLARBOR_TENT_MON_NINJASK_1] = { .species = SPECIES_NINJASK, .moves = {MOVE_DOUBLE_TEAM, MOVE_PROTECT, MOVE_DIG, MOVE_SAND_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_PETAYA_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SPEED | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_PETAYA_BERRY, + .evSpread = TRAINER_PARTY_EVS(128, 0, 128, 128, 0, 128), .nature = NATURE_TIMID }, [FALLARBOR_TENT_MON_NINJASK_2] = { .species = SPECIES_NINJASK, .moves = {MOVE_SWORDS_DANCE, MOVE_CUT, MOVE_FURY_CUTTER, MOVE_LEECH_LIFE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SILVER_POWDER, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SILVER_POWDER, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FALLARBOR_TENT_MON_ARON_1] = { .species = SPECIES_ARON, .moves = {MOVE_METAL_CLAW, MOVE_PROTECT, MOVE_SHOCK_WAVE, MOVE_METAL_SOUND}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 170, 0), .nature = NATURE_LONELY }, [FALLARBOR_TENT_MON_ARON_2] = { .species = SPECIES_ARON, .moves = {MOVE_SECRET_POWER, MOVE_METAL_CLAW, MOVE_IRON_DEFENSE, MOVE_MUD_SLAP}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_GENTLE }, [FALLARBOR_TENT_MON_ELECTRIKE] = { .species = SPECIES_ELECTRIKE, .moves = {MOVE_CRUNCH, MOVE_THUNDER_WAVE, MOVE_HOWL, MOVE_QUICK_ATTACK}, - .itemTableId = BATTLE_FRONTIER_ITEM_SEA_INCENSE, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SEA_INCENSE, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 170, 0), .nature = NATURE_HASTY }, [FALLARBOR_TENT_MON_MAGNEMITE] = { .species = SPECIES_MAGNEMITE, .moves = {MOVE_THUNDER_WAVE, MOVE_SUPERSONIC, MOVE_ENDURE, MOVE_SPARK}, - .itemTableId = BATTLE_FRONTIER_ITEM_MAGNET, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_MAGNET, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FALLARBOR_TENT_MON_VOLTORB] = { .species = SPECIES_VOLTORB, .moves = {MOVE_CHARGE, MOVE_SPARK, MOVE_SCREECH, MOVE_SONIC_BOOM}, - .itemTableId = BATTLE_FRONTIER_ITEM_ASPEAR_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_ASPEAR_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FALLARBOR_TENT_MON_WHISMUR] = { .species = SPECIES_WHISMUR, .moves = {MOVE_REST, MOVE_SLEEP_TALK, MOVE_HYPER_VOICE, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LAX_INCENSE, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LAX_INCENSE, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 170, 0, 0), .nature = NATURE_ADAMANT }, [FALLARBOR_TENT_MON_LOUDRED] = { .species = SPECIES_LOUDRED, .moves = {MOVE_STOMP, MOVE_REST, MOVE_SCREECH, MOVE_UPROAR}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FALLARBOR_TENT_MON_LINOONE_2] = { .species = SPECIES_LINOONE, .moves = {MOVE_FURY_SWIPES, MOVE_SAND_ATTACK, MOVE_SHOCK_WAVE, MOVE_GROWL}, - .itemTableId = BATTLE_FRONTIER_ITEM_MAGNET, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_MAGNET, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FALLARBOR_TENT_MON_MIGHTYENA] = { .species = SPECIES_MIGHTYENA, .moves = {MOVE_SAND_ATTACK, MOVE_HOWL, MOVE_SWAGGER, MOVE_SECRET_POWER}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 170, 0, 0), .nature = NATURE_JOLLY }, [FALLARBOR_TENT_MON_SWABLU] = { .species = SPECIES_SWABLU, .moves = {MOVE_TAKE_DOWN, MOVE_SING, MOVE_GROWL, MOVE_SAFEGUARD}, - .itemTableId = BATTLE_FRONTIER_ITEM_FOCUS_BAND, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_FOCUS_BAND, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_QUIRKY }, [FALLARBOR_TENT_MON_SKARMORY] = { .species = SPECIES_SKARMORY, .moves = {MOVE_AGILITY, MOVE_STEEL_WING, MOVE_SAND_ATTACK, MOVE_TORMENT}, - .itemTableId = BATTLE_FRONTIER_ITEM_METAL_COAT, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_METAL_COAT, + .evSpread = TRAINER_PARTY_EVS(170, 170, 0, 0, 0, 170), .nature = NATURE_BOLD }, [FALLARBOR_TENT_MON_GOLBAT] = { .species = SPECIES_GOLBAT, .moves = {MOVE_CONFUSE_RAY, MOVE_BITE, MOVE_DOUBLE_TEAM, MOVE_SUBSTITUTE}, - .itemTableId = BATTLE_FRONTIER_ITEM_PETAYA_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_PETAYA_BERRY, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_BOLD }, [FALLARBOR_TENT_MON_WINGULL] = { .species = SPECIES_WINGULL, .moves = {MOVE_WING_ATTACK, MOVE_HAIL, MOVE_DOUBLE_TEAM, MOVE_SUPERSONIC}, - .itemTableId = BATTLE_FRONTIER_ITEM_RAWST_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_SPEED, + .itemId = ITEM_RAWST_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 0, 0, 252, 252, 0), .nature = NATURE_MODEST }, [FALLARBOR_TENT_MON_PELIPPER] = { .species = SPECIES_PELIPPER, .moves = {MOVE_TWISTER, MOVE_ICY_WIND, MOVE_DOUBLE_TEAM, MOVE_WATER_GUN}, - .itemTableId = BATTLE_FRONTIER_ITEM_DRAGON_FANG, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_DRAGON_FANG, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FALLARBOR_TENT_MON_BARBOACH] = { .species = SPECIES_BARBOACH, .moves = {MOVE_SPARK, MOVE_WATER_GUN, MOVE_EARTHQUAKE, MOVE_WATER_SPORT}, - .itemTableId = BATTLE_FRONTIER_ITEM_LIECHI_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_LIECHI_BERRY, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 252, 0), .nature = NATURE_MODEST }, [FALLARBOR_TENT_MON_WAILMER] = { .species = SPECIES_WAILMER, .moves = {MOVE_WATER_PULSE, MOVE_RAIN_DANCE, MOVE_SPLASH, MOVE_CURSE}, - .itemTableId = BATTLE_FRONTIER_ITEM_KINGS_ROCK, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_KINGS_ROCK, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_QUIET }, [FALLARBOR_TENT_MON_MARILL] = { .species = SPECIES_MARILL, .moves = {MOVE_DEFENSE_CURL, MOVE_ROLLOUT, MOVE_BUBBLE_BEAM, MOVE_ATTRACT}, - .itemTableId = BATTLE_FRONTIER_ITEM_HARD_STONE, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_HARD_STONE, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_ADAMANT }, [FALLARBOR_TENT_MON_GOLDEEN_1] = { .species = SPECIES_GOLDEEN, .moves = {MOVE_WATERFALL, MOVE_RAIN_DANCE, MOVE_FLAIL, MOVE_PROTECT}, - .itemTableId = BATTLE_FRONTIER_ITEM_GANLON_BERRY, - .evSpread = F_EV_SPREAD_SP_ATTACK | F_EV_SPREAD_ATTACK, + .itemId = ITEM_GANLON_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 252, 0), .nature = NATURE_HASTY }, [FALLARBOR_TENT_MON_GOLDEEN_2] = { .species = SPECIES_GOLDEEN, .moves = {MOVE_SLEEP_TALK, MOVE_HORN_DRILL, MOVE_REST, MOVE_SUPERSONIC}, - .itemTableId = BATTLE_FRONTIER_ITEM_MENTAL_HERB, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_MENTAL_HERB, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_CAREFUL }, [FALLARBOR_TENT_MON_TRAPINCH] = { .species = SPECIES_TRAPINCH, .moves = {MOVE_RETURN, MOVE_SAND_ATTACK, MOVE_ATTRACT, MOVE_STRENGTH}, - .itemTableId = BATTLE_FRONTIER_ITEM_MAGO_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_MAGO_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FALLARBOR_TENT_MON_BALTOY] = { .species = SPECIES_BALTOY, .moves = {MOVE_SELF_DESTRUCT, MOVE_SANDSTORM, MOVE_RAPID_SPIN, MOVE_MIMIC}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(0, 170, 0, 170, 0, 170), .nature = NATURE_JOLLY }, [FALLARBOR_TENT_MON_GRAVELER] = { .species = SPECIES_GRAVELER, .moves = {MOVE_ROCK_BLAST, MOVE_DEFENSE_CURL, MOVE_MAGNITUDE, MOVE_MUD_SPORT}, - .itemTableId = BATTLE_FRONTIER_ITEM_HARD_STONE, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_HARD_STONE, + .evSpread = TRAINER_PARTY_EVS(252, 0, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FALLARBOR_TENT_MON_SANDSHREW] = { .species = SPECIES_SANDSHREW, .moves = {MOVE_SAND_TOMB, MOVE_SANDSTORM, MOVE_DOUBLE_TEAM, MOVE_FOCUS_PUNCH}, - .itemTableId = BATTLE_FRONTIER_ITEM_SOFT_SAND, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SOFT_SAND, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_JOLLY }, [FALLARBOR_TENT_MON_SWALOT] = { .species = SPECIES_SWALOT, .moves = {MOVE_YAWN, MOVE_ENCORE, MOVE_BULLET_SEED, MOVE_SLUDGE}, - .itemTableId = BATTLE_FRONTIER_ITEM_SCOPE_LENS, - .evSpread = F_EV_SPREAD_ATTACK | F_EV_SPREAD_HP, + .itemId = ITEM_SCOPE_LENS, + .evSpread = TRAINER_PARTY_EVS(252, 252, 0, 0, 0, 0), .nature = NATURE_BRAVE }, [FALLARBOR_TENT_MON_SHROOMISH] = { .species = SPECIES_SHROOMISH, .moves = {MOVE_HEADBUTT, MOVE_SPORE, MOVE_SWAGGER, MOVE_LEECH_SEED}, - .itemTableId = BATTLE_FRONTIER_ITEM_QUICK_CLAW, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_QUICK_CLAW, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_IMPISH }, [FALLARBOR_TENT_MON_KIRLIA] = { .species = SPECIES_KIRLIA, .moves = {MOVE_HYPNOSIS, MOVE_GROWL, MOVE_ATTRACT, MOVE_DREAM_EATER}, - .itemTableId = BATTLE_FRONTIER_ITEM_SITRUS_BERRY, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_ATTACK, + .itemId = ITEM_SITRUS_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 0, 0, 252), .nature = NATURE_ADAMANT }, [FALLARBOR_TENT_MON_LOMBRE] = { .species = SPECIES_LOMBRE, .moves = {MOVE_NATURE_POWER, MOVE_WATER_GUN, MOVE_RAIN_DANCE, MOVE_FLASH}, - .itemTableId = BATTLE_FRONTIER_ITEM_LEFTOVERS, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_LEFTOVERS, + .evSpread = TRAINER_PARTY_EVS(170, 0, 170, 0, 0, 170), .nature = NATURE_BASHFUL }, [FALLARBOR_TENT_MON_NUZLEAF] = { .species = SPECIES_NUZLEAF, .moves = {MOVE_NATURE_POWER, MOVE_TORMENT, MOVE_SWAGGER, MOVE_REST}, - .itemTableId = BATTLE_FRONTIER_ITEM_CHESTO_BERRY, - .evSpread = F_EV_SPREAD_SPEED | F_EV_SPREAD_ATTACK, + .itemId = ITEM_CHESTO_BERRY, + .evSpread = TRAINER_PARTY_EVS(0, 252, 0, 252, 0, 0), .nature = NATURE_ADAMANT }, [FALLARBOR_TENT_MON_CACNEA] = { .species = SPECIES_CACNEA, .moves = {MOVE_SANDSTORM, MOVE_NEEDLE_ARM, MOVE_TEETER_DANCE, MOVE_LEECH_SEED}, - .itemTableId = BATTLE_FRONTIER_ITEM_BRIGHT_POWDER, - .evSpread = F_EV_SPREAD_SP_DEFENSE | F_EV_SPREAD_SPEED | F_EV_SPREAD_DEFENSE | F_EV_SPREAD_HP, + .itemId = ITEM_BRIGHT_POWDER, + .evSpread = TRAINER_PARTY_EVS(128, 0, 128, 128, 0, 128), .nature = NATURE_ADAMANT } };