mag bank truncation logic
This commit is contained in:
parent
b0be92cb50
commit
b1a9e71f4b
@ -1038,7 +1038,10 @@ impl Mag {
|
||||
}
|
||||
|
||||
pub fn bank(&mut self) {
|
||||
// what is the truncation logic anyway
|
||||
self.def = self.def & 0xFFFE;
|
||||
self.pow = self.pow & 0xFFFE;
|
||||
self.dex = self.dex & 0xFFFE;
|
||||
self.mind = self.mind & 0xFFFE;
|
||||
}
|
||||
|
||||
// TODO: this needs more checks on validity
|
||||
|
Loading…
x
Reference in New Issue
Block a user