Commit Graph

4710 Commits

Author SHA1 Message Date
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
NightKev
2cac113959
[i18n] Update locales submodule (#5236) 2025-02-01 19:03:40 -07:00
Blitzy
5c5622ed0e
[Enhancement] Add Kukui and Mustard as Champions and Colress as an admin. (#5224)
* Add data for Colress / Kukui / Mustard

* Add Colress / Kukui / Mustard names

* Move Kukui above Hau

* Replace Rood dialouge, Add Kukui / Mustard

* Update trainer-config.ts

* Update battle.ts

* Update challenge.ts

* Update battle.ts

* Update challenge.ts

* Add music & sprites for Colress, Kukui, & Mustard

---------

Co-authored-by: Madmadness65 <59298170+Madmadness65@users.noreply.github.com>
Co-authored-by: damocleas <damocleas25@gmail.com>
2025-02-01 19:03:34 -07:00
Wlowscha
4cc62c9d76
[UI/UX] Moving the "Run History" option to title phase (#5139)
Co-authored-by: damocleas <damocleas25@gmail.com>
2025-02-01 19:02:28 -07:00
Dean
d85c1ce5db Partially implement postAttack 2025-02-01 17:02:25 -08:00
Dean
e958bb5fbd Update preAttack and fieldStat 2025-02-01 16:40:54 -08:00
Wlowscha
38e2abc059
[Balance] Removing Pain Split from boss move pool (#5235)
* Adding HpSplitAttr moves to those removed from the boss pool

---------

Co-authored-by: damocleas <damocleas25@gmail.com>
2025-02-01 17:06:13 -07:00
Jimmybald1
da076d0aa2
[Bug] Fix #5211 gender override would not activate for Male (#5220)
Co-authored-by: Jimmybald1 <147992650+IBBCalc@users.noreply.github.com>
2025-02-01 16:31:29 -07:00
Dean
e2249a25a4 Update postDefend, postMoveUsed, StatStage, postSetStatus, and PostDamage 2025-02-01 11:44:25 -08:00
Dean
cb6ceed997 Update PreDefendAbAttrs 2025-02-01 02:16:26 -08:00
Dean
79bc8f9d0f Update AbAttrs and PostInitAbAttrs 2025-02-01 01:47:41 -08:00
Dean
2ab82e2b7e Add willSucceed to ability attrs 2025-02-01 00:01:00 -08:00
Dean
e4630716c9 Add HideAbilityPhase to hide ability bar after effects 2025-01-31 23:46:28 -08:00
Dean
c55e60ea0c Remove abilityBar reference from base Phase class 2025-01-31 23:26:52 -08:00
Dean
76a0ebb1c7 Remove ability bar hiding from messagePhase 2025-01-31 23:26:16 -08:00
Dean
2ab325c900 Stop ShowAbilityPhase from ending until the bar has popped out 2025-01-31 23:25:02 -08:00