summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-01-15 11:07:17 -0500
committerGitHub <noreply@github.com>2020-01-15 11:07:17 -0500
commit411f4852c60356c8595470e2d0873be2b4eebbe2 (patch)
treeaf6bf0e3674fff0aaaa7b81ac6f5fde9e10f03f0 /include/global.h
parent2f81b4a204d051aeb88580dc63381011ec49fcbb (diff)
parenta97ef533d204c263cf72a9f05a74eeb21c28d87b (diff)
Merge pull request #216 from PikalaxALT/link_rfu
Port link_rfu from Emerald
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/include/global.h b/include/global.h
index d8ea62d5c..6386071c4 100644
--- a/include/global.h
+++ b/include/global.h
@@ -712,6 +712,12 @@ struct TrainerRematchState
u8 rematches[100];
};
+struct TrainerNameRecord
+{
+ u32 trainerId;
+ u8 trainerName[PLAYER_NAME_LENGTH];
+};
+
struct SaveBlock1
{
/*0x0000*/ struct Coords16 pos;
@@ -766,7 +772,8 @@ struct SaveBlock1
/*0x3A18*/ u8 seen2[DEX_FLAGS_NO];
/*0x3A4C*/ u8 rivalName[PLAYER_NAME_LENGTH];
/*0x3A54*/ struct FameCheckerSaveData fameChecker[NUM_FAMECHECKER_PERSONS];
- /*0x3A94*/ u8 filler3A94[0x204];
+ /*0x3A94*/ u8 filler3A94[0x114];
+ /*0x3BA8*/ struct TrainerNameRecord trainerNameRecords[20];
/*0x3C98*/ struct DaycareMon route5DayCareMon;
/*0x3D24*/ u8 filler3D24[0x10];
/*0x3D34*/ u32 unkArrayIdx;