Commit Graph

432 Commits

Author SHA1 Message Date
dielle000
e6c31966d7 Change pokemon stats chart
Stats are arranged like in the mainline games
2024-05-01 15:45:29 -04:00
Mistmemo
56b24c70b6
fix double battle iv scanner color (#379)
* Add color for the IV scanner

add a new color SUMMARY_GREEN in text.js, add the green color if the iv of the pokemon is better than the iv on the starter of that pokemon

Co-authored-by: EmoUsedHM01 <131687820+emousedhm01@users.noreply.github.com>

* fix battle-message-ui-handler.ts formatting

* fix missing similicon battle-message-ui-handler.ts

* modified so it take a boolean instead of doing lot of else if battle-message-ui-handler.ts

* Fix iv scanner only doing color for the right pokemon in double fight

---------

Co-authored-by: EmoUsedHM01 <131687820+emousedhm01@users.noreply.github.com>
2024-05-01 10:50:13 -04:00
thicco-catto
fc1a9f0283
Select Move UI Shows PP (#372)
* Select move UI shows PP

* Removed testing forced max pp

* PP only shows when using PP restoring items

* Removed testing max pp again

* Update src/phases.ts

* Update src/ui/party-ui-handler.ts

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-05-01 10:16:58 -04:00
Flashfyre
3b09e176a2 Fix IV text not comparing against starter species 2024-05-01 09:44:57 -04:00
TeKrop
eac9b4d385 fix: reworked daily and weekly rankings translations workflow 2024-05-01 08:56:33 -04:00
Flashfyre
6fd5709b13 Reapply stat change feature with fixes 2024-04-30 23:02:16 -04:00
Flashfyre
8a54e862fc Revert "Add togglable stat change display"
This reverts commit 718585062b.
2024-04-30 22:14:24 -04:00
Flashfyre
718585062b Add togglable stat change display 2024-04-30 22:06:54 -04:00
Mistmemo
05b0140075
Add color for the IV scanner (#363)
* Add color for the IV scanner

add a new color SUMMARY_GREEN in text.js, add the green color if the iv of the pokemon is better than the iv on the starter of that pokemon

Co-authored-by: EmoUsedHM01 <131687820+emousedhm01@users.noreply.github.com>

* fix battle-message-ui-handler.ts formatting

* fix missing similicon battle-message-ui-handler.ts

* modified so it take a boolean instead of doing lot of else if battle-message-ui-handler.ts

---------

Co-authored-by: EmoUsedHM01 <131687820+emousedhm01@users.noreply.github.com>
2024-04-30 20:32:02 -04:00
Dakurei
36de62dc8a Fix Pokerus tutorial condition 2024-04-30 15:29:28 -04:00
Nero
55dc339647
Bug Fixes and QoL: Minor changes to UI related bugs (#356)
* bug fix: updates move description correctly

viewing the description of move slot 1 in a pokemon's move summary UI only updated the first time it was viewed per session, exiting the party UI and re-entering caused the moves in a pokemon's summary screen to not automatically populate the description box unless you moved the cursor down to move 2 and then back up to move 1

* slight logic changes to fix party UI controls

when battlerCount = 2 (double battle), starting in party slot 1 and pressing DOWN -> UP -> RIGHT would move the cursor back down when it should be moving it to the right: these changes fix that

* finalised the minor UI changes

* finalising

* refactor

* removed console logs used for testing

* bug fix: updates move description correctly

viewing the description of move slot 1 in a pokemon's move summary UI only updated the first time it was viewed per session, exiting the party UI and re-entering caused the moves in a pokemon's summary screen to not automatically populate the description box unless you moved the cursor down to move 2 and then back up to move 1

* slight logic changes to fix party UI controls

when battlerCount = 2 (double battle), starting in party slot 1 and pressing DOWN -> UP -> RIGHT would move the cursor back down when it should be moving it to the right: these changes fix that

* finalised the minor UI changes

* finalising

* refactor

* removed console logs used for testing
2024-04-30 12:42:20 -04:00
Raphael van der Woude
c7bd99b345
Added missing menu translations (#355)
* Added missing menu translations

* Added missing translations to other languages

---------

Co-authored-by: Raphael van der Woude <raphael.van.der.woude@dias.nl>
2024-04-30 10:53:00 -04:00
Flashfyre
55f68c0ce6 Fix DNA splicer exploit 2024-04-27 15:52:21 -04:00
Flashfyre
6b9542511f Add fusion luck as a separate field 2024-04-26 18:27:00 -04:00
Flashfyre
bf2a83993c Make luck independent from shininess and variant 2024-04-26 17:32:28 -04:00
Flashfyre
733eedd12f Change logout to a GET request 2024-04-26 13:19:43 -04:00
Flashfyre
5e7356636e Update shiny luck mechanics and count both fusion components 2024-04-26 11:31:39 -04:00
Flashfyre
b863ab88a7 Fix some minor superficial bugs 2024-04-26 01:18:08 -04:00
Flashfyre
0eabfd56e3 Fix shiny Bidoof back sprite showing as epic variant 2024-04-25 21:56:44 -04:00
Flashfyre
13b1ad698e Menu automatically adjusts width for option width 2024-04-25 21:21:44 -04:00
Dakurei
05c45669da Modification of the move description window in battle
+ Modification of data layout
  + Adds "power" to visible data
  + No longer uses a "command_fight_labels" image, but directly text (allowing translation by the way)
  + Added i18n
  + Creation of "en" and "fr" locales for fight-ui-handler
2024-04-25 20:57:47 -04:00
Flashfyre
3bdd354b5e Update title stats interval 2024-04-25 16:15:58 -04:00
Edralo
4cfae4703c Implement localisation for main menu options (menu-ui-handler) & add french locale 2024-04-25 14:27:05 -04:00
Silvestre Emmanuel
ab8b9f0bfa
Added a way to see the pokemon stats in the Learn Move Phase (#286)
* Added the move category icon to the fight ui

* Added a way to see the pokemon stats in the Learn Move Phase
 -Pressing Button.LEFT now shows the stats summary page
 -Pressing Button.RIGHT goes back to move selection page

* Minor nitpicks

---------

Co-authored-by: Silvestre Emmanuel <silvestre.ramirez@wundertec.com>
Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-25 01:18:23 -04:00
John Martin
145267c9a6
Fixed leftover text re-corrections. (#283)
* Minor text corrections to item descriptions.

* Update modifier-type.ts; minor text correction updates

* Update modifier-type.ts; further text re-corrections.

* Update modifier-type.ts; leftover re-corrections.

* Minor text corrections in modifier menu.
2024-04-24 23:29:47 -04:00
Flashfyre
095667c7c9 Merge branch 'main' of https://github.com/pagefaultgames/pokerogue 2024-04-24 21:24:47 -04:00
Flashfyre
269db12436 Add missing URI component encoding on login 2024-04-24 21:21:28 -04:00
Silvestre Emmanuel
ebad76c335 Added the move category icon to the fight ui 2024-04-24 21:02:56 -04:00
Flashfyre
97218be59c Add back missing authorization headers 2024-04-24 19:26:04 -04:00
Flashfyre
ad818aa314 Add new API url with fallback 2024-04-24 19:08:02 -04:00
Edralo
4ea67976b9 Fix password input types for languages other than english 2024-04-24 08:36:58 -04:00
Flashfyre
adc383a8f9 Add UI support for 2 additional save slots 2024-04-24 01:51:30 -04:00
Juan-Lucas
1b1578d266
command-ui: add i18n for command ui handler and add i18n for fr (#258)
* command-ui: add i18n for command ui handler and add i18n for fr

* Add missing Spanish file

* Add additional missing localization references

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-24 00:36:07 -04:00
Flashfyre
92caf6059b Fix ability color with duplicate ability as hidden 2024-04-23 12:37:26 -04:00
Anthony Baussard
75faf1960f
Implement localisation on login and register UI + add their french locale (#244)
* Add localisation and french locale to login menu

* Add localisation and french locale to registration menu
2024-04-22 20:39:51 -04:00
Flashfyre
1a53c19e3b Add menu cursor wrapping 2024-04-21 18:45:14 -04:00
Flashfyre
c8a9069e8b Add outdated session support and fix older migrations 2024-04-21 10:59:50 -04:00
Flashfyre
15b5afd630 Add shiny star to pokemon catch/hatch info 2024-04-19 16:21:35 -04:00
Miguel S
95d2ad2fb4
Added language setting (#185)
* Added language setting

* Allow properly changing language

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-19 14:55:01 -04:00
Xavion3
9dfd5a1e6e Implement Soak, Forest's Curse, and Trick-or-Treat
Updates the UI and type effectiveness to support three types, and makes old moves that change types update the UI.
2024-04-19 13:47:40 -04:00
Flashfyre
bd80281859 Fix various shiny checks for palettes 2024-04-19 11:11:19 -04:00
Flashfyre
5c367db8a3 Fix ability edge case when saving starter ability data 2024-04-19 11:01:22 -04:00
Flashfyre
85b47be0b8 Fix battle info owned icon not factoring in ability 2024-04-19 09:03:14 -04:00
Flashfyre
ecedd81052 Fix not using selected starter ability 2024-04-19 08:40:49 -04:00
Flashfyre
eebe39e1fe Fix base forms showing as shiny 2024-04-18 23:10:18 -04:00
Flashfyre
89edcc38c6 Fix nature not setting properly 2024-04-18 23:06:05 -04:00
Flashfyre
c76f8c5e7e Add tiered shiny variants 2024-04-18 22:52:26 -04:00
Flashfyre
a6ddda38ae Properly encode credentials 2024-04-18 20:02:04 -04:00
Flashfyre
18bd75ca4f Change forms to use url encoding 2024-04-18 19:08:53 -04:00
Flashfyre
eab38a5ad4 Add more exp gains options 2024-04-18 00:50:04 -04:00
Flashfyre
7155174d3c Patch a certain bug 2024-04-17 14:49:18 -04:00
Flashfyre
b116828b07 Convert biome select UI handler to option select 2024-04-16 15:58:02 -04:00
Flashfyre
7275876120 Fix starter select issue with gender forms 2024-04-15 17:34:36 -04:00
Flashfyre
398f2c5be0 Fix being able to overwrite data without a confirmation 2024-04-15 10:35:57 -04:00
Flashfyre
6e59b4dd77 Prevent saving on an outdated client 2024-04-15 10:09:51 -04:00
Temps Ray
65961d5cc7 Fix bug in legendary gacha that reduced epic egg rates 2024-04-14 01:30:07 -04:00
Flashfyre
7e3ad88e4d Hide candies for evolved starters 2024-04-14 00:14:23 -04:00
shayebeadling
f068b53d44
Show icon in dex for HA mons, like shiny (#117)
* Show icon in dex for HA mons, like shiny

* Swaps the star with the HA capsule

* Removes the unwanted icon
2024-04-13 23:20:54 -04:00
Flashfyre
796f69daeb Lower candy costs for lower-cost starters 2024-04-13 20:41:51 -04:00
Flashfyre
000d31f663 Fix use candy menu showing up for evolved starters 2024-04-13 19:36:43 -04:00
Flashfyre
c369e9ed85 Change layering on certain starter select ui elements 2024-04-13 19:28:32 -04:00
Flashfyre
61ce0887ef Fix candy menu not showing for species with only 1 starter move 2024-04-13 19:21:59 -04:00
Flashfyre
608c024749 Fix crash on starter select when scrolling generations 2024-04-13 19:06:33 -04:00
Flashfyre
824a73ef71 Add candy system for passives and value reductions 2024-04-13 18:59:58 -04:00
Flashfyre
3961550f62 Fix fusion move learning bug and inaccurate HP in battle info 2024-04-11 20:40:16 -04:00
Flashfyre
eaf993e76f Fix starter select types not respecting form 2024-04-11 19:10:56 -04:00
Flashfyre
1d0f04d629 Add type icons to starter select 2024-04-11 11:39:08 -04:00
Flashfyre
f2a141cf15 Fix Mega evolutions causing ability slot to be lost 2024-04-11 11:09:07 -04:00
Flashfyre
31050a5181 Add passive secondary abilities for bosses 2024-04-11 09:24:03 -04:00
Flashfyre
ca778e07d5 Implement Pokemon fusion icons 2024-04-10 10:57:06 -04:00
Flashfyre
eb5bdb07a8 Add outage handling 2024-04-10 01:32:49 -04:00
Flashfyre
15e3fefd80 Properly reset data when logging out to avoid data leakage 2024-04-09 18:48:34 -04:00
Flashfyre
8ec7333b1e Re-disable data imports 2024-04-09 17:22:38 -04:00
Flashfyre
e672ead184 Indicate starters that exceed cost on starter select and show values for locked starters 2024-04-09 16:58:56 -04:00
Flashfyre
2a6042ff7e Add HP Bar Speed setting and fix Grip Claw HP skip bug 2024-04-09 15:34:57 -04:00
Flashfyre
093b95df41 Add auto hide timer for ability bar 2024-04-09 12:08:38 -04:00
Flashfyre
88de47d8d8 Fix starter moveset logic for starters with forms 2024-04-09 11:52:34 -04:00
Flashfyre
389036a56f Temporarily add back data import 2024-04-08 23:29:07 -04:00
Flashfyre
611d78718d Fix additional line break bug 2024-04-08 21:10:53 -04:00
Flashfyre
dff22c4cae Add shiny indicator on summary screen 2024-04-08 10:12:06 -04:00
Matthew Olker
b7130e28d9 Additional Move Change Fixes 2024-04-08 08:36:02 -04:00
Matthew Olker
8b382dd42e Fix Calyrex Rider uanble to change starter moves 2024-04-07 22:57:22 -04:00
Flashfyre
b767a90464 Fix adding unintended space to beginning of messages 2024-04-07 21:38:04 -04:00
Flashfyre
13167a3901 Fix line break issues with evolution screen 2024-04-07 21:18:52 -04:00
Flashfyre
737499b1e9 Fix voucher screen crash 2024-04-07 20:12:45 -04:00
Flashfyre
9ef13e5f67 Fix crash related to null text 2024-04-07 19:11:34 -04:00
Flashfyre
07aac12a2b Fix and re-implement improved text overflow logic 2024-04-07 18:58:19 -04:00
Flashfyre
2ee2535df4 Comment out text overflow change 2024-04-07 10:56:09 -04:00
Flashfyre
689d4700c1 Add 2 second confirmation delay when overwriting save 2024-04-07 10:28:23 -04:00
Flashfyre
e747fa2ecd Increase endless mode limit to 15 2024-04-06 23:50:26 -04:00
Flashfyre
70a4d54ec9 Predetermine overflow line breaks 2024-04-06 23:03:20 -04:00
Flashfyre
9ee9a0a86b Fix egg hatch screen issues 2024-04-06 21:48:48 -04:00
Flashfyre
0d2f3e0388 Add battle count splash 2024-04-06 18:29:17 -04:00
Flashfyre
307c84914e Buff IV Scanner item 2024-04-06 10:37:54 -04:00
Flashfyre
5ebc351e4f Add a long-term goal 2024-04-05 22:58:40 -04:00
Flashfyre
5bed242002 Add Lock Capsule item and update reroll logic 2024-04-05 10:14:49 -04:00
Flashfyre
e76fa25bc8 Fix attack type boosters applying universally and buff Soul Dew 2024-04-04 20:33:08 -04:00
Flashfyre
87e0e06b9e Add faster evolution skipping 2024-04-04 18:54:50 -04:00
Flashfyre
6a62ae1b5a Only block confirm and cancel inputs with delayed option UI 2024-04-04 18:07:24 -04:00
Flashfyre
4f0b1fdcfb Fix namebox not updating with theme
Fix namebox not updating with theme; ban certain species from being used by trainers
2024-04-04 18:00:21 -04:00