mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-02-21 19:54:14 +01:00
Shifts to mult in ShowBonus
This commit is contained in:
parent
117b90a261
commit
763724a980
@ -3894,8 +3894,8 @@ static void DrawPlayerNameWindows(void)
|
|||||||
static void ShowBonus(u8 bonusId)
|
static void ShowBonus(u8 bonusId)
|
||||||
{
|
{
|
||||||
sPokemonJumpGfx->bonusTimer = 0;
|
sPokemonJumpGfx->bonusTimer = 0;
|
||||||
ChangeBgX(BG_BONUSES, (bonusId / 2) << 16, 0);
|
ChangeBgX(BG_BONUSES, (bonusId / 2) * 256 * 256, 0);
|
||||||
ChangeBgY(BG_BONUSES, (((bonusId % 2) << 8) - 40) << 8, 0);
|
ChangeBgY(BG_BONUSES, (((bonusId % 2) * 256) - 40) * 256, 0);
|
||||||
ShowBg(BG_BONUSES);
|
ShowBg(BG_BONUSES);
|
||||||
CreateTask(Task_UpdateBonus, 4);
|
CreateTask(Task_UpdateBonus, 4);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user