Commit Graph

4828 Commits

Author SHA1 Message Date
damocleas
c80489460c
[Bug] [Balance] Fix Bouncy Bubble being a spread move, revert back to 100% drain effect (#5269) 2025-02-07 13:28:25 -07:00
Wlowscha
c88c9337dd
[Hotfix] Adding warning message for the maintenance (#5263)
* Adding warning message for the maintenance; needs localization

* Update src/ui/title-ui-handler.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Update language codes

* Add French translation

Co-authored-by: Lugiad <2070109+Adri1@users.noreply.github.com>

* Fix variable typo in French translation

* Add `zh-CN`

Co-authored-by: Lugiad' <2070109+Adri1@users.noreply.github.com>

* Add `zh-TW`

Co-authored-by: Lugiad' <2070109+Adri1@users.noreply.github.com>

* Add `ja`

Co-authored-by: Lugiad' <2070109+Adri1@users.noreply.github.com>

* Add `es-ES`

Co-authored-by: Lugiad' <2070109+Adri1@users.noreply.github.com>

* Improve date localization

* Specify 12h/24h time format for each language

* Mark the temporary announcement code with comments

* Add `ko`

Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>

* Move announcement box 10 pixels to the left

* Update korean translation

Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>

* Added German translation

Co-authored-by: Lugiad' <2070109+Adri1@users.noreply.github.com>

* Removed some useless spaces in maintenance message

* Reduced announcement font size by 2 px

* Adding italian, fixing japanese

* Use English message as placeholder for pt-BR for now

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Lugiad <2070109+Adri1@users.noreply.github.com>
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
2025-02-06 21:17:36 -07:00
Dean
574d181518 Update PreLeaveFieldAbAttr 2025-02-06 17:58:54 -08:00
Dean
8c82ced5d6 Merge branch 'beta' of https://github.com/pagefaultgames/pokerogue into ability_display 2025-02-06 17:54:04 -08:00
Dean
216a7c0fac Document apply and canApply 2025-02-06 17:34:54 -08:00
Wlowscha
6c4dedb73e
[Refactor/Bug] Pokemon.leaveField(), Fix Related Abilities (#5191)
* Added new AbAttr that triggers whenever a pokemon leaves the field

* Use leaveField everywhere

* Changing order for PreSwitchOutAbAttr

* Don't clearEffects when catching in a mystery encounter

* Attempts to make new overrides for testing

* New options in overrides

* Implemented tests for Desolate Land

* Fixing instruct test to not read turnData of fainted mon

* Removed post faint clear weather

* Apply suggestions from code review

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Has_passive_ability override now turns off passives if set to "false", defaults to "null"

* Updating overrides type definitions

* Apply suggestions from code review

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Suggestions from review

* Fixed strings in suggestions

* Simplified function to throw balls in tests

* Added tsdocs to overrideHelper.ts

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-02-06 18:37:50 -05:00
Chris
60990deaf2
[Bug] Update Biome text after using Teleporting Hijinks (#5173) 2025-02-06 14:14:28 -07:00
NightKev
f89e42fa7b
[Docs] Update CREDITS.md (#5257)
* [Docs] Update `CREDITS.md`

Add Xavion, condense dev team categories

* Move Dakurei and OrangeRed to dev team list

* Move sirzento to dev team list

* Add Navori, move Sam
2025-02-06 09:13:42 -06:00
Dean
6d7d5fc7d6 Merge branch 'ability_display' of https://github.com/emdeann/pokerogue into ability_display 2025-02-05 22:21:03 -08:00
Dean
7132ea4594
Merge branch 'pagefaultgames:beta' into ability_display 2025-02-05 22:20:46 -08:00
Dean
cde9f66b97 Committing overrides changes is bad 2025-02-05 21:45:31 -08:00
Dean
953a1e4652 Update abilities using promises and trySet... functions 2025-02-05 21:44:47 -08:00
NightKev
a7aebb0823
Silvally/Arceus should not change form without its ability (#4738)
Co-authored-by: damocleas <damocleas25@gmail.com>
2025-02-05 17:48:17 -06:00
NightKev
e5691f11a4
[Misc] Prevent auto-imports from appending .js to imports (#5256)
Also fixes `#enums` import not being recognized by auto-imports
2025-02-05 21:07:37 +01:00
Dean
17232d73b0 Add canApply for imposter 2025-02-05 02:09:17 -08:00
Dean
8c0d4da740 Fix ability bar showing the wrong ability with imposter 2025-02-05 02:08:05 -08:00
Dean
2b6a4ec89b Merge branch 'beta' of https://github.com/pagefaultgames/pokerogue into ability_display 2025-02-05 00:51:06 -08:00
Sirz Benjie
c363d2b93c
[Ability] Fully Implement Good as Gold (#5245)
* Fix good as gold

* Update good as gold tests with Kev's feedback
2025-02-04 21:28:49 -07:00
Wlowscha
8d043a9f55
[Refactor] Replace all instances of integer with number (#5250)
* Replaced instances of "integer" with "number"
2025-02-04 17:56:13 -07:00
Dean
617ff694d2 Ensure abilities which are mistakenly shown are still hidden 2025-02-04 11:51:50 -08:00
Sirz Benjie
0d1dacbc7a
[Bug] Fix softlock caused by shields down preventing faint status (#5252) 2025-02-03 20:21:49 -08:00
Wlowscha
91a4333e96
[Misc] New data structures for pokedex (#5223)
* Introducing catchableStarters in biomes.ts

* Introducing SpeciesTmMoves with a list of TM moves for each species

* speciesTmMoves now properly accounts for form-specific tms

* Removed argument from transverse function

* Adding types to passive abilities data structures

* Update tms.ts

* Update src/data/balance/passives.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

---------

Co-authored-by: damocleas <damocleas25@gmail.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-02-03 17:43:52 -08:00
Sirz Benjie
45f4bf3f13
[Misc] add .editorconfig (#5246)
* add .editorconfig

* add .js files to editorconfig, fix insert_final_newline

* Remove stray .editorconfig in src/tests
2025-02-03 18:55:44 +01:00
Wlowscha
3f71f79d7b
[Bug] Ensuring proper .getTypes() behavior with secondary Normal type (#5241)
* customPokemonData.types now accepts Type.UNKNOWN, ignores when determining type

* Changed test for clowning around encounter to look at getTypes() instead of directly accessing customData

* Simplifying logic for fusions when overrides are involved, introducing new tests in pokemon.test.ts

* Renamed overrideTypes to customTypes to avoid confusion with override

* pokemon.getType() properly recognizes Normal secondary type

* Added effectiveness test for ghost on normal

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-02-02 19:17:08 -07:00
Madmadness65
f5c4a205b4
[Sprites] Update many static trainer sprites (#5218)
* Update many static trainer sprites

* Replace BW Plasma Grunts with B2W2 Plasma Grunts

---------

Co-authored-by: damocleas <damocleas25@gmail.com>
2025-02-02 19:14:07 -07:00
Dean
fea2ce32cb Fix ability displays using getTriggerMessage 2025-02-02 16:36:18 -08:00
Dean
48da9aff20
Merge branch 'pagefaultgames:beta' into ability_display 2025-02-02 13:34:25 -08:00
Dean
28dafb6220 Rename to canApply 2025-02-02 13:28:47 -08:00
Wlowscha
9db2fb1617
Merge pull request #5238 from pagefaultgames/bgm-changes
[Audio] Update Team Plasma battle theme to B2W2 version
2025-02-02 22:05:49 +01:00
Dean
b7bcef903c Stop trace from displaying itself 2025-02-02 12:42:22 -08:00
Dean
9c9d550605 Fix intimidate display 2025-02-02 12:21:51 -08:00
Dean
aea1ee717b Bug fixes from test cases 2025-02-02 02:46:59 -08:00
Dean
7add8d84d6 Update PostItemLost 2025-02-02 00:20:33 -08:00
Dean
4e4d320bc9 Update postFaint 2025-02-02 00:18:40 -08:00
Dean
dba1993176 Update CheckTrapped and PostBattle 2025-02-02 00:11:43 -08:00
Dean
89e4912889 Update PostTerrainChange 2025-02-01 22:59:05 -08:00
Dean
25965b34c0 Update postWeatherChange 2025-02-01 22:55:46 -08:00
Dean
578052bdb0 Update postWeatherChange 2025-02-01 22:53:25 -08:00
Dean
cb7a1b6c7f Update postTurn and preWeatherEffect 2025-02-01 22:50:44 -08:00
Dean
33ceceacec Update PostStatStageChange, PreSetStatus, PreApplyBattlerTag 2025-02-01 21:49:48 -08:00
Dean
fa00a744f1 Update preStatStageChange 2025-02-01 21:38:52 -08:00
Dean
e65ae7dfe4 Update PreSwitchOut 2025-02-01 21:36:26 -08:00
Dean
cf4166d0d6 Update PostSummon 2025-02-01 21:29:06 -08:00
Dean
069490981e Finish PostAttack 2025-02-01 20:37:02 -08:00
damocleas
0d4d25b1e2
Merge branch 'beta' into bgm-changes 2025-02-01 22:29:36 -05:00
Madmadness65
268dff2e3f Update Team Plasma battle theme to B2W2 version 2025-02-01 21:08:41 -06:00
Esca
0da777ff80
[Bug] [Mystery Encounter] Force Clowning Around Blacephalon and Option 3 to roll two different types (#5234)
Co-authored-by: damocleas <damocleas25@gmail.com>
2025-02-01 19:52:45 -07:00
Madmadness65
d318c9b9ae Merge branch 'beta' into bgm-changes 2025-02-01 20:40:14 -06:00
Wlowscha
82da3c1b6d
[Bug][Refactor] Custom types from MEs are correctly applied on form changes (#5229)
* customPokemonData.types now accepts Type.UNKNOWN, ignores when determining type

* Changed test for clowning around encounter to look at getTypes() instead of directly accessing customData

* Simplifying logic for fusions when overrides are involved, introducing new tests in pokemon.test.ts

* Fixed typo

* Fixed another typo

* Renamed overrideTypes to customTypes to avoid confusion with override

* Fixing comments
2025-02-01 20:32:37 -06:00
NightKev
dcb4299aaf
[Misc] Add update-locales:remote command to package.json (#5237) 2025-02-01 20:14:12 -06:00