summaryrefslogtreecommitdiff
path: root/src/rom_8077ABC.c
diff options
context:
space:
mode:
authorMarco Willems (M17.1) <progreon@gmail.com>2018-01-16 02:24:40 +0100
committerMarco Willems (M17.1) <progreon@gmail.com>2018-01-16 02:24:40 +0100
commit35f04db27cd4d5689c6498ba80eaeb695f973ebc (patch)
tree2ffd3d1eb500b5ee47c79b2dab01092b942f8c82 /src/rom_8077ABC.c
parentaf35c8e429c09197eb46346696792ad89bf0c7d3 (diff)
Continuing testing with OBJ_VRAM0, all replaced with OBJ_VRAM0_TEMP now
Diffstat (limited to 'src/rom_8077ABC.c')
-rw-r--r--src/rom_8077ABC.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rom_8077ABC.c b/src/rom_8077ABC.c
index 2b5a3c036..c1304cfb9 100644
--- a/src/rom_8077ABC.c
+++ b/src/rom_8077ABC.c
@@ -1949,7 +1949,8 @@ u8 sub_8079F44(u16 species, u8 isBackpic, u8 a3, s16 a4, s16 a5, u8 a6, u32 a7,
);
}
- DmaCopy32Defvars(3, (void *)0x2000000, (void *)(VRAM + 0x10000 + (sheet * 0x20)), 0x800);
+ // DmaCopy32Defvars(3, (void *)0x2000000, (void *)(OBJ_VRAM0 + (sheet * 0x20)), 0x800);
+ DmaCopy32Defvars(3, (void *)0x2000000, (void *) &OBJ_VRAM0_TEMP[sheet], 0x800);
if (!isBackpic)
sprite = CreateSprite(&gSpriteTemplate_837F5B0[a3], a4, a5 + gMonFrontPicCoords[species].y_offset, a6);