summaryrefslogtreecommitdiff
path: root/include/battle_tower.h
diff options
context:
space:
mode:
authorTetrable <atiftetra@gmail.com>2018-09-01 12:36:33 +0100
committerGitHub <noreply@github.com>2018-09-01 12:36:33 +0100
commit5a53d6d1fb304736c1fb3c222192a3b722707bca (patch)
treeeb1794c8da8a8b51caa4abc0de8b797c49ead358 /include/battle_tower.h
parentd8f6da035015393339ea6391d293e5ff88558844 (diff)
parent1895383352da3bd5a4f4990fab045ae3610937fc (diff)
Merge pull request #2 from pret/master
Update
Diffstat (limited to 'include/battle_tower.h')
-rw-r--r--include/battle_tower.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/include/battle_tower.h b/include/battle_tower.h
index e1655f2c6..d7ff70006 100644
--- a/include/battle_tower.h
+++ b/include/battle_tower.h
@@ -24,7 +24,7 @@ union BattleTowerRecord
struct BattleFrontierTrainer
{
- u32 trainerClass;
+ u32 facilityClass;
u8 trainerName[8];
u16 speechBefore[6];
u16 speechWin[6];
@@ -32,7 +32,17 @@ struct BattleFrontierTrainer
u16 *btMonPool;
};
-extern struct BattleFrontierTrainer *gUnknown_0203BC88;
+struct FacilityMon
+{
+ u16 species;
+ u16 moves[4];
+ u8 itemTableId;
+ u8 evSpread;
+ u8 nature;
+};
+
+extern const struct BattleFrontierTrainer *gFacilityTrainers;
+extern const struct FacilityMon *gFacilityTrainerMons;
u16 sub_8164FCC(u8, u8);
void sub_81659DC(struct RSBattleTowerRecord *a0, struct RSBattleTowerRecord *a1);
@@ -40,7 +50,7 @@ bool32 sub_816587C(union BattleTowerRecord *, union BattleTowerRecord *);
void CalcEmeraldBattleTowerChecksum(struct EmeraldBattleTowerRecord *);
void sub_81628A0(union BattleTowerRecord *);
void sub_8162614(u16 trainerId, u8);
-void ConvertBattleFrontierTrainerSpeechToString(u16 *words);
+void ConvertBattleFrontierTrainerSpeechToString(const u16 *words);
void GetFrontierTrainerName(u8 *dest, u16 trainerIdx);
void GetEreaderTrainerName(u8 *dest);