summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-02-26 21:13:16 -0500
committerGriffinR <griffin.g.richards@gmail.com>2021-02-26 21:13:16 -0500
commit763724a98046c81da15dd5a5877ad30adb8129ba (patch)
tree5951a433a35f46ed9c3d6dbf85cfdf1105b1ffdf /src
parent117b90a2610438df4c3f8b72d2fe9147f34dc2a4 (diff)
Shifts to mult in ShowBonus
Diffstat (limited to 'src')
-rwxr-xr-xsrc/pokemon_jump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pokemon_jump.c b/src/pokemon_jump.c
index e69473d01..e53efd7ac 100755
--- a/src/pokemon_jump.c
+++ b/src/pokemon_jump.c
@@ -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);
}