Shifts to mult in ShowBonus

This commit is contained in:
GriffinR 2021-02-26 21:13:16 -05:00
parent 117b90a261
commit 763724a980

View File

@ -3894,8 +3894,8 @@ static void DrawPlayerNameWindows(void)
static void ShowBonus(u8 bonusId)
{
sPokemonJumpGfx->bonusTimer = 0;
ChangeBgX(BG_BONUSES, (bonusId / 2) << 16, 0);
ChangeBgY(BG_BONUSES, (((bonusId % 2) << 8) - 40) << 8, 0);
ChangeBgX(BG_BONUSES, (bonusId / 2) * 256 * 256, 0);
ChangeBgY(BG_BONUSES, (((bonusId % 2) * 256) - 40) * 256, 0);
ShowBg(BG_BONUSES);
CreateTask(Task_UpdateBonus, 4);
}