Go to file
Bertie690 6c03181621
[Bug] Refactored status code, fixed Rest/Sleep Talk status checks (#5872)
* Reworked status code, fixed bugs and added Rest tests

* Fixed rest bug

* Fixed bugs, split up status code, re-added required Rest parameter

* Cleaned up comments and such

* Added edge case to rest about locales

* Maybe did stuff

* Split up `trySetStatus` fully; fixed rest turn order display to match mainline

* Reverted healing changes to move to other PR

* Fixed message code a bit

* Condensed all status immunity tests under 1 roof

* Fixed the tests

* Added pollen puff tests back again

* Fixed swallow test

* Reverted swallow test

fixing in other prs

* Fixed pollen puff

* Fixed cirrc dep isuse

* fixed stockpile to no longer fail on stack full

* Fixed rest thing...?

* readded swallow conds

* Fixed tests

* wip

* Fixed tests

* Added pokemon heal phase to the turn queue

* ddddd

* Fixed the tests

* Fixed corrosion test

* Ran linting

* Fixed infiltrator bug

* Fix pokemon.ts

* Update move.ts

* Update corrosion.test.ts

* Update pokemon.ts documentation

* Remove missed line in TSDocs

* Update pokemon.ts

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>

* Update modifier.ts

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>

* Update modifier.ts

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>

* Update obtain-status-effect-phase.ts

* Fix merge issues and apply Biome

* Revert pokemon-heal-phase.ts

* ddddd

* Fixed test file syntax err

* Update toxic spikes status set text to be quiet

* ran biome

* ran boime

* Prevent rest failure message from displaying outside of move phase

---------

Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-08-20 08:45:09 -05:00
.devcontainer [Dev] Added devcontainer.json and VS code config files (#6190) 2025-08-17 13:26:20 -07:00
.github [GitHub] Update .github/CODEOWNERS file (#6240) 2025-08-09 03:18:40 +00:00
.vscode [Dev] Added devcontainer.json and VS code config files (#6190) 2025-08-17 13:26:20 -07:00
docs [Docs] Add locale key naming info to localization.md (#6260) 2025-08-14 01:12:00 +00:00
public [i18n] Change i18n keys to be camel case Part 4 (#6290) 2025-08-19 13:17:23 -07:00
scripts [Test] Add support for custom boilerplates to create-test.js (#6158) 2025-07-28 18:51:43 +00:00
src [Bug] Refactored status code, fixed Rest/Sleep Talk status checks (#5872) 2025-08-20 08:45:09 -05:00
test [Bug] Refactored status code, fixed Rest/Sleep Talk status checks (#5872) 2025-08-20 08:45:09 -05:00
.dependency-cruiser.cjs [Dev] Migrate from npm to pnpm (#6018) 2025-06-23 17:05:59 -07:00
.editorconfig [Misc] add .editorconfig (#5246) 2025-02-03 18:55:44 +01:00
.env Beta Merge 27/07 (#3141) 2024-07-28 00:47:00 +01:00
.env.beta [Misc] Disable some leftover debug code (#4546) 2024-10-02 13:13:16 -04:00
.env.development [Test] Reworked crit override to allow for forced crits (#5738) 2025-06-16 05:36:09 -07:00
.env.production Beta Merge 27/07 (#3141) 2024-07-28 00:47:00 +01:00
.env.test Beta Merge 27/07 (#3141) 2024-07-28 00:47:00 +01:00
.gitattributes [Misc] Add * -crlf to .gitattributes (#5539) 2025-03-18 21:52:49 -04:00
.gitignore [Dev] Added devcontainer.json and VS code config files (#6190) 2025-08-17 13:26:20 -07:00
.gitmodules [Refactor] External locales (#4529) 2024-10-01 23:41:09 +01:00
.ls-lint.yml [Dev] Added devcontainer.json and VS code config files (#6190) 2025-08-17 13:26:20 -07:00
.nvmrc [Dev][GitHub] Update to node 22 (#5586) 2025-04-14 12:37:26 -05:00
biome.jsonc [Dev] Added devcontainer.json and VS code config files (#6190) 2025-08-17 13:26:20 -07:00
CONTRIBUTING.md [Dev] Added devcontainer.json and VS code config files (#6190) 2025-08-17 13:26:20 -07:00
CREDITS.md [Audio] Add new Wasteland BGM track (#6285) 2025-08-18 09:27:37 -04:00
favicon.ico Replace favicon with no BG version 2024-03-25 12:45:45 -04:00
global.d.ts [Test] Port over + augment remaining test matchers from pkty (#6159) 2025-08-02 15:35:06 -07:00
index.css [UI/UX] Autofill login text color changed to gray (#5523) 2025-03-25 18:06:28 -07:00
index.html [Misc] Remove debug.js reference from index.html 2025-06-07 17:37:09 -07:00
lefthook.yml [Misc] Standardize-file-names (#6137) 2025-07-24 16:38:31 -04:00
LICENSE Update license to AGPL 3 2024-03-25 19:22:58 -04:00
package.json [Dev] Remove obsolete ESLint commands from package.json 2025-08-16 15:17:43 -07:00
pnpm-lock.yaml [Bug] [Beta] Fix renaming runs (#6268) 2025-08-14 16:57:01 -05:00
pnpm-workspace.yaml [Dev] Remove warnings from pnpm interactions (#6061) 2025-07-04 04:08:53 +00:00
README.md [Misc] Add CONTRIBUTING.md and rewrite README.md (#5621) 2025-06-20 23:59:28 -07:00
tsconfig.json [Dev] Moved type helpers to separate directory; (#6123) 2025-07-30 18:17:17 -07:00
tsdoc.json [Docs] Add @module modifier tag to tsdoc.json 2025-07-27 18:03:34 -07:00
typedoc.json [Dev] Move typedoc settings to typedoc.json and add tsdoc.json 2025-07-15 23:28:02 -07:00
vite.config.ts [Misc][Refactor][GitHub] Ditch eslint for biome, and add a formatter (#5495) 2025-03-09 14:13:25 -07:00
vitest.config.ts [Test] Added custom equality matchers (#6157) 2025-07-27 20:16:04 +00:00

PokéRogue

PokéRogue is a browser based Pokémon fangame heavily inspired by the roguelite genre. Battle endlessly while gathering stacking items, exploring many different biomes, fighting trainers, bosses, and more!

Contributing

See CONTRIBUTING.md, this includes instructions on how to set up the game locally.

📝 Credits

If this project contains assets you have produced and you do not see your name, please reach out, either here on GitHub or via Discord.

Thank you to all the wonderful people that have contributed to the PokéRogue project! You can find the credits here.