summaryrefslogtreecommitdiff
path: root/src/field/pokeblock.c
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2018-01-17 19:31:23 -0500
committerProjectRevoTPP <projectrevotpp@hotmail.com>2018-01-17 19:31:23 -0500
commit2869160d630f569110ca895ff924070d626fd54b (patch)
tree3599a6c1a5de390a852828d6f918f643e2befa8b /src/field/pokeblock.c
parent093422f3065ed47db9a475b0c9d67e9c5bc2c364 (diff)
use Defvars instead of some Dma macros and hopefully last while(1)s
Diffstat (limited to 'src/field/pokeblock.c')
-rw-r--r--src/field/pokeblock.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/field/pokeblock.c b/src/field/pokeblock.c
index 31bdcc398..e08a65f49 100644
--- a/src/field/pokeblock.c
+++ b/src/field/pokeblock.c
@@ -228,14 +228,10 @@ static void sub_810B674(void)
static void sub_810B68C(void)
{
- u16 *src;
- vu16 *dest;
LoadOam();
ProcessSpriteCopyRequests();
TransferPlttBuffer();
- src = gBGTilemapBuffers[2];
- dest = (vu16 *)(VRAM + 0x7800);
- DmaCopy16(3, src, dest, sizeof gBGTilemapBuffers[2]);
+ DmaCopy16Defvars(3, gBGTilemapBuffers[2], (void *)(VRAM + 0x7800), sizeof gBGTilemapBuffers[2]);
}
static bool8 sub_810B6C0(void)