Document/sync misc remaining symbols
This commit is contained in:
+2
-2
@@ -659,7 +659,7 @@ static const u32 sBg_Tilemap[] = INCBIN_U32("graphics/berry_crush/bg.bin.lz");
|
||||
|
||||
// Takes the number of players - 2 and a player id and returns the
|
||||
// index into sPlayerCoords where that player should be seated
|
||||
static const u8 gUnknown_846F280[MAX_RFU_PLAYERS - 1][MAX_RFU_PLAYERS] = {
|
||||
static const u8 sPlayerIdToPosId[MAX_RFU_PLAYERS - 1][MAX_RFU_PLAYERS] = {
|
||||
{1, 3},
|
||||
{0, 1, 3},
|
||||
{1, 3, 2, 4},
|
||||
@@ -3221,7 +3221,7 @@ static void CreatePlayerNameWindows(struct BerryCrushGame * game)
|
||||
|
||||
for (i = 0; i < game->playerCount; ++i)
|
||||
{
|
||||
game->gfx.playerCoords[i] = &sPlayerCoords[gUnknown_846F280[game->playerCount - 2][i]];
|
||||
game->gfx.playerCoords[i] = &sPlayerCoords[sPlayerIdToPosId[game->playerCount - 2][i]];
|
||||
game->gfx.nameWindowIds[i] = AddWindow(&sWindowTemplates_PlayerNames[game->gfx.playerCoords[i]->playerId]);
|
||||
PutWindowTilemap(game->gfx.nameWindowIds[i]);
|
||||
FillWindowPixelBuffer(game->gfx.nameWindowIds[i], PIXEL_FILL(0));
|
||||
|
||||
Reference in New Issue
Block a user