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;
|
let t = 0;
|
||||||
|
|
||||||
for (const frame of frames) {
|
for (const frame of frames) {
|
||||||
let x = frame.x;
|
let { x , y } = frame;
|
||||||
let y = frame.y;
|
|
||||||
const scaleX = (frame.zoomX / 100) * (!frame.mirror ? 1 : -1);
|
const scaleX = (frame.zoomX / 100) * (!frame.mirror ? 1 : -1);
|
||||||
const scaleY = (frame.zoomY / 100);
|
const scaleY = (frame.zoomY / 100);
|
||||||
x += targetInitialX;
|
x += targetInitialX;
|
||||||
|
|
Loading…
Reference in New Issue