mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-27 01:06:09 +00:00
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
Block a user