[Bug] Allow fainted Pokemon to be released post-battle in hardcore

https://github.com/pagefaultgames/pokerogue/pull/6723
This commit is contained in:
NightKev 2025-10-30 20:14:31 -07:00 committed by GitHub
parent a48952e354
commit 9ea5a014a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1586,9 +1586,8 @@ export class PartyUiHandler extends MessageUiHandler {
this.updateOptionsWithModifierTransferMode(pokemon);
break;
case PartyUiMode.SWITCH:
this.options.push(PartyOption.RELEASE);
break;
case PartyUiMode.RELEASE:
case PartyUiMode.CHECK:
this.options.push(PartyOption.RELEASE);
break;
}