Define new abilities (#3838)

Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
This commit is contained in:
Bassoonian 2023-12-28 12:33:29 +01:00 committed by GitHub
parent 872ddf32c6
commit bc3737772a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 4 deletions

View file

@ -332,10 +332,10 @@
#define ABILITY_EMBODY_ASPECT_CORNERSTONE 304
#define ABILITY_TOXIC_CHAIN 305
#define ABILITY_SUPERSWEET_SYRUP 306
#define ABILITY_307 307
#define ABILITY_308 308
#define ABILITY_309 309
#define ABILITY_310 310
#define ABILITY_TERA_SHIFT 307
#define ABILITY_TERA_SHELL 308
#define ABILITY_TERAFORM_ZERO 309
#define ABILITY_POISON_PUPPETEER 310
#define ABILITIES_COUNT_GEN9 311

View file

@ -297,6 +297,10 @@ static const u8 sEmbodyAspectWellspringDescription[] = _("Raises Sp. Def.");
static const u8 sEmbodyAspectCornerstoneDescription[] = _("Raises Defense.");
static const u8 sToxicChainDescription[] = _("Moves can poison.");
static const u8 sSupersweetSyrupDescription[] = _("Lowers the foe's Speed.");
static const u8 sTeraShiftDescription[] = _("Terasteralizes upon entry.");
static const u8 sTeraShellDescription[] = _("Resistant to types at full HP.");
static const u8 sTeraformZeroDescription[] = _("Removes weather and terrain.");
static const u8 sPoisonPuppeteerDescription[] = _("Confuses poisoned foes.");
#if B_EXPANDED_ABILITY_NAMES == TRUE
const u8 gAbilityNames[ABILITIES_COUNT][ABILITY_NAME_LENGTH + 1] =
@ -608,6 +612,10 @@ const u8 gAbilityNames[ABILITIES_COUNT][ABILITY_NAME_LENGTH + 1] =
[ABILITY_EMBODY_ASPECT_CORNERSTONE] = _("Embody Aspect"),
[ABILITY_TOXIC_CHAIN] = _("Toxic Chain"),
[ABILITY_SUPERSWEET_SYRUP] = _("Supersweet Syrup"),
[ABILITY_TERA_SHIFT] = _("Tera Shift"),
[ABILITY_TERA_SHELL] = _("Tera Shell"),
[ABILITY_TERAFORM_ZERO] = _("Teraform Zero"),
[ABILITY_POISON_PUPPETEER] = _("Poison Puppeteer"),
};
#else // 12 characters
const u8 gAbilityNames[ABILITIES_COUNT][ABILITY_NAME_LENGTH + 1] =
@ -919,6 +927,10 @@ const u8 gAbilityNames[ABILITIES_COUNT][ABILITY_NAME_LENGTH + 1] =
[ABILITY_EMBODY_ASPECT_CORNERSTONE] = _("EmbodyAspect"),
[ABILITY_TOXIC_CHAIN] = _("Toxic Chain"),
[ABILITY_SUPERSWEET_SYRUP] = _("SuprswtSyrup"),
[ABILITY_TERA_SHIFT] = _("Tera Shift"),
[ABILITY_TERA_SHELL] = _("Tera Shell"),
[ABILITY_TERAFORM_ZERO] = _("TeraformZero"),
[ABILITY_POISON_PUPPETEER] = _("PoisnPuppter"),
};
#endif
@ -1231,4 +1243,8 @@ const u8 *const gAbilityDescriptionPointers[ABILITIES_COUNT] =
[ABILITY_EMBODY_ASPECT_CORNERSTONE] = sEmbodyAspectCornerstoneDescription,
[ABILITY_TOXIC_CHAIN] = sToxicChainDescription,
[ABILITY_SUPERSWEET_SYRUP] = sSupersweetSyrupDescription,
[ABILITY_TERA_SHIFT] = sTeraShiftDescription,
[ABILITY_TERA_SHELL] = sTeraShellDescription,
[ABILITY_TERAFORM_ZERO] = sTeraformZeroDescription,
[ABILITY_POISON_PUPPETEER] = sPoisonPuppeteerDescription,
};