mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-03-08 08:27:52 +01:00
use_pokeblock: fakematch fix.
I am beginning to suspect that we should be using the gflib DMA macros everywhere wherever possible.
This commit is contained in:
parent
f952144922
commit
327dd877b5
@ -1,5 +1,6 @@
|
||||
#include "global.h"
|
||||
#include "main.h"
|
||||
#include "dma3.h"
|
||||
#include "pokeblock.h"
|
||||
#include "malloc.h"
|
||||
#include "decompress.h"
|
||||
@ -1240,8 +1241,7 @@ static void UpdateMonPic(u8 loadId)
|
||||
}
|
||||
else
|
||||
{
|
||||
do {} while(0); // Only needed to match, feel free to remove.
|
||||
DmaCopy16Defvars(3, sMenu->partySheets[loadId], sMenu->curMonTileStart, 0x800);
|
||||
Dma3CopyLarge16_(sMenu->partySheets[loadId], sMenu->curMonTileStart, 0x800);
|
||||
LoadPalette(sMenu->partyPalettes[loadId], sMenu->curMonPalette, 32);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user