diff options
author | GriffinR <griffin.richards@comcast.net> | 2019-11-14 18:56:18 -0500 |
---|---|---|
committer | GriffinR <griffin.richards@comcast.net> | 2019-11-16 12:28:49 -0500 |
commit | fc3783b7395b25d290ec650d79fbdc80518046cd (patch) | |
tree | 13f1654408bf4af12b60f04bd6847fcc44a5fcaa /src/record_mixing.c | |
parent | ef8370566f14c22b9927db09b8ff69a98049c796 (diff) |
WIP Document apprentice
Diffstat (limited to 'src/record_mixing.c')
-rw-r--r-- | src/record_mixing.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/record_mixing.c b/src/record_mixing.c index 8a1e8b1ee..ac8c8a8a3 100644 --- a/src/record_mixing.c +++ b/src/record_mixing.c @@ -1113,14 +1113,14 @@ void GetPlayerHallRecords(struct PlayerHallRecords *dst) } } -static bool32 sub_80E841C(struct Apprentice *arg0, struct Apprentice *arg1) +static bool32 sub_80E841C(struct Apprentice *mixApprentice, struct Apprentice *apprentices) { s32 i; - for (i = 0; i < 4; i++) + for (i = 0; i < APPRENTICE_COUNT; i++) { - if (GetTrainerId(arg0->playerId) == GetTrainerId(arg1[i].playerId) - && arg0->number == arg1[i].number) + if (GetTrainerId(mixApprentice->playerId) == GetTrainerId(apprentices[i].playerId) + && mixApprentice->number == apprentices[i].number) { return TRUE; } |