diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2022-01-20 08:53:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 08:53:44 -0500 |
commit | 062cdbe01cbbce5845daba7d1b880c716f3beff8 (patch) | |
tree | 7463417af8ba761ca59d5942bde1861201887a63 /src/berry_crush.c | |
parent | a7e6045d71d2d21c4fa5a494d112c6b38226eaec (diff) | |
parent | bd43b905b7ce5489224d3a2144504df6f7687f1f (diff) |
Merge pull request #1599 from GriffinRichards/fix-tilemaps
Break up graphics/interface and graphics/misc
Diffstat (limited to 'src/berry_crush.c')
-rwxr-xr-x | src/berry_crush.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/berry_crush.c b/src/berry_crush.c index 9b8323e2d..e7a5df951 100755 --- a/src/berry_crush.c +++ b/src/berry_crush.c @@ -1947,15 +1947,15 @@ static void DrawPlayerNameWindows(struct BerryCrushGame *game) static void CopyPlayerNameWindowGfxToBg(struct BerryCrushGame *game) { u8 i = 0; - u8 * crusherGfx; + u8 * windowGfx; - LZ77UnCompWram(gBerryCrush_Crusher_Tilemap, gDecompressionBuffer); + LZ77UnCompWram(gBerryCrush_TextWindows_Tilemap, gDecompressionBuffer); - for (crusherGfx = gDecompressionBuffer; i < game->playerCount; i++) + for (windowGfx = gDecompressionBuffer; i < game->playerCount; i++) { CopyToBgTilemapBufferRect( 3, - &crusherGfx[game->gfx.playerCoords[i]->playerId * 40], + &windowGfx[game->gfx.playerCoords[i]->playerId * 40], game->gfx.playerCoords[i]->windowGfxX, game->gfx.playerCoords[i]->windowGfxY, 10, |