Add form change animation and additional final boss changes
This commit is contained in:
1 parent
052564f902
commit
40d2c200a4
6 files changed
+105
-15
No files matched your search
@@ -760,8 +760,8 @@ export abstract class BattleAnim {
|
||||
if (isUser && target === user)
|
||||
continue;
|
||||
const sprites = spriteCache[isUser ? AnimFrameTarget.USER : AnimFrameTarget.TARGET];
|
||||
const spriteSource = isUser ? userSprite : targetSprite;
|
||||
if ((isUser ? u : t) === sprites.length) {
|
||||
const spriteSource = isUser ? userSprite : targetSprite;
|
||||
let sprite: Phaser.GameObjects.Sprite;
|
||||
sprite = scene.addFieldSprite(0, 0, spriteSource.texture, spriteSource.frame.name);
|
||||
sprite.setPipeline(scene.spritePipeline, { tone: [ 0.0, 0.0, 0.0, 0.0 ], hasShadow: true });
|
||||
@@ -772,12 +772,12 @@ export abstract class BattleAnim {
|
||||
}
|
||||
|
||||
const spriteIndex = isUser ? u++ : t++;
|
||||
const pokemonSprite = sprites[spriteIndex];
|
||||
const pokemonSprite = sprites[spriteIndex];
|
||||
const graphicFrameData = frameData.get(frame.target).get(spriteIndex);
|
||||
pokemonSprite.setPosition(graphicFrameData.x, graphicFrameData.y);
|
||||
pokemonSprite.setPosition(graphicFrameData.x, graphicFrameData.y - ((spriteSource.height / 2) * (spriteSource.parentContainer.scale - 1)));
|
||||
|
||||
pokemonSprite.setAngle(graphicFrameData.angle);
|
||||
pokemonSprite.setScale(graphicFrameData.scaleX, graphicFrameData.scaleY);
|
||||
pokemonSprite.setScale(graphicFrameData.scaleX * spriteSource.parentContainer.scale, graphicFrameData.scaleY * spriteSource.parentContainer.scale);
|
||||
|
||||
pokemonSprite.setData('locked', frame.locked);
|
||||
|
||||
|
||||
@@ -257,7 +257,7 @@ export const battleSpecDialogue = {
|
||||
$Each cycle your mind reverts to its former state.\nEven so, somehow, remnants of your former selves remain.
|
||||
$Until now you have yet to succeed, but I sense a different presence in you this time.\n
|
||||
$You are the only one here, though it is as if there is… another.
|
||||
$Will you finally prove a formidable challenge to me?\nThe challenge I have longed for for millenia?
|
||||
$Will you finally prove a formidable challenge to me?\nThe challenge I have longed for for millennia?
|
||||
$We begin.`,
|
||||
firstStageWin: `I see. The presence I felt was indeed real.\nIt appears I no longer need to hold back.
|
||||
$Do not disappoint me.`,
|
||||
|
||||
Reference in new issue
Block a user