summaryrefslogtreecommitdiff
path: root/src/dodrio_berry_picking.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dodrio_berry_picking.c')
-rw-r--r--src/dodrio_berry_picking.c14
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