mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-24 07:23:24 +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 {
|
try {
|
||||||
SoundFade.fadeOut(scene, cry, fixedInt(Math.ceil(duration * 0.2)));
|
SoundFade.fadeOut(scene, cry, fixedInt(Math.ceil(duration * 0.2)));
|
||||||
fusionCry = this.getFusionSpeciesForm(undefined, true).cry({
|
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),
|
seek: Math.max(fusionCry!.totalDuration * 0.4, 0),
|
||||||
...soundConfig,
|
...soundConfig,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user