summaryrefslogtreecommitdiff
path: root/src/ereader_helpers.c
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-11-13 16:10:05 -0500
committerhuderlem <huderlem@gmail.com>2019-11-16 13:02:35 -0600
commit5e01871f8b00d6b0ef4921a35e0b2bf18c7b4183 (patch)
tree1f13aaa2e3ca31bf6be17aef7bc2c3085d6fdb9f /src/ereader_helpers.c
parent2c3726a328e8a1a9dde36796c431d1cd3608bfef (diff)
Document Trainer Hill
Diffstat (limited to 'src/ereader_helpers.c')
-rwxr-xr-xsrc/ereader_helpers.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ereader_helpers.c b/src/ereader_helpers.c
index 7f0887790..229c214ad 100755
--- a/src/ereader_helpers.c
+++ b/src/ereader_helpers.c
@@ -448,7 +448,7 @@ static bool32 TryWriteTrainerHill_r(struct EReaderTrainerHillSet *ttdata, struct
AGB_ASSERT_EX(ttdata->id == 0, "cereader_tool.c", 452);
memset(buffer2, 0, 0x1000);
- buffer2->unkField_0 = ttdata->count;
+ buffer2->trainerType = ttdata->count;
buffer2->unused1 = sub_81D38D4();
buffer2->numFloors = (ttdata->count + 1) / 2;
@@ -456,13 +456,13 @@ static bool32 TryWriteTrainerHill_r(struct EReaderTrainerHillSet *ttdata, struct
{
if (!(i & 1))
{
- buffer2->floors[i / 2].unk0 = ttdata->unk_8[i].unk0;
+ buffer2->floors[i / 2].trainerNum1 = ttdata->unk_8[i].unk0;
buffer2->floors[i / 2].display = ttdata->unk_8[i].unk14C;
buffer2->floors[i / 2].trainers[0] = ttdata->unk_8[i].unk4;
}
else
{
- buffer2->floors[i / 2].unk1 = ttdata->unk_8[i].unk0;
+ buffer2->floors[i / 2].trainerNum2 = ttdata->unk_8[i].unk0;
buffer2->floors[i / 2].trainers[1] = ttdata->unk_8[i].unk4;
}
}