r/Modding • u/No_Assumption_1489 • 10d ago
Question Adding a forced level cap to a pokemon game
I am in the process of modding Pokemon Sword using PKNX, and I’d like to add a forced level cap if possible. With very brief research, I see that I cannot do that with just PKNX. If it is possible, how would I go about adding a forced level cap into the game?
2
Upvotes
1
u/Bluetails_Buizel 5d ago
Short answer: not with pkNX alone. pkNX edits RomFS data (trainers, encounters, items, text), and the level cap logic isn't stored there. The EXP gain and level-up flow is handled in the game's executable (ExeFS), so a forced cap needs a code mod, not a data edit.
Some context: vanilla SwSh's badge-based "level cap" is only an obedience/catch limit, not a hard cap. One of the established hacks (Divine Sword & Blessed Shield) says outright in its release thread that they couldn't force a level cap within the game's limits. Back then it wasn't really doable without code patching. Someone asked the same question on Project Pokemon (editing the 20/25/30/.../55 caps) and got no replies.
What exists now:
Practical notes:
Sources:
https://github.com/JonatanUHC/PokeFeurRandomSWSH
https://www.nexusmods.com/pokemonswordandshield/mods/14
https://github.com/Lincoln-LM/swsh-mods-exl
https://github.com/shadowninja108/exlaunch
https://gbatemp.net/threads/pokemon-divine-sword-blessed-shield-version-1-1-major-update-exp-candies-return.590250/
https://projectpokemon.org/home/forums/topic/59598-swsh-remove-adjust-level-cap
https://projectpokemon.org/home/profile/155634-matroskin/content/
https://projectpokemon.org/tutorials/rom/switch-pokemon-games-hacking-tutorials_158/
https://fearlessrevolution.com/viewtopic.php?t=15399
~Researched by Claude Opus 5.5