feat(codegen): generate the decomp trainers and their parties (#115)

This commit is contained in:
Fiereu authored and GitHub committed 2026-08-08 21:06:24 +02:00
1 parent a6ee4bc91d
commit 457f21c17f
14 files changed
+429 -10

No files matched your search

@@ -1,6 +1,7 @@
package de.fiereu.openmmo.server.game.services
import de.fiereu.network.SessionContext
import de.fiereu.openmmo.common.MAX_PARTY_SIZE
import de.fiereu.openmmo.common.Pokemon
import de.fiereu.openmmo.common.PokemonMove
import de.fiereu.openmmo.common.enums.PokemonContainer
@@ -103,7 +104,6 @@ constructor(
} + List((MAX_MOVES - moveIds.size).coerceAtLeast(0)) { PokemonMove(0, 0) }
private companion object {
const val MAX_PARTY_SIZE = 6
const val MAX_MOVES = 4
}
}