Update src/data/battle-anims.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
This commit is contained in:
ImperialSympathizer 2024-07-19 17:26:40 -04:00 committed by GitHub
parent 12cd014e11
commit 9bcaf6a336
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -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;