Commit Graph

2481 Commits

Author SHA1 Message Date
hayuna
ee2c61c4b8
[Feature] Add possibility to override foe level (#1561)
* Add possibility to override foe level

* Override foe level

* Update code styling

* Replace null with 0 as init value

* Replace null with 0 as init value

* Update order of constants
2024-05-29 15:17:36 -04:00
td76099
55423dd39d
Feature: Finish Magnet Pull and clauses for Arena Trap (#1193)
* Implements Magnet Pull and lets Levitate/Flying Pokemon ignore Arena Trap

* using isGrounded() instead of checking for Flying/Levitate

* MR feedback to use condtions for trapping instead of having it in the class

* Making Shadow Tag Pokemon immune to Shadow Tag

* Updated to make sure Tera Stellar Pokemon are checked against their original type as well
2024-05-29 14:47:16 -04:00
Benjamin Odom
8d3c334e50
Fix move.ts Errors (#1564) 2024-05-29 11:54:33 -04:00
Xavion3
1b7b539d68
Implements Supreme Overlord and fixes Last Respects (#1219)
* Implements Supreme Overlord

Also fixes count for Last Respects

* Add comments
2024-05-29 11:07:59 -04:00
Flora A
2fcde2907d
Added support for Pro Controller mapping (#1492) 2024-05-29 16:59:39 +02:00
Greenlamp2
c7fbf5b707
Merge pull request #1323 from JakubHanko/eslint_fix
Add ESLint flat config support
2024-05-29 16:53:23 +02:00
Greenlamp2
6b99eda84a
small detail in ui-inputs, was still working but not whitelisting keys, not sure if still needed though (#1560) 2024-05-29 14:33:36 +01:00
Benjamin Odom
a880185289
Fix Errors in ui-inputs.ts (#1549) 2024-05-29 13:16:57 +01:00
Jannik Tappert
9e0fd33510
Type Icons are now also localized when learning a new move (#1557) 2024-05-29 11:35:54 +01:00
Dakurei
b10102b52a
[QoL] [Localization] Make achv-bar ui resize dynamically based on content (#1520)
* Make achv-bar ui 'responsive'

  To facilitate translation, among other things

* Apply suggestions on PR
2024-05-29 09:02:41 +01:00
InfernoVulpix
19ec18677b
Prevent useless Ethers (#1474)
Moves with 5 or less max PP now only boost Ether/Elixer rates if they are at less than max PP.
2024-05-29 00:04:02 -04:00
40chyan
bbaaf80f1d
Update zh_CN translation pokemon-info-container.ts (#1479) 2024-05-28 23:57:40 -04:00
AJ Fontaine
53200b2112
Correctly capitalize Mega Evolved (#1527) 2024-05-28 23:55:05 -04:00
Lugiad
92db0db2b7
Updated pkmnems font (#1485) 2024-05-28 22:51:05 -05:00
Lugiad
637b8bd6c6
French typos in dialogue.ts (#1521) 2024-05-28 21:11:03 -05:00
Benjamin Odom
d34e0dd2c6
Fix Errors in inputs-controller.ts (#1523) 2024-05-29 00:43:38 +01:00
Amani H
47d39388ac
Implement Triple Kick/Triple Axel/Population Bomb (#1341)
* Implement Triple Kick/Triple Axel/Population Bomb

* Add maximum allowed base power increments

* Add documentation

* Fix Population Bomb, Account for Skill Link

* Change multi-hit power increment behavior

* Fix Typo
2024-05-29 00:07:35 +01:00
Benjamin Odom
4d15269eec
Fix Error with Typecasting (#1519) 2024-05-28 23:45:18 +01:00
chaosgrimmon
899a2bf96e
Match Shiny Grafaiai animation frames with Non-Shiny counterparts (#1477)
A user reported [here](https://discord.com/channels/1125469663833370665/1238339524778790922/1244817919985061978) that "Shiny grafaiai keeps fading in and out of existence".

The presumed culprit is frame 17 being set to have a width and height of 3 pixels.
To fix this, the code from the non-shiny .json was used instead, which used dimensions of 66x55, somewhat more reasonable for the targeted slice of spritesheet.

Not tested, with due concern given to the abysmal odds of specifically encountering a shiny Grafaiai.
... but the change shouldn't break anything, I hope?
2024-05-28 17:48:56 -04:00
Greenlamp2
0385a90f08
put the preventElementZoom call into a method instead to call it from anywhere/anytime we import it (#1515) 2024-05-28 16:22:32 -05:00
Benjamin Odom
a163a420bd
Fixes etPositionRelative Errors (#1514) 2024-05-28 17:16:14 -04:00
GoldTra
d7146bb1c1
Updated spanish translations (#1500) 2024-05-28 17:14:44 -04:00
Adrian T
fccd546415
Add Settings On Title Screen, Update Starter-Select Tutorial Dialogue (EN, DE, FR, CN, BR) (#1367)
* add settings on title screen, update starter select tutorial (en)

* French "Settings" transaltion in menu.ts

* Update French tutorial.ts

* [LOCALIZATION] add DE

* fix players online position

* [LOCALIZATION] add zh_CN

* [LOCALIZATION] add pt_BR

---------

Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
2024-05-28 16:51:33 -04:00
AJ Fontaine
5afe32a1e2
[QOL] Removed King's Rock requirement for Politoed/Slowking evos (#1501)
* Removed King's Rock requirement for Politoed/Slowking evos

* Remove unused header
2024-05-28 15:57:46 -04:00
Benjamin Odom
1420c26f22
Fix issue with shiny star placement in starter-select-ui-handler.ts (#1512) 2024-05-28 15:50:40 -04:00
Ethan
4695d0617d
Download Ability Fix (#1119)
* Fixes Issue #993 by changing from base stats to include summonBattleStats

* Added TODO with Substitute

* Fix conflicts

* Unsure why true was put through for passive, probably just a mistake on my end

* !== fix

* Conflict fix

* Eslint Fix

* Implement Double Battle average to take in stats from both Pkmn
2024-05-28 15:32:52 -04:00
Benjamin Odom
91013cf8c4
Candy Icon Display Bugfix (#1507)
Fixes a small visual issue where scrolling through a list of Pokémon would not hide a candy if the Pokémon was not the root species.
2024-05-28 20:22:59 +01:00
flx-sta
8824082ceb
Fix for the zoom issue (#1326) (#1329)
* #1326: add touchstart event to dpadCenter to prevent zoom behavior

* #1326: improve variable naming for preventElementZoom

* #1326: change selector to "#dpad"

instead of just "#dpadCenter"
2024-05-28 14:02:49 -05:00
Frederico Santos
f4acf8bfc3
Removed trello reference. (#1508) 2024-05-28 13:58:01 -05:00
Matthew Olker
dc8672b2bd indicator hotfix 2024-05-28 14:05:00 -04:00
José Ricardo Fleury Oliveira
7e003d68a9
Indicator when a candy upgrade is available (#1083)
* initial implementation

* updated logic

* reverse retTint

* added candy overlays and colors

* added settings and minor fixes

* german changes

* logic fix

* german changes pt2

* german changes pt3

* setting name changed

* Update battle-scene.ts

* initial animation implementation

* minor fixes

* main compatibility

* minor fix

* logic for animations

* eslint fixes

* final generation logic

* Pause Animation when Selected or Purchased

* Disable Indicator if not Root Species

* Add to Reload and Add Anchor

* Fix Animation on Change

* Fix Icon on Change

* Code Cleanup

* fix

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-28 13:49:15 -04:00
Dmitriy K
9893c21a7e
implement Cheek Pouch ability (#987)
* Partially implement Cheek Pouch ability

* add cheek pouch trigger to EatBerryAttr class

* Partially implement Cheek Pouch ability

* add cheek pouch trigger to EatBerryAttr class

* add cheek pouch trigger to new berry phase, remove partial tag

* run auto formatter because I forgot

* hotfix berries triggering before status effects

* Revert "hotfix berries triggering before status effects"

This reverts commit 3fbbc9a165.

* add partial tags to abilities that would be blocked by Heal Block
2024-05-28 13:19:03 -04:00
Matthew Olker
e7cef039c3 fix dialogue interface structure 2024-05-28 12:32:17 -04:00
Lugiad
e37b278b4f
Update French modifier-type.ts (#1496) 2024-05-28 10:57:38 -04:00
José Ricardo Fleury Oliveira
0780211901
Quick translation fixes (#1497)
* translation fixes

* quick translation fixes
2024-05-28 10:49:38 -04:00
Benjamin Odom
1f432cf5c0
Create comments.md (#1498) 2024-05-28 10:46:25 -04:00
Matthew
fcdac63759
Add Feature Issue Template 2024-05-28 10:32:18 -04:00
Matthew
578717aab1
Add bug issue template 2024-05-28 10:30:14 -04:00
Matthew Olker
f0cf5cbb19 PR Template from Issue 1304 2024-05-28 10:19:40 -04:00
Dakurei
bf06ce6340
Removes useless '/' make it doubles in somes cases (#1482) 2024-05-28 10:08:53 -04:00
José Ricardo Fleury Oliveira
5512be8f31
Translation fixes ptBR (#1468)
* translation fixes

* info container

* localized position and text size in pokemon-info-container
2024-05-28 10:00:27 -04:00
jjoines
d835cfd13f
Fix battle girl victory dialogue (#1489)
Fixed string to have colon, not a period.
2024-05-28 09:23:29 -04:00
40chyan
77b59a1cef
zh_CN update game-stats-ui-handler.ts (#1481)
* Update game-stats-ui-handler.ts

* Update game-stats-ui-handler.ts

* Update game-stats-ui-handler.ts
2024-05-28 09:09:53 -04:00
Frederico Santos
89f58961cb
Implement Zero to hero (#1131)
* Implemented Zero-To-Hero

* Zero to Hero documentation and form reset on summon

* Zero to Hero: form reset on biome/trainer

* Updated documentation on PreSwitchOutFormChangeAbAttr apply

* Faint bypass on canApplyAbility

* revert zygarde

* zero to hero post-merge
2024-05-28 06:11:04 -05:00
40chyan
4b8c9c87c3
Update zh_CH biome names (#1473) 2024-05-28 01:05:01 -04:00
Madmadness65
b058e10713 Add missing summon text for As One abilities
Just a minor flavor text addition to mirror the canon games.
2024-05-27 23:54:56 -05:00
Adrian T
0d80a045fd
fix gender override (#1469) 2024-05-27 23:59:01 -04:00
Franck TROUILLEZ
99835c27c8
Add setting to change money format (#1261)
* Add setting to change money format

This setting can currently be set either on "normal" or "abbreviated". "normal" will show all the numbers, while "abbreviated" will abbreviate to the most significant numbers and use a suffix to show the power-10.

A new enum has been added for MoneyFormat as well.

* Update src/battle-scene.ts

Co-authored-by: Franck TROUILLEZ <57403591+francktrouillez@users.noreply.github.com>

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-27 22:58:33 -04:00
Xavion3
17e4edeb8d
Fix endless retries (#1465) 2024-05-28 02:36:32 +01:00
Xavion3
970e335fab
Remove endless 5850 crash bug (#1463) 2024-05-28 11:01:13 +10:00