Update src/data/battle-anims.ts
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
This commit is contained in:
parent
12cd014e11
commit
9bcaf6a336
|
@ -1038,8 +1038,7 @@ export abstract class BattleAnim {
|
|||
let t = 0;
|
||||
|
||||
for (const frame of frames) {
|
||||
let x = frame.x;
|
||||
let y = frame.y;
|
||||
let { x , y } = frame;
|
||||
const scaleX = (frame.zoomX / 100) * (!frame.mirror ? 1 : -1);
|
||||
const scaleY = (frame.zoomY / 100);
|
||||
x += targetInitialX;
|
||||
|
|
Loading…
Reference in New Issue