mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-22 07:06:41 +11:00
make combo movement faster as the old bug has been fixed
This commit is contained in:
parent
549c90b746
commit
b0f9e65d66
1 changed files with 1 additions and 2 deletions
|
@ -95,8 +95,7 @@ fn get_game(gba: &mut agb::Gba) -> Game {
|
|||
position.x = Num::new(game_idx * 30 * 8);
|
||||
}
|
||||
|
||||
position.x +=
|
||||
((Num::new(game_idx * 30 * 8) - position.x) / 8).clamp(-Num::new(8), Num::new(8));
|
||||
position.x += (Num::new(game_idx * 30 * 8) - position.x) / 8;
|
||||
|
||||
bg.set_pos(&mut vram, position.floor());
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue