better match
This commit is contained in:
parent
5ae5cf110d
commit
5d5327c0b7
1 changed files with 7 additions and 7 deletions
|
@ -5443,14 +5443,14 @@ static void DrawWallpaper(const void *tilemap, s8 direction, u8 offset)
|
||||||
|
|
||||||
CopyRectToBgTilemapBufferRect(2, tilemap, 0, 0, 0x14, 0x12, x, 2, 0x14, 0x12, 0x11, var, var2);
|
CopyRectToBgTilemapBufferRect(2, tilemap, 0, 0, 0x14, 0x12, x, 2, 0x14, 0x12, 0x11, var, var2);
|
||||||
|
|
||||||
if (direction)
|
if (direction == 0)
|
||||||
{
|
return;
|
||||||
if (direction > 0)
|
if (direction > 0)
|
||||||
x += 0x14;
|
x += 0x14;
|
||||||
else
|
else
|
||||||
x -= 4;
|
x -= 4;
|
||||||
|
|
||||||
FillBgTilemapBufferRect(2, 0, x, 2, 4, 0x12, 0x11);
|
FillBgTilemapBufferRect(2, 0, x, 2, 4, 0x12, 0x11);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void TrimOldWallpaper(void *tilemap)
|
static void TrimOldWallpaper(void *tilemap)
|
||||||
|
|
Loading…
Reference in a new issue