Commit Graph

2464 Commits

Author SHA1 Message Date
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
Tempoanon
f64e9e4a0d
Update Phione and Manaphy levelup learnset (#1462) 2024-05-27 19:50:27 -05:00
Daeloth
f957994fe4
Tweaked SSS luck value color (#1457)
Changed the gradient colors in the SSS luck value to something with a little more life
2024-05-27 20:14:16 -04:00
Lugiad
fb26b6d501
pokemon-info-container Locales (#1413)
* Update i18n.ts

* Update pokemon-info-container.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 pokemon-info-container.ts
2024-05-27 17:28:53 -05:00
MadridPawmot
ec82ecd46d
Spanish translations (#1441)
* Update ability-trigger.ts

* Translated trainers
2024-05-27 17:24:41 -05:00
Lugiad
b0b4f0740f
Typo FR dialogue.ts (#1443) 2024-05-27 17:23:53 -05:00
José Ricardo Fleury Oliveira
d4faefe567
updated types in portuguese (#1458) 2024-05-27 17:22:58 -05:00
Matthew Olker
5be2a6a4e7 Variant Update 2024-05-27 13:47:15 -04:00
Jannik Tappert
f24795d3fc
Changed How is local is checked and how serverURL is build to prevent… (#1122)
* Changed How is local is checked and how serverURL is build to prevent errros in offline mode

* Added window.location.hostname === ''; back as a check

* Removed any line breaks in the isLocal Condition

* 3rd time is the charme

* Update utils.ts

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-27 10:20:25 -05:00
Jannik Tappert
8a6f87cfea
When the language is changed the game will complety reload (same as F5). (#1438)
Also now only the current language type image is loaded. If it doesnt exist for a language it will load the english one as a fallback

Tested with all lanugages
2024-05-27 10:12:29 -05:00
Lugiad
6059f0ee33
Typo FR dialogue.ts (#1433)
* Typo FR dialogue.ts

* Update dialogue.ts

* Update dialogue.ts

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-27 09:26:52 -05:00
Jannik Tappert
88f725e15a
zhTW Type Images are now correctly loaded. (#1436) 2024-05-27 09:23:05 -05:00
Jannik Tappert
d23d835687
Fixed that the parasol lady for some reason wanted to start her dialogue with victory dialogue 2 instead of 1 (#1437) 2024-05-27 09:21:38 -05:00
Lugiad
b768362090
Typo FR dialogue.ts (#1432)
* Typo dialogue.ts

* Update dialogue.ts

* Update dialogue.ts
2024-05-27 07:52:34 -05:00