Commit Graph

2417 Commits

Author SHA1 Message Date
Benjamin Odom 9ee5fec41d
Added Passives to the Summary Screen (#703)
* Added passives to the Summary Screen

Adds the ability to view passives on the Summary screen. Just like in the starter select, you can only see the passive once it is unlocked.

There is a small pixel button prompt which helps indicate you are able to press the button to view the passive. This buttons shows an A when gamepad support is enabled and a Z otherwise.

* Update summary-ui-handler.ts

* Updated for Legacy Support
2024-05-12 23:38:28 -04:00
Samuel H 2b9b63e3f3
Add combined save between waves (#777) 2024-05-12 23:01:05 -04:00
James Diefenbach 9a09d790f0
Rockruff dusk form not evolving (#700)
* changed nonfunctioning rockruff form check to ability check for own tempo for dusk form evos

* testing changes

* rockruff OT uses formIndex for dusk form evolution, removed temporary debug rockruff getFormIndex changes

* reverted overrides

* fixed spacing issue

* evolution times revised

* revised dawn and dusk evos for rockruff

* reordering evo times for consistency

* removed unused imports (abilities, attackTypeBoosterModifierType)

---------

Co-authored-by: James Diefenbach <z5421232@ad.unsw.edu.au>
2024-05-12 22:00:46 -05:00
Xavion3 22097a0c95 Fix getSunday function 2024-05-12 21:22:50 -04:00
Flashfyre 347972d103 Remove boosted shiny rate 2024-05-12 20:45:41 -04:00
Tempoanon e61c63f6c8
Implement innards out (#569)
* Implement innards out

* remove log statement

* Some cleanup

* Added comment
2024-05-13 07:07:31 +10:00
Matthew e195c6d799
Show Default Pokemon icon for missing shiny icon (#802) 2024-05-13 06:41:02 +10:00
Douglas Marchione de Souza 9e453c5b0f
Fix sturdy (#604)
* Fixes sturdy to stop popping up even if not used

* Made changes to better the code, also added
a check for wonder_guard 1hp

* Refined code, as requested by bennybroseph

* Made a small fix and added better comments in
relation to interaction with Wonder_guard ability
2024-05-12 14:53:54 -05:00
Benjamin Odom 512cc5b965
Fix Duplicate Egg Moves (#736)
Fixes an issue where egg moves could get duplicated onto a starter Pokémon's moveset.
2024-05-12 14:56:37 -04:00
phynor 2176d5854d
fixed typo in german pokemon names (#794) 2024-05-12 13:55:57 -05:00
Lugiad dbb8f4c217
French translation of growth.ts (#763) 2024-05-12 14:42:56 -04:00
phynor 7b7df5b245
More german translations (#612)
* added more german translations

* added german translation for move.ts

* more german translations

* ability.ts wih german translation updated

* added missing german translation for abilites.ts

* added more missing translations

* changed description of frisk
2024-05-12 12:53:07 -05:00
Madmadness65 20a09c2b92 Remove species form encounter code for Scatterbug line and Calyrex
The Vivillon forms can all be encountered properly now, and Calyrex's forms have since been removed from the wild encounter pool, requiring a form change item to obtain.
2024-05-12 11:33:27 -05:00
Benjamin Odom 79a87e1c65 Update pokemon.ts 2024-05-12 10:27:54 -04:00
LaukkaE ced74efc52
fix isGrounded check (#774) 2024-05-12 06:30:18 -05:00
Madi Simpson e1ef3c03de
ability: make technician respect variable power moves (#529) 2024-05-12 04:06:09 -05:00
Landon Lee a27822b624
Fix cry when pokemon is fused with its own species (#615)
If the pokemon species and form is the same as the second fusion component, then skip the logic to make a fused cry and just use the cry of the primary component.
2024-05-12 03:01:59 -05:00
Thomas Huynh d5f82611f5
added battle tag check in isGrounded method (#750)
Co-authored-by: unknown <t_huynh927@yahoo.com>
2024-05-12 02:28:30 -05:00
Frederico Santos e4afdf1d45
Add ignoresProtect to life dew (#758)
Co-authored-by: Frederico Santos <frederico.santos@fivedegrees.nl>
2024-05-12 02:18:23 -05:00
Xavion3 db6008d15c
Add tsdoc comments for ability getters (#764)
* Add tsdoc comments for ability getters

* Add links to the docs
2024-05-12 00:48:56 -05:00
ArceUseless fe6aefd910
Natures langs with new config (#611)
* Natures lang files

* Updated French nature.ts

* Nature german translation + chinese added

* Added nature to chinese config.ts

---------

Co-authored-by: rnicar <rj.nieto.car@gmail.com>
Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
Co-authored-by: rnicar245 <55734812+rnicar245@users.noreply.github.com>
2024-05-11 21:22:45 -05:00
ArceUseless e9ca17c519
New growth rate lang files (#563)
* New growth rate lang files

* Update i18n.ts, fixing overwrite

* Added growth to lang conf files

---------

Co-authored-by: rnicar <rj.nieto.car@gmail.com>
2024-05-11 21:04:09 -05:00
Flashfyre f540b7d17f Fix always clearing first slot in offline mode 2024-05-11 20:33:03 -04:00
Madmadness65 3f9158083e Swap Rayquaza's egg moves
With egg moves factoring in to trainer Pokémon's learnsets now, Oblivion Wing was too problematic for a common egg move. So it has been swapped with V-create to make fights with it more tolerable.
2024-05-11 14:20:54 -05:00
Xavion3 34aa68df14
Fix fusion icon variant id (#747) 2024-05-11 13:15:01 -05:00
Xavion3 6b49b4f469
Lowers xp curve for fluctuating slightly (#746) 2024-05-11 11:54:05 -05:00
Xavion3 03d68f877a
Fix fluctuating xp curve (#743)
Was scaling with square of level, not cube.
2024-05-11 10:25:48 -05:00
notpatchmaybe ea459826d0
Heart Swap implementation. (#712)
* Heart Swap implementation.

 Simply switches the values in 3 arrays.

* Fixed missing space

* Removed some lines.

Removed a for loop.

* Removed an unneccesary line

* TSDoc commentation added

* Changed message method to be more descriptive

* Adjusted message line to be consistent with Pokemon Showdown

* Adjusted priorBoostArray to priorBoost integer

Only one values is relevant at a time, so the array was pointless, woops.
2024-05-11 09:42:57 -05:00
William Burleson 8707213e88
Adds session playtime to gameInfo for Rich Presence (#738)
* Add rich presence support

* Adds playtime to gameInfo
2024-05-11 10:11:00 -04:00
Flashfyre 60f86c85ce Fix Glimmora atlases 2024-05-11 09:26:57 -04:00
Somod1 cd9e066524 update 2024-05-11 09:25:02 -04:00
Benjamin Odom ae7c1ef4f0
Fix Charge Move Infinites (#741)
Fixed an issue where two turn charge moves could be paused by status or Truant causing some infinite sequences if not careful.
2024-05-11 23:22:26 +10:00
Flashfyre 28c75e4377 Add missed EXP variant sprites 2024-05-11 01:49:34 -04:00
Xavion3 d24762b5dc
Fix bug in moveset code (#735)
Pokemon with very limited movepools could sometimes generate with no moves
2024-05-11 00:46:36 -05:00
Flashfyre 168869d322 Update EXP sprites list 2024-05-11 01:01:15 -04:00
Flashfyre 483310c345 Fix missing backgrounds after clearing a run 2024-05-11 00:29:16 -04:00
Xavion3 72467388fc
Redo moveset generation (#550)
* Redo moveset generation

* Decrease the weight of lower power moves and egg moves

* More weight tweaking

Trainers never get OHKO moves, are less likely to get self KO and multiturn moves, and more likely to get stat buffing moves. All pokemon are less likely to get offstat moves.
2024-05-11 00:20:21 -04:00
Flashfyre 994da9813b Add new variant sprites 2024-05-11 00:00:39 -04:00
Madmadness65 b13a563dad Update passive abilities for starters and pseudos
The latest changes from the balancing team. These changes will take immediate effect in any existing runs, so do keep that in mind.
2024-05-10 18:46:10 -05:00
Flashfyre 9cfc09f673 Restructure game over logic to save before clear 2024-05-10 18:12:33 -04:00
td76099 acb61d6fb7
Fixes Tidy Up so it clears hazards from both sides (#717) 2024-05-10 11:31:27 -05:00
Flashfyre d7d2320844 Fix Mega Latias animated sprites 2024-05-10 12:19:18 -04:00
Athebyne 2ab335a3c5
Implement Snipe Shot, and Propeller Tail/Stalwart (#661)
* Implemented Snipe Shot and Stalwart/Propeller Tail

* Remove Testing Overrides

I don't know why these got pushed, they are in the gitignore file.

* Snipe Shot also has a high crit rate

* Add Comment

* Add TsDoc documentation to BypassRedirectAttr

* Add ability pop-up for when Propeller Tail/Stalwart proc.

* Fix Formatting

* Tab align comment
2024-05-10 10:40:21 -05:00
Dakurei 593ac38267
Fix some errors from previous PR #711 (#716) 2024-05-10 10:29:22 -05:00
William Burleson 7bdb969a73 Add rich presence support 2024-05-10 10:34:51 -04:00
Greenlamp 5d62d0bb25 fix speed level up notification 2024-05-10 10:34:10 -04:00
Dakurei f1935a3e15 Adds 'accuracy' to the move information in the fight ui
+ Capitalize 'power' and 'accuracy' fields
2024-05-10 10:27:44 -04:00
Greenlamp2 b32b802ab4
QOL - Settings to choose party Exp display at the end of fight (#488)
* added settings to manage how to display party experience at the end of fight

* added back stats changes support when setting is on but ignored when on skip

* removed a useless parameter

* added new level in the text

* only Lv. UP if level is greated than 200

* cleanup

* added some comment

* TSDoc comment block

* EXP_Party -> EXP_Party_Display, Only Up -> Level Up Notification

* better duration for the level up notification

* typo

Co-authored-by: Samuel H <flashfireex@gmail.com>

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-05-10 09:54:14 -04:00
Greenlamp2 22a73642df
Fix - Gamepad support setting "lost focus" behaviour (#658)
* fix "lost focus behaviour" when disabling gamepad and thus repeating RIGHT key

* added some comment

* added full TSDoc, helped by chatGPT, refined every entry manually of course
2024-05-10 09:26:45 -04:00
Greenlamp2 6fbc0cb923
Settings navigation, when on top to go to the bottom, and when on the bottom to go to the top (#605)
* fix settings top and bottom

* added some comment

* TSDoc ready + less lengthy comments
2024-05-10 09:25:41 -04:00