Skip to content

Commit

Permalink
Stats
Browse files Browse the repository at this point in the history
  • Loading branch information
AsparagusEduardo committed Jan 21, 2025
1 parent d968618 commit efa9e99
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 237 deletions.
2 changes: 1 addition & 1 deletion include/battle_message.h
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ void ExpandBattleTextBuffPlaceholders(const u8 *src, u8 *dst);
extern struct BattleMsgData *gBattleMsgDataPtr;

extern const u8 *const gBattleStringsTable[];
extern const u8 *const gStatNamesTable[];
extern const u8 *const gStatNamesTable[NUM_BATTLE_STATS];
extern const u8 *const gPokeblockWasTooXStringTable[];
extern const u8 *const gRefereeStringsTable[];
extern const u8 *const gRoundsStringTable[];
Expand Down
11 changes: 8 additions & 3 deletions src/battle_message.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,14 @@ static const u8 sText_Evasiveness[] = _("evasiveness");

const u8 *const gStatNamesTable[NUM_BATTLE_STATS] =
{
sText_HP, sText_Attack, sText_Defense,
sText_Speed, sText_SpAttack, sText_SpDefense,
sText_Accuracy, sText_Evasiveness
[STAT_HP] = sText_HP,
[STAT_ATK] = sText_Attack,
[STAT_DEF] = sText_Defense,
[STAT_SPEED] = sText_Speed,
[STAT_SPATK] = sText_SpAttack,
[STAT_SPDEF] = sText_SpDefense,
[STAT_ACC] = sText_Accuracy,
[STAT_EVASION] = sText_Evasiveness,
};
const u8 *const gPokeblockWasTooXStringTable[FLAVOR_COUNT] =
{
Expand Down
Loading

0 comments on commit efa9e99

Please sign in to comment.