palbank for objects

This commit is contained in:
Lokathor 2022-12-22 21:10:18 -07:00
parent ae15ae9b5b
commit a90cfdab3b

View file

@ -153,4 +153,8 @@ impl ObjAttr {
pub fn set_tile_id(&mut self, id: u16) {
self.2 = self.2.with_tile_id(id);
}
#[inline]
pub fn set_palbank(&mut self, palbank: u16) {
self.2 = self.2.with_palbank(palbank);
}
}