Fix warnings and remove debug logs

This commit is contained in:
Gwilym Kuiper 2022-08-11 23:49:27 +01:00
parent ff89f7f425
commit 97e3948f32

View file

@ -6,7 +6,7 @@ use agb::{
tiled::{AffineBackgroundSize, TileFormat, TileSet, TiledMap}, tiled::{AffineBackgroundSize, TileFormat, TileSet, TiledMap},
Priority, Priority,
}, },
fixnum::{num, Num}, fixnum::num,
include_gfx, include_gfx,
input::Tri, input::Tri,
}; };
@ -54,7 +54,6 @@ fn main(mut gba: agb::Gba) -> ! {
}; };
let new_scroll_pos = bg.scroll_pos() + x_dir + y_dir; let new_scroll_pos = bg.scroll_pos() + x_dir + y_dir;
agb::println!("{:?}", new_scroll_pos);
bg.set_scroll_pos(new_scroll_pos); bg.set_scroll_pos(new_scroll_pos);
bg.set_transform((0i16, 0i16).into(), (1, 1).into(), rotation); bg.set_transform((0i16, 0i16).into(), (1, 1).into(), rotation);