Skip to content

Commit 1411ee7

Browse files
committed
Make parties 11-15 configurable in NA
Fixes #2155
1 parent a004c74 commit 1411ee7

File tree

2 files changed

+2
-1
lines changed
  • app/src/main/java/io/github/fate_grand_automata/ui/battle_config_item
  • scripts/src/main/java/io/github/fate_grand_automata/scripts/locations

2 files changed

+2
-1
lines changed

app/src/main/java/io/github/fate_grand_automata/ui/battle_config_item/PartySelection.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ fun PartySelection(config: BattleConfigCore) {
3939
val isSelectionExtended by remember {
4040
derivedStateOf {
4141
when (server.asGameServer()) {
42-
null, is GameServer.Jp, GameServer.Cn -> true
42+
null, is GameServer.Jp, GameServer.Cn, is GameServer.En -> true
4343
else -> false
4444
}
4545
}

scripts/src/main/java/io/github/fate_grand_automata/scripts/locations/Locations.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class Locations @Inject constructor(
2222
) : IScriptAreaTransforms by scriptAreaTransforms {
2323

2424
// 9th anniversary changes the repeat screen and extends to 15 parties
25+
// don't forget to edit PartySelection.isSelectionExtended as well
2526
private val afterAnni9 = gameServer is GameServer.Jp || gameServer is GameServer.Cn || gameServer is GameServer.En
2627

2728
val continueRegion = if (afterAnni9)

0 commit comments

Comments
 (0)