diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/battle.h | 11 | ||||
| -rw-r--r-- | include/battle_message.h | 5 | ||||
| -rw-r--r-- | include/data2.h | 2 | 
3 files changed, 15 insertions, 3 deletions
| diff --git a/include/battle.h b/include/battle.h index 4b2542017..9d8092197 100644 --- a/include/battle.h +++ b/include/battle.h @@ -19,6 +19,15 @@  #define BATTLE_TYPE_LEGENDARY       0x2000  #define BATTLE_TYPE_REGI            0x4000 +#define BATTLE_WON                  0x1 +#define BATTLE_LOST                 0x2 +#define BATTLE_DREW                 0x3 +#define BATTLE_RAN                  0x4 +#define BATTLE_PLAYER_TELEPORTED    0x5 +#define BATTLE_POKE_FLED            0x6 +#define BATTLE_CAUGHT               0x7 +#define BATTLE_OPPONENT_TELEPORTED  0xA +  #define AI_ACTION_DONE          0x0001  #define AI_ACTION_FLEE          0x0002  #define AI_ACTION_WATCH         0x0004 @@ -327,7 +336,7 @@ struct BattleStruct /* 0x2000000 */      /*0x1609D*/ u8 unk1609D;      /*0x1609E*/ u8 unk1609E;      /*0x1609F*/ u8 unk1609F; -    /*0x160A0*/ u8 unk160a0; +    /*0x160A0*/ u8 stringMoveType;      /*0x160A1*/ u8 animTargetsHit;      /*0x160A2*/ u8 expGetterBank;      /*0x160A3*/ u8 unk160A3; diff --git a/include/battle_message.h b/include/battle_message.h index da57333a5..d115e5357 100644 --- a/include/battle_message.h +++ b/include/battle_message.h @@ -1,7 +1,8 @@  #ifndef GUARD_BATTLE_MESSAGE_H  #define GUARD_BATTLE_MESSAGE_H -void StrCpyDecodeToDisplayedStringBattle(const u8 *); -void StrCpyDecodeBattle(const u8 *, u8 *); +void BufferStringBattle(u16 stringID); +u32 StrCpyDecodeToDisplayedStringBattle(const u8* src); +u32 StrCpyDecodeBattle(const u8* src, u8* dst);  #endif // GUARD_BATTLE_MESSAGE_H diff --git a/include/data2.h b/include/data2.h index 9dd26fd5f..2837a4451 100644 --- a/include/data2.h +++ b/include/data2.h @@ -45,6 +45,8 @@ extern const u8 gTrainerClassNames[][13];  extern const struct Trainer gTrainers[];  extern u8 gSpeciesNames[][11];  extern u8 gMoveNames[][13]; +extern const u8 gAbilityNames[][13]; +extern const u8 gTypeNames[][7];  extern const struct UnknownStructD2 gUnknown_081F9674;  extern const u8 gUnknown_081F96C8[];  extern struct CompressedSpriteSheet gUnknown_081FAEA4; | 
