mirror of
https://github.com/rh-hideout/pokeemerald-expansion.git
synced 2026-03-21 18:04:50 -05:00
Merge 86890912b3 into 47cac73a61
This commit is contained in:
commit
4f5e71d692
|
|
@ -1000,15 +1000,6 @@ static void Cmd_waitforvisualfinish(void)
|
|||
{
|
||||
sBattleAnimScriptPtr++;
|
||||
sAnimFramesToWait = 0;
|
||||
|
||||
// Assets can be safely unloaded at the end of waitforvisualfinish
|
||||
// since it's guaranteed that nothing is currently using the assets
|
||||
// by definition here.
|
||||
// Only palettes are unloaded since that's what's usually hitting limits
|
||||
// and is very quick to load again if needed.
|
||||
// Unloading tile allocation was tested, but that did measurably increase
|
||||
// the time it took to run animation tests
|
||||
UnloadAllSpritePalettes();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user