diff --git a/src/display/structs.rs b/src/display/structs.rs index 85254ae..d7995a6 100644 --- a/src/display/structs.rs +++ b/src/display/structs.rs @@ -43,8 +43,8 @@ impl Sprite { pub fn load(buf: &[u8]) -> Self { assert!(buf.len() >= 4); Self { - x: buf[0], - y: buf[1], + x: buf[1], + y: buf[0], tile: buf[2], flags: buf[3], }