Commit Graph

2751 Commits

Author SHA1 Message Date
Greenlamp2
060b1b2ccc
Menu - Controls Rebind - Gamepad & Keyboard (Cleaner git log) (#1666)
* squased merge rebind_menu

* azerty to qwerty

* add a check to preven a crash in firefox

* reset navigation menu on quit

* removed dual lock mekanism

* navigation display update icons on new bind

* added submit binding

* removed attribute no longer used

* change protected to abstract

* remove last bind protection since action and cancel are protected + renamed default controller to controller

* removed default alt qwerty keys in config

* fix some errors for doc

* fix tests

* fix some more errors for docs

* fix some more errors for docs final ?

* added alt bind for menu navigation + update icons on delete/home
2024-06-01 13:56:32 +01:00
returntoice
5cf9a98ee0
[Localization] Minor Korean modifications (#1665) 2024-06-01 01:27:21 -04:00
Xavion3
e7fed48f8e
[Balance] Simplify and fix flame/toxic orb weight (#1670) 2024-06-01 12:10:10 +10:00
Benjamin Odom
da771daee6
[QoL] Remove VS Code Settings (#1672)
* Remove VS Code Settings

* Update .gitignore
2024-06-01 02:26:00 +01:00
Dmitriy K
d052d444b6
[QoL] Add type inference to getAttrs methods and refactor accordingly (#1633)
* add type inference to getAttrs methods and refactor accordingly

* Tests/infer types for get attrs methods (#1)

* #1633: add spec/tests for coverage

* move ability/move tests into /src/tests and rename to *.test.ts to match common naming patterns

* use None in test cases to remove ambiguity

* revert back to before test cases were merged

---------

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-05-31 19:50:30 -05:00
Dakurei
13c9888902
Trigger the github-pages workflow even during pull requests (#1655)
+ Allows upstream identification of problems such as those that occurred during merge of PR #1567
2024-06-01 01:30:55 +01:00
Benjamin Odom
19885e0558
Add Arena Events (#1627)
* Add Arena Events

* Update arena-events.ts
2024-05-31 17:52:16 -05:00
karl-police
f2a6fe5c6a
Autocomplete for modifiers in overrides (#1057)
* Autocomplete for modifiers

* Update overrides.ts

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-31 17:41:09 -05:00
chaosgrimmon
218cf025a3
[Bug] Fix rare shiny Cleffa using default icon (#1642)
* [Bug] Fix rare shiny Cleffa using default icon

Rare shiny Cleffa's icon was showing up as the default colouration, or as shiny Lugia's icon.
This fixes that by adding it to the spritesheet pokemon_icons_2v and its .json, where the console log suggested it should belong.

* [Bug] Fix rare shiny Cleffa using default icon

Rare shiny Cleffa's icon was showing up as the default colouration, or as shiny Lugia's icon.
This fixes that by adding it to the spritesheet pokemon_icons_2v and its .json, where the console log suggested it should belong.
2024-05-31 17:15:41 -05:00
Jaime
7f1e94e8ca
[Bug] Fix status abilities not considering Comatose (fixes #1639) (#1641) 2024-05-31 16:50:03 -05:00
Tempoanon
cf9992f9b8
Add code (#1661) 2024-05-31 16:42:38 -05:00
innerthunder
2dff35c407
Fix Neutralizing Gas self-suppression (#1662) 2024-05-31 16:35:52 -05:00
Tempoanon
ff5b227a6b
[Documentation] Add documentation to egg-hatch-phase.ts (#1650)
* Add documentation

* Ben has made me take more sanity damage
2024-05-31 16:34:02 -05:00
Amani H
e0bc1d8781
[Item] Add Toxic Orb and Flame Orb (#1574)
* Add Toxic Orb and Flame Orb

* Change Weighting Logic & Functions

* Adjust Party Filter during Weighting

* Add Dynamic Weight Ceilings

* Refactor for Performance/Cleanliness

* Adjust Party Filter to Check Status Applicability

* Cover Same & Different Status Cases

* Adjust Full Heal & Restore Weighting

* Cover Unwanted Status Case

* Fix Wrong Status Effect on Reload
2024-05-31 14:31:11 -05:00
MadridPawmot
63a416a65b
[enhancement] Added Firebreather trainer class (#1409)
* Add files via upload

* Update trainer-type.ts

* Update biomes.ts

* Update trainer-config.ts

* Update trainer-names.ts

* Add Spanish localization

* Update trainers.ts

* Update trainers.ts

* Update trainers.ts

* Update trainers.ts

* Update trainers.ts

* Update trainers.ts

* Finished adding placeholder strings for each language

* Updated German translation

Thanks to CodeTappert

* Updated trainer.ts to resolve conflicts

* Update trainers.ts to resolve conflicts

* Update trainers.ts

* Fixed syntax error

* Update dialogue.ts

* Re-added dialogue back

* Added firebreather name string to Korean locale

* Added dialogue string to locale

* Added dialogue string to locale

* Update dialogue.ts

* Added dialogue string to locale

* Added dialogue string to locale

* Added dialogue string to locale

* Added dialogue string to locale

* Added dialogue string to locale

* Added requested changes

* Added requested changes

* Added requested changes

* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

* Finished adding requested changes to locales

* Added requested changes
2024-05-31 14:05:04 -05:00
Madmadness65
99e17c94eb Fix Zacian & Zamazenta form changes breaking
Forgot to update this, oops.
2024-05-31 11:33:16 -05:00
Madmadness65
fc61489d59 Hero Palafin, 10% PC Zygarde cries corrected for real this time
Also made sure Zacian and Zamazenta don't crash this time.
2024-05-31 11:14:55 -05:00
Tempoanon
0c862839d3
Revert "[Bug] Full Heals and Full Restore cure confusion (#1112)" (#1653)
This reverts commit 6c4b60a2fa.
2024-05-31 15:56:39 +01:00
Tempoanon
5eab016903
Revert "[Localization] modifier-select-ui-handler Locales (#1567)" (#1652)
This reverts commit 5c79e6258b.
2024-05-31 10:48:26 -04:00
Lugiad
5c79e6258b
[Localization] modifier-select-ui-handler Locales (#1567)
* Update i18n.ts

* Update modifier-select-ui-handler.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Update config.ts

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update modifier-select-ui-handler.ts

* Update config.ts

* Add files via upload

* Update modifier-select-ui-handler.ts

* Update modifier-select-ui-handler.ts

* Update src/locales/ko/modifier-select-ui-handler.ts

Co-authored-by: returntoice <dieandbecome@gmail.com>

* Update src/locales/ko/modifier-select-ui-handler.ts

Co-authored-by: returntoice <dieandbecome@gmail.com>

* Update src/locales/ko/modifier-select-ui-handler.ts

Co-authored-by: returntoice <dieandbecome@gmail.com>

* Update src/locales/ko/modifier-select-ui-handler.ts

Co-authored-by: returntoice <dieandbecome@gmail.com>

* Update src/locales/ko/modifier-select-ui-handler.ts

Co-authored-by: returntoice <dieandbecome@gmail.com>

* Update modifier-select-ui-handler.ts

---------

Co-authored-by: returntoice <dieandbecome@gmail.com>
2024-05-31 10:39:13 -04:00
Lugiad
5182937040
[Localization] Add Korea type icons (#1649)
* Add files via upload

* Update utils.ts
2024-05-31 10:34:26 -04:00
MrWaterT
7b5510b055
[Localization] little edit in Korean locale text (#1636)
* Update tutorial.ts

statChange : 9b5c1cd
starterSelect : fccd546

* Edit a misspell
2024-05-31 10:33:25 -04:00
Ethan
6c4b60a2fa
[Bug] Full Heals and Full Restore cure confusion (#1112)
* Added Confusion to be healed with Full Heals and Full Restores

* Semi-Colon oversight

* Changed resetStatus to have a condition whether to include confusion or not, defaults to false so you manually have to add

* Fixed spacing and semicolon

* Refactored the Lum Berry case

* Fix berry conflicts

* Update {}

* Fix PP Conflict

* Build fix?

* Fix Modifier

* Build Fix

* Fix

* Fix StatuHeal from eslint
2024-05-31 10:31:15 -04:00
Adrian T
bb7af15c4a
[Move][Bug] Fix Enemy Fake Out and Force Switch Interaction (#1251)
* fix force switch move

* add check if switched out pokemon is not fainted with force switch move

* improve code documentation

* refactor if statement
2024-05-31 10:23:28 -04:00
Dakurei
92afcdea8f
Adds workflow to auto generate doc & make it accessible on Github (#1645)
* Adds workflow to auto generate doc & make it accessible on Github

* Adds a condition similar to deploy.yml

  + There's no particular reason to build the documentation for each fork, as it will simply be possible to synchronize the gh-pages branch via the interface or terminal
2024-05-31 09:36:59 -04:00
Adrian T
c102faf157
fix lowkey toxtricity evolution (#1640) 2024-05-31 14:12:01 +01:00
Dakurei
7b65c51931
Revert 2 last commits (#1646) 2024-05-31 13:29:54 +01:00
zaccie
f19cd37436
fix zacian/zamazenta crash (#1638)
* fix zacian/zamazenta crash

A quick fix by renaming Palafins forme change to hero-forme in code

* fixing bad english

i cant spell in my own language
2024-05-31 10:10:31 +02:00
Madmadness65
dfb089a2b9 Fix Hero Palafin and 10% PC Zygarde using wrong cries
Also marked Palafin as able to change forms, but this shouldn't affect it's functionality.
2024-05-31 02:06:40 -05:00
Aerochill
7a7971ec6c
[Ability] Queenly Majesty/Dazzling/Armor Tail Fix (#1631) 2024-05-30 22:37:47 -04:00
Benjamin Odom
378ce95636
[QoL] Add TypeDoc as a Valid Doc Generator (#1609)
* Adds TypeDoc as a Valid Doc Generator

Run `npm install typedoc --save-dev`
then
Run `npx typedoc`

* Rename Revert

* Add Script
2024-05-30 20:05:38 -05:00
Ethan
d2c5a283d1
[Ability] Implement Poison Heal (#1245)
* Implement Poison Heal Ability

* Removed unneeded import

* Fix some comments, as well as make Poison Heal only notify when healing

* Eslint fix

* Revert Phases

* Pushing for sake of reviewing; PR IS NOT DONE IT NEEDS TO BE TESTED AND COMMENTED AGAIN

* Changed the way healing is done, through a heal phase instead of heal(); Also added better documentation

* Changed healing, as well as making abilityTriggers updated
2024-05-30 18:58:40 -04:00
HighMans
af20712cb5
[Feature] Make 31IVs show up as Gold (#1380)
* Make 31IVs show as gold on summary & when caught.

* Add comments to change.
2024-05-30 18:39:25 -04:00
Ronn
3f6e43a12d
Starter select - Implement up and down offset navigation (#1480)
* Handle offset up and down navigation

* add comments
2024-05-30 17:27:53 -05:00
Jannik Tappert
7ac6016df3
[Localization] Fixed Bugsy dialogue. And some fixes in the german dialogue (#1616) 2024-05-30 18:22:28 -04:00
dielle000
bda3013c19
Allow selection of item quantity when transferring items (fixes #723) (#1394)
* Transferring item does not kick out of transfer menu

* Select simultaneously the item to transfer and the quantity

* eslint fix

* eslint fix

* Reset quantity on scroll

* Documentation

* eslint fix
2024-05-30 16:58:10 -05:00
Adrian T
31e3293c51
[Ability][Move] Finish wind rider/power + tailwind implementation (#1566)
* finish wind moves + tailwind implementation

* move code and add documentations

* remove partial tag of wind_power

* add translations, fix move bugs

* fix ability trigger message

* fix ability trigger message

* add es localization

* move out of else statement
2024-05-30 17:42:46 -04:00
Tempoanon
cb6a0b9973
Fix bug with variant rate (#1613) 2024-05-30 22:25:53 +01:00
Ethan
d70ab3eaf6
[Move] Implement Punishment (#1610)
* Implement Punishment and reopen pull request 373

* Fix console log and ()
2024-05-30 17:01:42 -04:00
Gianluca Fuoco
2fd87a3cad
[Bug] Add Giga Impact Opp BG img (#1584)
* fix: add missing image by rotating giga impact image 180 degrees

* fix: move over impact in image
2024-05-30 16:48:06 -04:00
MrWaterT
2c784c662f
[Localization] Update Korean rival dialogue (#1597)
* Update small Korean locales

* Translate Korean classic story conversation

* Minor translation edit in Korean

3: translate 'not the same back home'
  from 'atmosphere of home is not like before'
  to 'returning to previous state is impossible'
3_female: now 'home' clearly means their hometown, not only player's house
6, 6_female: simple nuance-of-sentence modification
2024-05-30 16:40:31 -04:00
Tempoanon
3e932ce2d0
Shinylock uncatchable Pokemon in endless mode (#1252)
* Shinylock uncatchable Pokemon

* Fix typos

* Pass the linter vibe check

* Remove 2 shinylock cases

* refactor
2024-05-30 16:20:27 -04:00
Dmitriy K
329c9619f6
Add unthaw logic to Steam Eruption, Scorching Sands, Matcha Gotcha and all Damaging Fire moves (#940)
* Add unthaw to moves that are missing it

* Add unthaw to all damaging fire moves

* Add Status Effect overrides for easier testing

* clean up comments and readd status cure prefaint

* use helper instead of accessing attrs directly

* remove status overrides
2024-05-30 15:04:50 -05:00
Benjamin Odom
1415b74682
[QoL] Fix Final VS Code Error (#1608)
* Fix i18next and mobile errors

* Move File and Fix Error
2024-05-30 19:37:59 +01:00
Madmadness65
13797fe322 Revert change to Minior forms
Apparently its Meteor forms couldn't be selected if you caught it while it was in its Core form, so the change to this Pokémon specifically had to be reverted. It still immediately transforms back into Meteor form when starting a run, so this change should be harmless.
2024-05-30 13:06:25 -05:00
Benjamin Odom
060ffc6716
Fix i18next and mobile errors (#1601) 2024-05-30 18:51:58 +01:00
InnocentGameDev
fcc98d372d
Fix Spanish translation and typos in modifier-type.ts (#1606) 2024-05-30 13:50:47 -04:00
Matthew Olker
ed7a4045d8 show luck after reroll 2024-05-30 13:45:30 -04:00
ImperialSympathizer
3b852c5bf2
[Bug] Fix weather effects to work on the first turn of being cast (#1503)
* update weather phase so weather effects proc properly

* remove redundant weather replace phase logic

---------

Co-authored-by: ImperialSympathizer <imperialsympathizer@gmail.com>
2024-05-30 12:07:28 -05:00
Dmitriy K
b1c208cd86
[Feature] Add status override (#1602) 2024-05-30 12:49:57 -04:00