Use HFLIP, VFLIP

This commit is contained in:
PikalaxALT
2019-08-09 20:31:24 -04:00
committed by huderlem
parent a46f7952f9
commit f7cf4fa154
10 changed files with 25 additions and 21 deletions

View File

@@ -667,9 +667,9 @@ static void sub_810A75C(struct Sprite *sprite)
sprite->oam.tileNum += gBattleAnimArgs[3] * 4;
if (gBattleAnimArgs[3] == 1)
sprite->oam.matrixNum = 8;
sprite->oam.matrixNum = ST_OAM_MNUM_HFLIP;
else if (gBattleAnimArgs[3] == 2)
sprite->oam.matrixNum = 16;
sprite->oam.matrixNum = ST_OAM_MNUM_VFLIP;
sprite->data[0] = gBattleAnimArgs[2];
sprite->callback = WaitAnimForDuration;