diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-10-08 00:19:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-08 00:19:55 -0400 |
commit | a8e5ece1131cae2a3148f697e3955f41ed44031c (patch) | |
tree | 83c9daa83ec91c44467c4b31cd959114e1b66267 /src/dodrio_berry_picking.c | |
parent | 001a25e49cd6acdac89a62f4230aef80422e78f2 (diff) | |
parent | cacd6410bf25072e779c3c43a813816fee4e08bd (diff) |
Merge pull request #1510 from GriffinRichards/clean-roamer
Clean up roamer.c
Diffstat (limited to 'src/dodrio_berry_picking.c')
-rw-r--r-- | src/dodrio_berry_picking.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/dodrio_berry_picking.c b/src/dodrio_berry_picking.c index c69ef9267..e5ff1d184 100644 --- a/src/dodrio_berry_picking.c +++ b/src/dodrio_berry_picking.c @@ -517,21 +517,21 @@ static const u8 sDodrioNeighborMap[MAX_RFU_PLAYERS][MAX_RFU_PLAYERS][3] = }, }; -#define __ 9 // No player at this column. This may go out of bounds if this is returned +#define x 9 // No player at this column. This may go out of bounds if this is returned // Takes the number of players and a column and returns the player id at that column. // Note that the assignment is somewhat arbitrary as players share neighboring columns. ALIGNED(4) static const u8 sPlayerIdAtColumn[MAX_RFU_PLAYERS][NUM_BERRY_COLUMNS] = { - {__, __, __, __, 1, 1, 1, __, __, __, __}, // 1 player - {__, __, __, 0, 0, 1, 1, 0, __, __, __}, // 2 players - {__, __, 2, 2, 0, 0, 1, 1, 1, __, __}, // 3 players - {__, 3, 3, 0, 0, 1, 1, 2, 2, 3, __}, // 4 players - { 3, 3, 4, 4, 0, 0, 1, 1, 2, 2, 3}, // 5 players + {x, x, x, x, 1, 1, 1, x, x, x, x}, // 1 player + {x, x, x, 0, 0, 1, 1, 0, x, x, x}, // 2 players + {x, x, 2, 2, 0, 0, 1, 1, 1, x, x}, // 3 players + {x, 3, 3, 0, 0, 1, 1, 2, 2, 3, x}, // 4 players + {3, 3, 4, 4, 0, 0, 1, 1, 2, 2, 3}, // 5 players }; -#undef __ +#undef x // Each array contains the columns that belong solely to one player, dependent on the number of players // When determing how difficult the berries in a column should be, the highest |