Merge pull request #1704 from LOuroboros/typeAbNameLength

Relocated TYPE_NAME_LENGTH and ABILITY_NAME_LENGTH
This commit is contained in:
GriffinR 2022-07-11 22:49:29 -04:00 committed by GitHub
commit a359db6a8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -22,9 +22,6 @@ struct MultiPartnerMenuPokemon
/*0x1D*/ u8 language;
};
#define TYPE_NAME_LENGTH 6
#define ABILITY_NAME_LENGTH 12
// defines for the u8 array gTypeEffectiveness
#define TYPE_EFFECT_ATK_TYPE(i)((gTypeEffectiveness[i + 0]))
#define TYPE_EFFECT_DEF_TYPE(i)((gTypeEffectiveness[i + 1]))

View File

@ -101,6 +101,8 @@
#define WONDER_NEWS_TEXT_LENGTH 40
#define WONDER_CARD_BODY_TEXT_LINES 4
#define WONDER_NEWS_BODY_TEXT_LINES 10
#define TYPE_NAME_LENGTH 6
#define ABILITY_NAME_LENGTH 12
#define MAX_STAMP_CARD_STAMPS 7