diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-02-26 21:13:16 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-02-26 21:13:16 -0500 |
commit | 763724a98046c81da15dd5a5877ad30adb8129ba (patch) | |
tree | 5951a433a35f46ed9c3d6dbf85cfdf1105b1ffdf /src | |
parent | 117b90a2610438df4c3f8b72d2fe9147f34dc2a4 (diff) |
Shifts to mult in ShowBonus
Diffstat (limited to 'src')
-rwxr-xr-x | src/pokemon_jump.c | 4 |
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); } |