Skip to content

Commit

Permalink
Define new abilities (rh-hideout#3838)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex <[email protected]>
  • Loading branch information
Bassoonian and AlexOn1ine authored Dec 28, 2023
1 parent 872ddf3 commit bc37377
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/constants/abilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
16 changes: 16 additions & 0 deletions src/data/text/abilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -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] =
Expand Down Expand Up @@ -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] =
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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,
};

0 comments on commit bc37377

Please sign in to comment.