mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 23:13:42 +02:00
Add comment explaining bang
This commit is contained in:
parent
bd7de61a56
commit
eb8c0c0243
@ -4565,6 +4565,7 @@ export abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||
try {
|
||||
SoundFade.fadeOut(scene, cry, fixedInt(Math.ceil(duration * 0.2)));
|
||||
fusionCry = this.getFusionSpeciesForm(undefined, true).cry({
|
||||
// Typescript's type checker doesn't handle using and assigning to the same variable in one line correctly.
|
||||
seek: Math.max(fusionCry!.totalDuration * 0.4, 0),
|
||||
...soundConfig,
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user