From e2fbce996e08769f5cd18f77c65818b6f5e34080 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Wed, 4 Sep 2019 11:46:11 -0400 Subject: [PATCH] Use designated initializers (C99 feat) --- src/data/battle_frontier/trainer_hill.h | 1270 +++++++++++------------ src/ereader_helpers.c | 1224 +++++++++++----------- 2 files changed, 1247 insertions(+), 1247 deletions(-) diff --git a/src/data/battle_frontier/trainer_hill.h b/src/data/battle_frontier/trainer_hill.h index a4bfd3fbf..1aa552448 100644 --- a/src/data/battle_frontier/trainer_hill.h +++ b/src/data/battle_frontier/trainer_hill.h @@ -1,676 +1,676 @@ #define TRAINER_HILL_OTID 0x10000000 static const struct TrHillTag_Half gUnknown_0862609C = { - 4, - 1, - 2, - 0x0, - { - { - 0, - 0, - { - { - __("シゲノブ$$$$ "), - FACILITY_CLASS_YOUNGSTER, - 0x1, - { EC_WORD_TRAINER, EC_WORD_MRS, EC_WORD_EXCL, EC_WORD_THEY_WERE, EC_WORD_OPPONENT, EC_WORD_CAN }, - { EC_WORD_TRAINER, EC_WORD_MRS, EC_WORD_WEAK, EC_WORD_OF, EC_WORD_WERE, EC_WORD_ELLIPSIS_ELLIPSIS_ELLIPSIS }, - { EC_WORD_TRAINER, EC_WORD_MRS, EC_WORD_STRONG, EC_WORD_HEY_QUES, EC_WORD_EXCL, EC_WORD_EXCL }, - { EC_WORD_FABULOUS, EC_WORD_CAN_T, EC_WORD_TRAINER, EC_WORD_MRS, EC_WORD_ELLIPSIS_ELLIPSIS_ELLIPSIS, EC_WORD_EXCITING }, - { - { - SPECIES_ZIGZAGOON, - ITEM_SITRUS_BERRY, - { MOVE_HEADBUTT, MOVE_PIN_MISSILE, MOVE_GROWL, MOVE_TAIL_WHIP }, - 0, - 0x0, - 110, - 100, - 100, - 100, - 0, - 100, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 0, - 0x80, - __("ジグザグマ$$$$$$"), - 255 + .unkField_0 = 4, + .unused1 = 1, + .unkField_2 = 2, + .checksum = 0x0, + .floors = { + [0] = { + .unk0 = 0, + .unk1 = 0, + .trainers = { + [0] = { + .name = __("シゲノブ$$$$ "), + .facilityClass = FACILITY_CLASS_YOUNGSTER, + .unused = 0x1, + .speechBefore = { EC_WORD_TRAINER, EC_WORD_MRS, EC_WORD_EXCL, EC_WORD_THEY_WERE, EC_WORD_OPPONENT, EC_WORD_CAN }, + .speechWin = { EC_WORD_TRAINER, EC_WORD_MRS, EC_WORD_WEAK, EC_WORD_OF, EC_WORD_WERE, EC_WORD_ELLIPSIS_ELLIPSIS_ELLIPSIS }, + .speechLose = { EC_WORD_TRAINER, EC_WORD_MRS, EC_WORD_STRONG, EC_WORD_HEY_QUES, EC_WORD_EXCL, EC_WORD_EXCL }, + .speechAfter = { EC_WORD_FABULOUS, EC_WORD_CAN_T, EC_WORD_TRAINER, EC_WORD_MRS, EC_WORD_ELLIPSIS_ELLIPSIS_ELLIPSIS, EC_WORD_EXCITING }, + .mons = { + [0] = { + .species = SPECIES_ZIGZAGOON, + .heldItem = ITEM_SITRUS_BERRY, + .moves = { MOVE_HEADBUTT, MOVE_PIN_MISSILE, MOVE_GROWL, MOVE_TAIL_WHIP }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 110, + .attackEV = 100, + .defenseEV = 100, + .speedEV = 100, + .spAttackEV = 0, + .spDefenseEV = 100, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 0, + .personality = 0x80, + .nickname = __("ジグザグマ$$$$$$"), + .friendship = 255 }, - { - SPECIES_SHROOMISH, - ITEM_PECHA_BERRY, - { MOVE_MEGA_DRAIN, MOVE_LEECH_SEED, MOVE_POISON_POWDER, MOVE_GROWTH }, - 0, - 0x0, - 120, - 0, - 120, - 0, - 150, - 120, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 0, - 0x0, - __("キノココ$$$$$$$"), - 255 + [1] = { + .species = SPECIES_SHROOMISH, + .heldItem = ITEM_PECHA_BERRY, + .moves = { MOVE_MEGA_DRAIN, MOVE_LEECH_SEED, MOVE_POISON_POWDER, MOVE_GROWTH }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 120, + .attackEV = 0, + .defenseEV = 120, + .speedEV = 0, + .spAttackEV = 150, + .spDefenseEV = 120, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("キノココ$$$$$$$"), + .friendship = 255 }, - { - SPECIES_SANDSHREW, - ITEM_QUICK_CLAW, - { MOVE_SCRATCH, MOVE_POISON_STING, MOVE_SAND_ATTACK, MOVE_SWIFT }, - 0, - 0x0, - 110, - 100, - 100, - 0, - 0, - 200, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 0, - 0x80, - __("サンド$$$$$$$$"), - 255 + [2] = { + .species = SPECIES_SANDSHREW, + .heldItem = ITEM_QUICK_CLAW, + .moves = { MOVE_SCRATCH, MOVE_POISON_STING, MOVE_SAND_ATTACK, MOVE_SWIFT }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 110, + .attackEV = 100, + .defenseEV = 100, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 200, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 0, + .personality = 0x80, + .nickname = __("サンド$$$$$$$$"), + .friendship = 255 }, - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [3] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [4] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [5] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, } }, - { - __("アカリ$$$$$ "), - FACILITY_CLASS_PARASOL_LADY, - 0x1, - { EC_WORD_SHE, EC_WORD_EVERY, EC_WORD_TYPE, EC_WORD_ADORE, EC_WORD_FOR, EC_WORD_EXCL }, - { EC_WORD_SURPRISE, EC_WORD_THESE, EC_WORD_WONDER, EC_WORD_GIGGLE, EC_WORD_ELLIPSIS, EC_WORD_EXCL }, - { EC_WORD_OH_QUES, EC_MOVE(EARTHQUAKE), EC_WORD_EXISTS, EC_WORD_OF, EC_WORD_WITHOUT, EC_WORD_EXCL }, - { EC_WORD_YOU_RE, EC_WORD_PROBABLY, EC_WORD_END, EC_WORD_UNTIL, EC_WORD_GOING, EC_WORD_ANYWHERE }, - { - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [1] = { + .name = __("アカリ$$$$$ "), + .facilityClass = FACILITY_CLASS_PARASOL_LADY, + .unused = 0x1, + .speechBefore = { EC_WORD_SHE, EC_WORD_EVERY, EC_WORD_TYPE, EC_WORD_ADORE, EC_WORD_FOR, EC_WORD_EXCL }, + .speechWin = { EC_WORD_SURPRISE, EC_WORD_THESE, EC_WORD_WONDER, EC_WORD_GIGGLE, EC_WORD_ELLIPSIS, EC_WORD_EXCL }, + .speechLose = { EC_WORD_OH_QUES, EC_MOVE(EARTHQUAKE), EC_WORD_EXISTS, EC_WORD_OF, EC_WORD_WITHOUT, EC_WORD_EXCL }, + .speechAfter = { EC_WORD_YOU_RE, EC_WORD_PROBABLY, EC_WORD_END, EC_WORD_UNTIL, EC_WORD_GOING, EC_WORD_ANYWHERE }, + .mons = { + [0] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [1] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [2] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_WINGULL, - ITEM_CHERI_BERRY, - { MOVE_WATER_GUN, MOVE_WING_ATTACK, MOVE_GROWL, MOVE_SUPERSONIC }, - 0, - 0x0, - 110, - 100, - 100, - 0, - 100, - 100, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 0, - 0x0, - __("キャモメ$$$$$$$"), - 255 + [3] = { + .species = SPECIES_WINGULL, + .heldItem = ITEM_CHERI_BERRY, + .moves = { MOVE_WATER_GUN, MOVE_WING_ATTACK, MOVE_GROWL, MOVE_SUPERSONIC }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 110, + .attackEV = 100, + .defenseEV = 100, + .speedEV = 0, + .spAttackEV = 100, + .spDefenseEV = 100, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("キャモメ$$$$$$$"), + .friendship = 255 }, - { - SPECIES_NUMEL, - ITEM_FOCUS_BAND, - { MOVE_EMBER, MOVE_DIG, MOVE_TACKLE, MOVE_FOCUS_ENERGY }, - 0, - 0x0, - 110, - 100, - 100, - 0, - 100, - 100, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 0, - 0x96, - __("ドンメル$$$$$$$"), - 255 + [4] = { + .species = SPECIES_NUMEL, + .heldItem = ITEM_FOCUS_BAND, + .moves = { MOVE_EMBER, MOVE_DIG, MOVE_TACKLE, MOVE_FOCUS_ENERGY }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 110, + .attackEV = 100, + .defenseEV = 100, + .speedEV = 0, + .spAttackEV = 100, + .spDefenseEV = 100, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 0, + .personality = 0x96, + .nickname = __("ドンメル$$$$$$$"), + .friendship = 255 }, - { - SPECIES_SURSKIT, - ITEM_PERSIM_BERRY, - { MOVE_BUBBLE_BEAM, MOVE_MUD_SHOT, MOVE_QUICK_ATTACK, MOVE_AGILITY }, - 0, - 0x0, - 100, - 100, - 100, - 0, - 100, - 100, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 0, - 0x0, - __("アメタマ$$$$$$$"), - 255 + [5] = { + .species = SPECIES_SURSKIT, + .heldItem = ITEM_PERSIM_BERRY, + .moves = { MOVE_BUBBLE_BEAM, MOVE_MUD_SHOT, MOVE_QUICK_ATTACK, MOVE_AGILITY }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 100, + .attackEV = 100, + .defenseEV = 100, + .speedEV = 0, + .spAttackEV = 100, + .spDefenseEV = 100, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("アメタマ$$$$$$$"), + .friendship = 255 }, } }, }, - { 0x31, 0x35, 0x35, 0x3b, 0x26, 0x26, 0x1b, 0x1c, 0x1d, 0x25, 0x39, 0x3a, 0x3b, 0x3b, 0x3b, 0x8, 0x31, 0x2b, 0x2b, 0x3b, 0x34, 0x34, 0x2b, 0x2b, 0x34, 0x33, 0x3f, 0x3f, 0x3f, 0x3f, 0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, 0x3b, 0x8, 0x31, 0x3b, 0x3b, 0x34, 0x3b, 0x3b, 0x3b, 0x34, 0x34, 0x34, 0x3f, 0x3b, 0x3b, 0x3b, 0x3f, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8 }, + .unk3A0 = { 0x381, 0x6fc1, 0x6341, 0x6041, 0x7f41, 0x4401, 0x5541, 0x5541, 0x11c1, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff, 0xffff }, + .coords = { 0x28, 0x78 }, + .direction = 0x1, + .range = 0x23 }, - { - 0, - 0, - { - { - __("シゲゾウ$$$$ "), - FACILITY_CLASS_NINJA_BOY, - 0x1, - { EC_WORD_WIN, EC_WORD_UNTIL, EC_WORD_DAUGHTER, EC_MOVE(CONSTRICT), EC_WORD_OF, EC_WORD_WERE }, - { EC_MOVE(CONSTRICT), EC_WORD_UNTIL, EC_WORD_LESS, EC_WORD_NONE, EC_WORD_HEY_QUES, EC_WORD_EXCL }, - { EC_WORD_YET, EC_WORD_ELLIPSIS_ELLIPSIS_ELLIPSIS, EC_WORD_URGH, EC_WORD_ALMOST, EC_WORD_POWER, EC_WORD_NONE }, - { EC_WORD_HUH_QUES, EC_WORD_TOMORROW, EC_WORD_SMELL, EC_WORD_ABSOLUTELY, EC_WORD_THOSE, EC_WORD_EXCL_EXCL }, - { - { - SPECIES_ELECTRIKE, - ITEM_CHERI_BERRY, - { MOVE_SPARK, MOVE_THUNDER_WAVE, MOVE_QUICK_ATTACK, MOVE_ROAR }, - 0, - 0x0, - 120, - 120, - 0, - 120, - 150, - 0, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 1, - 0x0, - __("ラクライ$$$$$$$"), - 255 + [1] = { + .unk0 = 0, + .unk1 = 0, + .trainers = { + [0] = { + .name = __("シゲゾウ$$$$ "), + .facilityClass = FACILITY_CLASS_NINJA_BOY, + .unused = 0x1, + .speechBefore = { EC_WORD_WIN, EC_WORD_UNTIL, EC_WORD_DAUGHTER, EC_MOVE(CONSTRICT), EC_WORD_OF, EC_WORD_WERE }, + .speechWin = { EC_MOVE(CONSTRICT), EC_WORD_UNTIL, EC_WORD_LESS, EC_WORD_NONE, EC_WORD_HEY_QUES, EC_WORD_EXCL }, + .speechLose = { EC_WORD_YET, EC_WORD_ELLIPSIS_ELLIPSIS_ELLIPSIS, EC_WORD_URGH, EC_WORD_ALMOST, EC_WORD_POWER, EC_WORD_NONE }, + .speechAfter = { EC_WORD_HUH_QUES, EC_WORD_TOMORROW, EC_WORD_SMELL, EC_WORD_ABSOLUTELY, EC_WORD_THOSE, EC_WORD_EXCL_EXCL }, + .mons = { + [0] = { + .species = SPECIES_ELECTRIKE, + .heldItem = ITEM_CHERI_BERRY, + .moves = { MOVE_SPARK, MOVE_THUNDER_WAVE, MOVE_QUICK_ATTACK, MOVE_ROAR }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 120, + .attackEV = 120, + .defenseEV = 0, + .speedEV = 120, + .spAttackEV = 150, + .spDefenseEV = 0, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 1, + .personality = 0x0, + .nickname = __("ラクライ$$$$$$$"), + .friendship = 255 }, - { - SPECIES_CORPHISH, - ITEM_QUICK_CLAW, - { MOVE_KNOCK_OFF, MOVE_CRABHAMMER, MOVE_TAUNT, MOVE_PROTECT }, - 0, - 0x0, - 100, - 110, - 100, - 0, - 100, - 100, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 1, - 0x96, - __("ヘイガニ$$$$$$$"), - 255 + [1] = { + .species = SPECIES_CORPHISH, + .heldItem = ITEM_QUICK_CLAW, + .moves = { MOVE_KNOCK_OFF, MOVE_CRABHAMMER, MOVE_TAUNT, MOVE_PROTECT }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 100, + .attackEV = 110, + .defenseEV = 100, + .speedEV = 0, + .spAttackEV = 100, + .spDefenseEV = 100, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 1, + .personality = 0x96, + .nickname = __("ヘイガニ$$$$$$$"), + .friendship = 255 }, - { - SPECIES_BALTOY, - ITEM_PERSIM_BERRY, - { MOVE_PSYBEAM, MOVE_ROCK_TOMB, MOVE_MUD_SLAP, MOVE_HARDEN }, - 0, - 0x0, - 100, - 100, - 100, - 0, - 110, - 100, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 0, - 0x96, - __("ヤジロン$$$$$$$"), - 255 + [2] = { + .species = SPECIES_BALTOY, + .heldItem = ITEM_PERSIM_BERRY, + .moves = { MOVE_PSYBEAM, MOVE_ROCK_TOMB, MOVE_MUD_SLAP, MOVE_HARDEN }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 100, + .attackEV = 100, + .defenseEV = 100, + .speedEV = 0, + .spAttackEV = 110, + .spDefenseEV = 100, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 0, + .personality = 0x96, + .nickname = __("ヤジロン$$$$$$$"), + .friendship = 255 }, - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [3] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [4] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [5] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, } }, - { - __("ナミコ$$$$$ "), - FACILITY_CLASS_BEAUTY, - 0x1, - { EC_WORD_SISTER, EC_WORD_ALTHOUGH, EC_WORD_KIND, EC_WORD_MATCH, EC_WORD_PLEASE, EC_WORD_WITHOUT }, - { EC_WORD_KIND, EC_WORD_ELLIPSIS, EC_WORD_INSTEAD, EC_WORD_DEEP, EC_WORD_WEAK, EC_WORD_QUES }, - { EC_WORD_AWFUL, EC_WORD_GWAH, EC_WORD_HOPELESS, EC_WORD_CAN_T_WIN, EC_WORD_IS, EC_WORD_NONE }, - { EC_WORD_AWW, 0xFFFF, 0xFFFF, EC_WORD_ALMOST, EC_WORD_GOOD, EC_WORD_ANYWHERE }, - { - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [1] = { + .name = __("ナミコ$$$$$ "), + .facilityClass = FACILITY_CLASS_BEAUTY, + .unused = 0x1, + .speechBefore = { EC_WORD_SISTER, EC_WORD_ALTHOUGH, EC_WORD_KIND, EC_WORD_MATCH, EC_WORD_PLEASE, EC_WORD_WITHOUT }, + .speechWin = { EC_WORD_KIND, EC_WORD_ELLIPSIS, EC_WORD_INSTEAD, EC_WORD_DEEP, EC_WORD_WEAK, EC_WORD_QUES }, + .speechLose = { EC_WORD_AWFUL, EC_WORD_GWAH, EC_WORD_HOPELESS, EC_WORD_CAN_T_WIN, EC_WORD_IS, EC_WORD_NONE }, + .speechAfter = { EC_WORD_AWW, 0xFFFF, 0xFFFF, EC_WORD_ALMOST, EC_WORD_GOOD, EC_WORD_ANYWHERE }, + .mons = { + [0] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [1] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [2] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_SPHEAL, - ITEM_FOCUS_BAND, - { MOVE_ICE_BALL, MOVE_BODY_SLAM, MOVE_WATER_GUN, MOVE_ENCORE }, - 0, - 0x0, - 100, - 100, - 100, - 0, - 110, - 100, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 0, - 0x80, - __("タマザラシ$$$$$$"), - 255 + [3] = { + .species = SPECIES_SPHEAL, + .heldItem = ITEM_FOCUS_BAND, + .moves = { MOVE_ICE_BALL, MOVE_BODY_SLAM, MOVE_WATER_GUN, MOVE_ENCORE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 100, + .attackEV = 100, + .defenseEV = 100, + .speedEV = 0, + .spAttackEV = 110, + .spDefenseEV = 100, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 0, + .personality = 0x80, + .nickname = __("タマザラシ$$$$$$"), + .friendship = 255 }, - { - SPECIES_SPOINK, - ITEM_PERSIM_BERRY, - { MOVE_PSYWAVE, MOVE_FUTURE_SIGHT, MOVE_CONFUSE_RAY, MOVE_MAGIC_COAT }, - 0, - 0x0, - 100, - 0, - 100, - 100, - 110, - 100, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 1, - 0xf, - __("バネブー$$$$$$$"), - 255 + [4] = { + .species = SPECIES_SPOINK, + .heldItem = ITEM_PERSIM_BERRY, + .moves = { MOVE_PSYWAVE, MOVE_FUTURE_SIGHT, MOVE_CONFUSE_RAY, MOVE_MAGIC_COAT }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 100, + .attackEV = 0, + .defenseEV = 100, + .speedEV = 100, + .spAttackEV = 110, + .spDefenseEV = 100, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 1, + .personality = 0xf, + .nickname = __("バネブー$$$$$$$"), + .friendship = 255 }, - { - SPECIES_POOCHYENA, - ITEM_PECHA_BERRY, - { MOVE_BITE, MOVE_POISON_FANG, MOVE_SWAGGER, MOVE_SCARY_FACE }, - 0, - 0x0, - 70, - 80, - 80, - 80, - 80, - 80, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 0, - 0x96, - __("ポチエナ$$$$$$$"), - 255 + [5] = { + .species = SPECIES_POOCHYENA, + .heldItem = ITEM_PECHA_BERRY, + .moves = { MOVE_BITE, MOVE_POISON_FANG, MOVE_SWAGGER, MOVE_SCARY_FACE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 70, + .attackEV = 80, + .defenseEV = 80, + .speedEV = 80, + .spAttackEV = 80, + .spDefenseEV = 80, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 0, + .personality = 0x96, + .nickname = __("ポチエナ$$$$$$$"), + .friendship = 255 }, } }, }, - { 0x31, 0x3b, 0x35, 0x3b, 0x39, 0x26, 0x1b, 0x1c, 0x1d, 0x25, 0x39, 0x3a, 0x3b, 0x35, 0x3b, 0x8, 0x31, 0x3b, 0x2b, 0x3b, 0x3b, 0x2b, 0x2b, 0x2b, 0x2b, 0x2b, 0x3b, 0x3b, 0x3b, 0x2b, 0x3b, 0x8, 0x31, 0x3b, 0x2b, 0x3b, 0x3b, 0x2b, 0x2b, 0x2b, 0x2b, 0x2b, 0x3e, 0x3e, 0x3b, 0x2b, 0x3b, 0x8, 0x31, 0x3b, 0x2b, 0x3b, 0x3b, 0x2b, 0x2b, 0x2b, 0x2b, 0x2b, 0x3b, 0x3b, 0x3b, 0x2b, 0x3b, 0x8, 0x3f, 0x3b, 0x2b, 0x3b, 0x3b, 0x2b, 0x2b, 0x2b, 0x2b, 0x2b, 0x3b, 0x3e, 0x3e, 0x2b, 0x3b, 0x8, 0x31, 0x3b, 0x2b, 0x3b, 0x3b, 0x2b, 0x2b, 0x2c, 0x2b, 0x2b, 0x3b, 0x3b, 0x3b, 0x2b, 0x3b, 0x8, 0x31, 0x3f, 0x2b, 0x3b, 0x3b, 0x2c, 0x2c, 0x3b, 0x2c, 0x2c, 0x3e, 0x3e, 0x3b, 0x2b, 0x3b, 0x8, 0x31, 0x3b, 0x2b, 0x35, 0x35, 0x35, 0x35, 0x3b, 0x35, 0x35, 0x35, 0x35, 0x35, 0x2b, 0x3b, 0x8, 0x3f, 0x3b, 0x2c, 0x2c, 0x2c, 0x2c, 0x2c, 0x3b, 0x2c, 0x2c, 0x2c, 0x2c, 0x2c, 0x2c, 0x3b, 0x8, 0x31, 0x3b, 0x3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x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8 }, + .unk3A0 = { 0x381, 0x27c5, 0x27c5, 0x27c5, 0x27c5, 0x27c5, 0x26c5, 0x2005, 0x3efd, 0x1, 0x6ff, 0x7ff, 0x7ff, 0xffff, 0xffff, 0xffff }, + .coords = { 0x67, 0xa7 }, + .direction = 0x1, + .range = 0x33 }, } }; diff --git a/src/ereader_helpers.c b/src/ereader_helpers.c index e0e51a48e..e24abfb29 100755 --- a/src/ereader_helpers.c +++ b/src/ereader_helpers.c @@ -45,647 +45,647 @@ static u16 gUnknown_030012F2; static u16 gUnknown_030012F4; static const struct TrainerHillTrainer sTrainerHillTrainerTemplates_JP[] = { - { - __("マキエ$$$$$"), - FACILITY_CLASS_HEX_MANIAC, - 0x1, - { EC_WORD_PREPOSTEROUS, EC_WORD_CASE, EC_WORD_THERE, EC_WORD_TO_HER, EC_WORD_CHALLENGE, EC_WORD_JOKING }, - { EC_WORD_HERS, EC_WORD_TRUMP_CARD, EC_MOVE2(SECRET_POWER), EC_WORD_USING, EC_WORD_WON, EC_WORD_EXCL_EXCL }, - { EC_WORD_TO_HER, EC_WORD_WIN, EC_WORD_JOKING, EC_WORD_HIGHS, EC_WORD_SCARY, EC_WORD_ELLIPSIS_EXCL }, - { EC_WORD_IGNORANT, EC_WORD_SO, EC_WORD_TODAY, EC_WORD_NIGHTTIME, EC_WORD_YOU_RE, EC_WORD_ELLIPSIS_ELLIPSIS_ELLIPSIS }, - { - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [0] = { + .name = __("マキエ$$$$$ "), + .facilityClass = FACILITY_CLASS_HEX_MANIAC, + .unused = 0x1, + .speechBefore = { EC_WORD_PREPOSTEROUS, EC_WORD_CASE, EC_WORD_THERE, EC_WORD_TO_HER, EC_WORD_CHALLENGE, EC_WORD_JOKING }, + .speechWin = { EC_WORD_HERS, EC_WORD_TRUMP_CARD, EC_MOVE2(SECRET_POWER), EC_WORD_USING, EC_WORD_WON, EC_WORD_EXCL_EXCL }, + .speechLose = { EC_WORD_TO_HER, EC_WORD_WIN, EC_WORD_JOKING, EC_WORD_HIGHS, EC_WORD_SCARY, EC_WORD_ELLIPSIS_EXCL }, + .speechAfter = { EC_WORD_IGNORANT, EC_WORD_SO, EC_WORD_TODAY, EC_WORD_NIGHTTIME, EC_WORD_YOU_RE, EC_WORD_ELLIPSIS_ELLIPSIS_ELLIPSIS }, + .mons = { + [0] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [1] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [2] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_SWALOT, - ITEM_SHELL_BELL, - { MOVE_SLUDGE_BOMB, MOVE_SHADOW_BALL, MOVE_PAIN_SPLIT, MOVE_YAWN }, - 0, - 0x0, - 55, - 255, - 100, - 0, - 0, - 100, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 1, - 0x80, - __("マルノーム$$$$$$"), - 255 + [3] = { + .species = SPECIES_SWALOT, + .heldItem = ITEM_SHELL_BELL, + .moves = { MOVE_SLUDGE_BOMB, MOVE_SHADOW_BALL, MOVE_PAIN_SPLIT, MOVE_YAWN }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 55, + .attackEV = 255, + .defenseEV = 100, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 100, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 1, + .personality = 0x80, + .nickname = __("マルノーム$$$$$$"), + .friendship = 255 }, - { - SPECIES_DUSTOX, - ITEM_BRIGHT_POWDER, - { MOVE_SILVER_WIND, MOVE_SLUDGE_BOMB, MOVE_SHADOW_BALL, MOVE_GIGA_DRAIN }, - 0, - 0x0, - 0, - 255, - 0, - 0, - 255, - 0, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 0, - 0x6, - __("ドクケイル$$$$$$"), - 255 + [4] = { + .species = SPECIES_DUSTOX, + .heldItem = ITEM_BRIGHT_POWDER, + .moves = { MOVE_SILVER_WIND, MOVE_SLUDGE_BOMB, MOVE_SHADOW_BALL, MOVE_GIGA_DRAIN }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 255, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 255, + .spDefenseEV = 0, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 0, + .personality = 0x6, + .nickname = __("ドクケイル$$$$$$"), + .friendship = 255 }, - { - SPECIES_RELICANTH, - ITEM_QUICK_CLAW, - { MOVE_ANCIENT_POWER, MOVE_SURF, MOVE_EARTHQUAKE, MOVE_AMNESIA }, - 0, - 0x0, - 100, - 0, - 0, - 0, - 155, - 255, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 0, - 0x2f, - __("ジーランス$$$$$$"), - 255 + [5] = { + .species = SPECIES_RELICANTH, + .heldItem = ITEM_QUICK_CLAW, + .moves = { MOVE_ANCIENT_POWER, MOVE_SURF, MOVE_EARTHQUAKE, MOVE_AMNESIA }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 100, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 155, + .spDefenseEV = 255, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 0, + .personality = 0x2f, + .nickname = __("ジーランス$$$$$$"), + .friendship = 255 }, } }, - { - __("ハルヒト$$$$"), - FACILITY_CLASS_CAMPER, - 0x1, - { EC_MOVE2(BOUNCE), EC_WORD_AS_MUCH_AS, 0xFFFF, EC_WORD_THEY_RE, EC_WORD_STRONG, EC_WORD_EXCL }, - { EC_MOVE(FLY), EC_WORD_AS_MUCH_AS, 0xFFFF, EC_WORD_THEY_RE, EC_WORD_HAPPY, EC_WORD_EXCL }, - { EC_MOVE2(MINIMIZE), EC_WORD_AS_MUCH_AS, 0xFFFF, EC_WORD_THEY_RE, EC_WORD_SAD, EC_WORD_EXCL }, - { EC_MOVE(BITE), EC_WORD_AS_MUCH_AS, 0xFFFF, EC_WORD_THEY_RE, EC_WORD_ANGRY, EC_WORD_EXCL }, - { - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [1] = { + .name = __("ハルヒト$$$$ "), + .facilityClass = FACILITY_CLASS_CAMPER, + .unused = 0x1, + .speechBefore = { EC_MOVE2(BOUNCE), EC_WORD_AS_MUCH_AS, 0xFFFF, EC_WORD_THEY_RE, EC_WORD_STRONG, EC_WORD_EXCL }, + .speechWin = { EC_MOVE(FLY), EC_WORD_AS_MUCH_AS, 0xFFFF, EC_WORD_THEY_RE, EC_WORD_HAPPY, EC_WORD_EXCL }, + .speechLose = { EC_MOVE2(MINIMIZE), EC_WORD_AS_MUCH_AS, 0xFFFF, EC_WORD_THEY_RE, EC_WORD_SAD, EC_WORD_EXCL }, + .speechAfter = { EC_MOVE(BITE), EC_WORD_AS_MUCH_AS, 0xFFFF, EC_WORD_THEY_RE, EC_WORD_ANGRY, EC_WORD_EXCL }, + .mons = { + [0] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [1] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [2] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_CACTURNE, - ITEM_QUICK_CLAW, - { MOVE_GIGA_DRAIN, MOVE_FAINT_ATTACK, MOVE_THUNDER_PUNCH, MOVE_GROWTH }, - 0, - 0x0, - 55, - 0, - 100, - 0, - 255, - 100, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 0, - 0x8c, - __("ノクタス$$$$$$$"), - 255 + [3] = { + .species = SPECIES_CACTURNE, + .heldItem = ITEM_QUICK_CLAW, + .moves = { MOVE_GIGA_DRAIN, MOVE_FAINT_ATTACK, MOVE_THUNDER_PUNCH, MOVE_GROWTH }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 55, + .attackEV = 0, + .defenseEV = 100, + .speedEV = 0, + .spAttackEV = 255, + .spDefenseEV = 100, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 0, + .personality = 0x8c, + .nickname = __("ノクタス$$$$$$$"), + .friendship = 255 }, - { - SPECIES_SWELLOW, - ITEM_BRIGHT_POWDER, - { MOVE_FACADE, MOVE_AERIAL_ACE, MOVE_QUICK_ATTACK, MOVE_DOUBLE_TEAM }, - 0, - 0x0, - 255, - 255, - 0, - 0, - 0, - 0, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 0, - 0x80, - __("オオスバメ$$$$$$"), - 255 + [4] = { + .species = SPECIES_SWELLOW, + .heldItem = ITEM_BRIGHT_POWDER, + .moves = { MOVE_FACADE, MOVE_AERIAL_ACE, MOVE_QUICK_ATTACK, MOVE_DOUBLE_TEAM }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 255, + .attackEV = 255, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 0, + .personality = 0x80, + .nickname = __("オオスバメ$$$$$$"), + .friendship = 255 }, - { - SPECIES_WHISCASH, - ITEM_CHESTO_BERRY, - { MOVE_SURF, MOVE_EARTHQUAKE, MOVE_AMNESIA, MOVE_REST }, - 0, - 0x0, - 0, - 255, - 0, - 0, - 255, - 0, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 0, - 0x0, - __("ナマズン$$$$$$$"), - 255 + [5] = { + .species = SPECIES_WHISCASH, + .heldItem = ITEM_CHESTO_BERRY, + .moves = { MOVE_SURF, MOVE_EARTHQUAKE, MOVE_AMNESIA, MOVE_REST }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 255, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 255, + .spDefenseEV = 0, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("ナマズン$$$$$$$"), + .friendship = 255 }, } }, - { - __("メイコ$$$$$"), - FACILITY_CLASS_SCHOOL_KID_F, - 0x1, - { EC_WORD_SHINE, EC_WORD_POKEMON, EC_WORD_RELEASE, EC_WORD_WAS, EC_MOVE2(FRUSTRATION), EC_WORD_WITHOUT }, - { EC_WORD_SHINE, EC_WORD_POKEMON, EC_WORD_TO_HER, EC_MOVE2(PRESENT), EC_WORD_KNOWS, EC_WORD_WITHOUT }, - { EC_WORD_THAT, EC_WORD_ABOVE, EC_WORD_LOST, EC_WORD_STORES, EC_WORD_JOKING, EC_WORD_ELLIPSIS_ELLIPSIS_ELLIPSIS }, - { EC_WORD_ENTERTAINING, EC_WORD_NONE, EC_WORD_HEY_QUES, EC_WORD_ALMOST, EC_WORD_EXCL, 0xFFFF }, - { - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [2] = { + .name = __("メイコ$$$$$ "), + .facilityClass = FACILITY_CLASS_SCHOOL_KID_F, + .unused = 0x1, + .speechBefore = { EC_WORD_SHINE, EC_WORD_POKEMON, EC_WORD_RELEASE, EC_WORD_WAS, EC_MOVE2(FRUSTRATION), EC_WORD_WITHOUT }, + .speechWin = { EC_WORD_SHINE, EC_WORD_POKEMON, EC_WORD_TO_HER, EC_MOVE2(PRESENT), EC_WORD_KNOWS, EC_WORD_WITHOUT }, + .speechLose = { EC_WORD_THAT, EC_WORD_ABOVE, EC_WORD_LOST, EC_WORD_STORES, EC_WORD_JOKING, EC_WORD_ELLIPSIS_ELLIPSIS_ELLIPSIS }, + .speechAfter = { EC_WORD_ENTERTAINING, EC_WORD_NONE, EC_WORD_HEY_QUES, EC_WORD_ALMOST, EC_WORD_EXCL, 0xFFFF }, + .mons = { + [0] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [1] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [2] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_DELCATTY, - ITEM_LUM_BERRY, - { MOVE_SING, MOVE_BODY_SLAM, MOVE_SHADOW_BALL, MOVE_IRON_TAIL }, - 0, - 0x0, - 0, - 255, - 0, - 255, - 0, - 0, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 0, - 0x3, - __("エネコロロ$$$$$$"), - 255 + [3] = { + .species = SPECIES_DELCATTY, + .heldItem = ITEM_LUM_BERRY, + .moves = { MOVE_SING, MOVE_BODY_SLAM, MOVE_SHADOW_BALL, MOVE_IRON_TAIL }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 255, + .defenseEV = 0, + .speedEV = 255, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 0, + .personality = 0x3, + .nickname = __("エネコロロ$$$$$$"), + .friendship = 255 }, - { - SPECIES_ROSELIA, - ITEM_LEFTOVERS, - { MOVE_GIGA_DRAIN, MOVE_GRASS_WHISTLE, MOVE_TOXIC, MOVE_LEECH_SEED }, - 0, - 0x0, - 255, - 0, - 0, - 0, - 255, - 0, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 1, - 0x6, - __("ロゼリア$$$$$$$"), - 255 + [4] = { + .species = SPECIES_ROSELIA, + .heldItem = ITEM_LEFTOVERS, + .moves = { MOVE_GIGA_DRAIN, MOVE_GRASS_WHISTLE, MOVE_TOXIC, MOVE_LEECH_SEED }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 255, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 255, + .spDefenseEV = 0, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 1, + .personality = 0x6, + .nickname = __("ロゼリア$$$$$$$"), + .friendship = 255 }, - { - SPECIES_BEAUTIFLY, - ITEM_BRIGHT_POWDER, - { MOVE_SILVER_WIND, MOVE_AERIAL_ACE, MOVE_ATTRACT, MOVE_PSYCHIC }, - 0, - 0x0, - 100, - 200, - 0, - 0, - 200, - 0, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 0, - 0x6, - __("アゲハント$$$$$$"), - 255 + [5] = { + .species = SPECIES_BEAUTIFLY, + .heldItem = ITEM_BRIGHT_POWDER, + .moves = { MOVE_SILVER_WIND, MOVE_AERIAL_ACE, MOVE_ATTRACT, MOVE_PSYCHIC }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 100, + .attackEV = 200, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 200, + .spDefenseEV = 0, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 0, + .personality = 0x6, + .nickname = __("アゲハント$$$$$$"), + .friendship = 255 }, } }, - { - __("ピエール$$$$"), - FACILITY_CLASS_GENTLEMAN, - 0x1, - { EC_WORD_SHE_WAS, EC_WORD_NO_1, EC_WORD_STRONG, EC_WORD_UNCLE, EC_WORD_THERE, EC_WORD_EXCL }, - { EC_WORD_HAHAHA, EC_WORD_TEACHER, EC_WORD_BECOMES, EC_WORD_GIVE, EC_WORD_IS_IT_QUES, 0xFFFF }, - { EC_WORD_OUTSIDE, EC_WORD_UNCLE, EC_WORD_SURPRISE, EC_WORD_THESE, EC_WORD_HEY_QUES, EC_WORD_ELLIPSIS_EXCL }, - { EC_WORD_HE_S, EC_WORD_NO_1, EC_WORD_STRONG, EC_WORD_CHILDREN, EC_WORD_CAN_T, EC_WORD_EXCL_EXCL }, - { - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [3] = { + .name = __("ピエール$$$$ "), + .facilityClass = FACILITY_CLASS_GENTLEMAN, + .unused = 0x1, + .speechBefore = { EC_WORD_SHE_WAS, EC_WORD_NO_1, EC_WORD_STRONG, EC_WORD_UNCLE, EC_WORD_THERE, EC_WORD_EXCL }, + .speechWin = { EC_WORD_HAHAHA, EC_WORD_TEACHER, EC_WORD_BECOMES, EC_WORD_GIVE, EC_WORD_IS_IT_QUES, 0xFFFF }, + .speechLose = { EC_WORD_OUTSIDE, EC_WORD_UNCLE, EC_WORD_SURPRISE, EC_WORD_THESE, EC_WORD_HEY_QUES, EC_WORD_ELLIPSIS_EXCL }, + .speechAfter = { EC_WORD_HE_S, EC_WORD_NO_1, EC_WORD_STRONG, EC_WORD_CHILDREN, EC_WORD_CAN_T, EC_WORD_EXCL_EXCL }, + .mons = { + [0] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [1] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_NONE, - ITEM_NONE, - { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0x0, - __("$$$$$$$$$$$"), - 0 + [2] = { + .species = SPECIES_NONE, + .heldItem = ITEM_NONE, + .moves = { MOVE_NONE, MOVE_NONE, MOVE_NONE, MOVE_NONE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 0, + .spDefenseEV = 0, + .otId = 0x0, + .hpIV = 0, + .attackIV = 0, + .defenseIV = 0, + .speedIV = 0, + .spAttackIV = 0, + .spDefenseIV = 0, + .gap = 0, + .abilityNum = 0, + .personality = 0x0, + .nickname = __("$$$$$$$$$$$"), + .friendship = 0 }, - { - SPECIES_MAWILE, - ITEM_BRIGHT_POWDER, - { MOVE_CRUNCH, MOVE_FLAMETHROWER, MOVE_THUNDER_PUNCH, MOVE_COMET_PUNCH }, - 0, - 0x0, - 0, - 0, - 100, - 0, - 255, - 155, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 1, - 0x0, - __("クチート$$$$$$$"), - 255 + [3] = { + .species = SPECIES_MAWILE, + .heldItem = ITEM_BRIGHT_POWDER, + .moves = { MOVE_CRUNCH, MOVE_FLAMETHROWER, MOVE_THUNDER_PUNCH, MOVE_COMET_PUNCH }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 0, + .attackEV = 0, + .defenseEV = 100, + .speedEV = 0, + .spAttackEV = 255, + .spDefenseEV = 155, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 1, + .personality = 0x0, + .nickname = __("クチート$$$$$$$"), + .friendship = 255 }, - { - SPECIES_SHARPEDO, - ITEM_SCOPE_LENS, - { MOVE_SURF, MOVE_CRUNCH, MOVE_DOUBLE_EDGE, MOVE_EARTHQUAKE }, - 0, - 0x0, - 255, - 0, - 0, - 0, - 255, - 0, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 0, - 0x96, - __("サメハダー$$$$$$"), - 255 + [4] = { + .species = SPECIES_SHARPEDO, + .heldItem = ITEM_SCOPE_LENS, + .moves = { MOVE_SURF, MOVE_CRUNCH, MOVE_DOUBLE_EDGE, MOVE_EARTHQUAKE }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 255, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 255, + .spDefenseEV = 0, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 0, + .personality = 0x96, + .nickname = __("サメハダー$$$$$$"), + .friendship = 255 }, - { - SPECIES_BANETTE, - ITEM_LUM_BERRY, - { MOVE_PSYCHIC, MOVE_SHADOW_BALL, MOVE_THUNDERBOLT, MOVE_WILL_O_WISP }, - 0, - 0x0, - 255, - 0, - 0, - 0, - 255, - 0, - 0x10000000, - 5, - 5, - 5, - 5, - 5, - 5, - 0, - 0, - 0x96, - __("ジュペッタ$$$$$$"), - 255 + [5] = { + .species = SPECIES_BANETTE, + .heldItem = ITEM_LUM_BERRY, + .moves = { MOVE_PSYCHIC, MOVE_SHADOW_BALL, MOVE_THUNDERBOLT, MOVE_WILL_O_WISP }, + .level = 0, + .ppBonuses = 0x0, + .hpEV = 255, + .attackEV = 0, + .defenseEV = 0, + .speedEV = 0, + .spAttackEV = 255, + .spDefenseEV = 0, + .otId = 0x10000000, + .hpIV = 5, + .attackIV = 5, + .defenseIV = 5, + .speedIV = 5, + .spAttackIV = 5, + .spDefenseIV = 5, + .gap = 0, + .abilityNum = 0, + .personality = 0x96, + .nickname = __("ジュペッタ$$$$$$"), + .friendship = 255 }, } },