Compare commits

...

1732 Commits

Author SHA1 Message Date
Lugiad a5bafe5c47
Corrections to French menu.ts (#932)
* Corrections to French menu.ts

* Corrections to French menu.ts
2024-05-15 16:43:28 -05:00
José Ricardo Fleury Oliveira 1b751dddec Update translations in pt_BR/menu.ts and pt_BR/weather.ts 2024-05-15 15:25:35 -04:00
José Ricardo Fleury Oliveira 04866e503a
Minor translating fixes and Save and Quit in ptBR (#928)
* Minor fixes in menu-ui-handler

* Minor fix in menu.ts
2024-05-15 15:24:47 -04:00
Lugiad 2778eb2651
French weather.ts corrections (#923)
* French weather.ts corrections

* French weather.ts corrections
2024-05-15 13:05:07 -05:00
Surinam b8dff030aa
Weather & evolution i18n with french translations (#380)
Co-authored-by: Marius MICHAUD <marius@lacomstore.com>
2024-05-15 12:31:18 -05:00
Adrian Torrano 44c0d29c1d
Add missing translation for learning move (#879)
* add missing translation for learn move

* fix countdown german translation

* Fix countdown French translation

---------

Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
2024-05-15 11:42:34 -05:00
Flashfyre 78f7965304 Revert "add logic to conditionally align window (#851)"
This reverts commit 7769c06393.
2024-05-15 12:22:32 -04:00
Adrian Torrano 7769c06393
add logic to conditionally align window (#851) 2024-05-15 11:01:20 -05:00
Lugiad afcffab90f
Added Gen names localizations in Starter Selection UI (+"Uncaught" translation in French) (#907)
* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Update starter-select-ui-handler.ts

* Update starter-select-ui-handler.ts

* Added Gen names localizations in Starter Selection UI

* Added Gen names localizations in Starter Selection UI

* Updated with recent pt BR edits
2024-05-15 10:57:48 -05:00
Xavion3 9197f9f070 Limit rare eggs to e4+ and fix trainer boss check
Also fixes weighting to account for adjusted level ranges
2024-05-15 11:55:47 -04:00
Lugiad fcffa000c5 French translation Save and Quit 2024-05-15 11:45:44 -04:00
Flashfyre ac2e78129e Add Save and Quit option to replace Return to Title 2024-05-15 11:42:18 -04:00
Tempoanon 38e3022d06
Add missing biomes for camoflauge (#912) 2024-05-15 10:32:10 -05:00
José Ricardo Fleury Oliveira 9b8af7ad71
Fixed the ptBR text in starter menu popping out of the info box... (#902)
* Fixes the ptBR text in starter menu popping out of the info box and added language personalization, changed some ptBR natures and ordered thw switch case in alphabetic order

* Small fix
2024-05-15 10:13:35 -05:00
Flashfyre adf5690383 Migrate data for offline users 2024-05-15 10:55:17 -04:00
mbroll d32dbddd48
Update ability.ts (#910)
Water bubble should double the damage of water moves. The current multiplier in-game is x1.
2024-05-15 09:21:52 -05:00
Flashfyre 3c8d919ef8 Revert "Implemented Power Split and Guard Split (#699)"
This reverts commit 0b75a5210a.
2024-05-15 10:13:29 -04:00
Alessandro Bruzzese 3aeef50507
Update Italian starter-select-ui-handler.ts (#901) 2024-05-15 09:08:32 -05:00
karl-police 3ef08e433a Correct a translation due to misleading token 2024-05-15 09:58:45 -04:00
Flashfyre 5f3fd17fdd Add Quick Claw item 2024-05-15 09:42:45 -04:00
Flashfyre 58e59369ed Revert "Readded removed args, inverted 'simulated' instead of removing (#874)"
This reverts commit e89dbad5f1.
2024-05-15 09:12:03 -04:00
Frederico Santos 0b75a5210a
Implemented Power Split and Guard Split (#699)
* Implemented Power Split and Guard Split

* Update changeStat method to use summonData for Pokemon stats

This commit modifies the `changeStat` method in the `Pokemon` class to use the `summonData` object for updating Pokemon stats instead of directly modifying the `stats` object. This change ensures that the updated stats are correctly reflected in the `summonData` object, which is used for battle calculations and other related operations.

Refactor the `getStat` method to check if `summonData` exists and return the corresponding stat value from `summonData.stats` if it does. Otherwise, return the stat value from the `stats` object.

This change improves the accuracy of stat calculations during battles and ensures consistency between the `stats` and `summonData` objects.

* Added documentation for Power Split and Guard Split + linting

* removed incorrect files

* Removed incorrect folder

* removed unnecessary import

* Added documentation for getStat and changeSummonStat methods

* New description for getStat()

* Adjusting function descriptions

* adjusted descriptions according to guideline

---------

Co-authored-by: Frederico Santos <frederico.santos@fivedegrees.nl>
2024-05-15 07:41:40 -05:00
andrew-wilcox 1f5b2726b5
added auto hit and 2x damage from certain moves when targeting a pokemon that used minimize (#824)
* added auto hit and 2x damage from certain moves when targetting a pokemon who used minimize

* review fixes and bad merge

* review fixes and bad merge v2

* changed to be double damage instead of power for the minimize condition

* added TSdocs for function]

* remove ability to add minimize tag to dynamax-mons

* status cannot be applied to max-mons, and falls off if they dynamax

* updated doccumentation

* Update move.ts

---------

Co-authored-by: Cae Rulius <cae@polywhack.com>
Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-15 07:36:34 -05:00
Jannik Tappert 512016faef
Sacrifical Moves (that dont require a target like explosion or self d… (#691)
* Sacrifical Moves (that dont require a target like explosion or self destruct) now also work if the target is flying, diving etc.

There is also a new catagorie of moves. "SacrificalMovesOnHit" for all moves that need to hit for them to be sacrifical like MEMENTO

* Added comments, added (what i think is TSDoc) to functions and classes. Removed empty lines i introduced

* .

* Added fixes for the Review by TempsRay.

* Added missing *

* Remove Target Requirement of SacrificialAttr

* Update move.ts

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-15 04:10:20 -05:00
notpatchmaybe e89dbad5f1
Readded removed args, inverted 'simulated' instead of removing (#874) 2024-05-15 03:56:06 -05:00
Madmadness65 1e224a6ac4 Allow Original Color Magearna to be obtained
Another completely cosmetic Pokémon form (and a nice looking one at that!).
2024-05-15 01:46:24 -05:00
Flashfyre 4a7da3e5f6 Fix export not working 2024-05-15 02:01:30 -04:00
Flashfyre 70ecc51f50 Don't clear local data in offline mode 2024-05-15 01:54:15 -04:00
Flashfyre 751120e77e Fix crashing in offline mode 2024-05-15 01:42:36 -04:00
Flashfyre 7e0e4ecd6d Call saveSystem on gacha pull outside of current battle 2024-05-15 01:29:07 -04:00
Flashfyre c6973365cb Change last save interval to correct value 2024-05-15 00:56:17 -04:00
Samuel H 67c18a15e2
Implement client session and re-implement hybrid saving (#888)
* Implement client session and re-implement hybrid saving (WiP)

* Fixes for hybrid saving

* Add local data clears where applicable

* Include client session ID in system update

* Change save threshold from 5 waves to 10 waves or 5 minutes
2024-05-15 00:52:06 -04:00
Benjamin Odom 835b00d457
Added Comments to Base Classes (#860) 2024-05-14 23:19:12 -05:00
karl-police 6bed21770d
Recoil (#863) 2024-05-14 20:36:49 -05:00
cimds aeeebcbf38 Update biomes.ts: Cave's Beach link changed to Lake
Replacing Cave's Beach link with Lake would weaken the "water loop", a situation where players get continually routed back to Beach, leading to frustration. Lake is a crossroads biome that connects to much of the rest of the game, while still connecting to Beach, making it not a drastic detour.

Infernal Vulpix simulated a hypothetical 10k wave endless run for me to see the difference this change would have on biome frequencies. Apologies for the broken formatting from me copying this from Discord:

                   Odds      Alt
Abyss              1.98%     2.40%
Badlands           3.57%     3.46%
Beach              6.30%     4.06%
Cave               5.87%     5.91%
Construction Site  3.90%     4.83%
Desert             1.70%     1.70%
Dojo               2.05%     2.58%
Factory            2.03%     2.57%
Fairy Cave         0.86%     0.59%
Forest             5.79%     5.64%
Grass              2.12%     2.48%
Graveyard          2.03%     2.39%
Ice Cave           4.00%     2.68%
Island             0.79%     0.53%
Jungle             2.80%     2.72%
Laboratory         0.13%     0.13%
Lake               3.37%     6.26%
Meadow             2.93%     2.74%
Metropolis         2.33%     2.55%
Mountain           2.86%     2.40%
Plains             5.96%     6.94%
Power Plant        2.06%     2.63%
Ruins              2.51%     2.59%
Sea                6.16%     4.07%
Seabed             2.90%     2.04%
Slum               2.58%     2.67%
Snowy Forest       3.79%     2.60%
Space              0.37%     0.41%
Swamp              3.79%     4.64%
Tall Grass         4.18%     4.73%
Temple             2.98%     3.06%
Town               0.00%     0.00%
Volcano            2.58%     2.29%
Wasteland          0.72%     0.72%
End                2.00%     2.00%
2024-05-14 18:54:39 -04:00
Flashfyre f505c7f5fd Fix issues with formatLargeNumber 2024-05-14 16:12:31 -04:00
karl-police 06ec265bcd battle.ts Translation Consistency and fixes 2024-05-14 15:43:33 -04:00
Nexllon df499e2f71
offline mode - adds daily run and fixes clear freezes (#834)
* offline mode - adds daily run and fixes clear freezes

* removed unused import
2024-05-14 15:42:30 -04:00
daniel_and 58ec2ebd89 meta charset should be ordered before any elements containing text 2024-05-14 14:40:24 -04:00
Ethan 7d3cf577a6
Implented Gen VII Sheer Cold Changes (#349)
* Made Sheer Cold not affect Ice Types, as well as implementing the Gen VII change of 20% for non ice types.

* Pushed accurancy change

* Updated and separated the accuracy attribute and the Ice no effect attribute

* Fixed the OHKO attribute (accidentally removed) and fixed multiplier

* Updated attribute names, as well as making the move cancelled instead of 0x multiplier

* Added TSDoc comments

* Updated accuracy logic

* Changed the text response for Sheer Cold immunity

* Added immune to the HitResult enum
2024-05-14 13:01:37 -05:00
Brandon Rodgers 06c3611d06
Ability Corrosion (#744)
* Ability Corrosion

Implemented Corrosion Partially.
Tested against:
- Poison Powder
- Toxic
- Dire Claw
- Sludge Bomb
- Psycho Shift

They all work as expected

Missing ability Magic Bounce to test against.

* Added TSDoc Documentation

Added documentation to the new IgnoreTypeStatusEffectImunnityAbAttr and added comments to the checks for this ability attribute.

* Added More Documentation

Add comment into Phases for what sourcePokemon is for.
Renamed source to sourcePokemon onto trySetStatus and canSetStatus.
Added TSDoc head for what sourcePokemon is and anything else I am aware of what they are used for.

* Removed unfinished TSDoc

Removed TSDoc headers due to not having enough understanding to fill out all of the parameters

* Fix Formatting and Reorder Parameters

* Update arena-tag.ts

* Update phases.ts

* Update ability.ts

Added access modifiers to my class and the class I compared to.

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-14 13:00:37 -05:00
Alessandro Bruzzese 89411d7b3e
Update Italian ability-trigger.ts (#861) 2024-05-14 10:38:52 -05:00
Xavion3 d1187c7174
Modify legend gacha to be even split (#858)
* Modify egg gacha to be even split

* Update to a daily cycle

* Add spaces

* Removes now unused getSunday function
2024-05-14 11:34:40 -04:00
Madmadness65 7061bb0d70 Lower starter cost of some mythical Pokémon
Deoxys, Victini, and Genesect should not be in the Legendary egg pool, to make them consistent with the other mythicals.
Also additional learnset changes for a couple mythicals with no/lacking starting moves.
2024-05-14 01:21:28 -05:00
Madmadness65 37f672789d Give Delibird an actual level up learnset
No longer is it stuck with just two moves via level up. It now has a thematic set of level up moves based on other similar Pokémon and its TM compatibility.
2024-05-14 00:56:45 -05:00
Madmadness65 856757fd56 Add custom Jungle biome music by Lmz 2024-05-13 23:46:28 -05:00
James Diefenbach 81349816d9
changed formIndex to getFormkey in EvolutionItem constructor (#844)
Co-authored-by: James Diefenbach <z5421232@ad.unsw.edu.au>
2024-05-13 23:01:08 -05:00
AJ Fontaine fe7a4180a2
Give level 1 moves back that were made unusable in SV (#842) 2024-05-13 21:21:49 -05:00
Lugiad c0426cfe6b
Update French move.ts (#845) 2024-05-13 21:19:28 -05:00
Madmadness65 4e279224c5 Update Let's Go moves to their Gen 8 functionality
This primarily just affects Zippy Zap, as it loses its always crit attribute for an evasion increase (Associated localization strings will need updating). Also implemented Sparkly Swirl's status curing attribute.

Also included is a wild evolution delay for some stone evolution Pokémon that was previously overlooked.
2024-05-13 20:59:38 -05:00
Lugiad c42441294b
Update French ability-trigger.ts (#836) 2024-05-13 20:17:41 -05:00
Douglas Marchione de Souza de3ca08704
Fix Air_Lock ability to express when it is switched in (#765)
* Airlock ability now properly announces when it is
in field when the pokemon with it is switched in

* Set message as in the original games, also created
a new attribute for in switch messages to not have
the pokemon name required to be on it.

* Committing language changes (i18n function)

* Revert "Committing language changes (i18n function)"

This reverts commit 2a3152003b.

* Changed message variable name
2024-05-13 20:09:46 -05:00
Flashfyre 7943633481 Revert "Implement hybrid saving for optimization"
This reverts commit b45cd2f7e7.
2024-05-13 20:56:28 -04:00
Flashfyre ab92bc61ba Revert "Only show save icon on server sync"
This reverts commit 5d0dbfff98.
2024-05-13 20:56:19 -04:00
YounesM 9d90cc3e10
corrected uturn flip turn crash (#596) 2024-05-13 18:52:36 -05:00
LaukkaE af86bdeb06
Prevent applying item boosts when power is <1 (#795)
* Prevent applying item boosts when power is <1

* add comments
2024-05-13 18:48:47 -05:00
LaukkaE 1d29ca7974
Fix Comeuppance (#781) 2024-05-13 18:48:22 -05:00
JackGilham 19d244ee94
Update modifier-type.ts (#636)
Issue#613.

Have added additional EvolutionItemModifierType condition that prevents none base form pokes from taking Evo Items.
2024-05-13 18:38:27 -05:00
Benjamin Odom 1c56efc860
Added Ability Triggers Localization (#811)
Adds the base files needed to start translating Ability trigger messages. Provides one as an example.
2024-05-13 18:12:28 -05:00
José Ricardo Fleury Oliveira 74ee3329f8
Added "Uncaught" localization in Starter Selection UI (#831) 2024-05-13 18:02:44 -05:00
José Ricardo Fleury Oliveira 3a3611dfc0
Minor translation fixes (#829) 2024-05-13 17:59:09 -05:00
Flashfyre 5d0dbfff98 Only show save icon on server sync 2024-05-13 18:37:48 -04:00
Flashfyre b45cd2f7e7 Implement hybrid saving for optimization 2024-05-13 18:17:57 -04:00
Flashfyre 7e5c7fb4f7 Don't allow trainer egg moves before level 60 and no rare egg moves at all 2024-05-13 17:03:53 -04:00
Griffin Zody ed87293867
Fix Zygarge Complete form changing back into 50% (#786) 2024-05-13 14:53:23 -05:00
Matthew Olker 47c9eb547d fix Rare Shiny Groudon back sprite 2024-05-13 15:29:50 -04:00
José Ricardo Fleury Oliveira e2dfbc4aa5
Added new entries (#823) 2024-05-13 13:55:15 -05:00
Jannik Tappert 487b1d26d1
Added german localization to the new entries in starter-select-ui-handler.ts (#822) 2024-05-13 13:24:55 -05:00
Matthew Olker 40993793cb Show default icon for missing starter icon 2024-05-13 14:23:34 -04:00
Matt Ross 4e6cf2a6ac
Facade should ignore burn damage reduction (#530)
* Facade should ignore burn damage reduction

* update order of burn conditions

* remove unnecessary space

* undo facade check in apply

* Rework facade bypassing burn as move attribute

* Only check ability attribute if move attribute was false

* Add missing semicolon

* Add tsdoc comment

* Add comment to burn damage reduction class

* Added changes from Discord thread

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-13 13:06:15 -05:00
Matt Ross fa60e002e8
Fixes some variable damage moves not working with tinted lens (#759)
* Fixes some variable damage moves not working with abilities

* Rework as new ability attribute

* Update variable base power check to original location

* formatting

* Add tsdoc comments

* add floor for potential non int multipliers

* Update pokemon.ts

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-13 13:05:09 -05:00
Lugiad 610de916a0
Update French starter-select-ui-handler.ts (#821) 2024-05-13 13:01:30 -05:00
Madmadness65 34a4f86982 Add a couple starter select localization entries
The passive ability's "Locked" and "Disabled" strings can now be localized.
2024-05-13 12:50:56 -05:00
Flashfyre 9a49691a9e Add max options to language select
Add max options to language select (fixes #819)
2024-05-13 13:10:01 -04:00
José Ricardo Fleury Oliveira 2a32189ea1
Added Portuguese (Brazil) translations (#766)
* Add support for Portuguese (Brazil) locale, except for moves and abilities.

* All ptBR translations, names of moves and abilities maintained in english.

* Small fixes

* Updated Frisk and fixed Plus and Minus descriptions

* Changed the settings label to "Português (BR)"
2024-05-13 11:18:24 -05:00
Alvin Zou 6d73500aeb
Update Frisk descriptions (#784) 2024-05-13 11:08:55 -05:00
Jannik Tappert e4d3f73dee
ToggleSize is now dependend on language + added some missing german translations (#797) 2024-05-13 11:06:26 -05:00
Alessandro Bruzzese b189289890
Updated italian localization (#815)
Updated:
 - `it/fight-ui-handler`
- `it/growth`
- `it/nature`
2024-05-13 10:52:31 -05:00
alpaca 09287c22ba
implements telepathy (#307) 2024-05-13 05:59:39 -05:00
lucfd b36c23fae1
Implemented Curious Medicine (#263)
* implemented supersweet syrup

* implemented curious medicine

* removed sneaky test overrides

* removed sneaky test overrides x2

* updated to new language-agnostic format, removed supersweet syrup

* fixed whitespace

* Update ability.ts

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-13 04:57:17 -05:00
Marcos 3cc990f5d2
Fully implemented floral healing (#250)
* Created BoostedHealAttr and implemented Floral Healing

* Update move.ts

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-13 04:27:38 -05:00
Matthew 21a0a0276d
add pokeball override (#793) 2024-05-13 03:40:53 -05:00
Flashfyre 8d96ec7666 Add canonical link 2024-05-13 01:43:04 -04:00
Tempoanon e9c09070df
Stench should not trigger on status moves (#800) 2024-05-13 00:24:07 -05:00
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
Flashfyre 97b50707a0 Fix icon configuration always including gen 9 2024-05-10 00:24:21 -04:00
Flashfyre 89ab909719 Move Eternal Floette icon to gen 6 2024-05-09 23:53:15 -04:00
Flashfyre 190fd771c5 Remove extensions from gen 9 icons 2024-05-09 23:46:14 -04:00
Flashfyre 5c98529108 Re-remove fallback API change with new URL 2024-05-09 23:44:09 -04:00
Flashfyre 4810966b7e Revert "Reapply "Revert API URL change""
This reverts commit 35d06512a2.
2024-05-09 23:40:54 -04:00
Flashfyre 35d06512a2 Reapply "Revert API URL change"
This reverts commit 08067d9937.
2024-05-09 23:29:45 -04:00
Flashfyre 72107aa615 Implement various sprite fixes and restructure icons 2024-05-09 23:28:08 -04:00
MonsieurDMA 6a3f5c5428
German - Tutorials and UI Buttons (#650)
* German - UI buttons

* German - Tutorials

* Fix typo in quote transformation
2024-05-09 21:33:15 -05:00
MonsieurDMA 43b75b601a
German - All Gen 8 pokemons (#640) 2024-05-09 21:31:07 -05:00
AJ Fontaine 7219556e77
Hydro Steam (#231)
* Hydro Steam, Spirit Shackle, U-turn fix

Match formatting to project style

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

* Fix Hydro Steam power up in Sun, even harsh sun if type changes

* Fix issue with Hydro Steam outside sun

* Add comments to IgnoreWeatherTypeDebuffAttr for documentation

* Move U-turn fix to another PR

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-05-09 21:21:57 -04:00
Flashfyre 2bc1cfb0fc Extend the temporary shiny chance increase by 1 day 2024-05-09 20:16:29 -04:00
Flashfyre 02cba0f741 Add temporary triple shiny chance 2024-05-09 19:59:21 -04:00
Flashfyre dc9026f583 Add missing and updated biome art 2024-05-09 19:05:19 -04:00
Matthew 10cf1cd94f
Cleanup overrides and imports (#603)
* cleanup overrides and imports

* Add GreenLamps Modifier Overrides

* added comments

* starting money and biome comments

* account for overriding empty move

* more override descriptions

* added generator held item names to override comment
2024-05-09 14:52:09 -05:00
Lugiad 882f9c289c
French typos + forgotten description in move.ts (#617)
* French typos in move.ts

* French typos + forgotten description in move.ts
2024-05-09 15:50:14 -04:00
alpaca 1d7d8b1ac7
Implement Heal Bell + Aromatherapy (#238)
* adds frame for StatusCureAttr

* heal bell and aromatherapy functioning as intended

* refactor attr to solely handle party cure, party interaction unique enough to justify

* adds header to PartyStatusCureAttr

* code comment

* comment formatting improvement

* checks for passives as well

* code comment

* shows ability bar if immune
2024-05-09 14:15:56 -05:00
Xavion3 d5681a6e03
Fix loading protosynthesis/quark drive boosts (#687) 2024-05-09 11:33:47 -05:00
Madmadness65 407d9b7c49 Minor fix for Oinkologne's gender ratio
It was unintentionally set to be 100% male instead of 50/50.
2024-05-09 10:21:01 -05:00
maru 7f0362e124
Fix it for real this time 2024-05-09 07:30:19 -04:00
maru c1cff02a18
Fix bug with accounts being unable to create new saves 2024-05-09 06:22:33 -04:00
Benjamin Odom b231b887aa
Update ability.ts (#671) 2024-05-09 16:40:23 +10:00
Xavion3 802daecd65
Fix starters with multiple forms being unable to change move (#667) 2024-05-09 00:39:45 -05:00
Xavion3 fd088c9360
Prevent doubles trainers generating with one pokemon (#642) 2024-05-09 00:39:20 -05:00
Xavion3 aba97c6ddc
Make max and z moves unable to be chosen with metronome (#641) 2024-05-09 00:38:46 -05:00
Xavion3 e6ba60364e
Save battler tags (#516)
* Save battler tags

Also saves the rest of the summonData except for transform specific things.

* Add missing values for type boost tag.

* Add intellisense comments
2024-05-09 00:37:51 -05:00
mercurius-00 a48a12ec0b
Add wordwrap to Chinese words (#670)
Since Phaser.Text's wordwrap doesn't work with Chinese words, ''\n' has been added to move.ts and ability.ts
2024-05-09 00:20:01 -05:00
Tempoanon d16cb1202f
Fix charge (#614)
* Fix charge

* Remove console logs
2024-05-08 23:37:50 -05:00
Reid McInroy c6749b1fb4
Update spacing of icons upon Name/Tera update (#655)
This change will update the relative position of the Tera, Splice, and Shiny icons when the Name or Tera Type updates. Fixes #618
2024-05-08 23:18:26 -05:00
Madmadness65 e39b157767 Make Simplified Chinese locale use zh_CN 2024-05-08 23:13:38 -05:00
Jane620 5992d9eb81
add simplifed chinese locale (#485)
* add chinese locale, but translation is not yet complete.

* Add chs and cht locale

* translate ability,move,pokeball,pokemon

* Add files via upload

* Add files via upload

* Update i18n.ts

* Delete src/locales/zh_cn directory

* Add files via upload

* Update settings.ts

* Delete src/locales/chs directory

* Add files via upload

* add tutorial

* fix conflict issue

* remove cht, due to chs is almost done by justhil

* remove duplicated setting

* spell correction

---------

Co-authored-by: ZXZhuang <2993968012@qq.com>
Co-authored-by: justhil <138752349+justhil@users.noreply.github.com>
Co-authored-by: Jianfeng 2. Wang (NSB) <jianfeng.2.wang@nokia-sbell.com>
2024-05-08 22:59:49 -05:00
alpaca 76ac86d2ae
Implements healer (#259)
* Implements healer

* adds an ally check to the condition

* done testing, changes chance back to 30%

* adds comment header for PostTurnResetStatusAbAttr

* adds override to resetStatus to not allow revive

* dont revive

* override revert
2024-05-08 20:21:55 -05:00
Lugiad 71e9d0c385
Fix French battle.ts (#663)
Fix after global edit to "notDisabled"
2024-05-08 20:00:38 -05:00
alpaca aeab9d78ec
Implements cursed body (#227)
* implements cursed body

* 30 percent chance to proc

* check if max

* removes unimplemented tag

* bypasses faint

* un-disable message specifies pokemon name

* adds prefix to un-disable message

* space issue
2024-05-08 19:25:16 -05:00
William Burleson 94da7838f8
fix offline imports (#659) 2024-05-08 18:14:09 -05:00
alpaca b5888b5472
Implements Cotton Down (#254)
* Implements Cotton Down

* activates on faint as well
2024-05-08 17:25:15 -05:00
Benjamin Odom ea5e535f9f
Fixed Failed Moves Not Using PP (#634)
Fixed an issue where if a move failed, it would not use power points.
2024-05-08 15:51:56 -05:00
Benjamin Odom 4509e08dc6
Renamed the Python Script File (#657)
Accidentally left out the 'c' in 'comments'
2024-05-08 15:50:31 -05:00
Flashfyre e993bf9945 Fix session slot always saving to first slot in offline mode 2024-05-08 16:36:44 -04:00
maru 3ec9081a77
Change titlestats update interval to 60 seconds 2024-05-08 15:47:03 -04:00
Elliott Simmonds cb24faa12e
Small fixes to burning bulwark and alluring voice (#651) 2024-05-08 13:39:22 -05:00
Madmadness65 8a35166988 Slightly adjust Recovery Tokens
Each individual token heals 1 percent less, but now stacks to 15 instead of 10, to maintain the current maximum of 30% recovered per turn.
The purpose of this change is to make the healing more gradual, and just generally less painful if you get multiple early on.
2024-05-08 12:38:31 -05:00
Lugiad 0af02210ee
Overflowing fix in French menu.ts (#648) 2024-05-08 12:36:09 -05:00
Akuma-Reiki ea1ed1352c
Hide Ribbons When Not Owned (#649)
* Candy/Ribbon UI Update

* Removes the overrides

No level 2000000000000000 runs for you

* checks for all root species

* Hide ribbon when not owned
2024-05-08 12:35:27 -05:00
Lugiad e93777e52a
Names of the languages in their respectives languages (#635)
* Names of the languages in their respectives languages in settings

* Names of the languages in their respectives languages
2024-05-08 12:08:34 -05:00
Akuma-Reiki 662319e9ac
Candy/Ribbon UI Improvement (#622)
* Candy/Ribbon UI Update

* Removes the overrides

No level 2000000000000000 runs for you

* checks for all root species
2024-05-08 12:01:05 -05:00
Gray b6692e42b2
Fix Flare Blitz in Gravity (#637)
This condition is out of place since Flare Blitz is not supposed to fail if used in Gravity.
2024-05-08 10:25:47 -05:00
Jeremy B bb28d3599e
fix scrappy and mindseye working as passive ability (#567)
* fix scrappy and mindseye working as passive ability

* update apply for ignoretypeimmunityabattr

* simplify logic for ignoretypeimmunityabattr

---------

Co-authored-by: contra1337 <jpbastyr@gmail.com>
2024-05-08 00:32:38 -05:00
Procyonae 118c57ba75
Add fell stingers effect (#202)
* Add Fell Stinger Effect

* Update src/phases.ts
2024-05-07 23:44:55 -05:00
Benjamin Odom bb6bb1e6c1
Fixed Crash Moves and Reckless (#609)
* Fixed Crash Moves and Reckless

Added a new MoveFlags flag 'RECKLESS_MOVE' to make crash and recoil moves in line with other move flag boosting attacks.

Modified how flags were defined so they are easier to maintain.

Added the appropriate flag to all mvoes listed as being affected by Reckless. Steel Beam and Mind Blown do not count according to source:
https://bulbapedia.bulbagarden.net/wiki/Reckless_(Ability)

* Update move.ts

* Update abilities.ts
2024-05-07 23:28:35 -05:00
Benjamin Odom ce3d12d58e
Added hyperlinks to Moves, Abilities, and Species enums (#586)
* Added hyperlinks to Moves enum

Yes, I'm aware of what this looks like in the file itself, but it enables a nice neat little hyperlink shown below to the bulbapedia page when you hover over a move. I feel like the added convenience is worth making the file harder to read considering nobody is ever going to touch that file anyway. I plan on adding a python script to finish the rest of them, but didn't want to actually sink time into this if we absolutely despise it.

* Added Python Script

Created a python script to add comments with a url to abilities.ts, moves.ts, and species.ts using regex
2024-05-07 23:18:19 -05:00
Madmadness65 1c9b65125d Fix Bouncy Bubble targeting & Hau encounter dialogue 2024-05-07 23:01:54 -05:00
Flashfyre 08067d9937 Revert "Revert API URL change"
This reverts commit 4ef6707333.
2024-05-07 16:16:22 -04:00
Benjamin Odom bd839a1ffb
FIx Sceptile and Blaziken Learnsets (#606)
These got missed in the transition from looking at Serebii and Bulbapedia for data.
2024-05-07 13:42:07 -05:00
Flashfyre 72b4552b01 Don't update user info on save for optimization 2024-05-07 13:36:52 -04:00
Tempoanon 4fcea107ab
Fix wrong stat displayed for mythicals hatched (#601) 2024-05-07 12:10:48 -05:00
Xavion3 cc3113ff43 Fix revive weight cap 2024-05-07 11:26:28 -04:00
Flashfyre 02b2c2d55b Ribbons are also awarded for first clear 2024-05-07 10:15:40 -04:00
Flashfyre b9ce5cfaaa Mints permanently unlock natures 2024-05-07 00:58:36 -04:00
Madmadness65 fd0f21943e Implement Supersweet Syrup ability
Uses the new once per battle condition.
2024-05-06 23:47:20 -05:00
alpaca 36cde21ce3
Adds ribbon in starter screen if mon has beat classic mode (#370)
* adds the ribbon asset, hooking it up

* works if override. need to add field on server side I imagine

* moves count to starterData, increments on win

* formatting

* increment works properly

* recursively check for prevolution

* cleaned up to use getRootSpeciesId()

* changes ribbon to gold medal version

* adds Akuma's ribbon achievements

* ribbons increment correctly

* missed ui handler update

* reorder achievements

* ribbon correct, vouchers not. currently investigating

* increments properly, but voucher reward phase not appearing

* some cleanup

* works great, need to better reflect who is getting ribbon in message and cry

* plays level fanfare, tabling cry for now

* reran items.bat

* Minor fixes

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-05-07 00:44:41 -04:00
Xavion3 2d740f1952 Implement once per battle restriction on abilities
Currently just Intrepid Sword and Dauntless Shield
2024-05-07 00:39:16 -04:00
kenniky 52b546c924
add hazard removal for Rapid Spin, Defog, Tidy Up, Mortal Spin (#248)
* add hazard removal for Rapid Spin, Defog, Tidy Up, Mortal Spin

* Updated templating and fixed some errors

support for either pokemon using it
added better templating

* revert logic, and remove partial tags

---------

Co-authored-by: kenwang <kenwang@umich.edu>
Co-authored-by: Gwen Valentine <gwenvalentine@starshine.dev>
2024-05-06 22:00:31 -05:00
Alvin Zou 0beb3a0f89
Show number of Pokeballs in inventory when selecting a pokeball in the reward phase (#573)
* Show number of Pokeballs in inventory when selecting a pokeball in the reward phase

* Address comments
2024-05-06 21:43:01 -05:00
Benjamin Odom f18ff5b6cc
Update Learnsets for Gen3 to Indigo Disk (#571)
* Updated Learnset of Gen1 to Indigo Disc

Not many changes here for how much time it takes to comb through, but here it is.

Only notable change is Power-Up Punch got removed this gen so it had to be removed from Hitmonchan's learnset. Are we okay with this change? If so, this is good to go for Gen 1.

* Updated Learnset of Gen2 to Indigo Disc

Notable changes:

Porygon 2 loses Magic Coat with no replacement.

Ho-oh loses Burn Up but gains Overheat.

The rest seems better or neutral.

* Update Learnsets for Gen3 to Indigo Disk

A good chunk of these changes is just reordering the moves to match bulbapedia so that it's easier to see what changed in the future. Otherwise, it's really just replacing moves that don't exist anymore.

Also, Zangoose got a ton of new moves that work with a move relearner, but not by level-up. Weird, but good if you like Zangoose.

* Fix Duplicates
2024-05-06 19:54:02 -05:00
Reldnahc 84f6f06ca4 add override to force double battles.
add override for passive abilities.
2024-05-06 19:11:34 -04:00
Bruzzi 582330df33 Update italian translation 2024-05-06 15:01:18 -04:00
Dakurei 4c39bf64c5 Fix overflowing fr locale 2024-05-06 15:01:00 -04:00
Matthew 674b2257be
I18n import cleanup (#562)
* config import change

* all other configs
2024-05-06 14:25:17 -04:00
Lugiad 009d538ac5
Update French starter-select-ui-handler.ts (#559) 2024-05-06 13:54:32 -04:00
ArceUseless bde7620ac0
New spanish translations and literals for all langs (#552)
* Spanish translations for intro messages and some menus. Added Empty (save file) to lang files

* Spanish translations + new literals in all langs

* Spanish translations, new literals for all langs (starter-select-ui-handler)

* Two translations

* Resolving accidental overwrite in french menu.ts

* New starter-select-ui-handler lang files for all langs

---------

Co-authored-by: rnicar <rj.nieto.car@gmail.com>
2024-05-06 12:02:45 -04:00
Tempoanon 78ae7c9f0a
Minor TM learn fixes and make glacial lance non contact (#553)
* Make curse target

* Minor TM learn set changes and make glacial lance non contact
2024-05-06 12:00:51 -04:00
Viet Nguyen f22c25d376
add unit test for util function padInt (#175)
Co-authored-by: Viet Nguyen <vietnguyen@Viets-MacBook-Air.local>
2024-05-07 01:30:23 +10:00
lucfd 80b6001c77
Implemented Revelation Dance (#166)
* implemented Revelation Dance

* fixed steam engine activating on all water moves

* implemented typeless

* stellar handling for revelation dance

* removed testing lines

* changed to UNKNOWN implementation

* removed UNKNOWN RGB

* removed print debug + unnecessary logic

* simplified test condition further
2024-05-06 10:24:37 -05:00
Lugiad e3c1d08b37 Update French battle.ts + typo 2024-05-06 09:37:55 -04:00
Matthew Ross f92b563baa Hunger switch shouldn't trigger if terastallized 2024-05-06 08:49:26 -04:00
gericocross 29b80dbed8
Fixed Grafaiai animation (#547)
* Longer descriptions don't stuck shorter ones anymore

* Fixed Grafaiai animation
2024-05-06 08:44:05 -04:00
Madmadness65 a45da8a382 Quick egg move fixes 2024-05-06 00:31:28 -05:00
Jeremy B bc8cb51dc1
Add Scrappy ability handling (#473)
* partially implement scrappy

* add minds eye handling also

* remove unimplemented from minds eye

---------

Co-authored-by: jbastyr <jpbastyr@gmail.com>
Co-authored-by: Madmadness65 <59298170+Madmadness65@users.noreply.github.com>
2024-05-06 00:27:56 -05:00
Matthew Ross 6016243caf Lum berry should cure status and confusion if possible 2024-05-06 00:27:39 -04:00
Benjamin Odom 2b4dc9a4f0
Fixes Struggle Softlock (#531)
* Fixes Struggle Softlock

Fixed an issue where moves marked as (N) would prevent you from being able to Struggle.

Also fixes messaging so that a message shows when you are out of PP, Disabled, or trying to use an unimplemented move consistently.

* Update phases.ts
2024-05-06 00:02:52 -04:00
phynor c41546b680
updated move.ts german translation (#519)
* updated move.ts german translation

* fixed encoding on Pokémon
2024-05-05 21:44:55 -04:00
Madmadness65 700b79e0c3 Update egg moves
The latest in egg move changes. As usual, if there are any complaints, direct them toward the egg move discussion thread on the Discord.
2024-05-05 19:29:54 -05:00
LaukkaE 67ee104178
Fix Protosynthesis and Quark Drive (#289)
* Fix Protosynthesis and Quark Drive

* add partial tags
2024-05-06 10:26:11 +10:00
Greenlamp 4a49ff848a allow 2 button to be pressed at the same time 2024-05-05 19:34:21 -04:00
Temps Ray 77b6ad47d0 Make curse target 2024-05-05 18:40:21 -04:00
Greenlamp2 82b0606311
Fix - stop repeating key when focus is lost (#514)
* disable all key pressed when trying to open a modal

* in fact, checking the if the focus is lost is a better solution
2024-05-05 18:40:05 -04:00
Flashfyre 005caeb1ab Change cookie expiration to 90 days 2024-05-05 18:13:19 -04:00
Benjamin Odom e6fd331931 Fix HalfSacrificialAttr
Mind Blown targets all users and was triggering recoil every time it hit. Changed so that it only applies once after all targets take damage by adding a new MoveEffectTrigger, POST_TARGET. This also fixes an issue where dying to recoil stopped the rest of the damage from hitting the remaining targets.

This change also applies fixes for Steel Beam since they are have the same effect but is single target.

Also added missing messages for Damp and Recoil. All messaging is in line with Pokémon Showdown.
2024-05-05 17:46:15 -04:00
Tempoanon 9b72dfbd71
Implement curse (#510)
* Implement curse

* self targeting is always true if not ghost type
2024-05-05 17:45:20 -04:00
Flashfyre 6a3ca62490 Add separate sub-legendary stats 2024-05-05 17:11:29 -04:00
Madi Simpson f7f235cdec move: handle some aspects of custom fail text a bit better 2024-05-05 14:28:06 -04:00
lucfd 4aad37a758
Implement Take Heart Sleep Talk edge case (#508)
* removed take heart condition, added sleep talk edge case

* removed freeze heal

* removed testing stuff
2024-05-05 13:04:19 -05:00
LaukkaE 697f2a3a42 fix-takeHeart 2024-05-05 13:36:52 -04:00
Madi Simpson b6603e2c6c move: fix issue with self switch moves causing softlocks 2024-05-05 12:22:03 -04:00
EggMuncherSupreme fa2d257144
Changed Bouncy Bubble to heal 100% of damage dealt and implemented Take Heart (#326)
* Changed Bouncy Bubble to heal 100% of damage dealt, as according to Gen 8

* Fully implemented Take Heart
2024-05-05 11:01:39 -05:00
Madmadness65 d5cd243967 Re-export Furfrou trim sprites
Apparently all the non-shiny sprites had artifacts on them. This has been corrected.
2024-05-05 10:51:41 -05:00
Madi Simpson 8e606139fa
moves: (mostly) fix parting shot stack bug (#495) 2024-05-05 11:50:46 -04:00
Greenlamp 408b189966 1st attempt with a fix for black screen 2024-05-05 11:43:38 -04:00
Madi Simpson fa01f32475 ability: sturdy ability tag no longer pops up with 1 max hp 2024-05-05 11:40:54 -04:00
Armin 5c6e161eda Issue-483: Fix contact effects after death 2024-05-05 11:06:26 -04:00
Flashfyre 437cb87df9 Add separate achievements for sub-legendaries and rename pseudoLegendary field 2024-05-05 11:05:22 -04:00
Madi Simpson 80ee440109
Implement Guard Dog, attribute for abilities to give Intimidate immunity (#448)
* abilities: implement guard dog, abilities that give intimidate immunity

* abilities: implement rattled's second effect, remove refs to mold breaker

* abilities: fix rattled not giving the attack drop still

* abilities: make ability bars pop in to some success

* abilities: implement suction cups since it has the same effect

* moves: add custom fail text, fix animation issues with Guard Dog/Roar

* abilities: manually show intimidate ability bar to prevent weirdness
2024-05-05 10:52:27 -04:00
Lugiad f5bf35f8de
Removing forms names in Italian pokemon.ts (#486)
* Removing forms names in Italian pokemon.ts

Forms names aren't supposed to be specified in the name of the Pokémon

* Removing forms names in Italian pokemon.ts
2024-05-05 10:47:16 -04:00
Alessandro Bruzzese fea73081e5
Trasleted move.ts in italian (#490)
* Added Italian translations for ability.ts and other element

* traslated move.ts
2024-05-05 10:46:56 -04:00
Benjamin Odom faf1c0bce6 Small Typo when Learning a TM
Fixes a small typo when learning a tm. The incorrect escape character was being used and no escape character was being used for Spanish.
2024-05-05 10:45:47 -04:00
Greenlamp 3ee9c39975 disable the gamepad support when the option is on OFF 2024-05-05 10:45:18 -04:00
Madi Simpson e4b8bffdec stat change phase: only display comma before and if there are 3 or more stats 2024-05-05 10:45:00 -04:00
Akuma-Reiki b076dec346
Add Candy Progress UI to Starter Selecgt (#479)
Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-05-05 10:35:14 -04:00
Greenlamp2 d98f7733d4
Rework - Inputs management to include all gamepad mapping V2 (#429)
* rework of the input handling, including different gamepad and keyboard

* rework of the input handling, including different gamepad and keyboard

* first version of a too complex inputHandler based on phaser3-merged-input

* removed useless control management and kept it simple for our use case, investigating to put out button_XX()

* renamed inputHandler to inputController

* aggregate directions and some action into a same method + fix menu return value

* added back repeated input feature on keeping down a key

* cleanup + return type

* fix submit/action doing two things simultaneously, still same behaviour as before

* extracted UI inputs out of battle-scene

* tab -> spaces

* tab -> spaces what about now github ?

* tab -> spaces final (maybe)

* tried to fix the plugin loading issue on prod

* remove Plugins things as it's too uncertain how it works on prod

* seems old code source is indented with tab

* cleanup

* cleanup

* cleanup

* putting in an enum file the enum buttons

* fix repeating stats button + change message in event when the key is repeating

* added return type for ui-inputs

* added return type for inputs-controller

* adapted the code to integrate changes of bennybroseph
2024-05-05 10:30:00 -04:00
Benjamin Odom 3ed7649ce5
Remove Debug Code (#480)
Remove code intended only for debugging.
2024-05-05 18:45:54 +10:00
Ivan Perez 3a218eb92b
Fixed a bug where a yawned target in a semi-vulnerable state would be stuck in that state (#396) 2024-05-05 00:35:47 -05:00
Reldnahc 7cdf07c050
have arena tags check their sides. (#447)
* have arena traps check their sides.

* make sure we check the right tags layers
2024-05-05 00:27:46 -05:00
Benjamin Odom dd76cbc7a2
Add Setting to Swap A and B on Gamepad (#474)
* Add Setting to Swap A and B on Gamepad

Added a new setting to swap the A and B button on controller. Defaults to off which retains the current behavior on live.

* Add comments
2024-05-05 01:25:57 -04:00
Madmadness65 5440c0b40c Add B2W2 Legendary Titan Theme
This is a small part of a larger addition of music, added before the rest due to it being a B2W2 track.
2024-05-04 22:48:23 -05:00
Flashfyre 5d82a1538c Add various missing variant sprites and icons 2024-05-04 23:33:45 -04:00
Benjamin Odom daa6e3b3a8
Prevent Fusion Status Errors +Fix Double Battle Issue (#472)
* Reapply "Prevent Fusing Status Errors (#465)"

This reverts commit 18a1c152c0.

* Update phases.ts
2024-05-04 22:16:59 -05:00
Alessandro Bruzzese 41f9420c90
Added Italian translations for ability.ts and other element (#471) 2024-05-04 21:00:28 -05:00
Madmadness65 18a1c152c0 Revert "Prevent Fusing Status Errors (#465)"
This reverts commit 68eca464f7.
2024-05-04 20:50:48 -05:00
Madi Simpson 96d7fdd3f9
Implement Water Shuriken Battle Bond condition (#466)
* moves: water shuriken hits 3x 20bp in ash greninja forme

* moves: remove fusion checks
2024-05-04 20:50:12 -05:00
Madi Simpson 2c003854e9
terrain: psychic terrain doesn't block priority moves on the user's side (#470) 2024-05-04 20:45:37 -05:00
Benjamin Odom 68eca464f7
Prevent Fusing Status Errors (#465) 2024-05-04 20:37:31 -05:00
Benjamin Odom d170aeeab6
Updated Learnset of Gen2 to Indigo Disc (#469)
* Updated Learnset of Gen1 to Indigo Disc

Not many changes here for how much time it takes to comb through, but here it is.

Only notable change is Power-Up Punch got removed this gen so it had to be removed from Hitmonchan's learnset. Are we okay with this change? If so, this is good to go for Gen 1.

* Updated Learnset of Gen2 to Indigo Disc

Notable changes:

Porygon 2 loses Magic Coat with no replacement.

Ho-oh loses Burn Up but gains Overheat.

The rest seems better or neutral.
2024-05-04 20:27:01 -05:00
Madmadness65 1792b98608 Implement Genesect's forms & Techno Blast
Genesect's Drive forms does not change it's typing, only Techno Blast's type.
2024-05-04 19:45:07 -05:00
Madi Simpson 6151ec0e49
modifiers: pp up/max now also shows pp (#467) 2024-05-04 19:31:25 -05:00
Madi Simpson b2c74cfc90
Implement Opportunist (#460)
* abilities: implement opportunist

* abilities: make it not infinitely loop like a dummy

* abilities: properly ignore only opportunist on opportunist boosts

* abilities: rename some things to make a bit more sense
2024-05-04 18:38:53 -05:00
Madmadness65 4e0bf8f5a1 Adjust Tyrogue egg move
Mach Punch was unnecessary, as Hitmonchan gets it via level up. This provides a good setup option for all three evolutions.
2024-05-04 18:37:04 -05:00
Akuma-Reiki 92fb8b715e
Added Candy Progress UI (#463)
* Added Candy Progress UI

* GetRootSpecies rather than colors of current Species
2024-05-04 18:29:48 -04:00
LaukkaE 620a92aace
Bugfix Tickle, Tearful Look, Decorate (#464) 2024-05-04 17:28:15 -05:00
nrawicz cd7de10722
Expanding force hotfix (#459)
* Expanding Force Implementation

Added target change attribute based on terrain

* Class change I guess

* Expanding Force Implementation

Added target change attribute based on terrain

Class change I guess

Squashed weird split commit

* Fixed removed commits

My bad

* ACTUALLY fixed removed commits

* Expanding Force Hotfix

Fixes a bug where Expanding Force would not act as a multi-target move in the MoveEffectPhase while in psychic terrain
2024-05-04 13:28:44 -05:00
Benjamin Odom f53c699d04 Updated Learnset of Gen1 to Indigo Disc
Not many changes here for how much time it takes to comb through, but here it is.

Only notable change is Power-Up Punch got removed this gen so it had to be removed from Hitmonchan's learnset. Are we okay with this change? If so, this is good to go for Gen 1.
2024-05-04 13:43:07 -04:00
Flashfyre a7af14b8e2 Fix fusion token weight at 1000 2024-05-04 11:54:00 -04:00
nrawicz da5615eb4a
Implement Expanding Force (#417)
* Expanding Force Implementation

Added target change attribute based on terrain

* Class change I guess

* Expanding Force Implementation

Added target change attribute based on terrain

Class change I guess

Squashed weird split commit

* Fixed removed commits

My bad

* ACTUALLY fixed removed commits
2024-05-04 10:52:24 -05:00
Flashfyre 3d2f31eb4f Fix endure token weight 2024-05-04 11:50:15 -04:00
Lugiad d77ae729c0 Minor Update to French battle.ts
Thanks to @Dakurei for this nice compromise
2024-05-04 11:01:18 -04:00
Lugiad 3de4b9cd12 Minor Update to French battle.ts 2024-05-04 10:49:50 -04:00
dpMelian c58a2fdee3 feat: replace steel type sprite with new version for consistency 2024-05-04 09:49:21 -04:00
Flashfyre 5b4f1da854 Fix level capped party members not gaining friendship 2024-05-04 00:19:50 -04:00
Benjamin Odom b529eee5ac
Add Form Text to Starter UI (#446)
* Add Form Text to Starter UI

Adds text to the starter screen UI which indicates which Form you are currently selecting. This helps with Pokémon who don't have a sprite change for their form because it doesn't affect them until later.

* Make Title Case
2024-05-04 00:02:55 -04:00
Benjamin Odom 5d6181926a Removed Hardcoded Values
Realized there was an enum for the -1 value which should help clear up confusion if someone has to mess with this code later
2024-05-03 23:26:56 -04:00
Tempoanon fabd2b1550
Add in missing import (#445) 2024-05-04 12:40:34 +10:00
Tempoanon 5b44905b86
Fix Shedinja passive, mummy passive, acupressure, moody, and added a second move override (#369) 2024-05-04 12:30:23 +10:00
Tempoanon f9abc50d8b
Add Neutralizing Gas message, display Manaphy egg gacha origin, allow catching wonder guard bosses (#322)
* Add Neutralizing Gas message, display Manaphy egg gacha origin, allowcatching wonder guard bosses

* Add edge cases of supressed/overriden wonder guard bosses
2024-05-04 12:29:30 +10:00
Tempoanon 4163005f12
Implement Forewarn, Frisk, and BattlerTags for Magnet Rise (WIP) (#241)
* Implement Forewarn, Frisk, and BattlerTags for Magnet Rise (WIP)
2024-05-04 12:10:40 +10:00
Benjamin Odom e02b85629f Fix Enemy Counter Moves
The AI couldn't decide who to target with CounterDamageAttr  moves which don't need a target. This change makes an exception. Now functions the same as when the player selects one of these moves.
2024-05-03 21:00:56 -04:00
Madmadness65 ed24e03a6f Fix Groudon's passive
Changed from Flame Body to Protosynthesis, the original change wasn't discussed enough.
2024-05-03 19:35:07 -05:00
Madmadness65 cfee310350 Adjust more passive abilities
Changes some of the more problematic passives some Pokémon had. As usual, if there's any that you may have a problem with, we are always up for suggestions.
2024-05-03 19:21:02 -05:00
Lugiad 77c3a5ad78
Minor update to French battle.ts (#438)
* Minor update to French battle.ts

Added missing spaces before some exclamation marks

* Minor Update to French battle.ts
2024-05-03 18:07:51 -05:00
Lugiad 0c9402a649
Update French tutorial.ts (#437)
Changes made after in game test
2024-05-03 18:07:06 -05:00
Lugiad 75cbe4fe2c
French Update to menu.ts (#436) 2024-05-03 17:43:32 -05:00
Flashfyre 754fe434e6 Update biome pools for various legendaries and regionals 2024-05-03 18:37:46 -04:00
Flashfyre 2eec545c49 Fix stat number keys in legacy battle stats view 2024-05-03 17:54:56 -04:00
ArceUseless 19e434929c
Spanish translations (#422)
* Spanish translations for intro messages and some menus. Added Empty (save file) to lang files

* Spanish translations + new literals in all langs

---------

Co-authored-by: rnicar <rj.nieto.car@gmail.com>
2024-05-03 17:52:09 -04:00
gericocross 6f446324db Longer descriptions don't stuck shorter ones anymore 2024-05-03 17:43:13 -04:00
Madi Simpson 06ae04abad bugfix: ensure hit recoil moves always do at least 1hp in recoil 2024-05-03 17:10:50 -04:00
Madi Simpson d48f0aa97d
Implement Anger Shell and Berserk (#421)
* abilities: implement anger shell and berserk

* abilities: fix small typo causing berserk to raise speed instead of spatk

* abilities: condense battlestats into an array instead of multiple attrs
2024-05-03 15:55:46 -05:00
Benjamin Odom 313fdc0e42 Fix Venom Drench not working on Toxic Status 2024-05-03 16:48:11 -04:00
Benjamin Odom 3b61662bba Fixed Mighty Cleave not being a Slicing Move 2024-05-03 16:18:29 -04:00
Matt Ross 1484a52fd7
Add variable power attribute for knock off (#426)
* feature/add-variable-power-knock-off

* Remove console logs
2024-05-03 15:54:21 -04:00
Madi Simpson cbf06ffa2c bugfix: ensure direct stat modifying moves update both pokemon's stat info 2024-05-03 15:12:48 -04:00
Madmadness65 9a559c8d6a Update passive abilities for legendaries
This is the first batch of passive ability revisions, this one directed at legendary and mythical Pokémon.
2024-05-03 14:04:43 -05:00
Flashfyre 71705dd6d4 Add candy popup sound 2024-05-03 15:03:11 -04:00
Flashfyre 9fc6bdde21 Revert "Rework - Inputs management to include all gamepad mapping (#390)"
This reverts commit 70324c4159.
2024-05-03 13:04:32 -04:00
Greenlamp2 70324c4159
Rework - Inputs management to include all gamepad mapping (#390)
* rework of the input handling, including different gamepad and keyboard

* rework of the input handling, including different gamepad and keyboard

* first version of a too complex inputHandler based on phaser3-merged-input

* removed useless control management and kept it simple for our use case, investigating to put out button_XX()

* renamed inputHandler to inputController

* aggregate directions and some action into a same method + fix menu return value

* added back repeated input feature on keeping down a key

* cleanup + return type

* fix submit/action doing two things simultaneously, still same behaviour as before

* extracted UI inputs out of battle-scene

* tab -> spaces

* tab -> spaces what about now github ?
2024-05-03 12:59:10 -04:00
Dario Krause c44ec421b0 Update pokemon.ts 2024-05-03 12:05:45 -04:00
Xavion3 c7c4deb416 Implement Sniper 2024-05-03 12:05:20 -04:00
Lugiad e082dd9089
Minor correction to apostrophes in French menu-ui-handler.ts (#415) 2024-05-03 09:51:00 -05:00
Xavion3 bc319a8eda Fix eggs during dailies 2024-05-03 10:28:40 -04:00
Paul Beslin 24a9dba2c4 Fix attacks with charge (solar beam, dig...) allowing to switch target on second turn 2024-05-03 08:35:31 -04:00
Benjamin Odom b84a4b4ee5 Fix Shedinja PPused Share
Fixed having Shedinja share PP usage with the Ninjask it evolved from and vice versa.

The solution was to make a deep copy of each move in the moveset array rather than copying the array itself.
2024-05-03 08:33:33 -04:00
Jaime f7b391746e Fix Gyro Ball only checking base stat 2024-05-03 08:32:39 -04:00
Matt Ross fbc0800571
Issue/smack down should cancel fly (#407)
* Smack down and thousand arrows should cancel charging fly

* Remove console log

* Update interruptible check to use flying tag instead of move history

* Remove extra comma
2024-05-03 01:20:41 -04:00
Madmadness65 6011794732 Minor egg move fix
Gen 8 fossils unintentionally had Earthquake. They have now been replaced.
2024-05-02 21:58:38 -05:00
Flashfyre b30ab6136e Starter friendship for candies is split between spliced species 2024-05-02 21:55:11 -04:00
Simoninoo 67431fb83b
Patch Ita (#399)
* Syntax correction

* Tutorial translation
2024-05-02 20:45:45 -04:00
Benjamin Odom fec8771830 Fix Shedinja Luck and Crash
Shedinja wasn't taking the luck value from Ninjask so when it calculated its luck it just took the entire fused Pokemon's luck somehow. This has been fixed so it takes both the first and second part of the fusion's luck values instead.

Also fixes an issue where Shedinja crashed the game if it was the second part of a fusion combo. Now the correct pokemon species gets checked against and the correct pokemon evolution occurs to create Shedinja.
2024-05-02 17:55:45 -04:00
Flashfyre 991f097e9e Rebalance friendship and add starter friendship with candy reward 2024-05-02 17:48:08 -04:00
maru dffa9b2704
Add more files to be purged from CF cache on deploy 2024-05-02 15:48:59 -04:00
Benjamin Odom 9d8f7ddcf0
Implement Tailwind (#398)
Added a new ArenaTagType for Tailwind. Lasts 4 turns including the turn used.
2024-05-02 14:10:21 -05:00
Madmadness65 ddb4383b1f Move Porygon line down to Rare in Factory biome
This makes the Porygon line more common than before.
2024-05-02 14:01:57 -05:00
Flashfyre 322838cfb5 Move service-worker to public folder 2024-05-02 11:37:06 -04:00
Flashfyre 3a7a48fe83 Temporarily disable error handling 2024-05-02 09:00:36 -04:00
James Lin 0185dd639e
Catch global errors and rejected promises and display them in an alert box. (#351)
* Catch errors and rejected promises.

* Clean up
2024-05-02 08:44:10 -04:00
Lugiad 10506f9cf5
Update italian pokemon-stat.ts (#389)
* Update italian pokemon-stat.ts

* Update italian pokemon-stat.ts
2024-05-02 08:37:05 -04:00
Lugiad 71893e8428 Update Spanish fight-ui-handler.ts 2024-05-02 08:36:33 -04:00
Benjamin Odom c9152cda3f
Fix Mobile PWA not showing in true Fullscreen (#394)
* Fixed Rounding Error For TargetHalfHpDamageAttr

Moves that deal half of a target's HP were not able to deal damage if the target had 1 HP. Used Math.max to ensure 1 is the lowest this value ever evaluates to.

* Fix Mobile PWA not showing in true Fullscreen

adding "fullscreen" to the display attribute wasn't enough, but adding it to the start_url attribute was. This does not appear to affect PC (which is good since it shouldn't).

* Allow any orientation for mobile PWA

remove the orientation restriction since it doesn't prevent fullscreen PWA from displaying properly.
2024-05-02 01:17:32 -04:00
Lugiad a1bb0e7baf
Updated French transaltion for tutorial.ts (#375)
Translation of "statChange" + some remaning typos
2024-05-01 23:26:24 -05:00
Xavion3 6d9424e431
Implement Gastro Acid (#393) 2024-05-01 23:22:30 -05:00
Flashfyre ba5bef123c Load missed master achievement bar 2024-05-01 19:42:06 -04:00
Flashfyre 2f8000885e Fix coloring error in rogue achievement bar 2024-05-01 19:29:04 -04:00
Flashfyre 86b0596a60 Add rogue achievement and voucher tier 2024-05-01 19:28:07 -04:00
Benjamin Odom ad59c0a7c4 Fixed Rounding Error For TargetHalfHpDamageAttr
Moves that deal half of a target's HP were not able to deal damage if the target had 1 HP. Used Math.max to ensure 1 is the lowest this value ever evaluates to.
2024-05-01 19:14:18 -04:00
Flashfyre 6ac224ab8a Refactor to split battle messages from menu 2024-05-01 18:54:35 -04:00
TeKrop e34b204664 feat: added support for localisation on battle scene sentences 2024-05-01 18:54:35 -04:00
Flashfyre 89e2642d91 Fix update issue for battle stats display 2024-05-01 18:24:21 -04:00
Flashfyre 7a418109c3 Fix not checking move conditions for AI 2024-05-01 18:17:12 -04:00
Tempoanon 0f153d39b1
Fix effect spore immunities, tera blast TM distribution, and IVs shown on catch (#388)
* Fix effect spore, tera blast distribution, and IVs shown on catch

* Forgot to add tms

* Unown does not learn any TMs

* Fix some tera blast learns

* delelele whooooop
2024-05-01 16:47:32 -05:00
Xavion3 5a6ea40dae Implement Acrobatics
Currently scales from 0-5 items
2024-05-01 17:11:16 -04:00
Xavion3 d6ca09e431 Implement Belch 2024-05-01 16:52:48 -04:00
InfernoVulpix 10169382d9
Implemented Synchronoise's effect (#221)
* Implemented Synchronoise's effect

Tested with Soak, Forest's Curse, and a variety of attacker and defender types.

* Fixed Synchronoise double battle functionality

It now does zero damage only to targets who do not share any types with it, while correctly damaging any who do.  It also fails entirely if the user is UNKNOWN type.
2024-05-02 06:14:19 +10:00
dielle000 e6c31966d7 Change pokemon stats chart
Stats are arranged like in the mainline games
2024-05-01 15:45:29 -04:00
Madmadness65 68f3326607 Add Heal Block back to level up learnsets
The move itself is still not functional yet, but will be valuable for Endless when it is.
Also made Curse's flavor text accurate to the canon games.
2024-05-01 12:21:22 -05:00
Thomas David c8583d6c69 Update manifest.webmanifest 2024-05-01 12:49:21 -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 77caa8ece5 Add back shift for toggling stats 2024-05-01 00:27:11 -04:00
Flashfyre 17ec6b3ccc Fix start button mapping 2024-05-01 00:12:04 -04:00
lucfd e065610440
Fixed Dire Claw & Tri-Attack status chances (#367)
* created MultiStatusEffectAttr

* removed testing stuff

* switched to randSeedItem
2024-04-30 23:30:10 -04:00
Flashfyre 7ad9c67673 Fix crash on catch 2024-04-30 23:27:22 -04:00
Flashfyre 93765d4121 Update battle info on stat change 2024-04-30 23:23:32 -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
Valentin Porchet 7846fdc1e6
feat: added french translation for new entries in menu.ts (#360) 2024-04-30 17:33:34 -04:00
Dakurei c44009738a Add auto detect user language
+ prLang used to override langague detected if necessary
2024-04-30 16:48:37 -04:00
Dakurei 869a5c2d4c Fix tutorials translation fr
+ Fix the length problem of some strings that aren't readable in the game
  + Fix a few typo errors
2024-04-30 16:08:07 -04:00
Dario Krause 1449147121
Update pokemon.ts (#357) 2024-04-30 15:29:56 -04:00
Dakurei 36de62dc8a Fix Pokerus tutorial condition 2024-04-30 15:29:28 -04:00
Madmadness65 c5cc4445c4 Fix Furfrou trims missing shiny graphics 2024-04-30 13:39:16 -05: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
Reldnahc 1e7c329928
Implement move wish (#323)
* implement wish move

* Serene grace implementation idea

* only do the thingy if it actually gets effected.

* Revert "only do the thingy if it actually gets effected."

This reverts commit 4b084658d2.

* Revert "Serene grace implementation idea"

This reverts commit 4dd2504bc7.

* Fixes for Wish implementation

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-30 12:38:24 -04:00
NxKarim 8e64eaea3f
Some Fixes (HPRatio, Hustle, Imposter, Sleep Talk) (#353)
* Some Fixes

- HP ratio related checks (`getHpRatio`): Added rounding to 2 decimals for non-precise option.

- Hustle (`BattleStatMultiplierAbAttr`): added optional condition; Hustle now works only for physical attacks.

- Imposter (`PostSummonTransformAbAttr`): Switch in a double battle after both foes have been defeated no longer crashes the game.

- Sleep Talk (`RandomMovesetMoveAttr`): Single target moves no longer target allies.

* Formatting changes for consistency

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-30 11:47:10 -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
Xavion3 2402b8e6a0 Add overrides to .gitignore 2024-04-30 09:12:19 -04:00
Xavion3 ad5efdf4f9 Refactor overrides 2024-04-30 09:12:19 -04:00
Madmadness65 14cc639654 Small egg move change
Gave Eevee and Pichu replacement egg moves for moves that are now on their level up learnsets. As usual, these are subject to change.
2024-04-29 22:00:42 -05:00
Madmadness65 224fac574a Add Let's Go moves to Pikachu and Eevee's learnsets
Also removed the duplicate Teeter Dance from Spinda's learnset and gave it back Dizzy Punch.
2024-04-29 21:51:08 -05:00
Madmadness65 bd30dca47d Partially implement Battle Bond (Gen 8) & Power Construct abilities
Both abilities are still not fully functional yet (Battle Bond does not interact with Water Shuriken yet, Power Construct does not interact with 10% Power Construct Zygarde, and both forms do not revert after a battle yet), but this is a step to having them both completed.
Battle Bond Froakie line and Power Construct 50% Zygardes (as well as Aura Break 10% Zygardes) can now randomly appear in the wild.
Expect Battle Bond to potentially change to its Gen 9 version at some point in the future, rendering Ash-Greninja inaccessible.
2024-04-29 19:50:29 -05:00
lucfd 7a1895242c
Fixed Fake Out + Pivot move interaction (#347)
* decrement turnCount if pivot move is used

* improved formatting
2024-04-29 13:51:43 -04:00
Thomas David 9575054010
Implement localisation for tutorial (#330)
* Implement localisation for tutorial

* Fix modules name

* Fix keys name

* Fix keys name part 2 : the return

* Add lines breaks in localisation files
2024-04-29 12:33:18 -04:00
ElMoustacho 3b83d0b4d9 Fix typo in french names for a few pokémon 2024-04-29 11:55:34 -04:00
Dario Krause d93b6632c8 Gen 2, 3 de local 2024-04-29 10:00:42 -04:00
Dario Krause 116bf7ee18 Gen 1 de local 2024-04-29 08:38:07 -04:00
Madmadness65 b173000008 Implement Alcremie flavors
...But not all evolution sweets. This way, you can get all the differently colored Alcremies without there being like ~60 different forms.
There currently is an unintended side-effect with Gigantamaxing, where the Alcremie flavor will always switch to Vanilla Cream when reverting to normal, but aside from that, it works fine.
2024-04-29 01:42:02 -05:00
AJ Fontaine 7050e0db6c Fixed Outrage etc. lasting 4 turns 2024-04-28 23:57:40 -04:00
Xavion3 696c31f3e2 Make grass types unable to be seeded 2024-04-28 23:33:13 -04:00
Flashfyre 891b18592e Disable source map in Vite config 2024-04-28 23:21:22 -04:00
Flashfyre bc4d1207b9 Disable source map 2024-04-28 23:15:12 -04:00
Madmadness65 b72b4cffed Implement Furfrou forms
They can be randomly encountered like many other multiple form Pokémon. Like canon, they do not have any statistical changes, just cosmetic.
2024-04-28 21:58:55 -05:00
Flashfyre 9641d77bba Re-add shiny override EXCEPT FALSE THIS TIME 2024-04-28 22:03:29 -04:00
Madmadness65 6f078f4645 Minor fix to Roughneck's possible names 2024-04-28 20:02:06 -05:00
Flashfyre 7115683274 Increment game version 2024-04-28 20:45:04 -04:00
Flashfyre 57ece2c1d7 Revert "Add shiny and variant debug override"
This reverts commit 21482a641b.
2024-04-28 20:41:38 -04:00
Flashfyre 0b438d0ff4 Revert "Add temporary double wild shiny chance"
This reverts commit 4607782578.
2024-04-28 20:30:12 -04:00
Flashfyre 21482a641b Add shiny and variant debug override 2024-04-28 20:30:03 -04:00
Xavion3 b43a6ec764
Fix end catching (#332)
* Fix end catching

* Remove fusion code
2024-04-28 10:52:43 -04:00
Lugiad c09a0254ef French moves typos 2024-04-28 10:31:13 -04:00
Flashfyre a9a9e512a0 Revert "Auto select language implementation"
This reverts commit 5fd7b368e2.
2024-04-28 10:01:29 -04:00
Thomas David 5fd7b368e2 Auto select language implementation 2024-04-28 09:38:16 -04:00
Flashfyre 854de76467 Improve handling of variant data overrides for mixed animated mode 2024-04-27 18:06:41 -04:00
Flashfyre 55f68c0ce6 Fix DNA splicer exploit 2024-04-27 15:52:21 -04:00
Flashfyre 51408a0c9d Add missing animated Toxapex variant sprites 2024-04-27 01:13:03 -04:00
Flashfyre 014c13b95b Add workaround for crash with static variant sprites 2024-04-27 00:54:10 -04:00
Flashfyre 03ba74844f Fix biome being able to change before a boss in endless 2024-04-26 23:53:09 -04:00
Madmadness65 3a1393c828 Replace Archaludon and Hydrapple's graphics 2024-04-26 22:00:28 -05:00
dpMelian 0b13844d4a
Fix issue #312 -> set proper french name for move "smog" (#313)
* fix: set proper french name for move "smog"

* fix: set proper french description for move "smog"
2024-04-26 22:35:39 -04:00
Madmadness65 e362289d57 Implement Spirit Shackle
It's a pretty basic trapping attack
2024-04-26 20:40:28 -05:00
Madmadness65 2cb5aad8b1 Mark Core Enforcer as partial
No coding for it yet, but it can function as a regular attack in the meantime.
2024-04-26 20:01:24 -05:00
Flashfyre 00150fd0bb Fix using wrong variant value when fusing 2024-04-26 20:11:37 -04:00
Flashfyre 4607782578 Add temporary double wild shiny chance 2024-04-26 19:57:38 -04:00
Madmadness65 e475d566b6 Revise egg moves again
These revisions spans across all generations with vastly different moves. Once again, if moves seem weird or too overpowered, please bring it up in the egg move discussion thread.
2024-04-26 18:50:14 -05:00
Flashfyre f281605146 Fix wild shiny luck generation 2024-04-26 19:36:27 -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
Lugiad 744ff2899b Update pokemon.ts with Spanish names
Added Spanish names of Type: Null and Paradox Pokémon
2024-04-26 16:57:48 -04:00
Lugiad ad87727517 menu.ts French typo 2024-04-26 16:18:07 -04:00
Lugiad 9c922ddc55 Update menu.ts 2024-04-26 16:11:02 -04:00
Flashfyre 933f547e96 Fix egg shiny variant generation 2024-04-26 15:38:06 -04:00
Flashfyre 8cff0780d3 Add missed variant sprites 2024-04-26 14:13:29 -04:00
Akuma-Reiki a6c27773f8
Make arena trap count as a lure ability (#245) 2024-04-26 13:58:57 -04:00
Flashfyre dded0f0edd Fix using wrong parameter name for multi hit move localization 2024-04-26 13:54:35 -04:00
PabloG02 ff13052077 Add english strings to french locale 2024-04-26 13:42:36 -04:00
PabloG02 cd68d2c4a9 Make more phases strings translatable and add their spanish locale 2024-04-26 13:42:36 -04:00
Flashfyre 7031ae797f Update shiny variants 2024-04-26 13:33:08 -04:00
Flashfyre 733eedd12f Change logout to a GET request 2024-04-26 13:19:43 -04:00
PabloG02 252e20650d Translate command, menu UI, and stats into Spanish 2024-04-26 13:18:50 -04:00
Flashfyre 4ad0dbeaa8 Cap costs at max safe integer 2024-04-26 13:05:48 -04:00
Madmadness65 2f10f6789c
Merge pull request #306 from shayebeadling/psycho-shift-warning-fix
Psycho Shift Unreachable Code Warning Fix
2024-04-26 11:25:12 -05:00
Flashfyre f38b1dc0d7 Add animated E-Max Eternatus sprite by RetroNC 2024-04-26 12:24:54 -04:00
shayebeadlingkl f9b999b744 spacing 2024-04-26 12:18:01 -04:00
shayebeadlingkl def36e32d1 adds missing brackets to psycho shift attribute to fix unreachable condition 2024-04-26 12:16:56 -04:00
Flashfyre c1f53f00b1 Lower luck cap 2024-04-26 11:39:54 -04:00
Flashfyre 5e7356636e Update shiny luck mechanics and count both fusion components 2024-04-26 11:31:39 -04:00
Lugiad 6603417e40
French names for Abilities (#288)
* Update ability.ts

* Update ability.ts abilities order

* Update ability.ts
2024-04-26 08:36:40 -04:00
Lugiad 86daca7fb6 Update move.ts 2024-04-26 08:35:53 -04:00
Lugiad cc216d902a Added captial letter to "Œuf", as it is in the games + "Options" to "Paramètres", more suitable translation 2024-04-26 08:35:06 -04:00
Xavion3 46227d65f2 Fix mind blown/explosion moves 2024-04-26 08:33:29 -04:00
Flashfyre ef552c7ffd Fix crash with certain animated variant sprites 2024-04-26 02:00:58 -04:00
Flashfyre b863ab88a7 Fix some minor superficial bugs 2024-04-26 01:18:08 -04:00
InfernoVulpix 587197dac4 Fixed entry hazard crash
Having Spikes or Stealth Rock on the field when a new wild battle starts no longer crashes the game.
2024-04-26 00:59:20 -04:00
InfernoVulpix d4c265443f Assurance effect implementation
Theoretically implemented for all use cases but only tested for regular damage so far.
2024-04-25 23:03:00 -04:00
Flashfyre 0eabfd56e3 Fix shiny Bidoof back sprite showing as epic variant 2024-04-25 21:56:44 -04:00
AJ Fontaine 9f3bef0142
Implemented explosive moves and Damp (#290)
* Implemented explosives

* Add Aftermath and Magic Guard interactions

* Adjust AI score for Mind Blown/Steel Beam
2024-04-25 21:42:41 -04:00
maru 06f6797ece
REALLY fix deploy job 2024-04-25 21:42:09 -04:00
Flashfyre 251bd3edb1 Unnerve message procs only once 2024-04-25 21:40:00 -04:00
maru a3f17b5b2e
Fix deploy job 2024-04-25 21:39:34 -04:00
maru 9a43d456f6
Update deploy job 2024-04-25 21:36:34 -04:00
Madmadness65 e3533651ba Add form change items for Deoxys; minor Rotom form learnset changes
Adds 3 separate form changing items to switch between the various Deoxys forms.
All Rotom forms can now know their respective typed moved at the start (and can be relearned via Memory Mushroom if you already have one).
2024-04-25 20:26:09 -05:00
Flashfyre 13b1ad698e Menu automatically adjusts width for option width 2024-04-25 21:21:44 -04:00
BronzeMaster5000 e3ef65523a Added german as selectable in options
Also added a comment in i18n that refers to how to add a language to the game settings menu to actually select it.
2024-04-25 21:21:44 -04:00
BronzeMaster5000 b47731f573 First files for the german translation 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 728512cf7d Fix Baton Pass not working 2024-04-25 20:52:52 -04:00
NxKarim f99afa228f Combusken, Grovyle 2024-04-25 18:07:56 -04:00
Flashfyre 4ef6707333 Revert API URL change 2024-04-25 16:56:41 -04:00
Flashfyre 3bdd354b5e Update title stats interval 2024-04-25 16:15:58 -04:00
Dakurei b8ce1da3bc Modification of the fr translation for menu-ui-handler
- Reduction of "MANAGE_DATA" and "LOG_OUT" strings to avoid overflowing the window border
  - Added missing space for "losingProgressionWarning".
  - Inversion of words in "importSlotSelect" and "exportSlotSelect" strings + sentence completion to make it clearer
2024-04-25 15:24:58 -04:00
Flashfyre 4a703c938d Add load message handler for too many connections 2024-04-25 14:47:32 -04:00
lucfd fa463b77db
Implements Stakeout & Analytic (#292)
* implemented stakeout

* implemented analytic
2024-04-25 14:29:05 -04:00
Edralo 4cfae4703c Implement localisation for main menu options (menu-ui-handler) & add french locale 2024-04-25 14:27:05 -04:00
Flashfyre daba4e9482 Fix not updating legendary and mythical Pokemon seen stats 2024-04-25 13:20:32 -04:00
Flashfyre dcded952d5 Bump client version for forced update 2024-04-25 09:57:52 -04:00
Flashfyre 1d25935aa0 Enforce trainer IDs on write requests for data integrity 2024-04-25 09:17:48 -04:00
maru 382f1a8d78
Styling changes 2024-04-25 04:01:00 -04:00
Flashfyre 7032f383ea Fix battle sprite losing shininess in battle animations 2024-04-25 01:49:06 -04:00
Tempoanon 230c2bf983
Fix Moody and Quark Drive (#284)
* Fix Quark Drive and Moody

* Telepathy still unimplemented

* more merge conflict stuff
2024-04-25 01:23:45 -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
Flashfyre e1800e6040 Fix URLs in index 2024-04-25 01:03:21 -04:00
Madmadness65 608a9d9400
Merge pull request #242 from EggMuncherSupreme/main
Added the triageMove() flag to Bouncy Bubble
2024-04-24 23:18:46 -05: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
maru 7ff82440bc
Add checksum to rsync in deploy job 2024-04-24 23:10:16 -04:00
maru ac15c653d6
Add no-times to rsync in deploy job 2024-04-24 23:06:42 -04:00
Flashfyre a0311f4b0f Fix partial and unimplemented indicators not showing on abilities 2024-04-24 22:42:09 -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
Pablo González 7055ea49c7
Support localization of Pokémon abilities (#271)
* Support localization of Pokemon abilities

* Reload ability localization when language is changed

* Add Spanish localization for abilities

* Add missing French abilities localization

* Add missing localize call on abilities

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-24 21:10:09 -04:00
Silvestre Emmanuel ebad76c335 Added the move category icon to the fight ui 2024-04-24 21:02:56 -04:00
Flashfyre e00ebb49ca Merge branch 'main' of https://github.com/pagefaultgames/pokerogue 2024-04-24 19:26:13 -04:00
Flashfyre 97218be59c Add back missing authorization headers 2024-04-24 19:26:04 -04:00
Edralo dc575d44a3 Implement localisation for pokemon stats & add french locale 2024-04-24 19:12:26 -04:00
Flashfyre ad818aa314 Add new API url with fallback 2024-04-24 19:08:02 -04:00
Flashfyre d5e462ba7d Temporarily remove Flamigo from exp sprites 2024-04-24 14:52:05 -04:00
Madmadness65 6b3442a260 Update stone evolution Pokémon's learnsets
Moves that are relearned in the official games are now level 1 moves for these Pokémon, as they have paltry movesets otherwise.
2024-04-24 13:40:59 -05:00
Dakurei 37266a7a5d
Fixing typo (fr locales) + Add missing i18n (#270)
* Fix typo

* Missing usage of i18n
2024-04-24 14:38:46 -04:00
Madmadness65 d88a177915 Fix crash with trainer Mantykes
the first evolution method was causing a crash due to a conflict, so it was removed for now.
2024-04-24 12:54:34 -05:00
Madmadness65 4173f87a70 Add easier method of evolving Mantyke
There is now an alternate easier evolution method for Mantyke into Mantine, that being having Remoraid simply being registered as caught and be level 32.
2024-04-24 11:58:37 -05:00
Flashfyre 69eec95960 Add missing female Bidoof line variants 2024-04-24 12:56:56 -04:00
Flashfyre cf3a7dca35 Comment out variant data fix to prevent ability data corruption 2024-04-24 09:26:46 -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
John Martin ea40bd18f5
Minor text corrections to item descriptions. (#255)
* Minor text corrections to item descriptions.

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

* Update modifier-type.ts; further text re-corrections.
2024-04-24 00:28:48 -04:00
arColm 6066d2e47e Implement Flying Press 2024-04-24 00:26:41 -04:00
Samuel H 9024eeb990
Aggregate Stat Changes (#266)
* Add stat change aggregation

* Minor fixes to stat change aggregation
2024-04-24 00:25:01 -04:00
Flashfyre 3e296116bb Fix passing wrong argument when initializing move animations 2024-04-23 23:28:55 -04:00
Flashfyre e2effee43d Fix typo 2024-04-23 22:32:04 -04:00
Flashfyre 1376ea4e87 Fix initial starters not having first ability unlocked 2024-04-23 22:16:49 -04:00
Flashfyre ba71d2750b Load files from manifest for caching 2024-04-23 22:00:23 -04:00
maru e608cb6738
Add --del flag to rsync in deploy job 2024-04-23 19:36:17 -04:00
maru c82f46cc88
Update deploy job 2024-04-23 19:31:40 -04:00
Madmadness65 d48de66179 Implement Snap Trap
One of the basic trapping moves that got overlooked.
2024-04-23 13:04:42 -05:00
Flashfyre 8f36bf1dcf Don't lapse eggs on the final wave of a run 2024-04-23 13:12:57 -04:00
Flashfyre 92caf6059b Fix ability color with duplicate ability as hidden 2024-04-23 12:37:26 -04:00
Xavion3 049fa306b9 Add dynamax buffs 2024-04-23 12:02:09 -04:00
PabloG02 a71392f2d6 Add Spanish localization for menu, moves and pokeballs 2024-04-23 11:58:47 -04:00
Flashfyre 0ef6a6c72c Update variant sprites 2024-04-23 11:48:15 -04:00
Flashfyre c98e5b8beb Fix reintroducing stack overflow on enemy attack 2024-04-23 09:52:02 -04:00
shayebeadling 11ee81091b
Implements hospitality (#252)
* implements hospitality

* 1/8 -> 1/4

* shows animation

* Minor nitpicks

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-23 09:43:35 -04:00
Flashfyre 444b4075fe Biome can't change before a boss in endless mode 2024-04-23 09:40:05 -04:00
Dakurei 9a3e71219e
Translation of Pokémon names in French (#251) 2024-04-23 08:16:22 -04:00
Madmadness65 87e6b80479 Update egg moves for Gens 1, 2, 3, 6, and 8
A LOT of Pokémon have had egg moves shifted around this update. Please let us know if there's any that are overpowered or straight up nonsensical.
2024-04-23 01:00:00 -05:00
Flashfyre 216139df5b Re-apply status token shuffling with recursion fix 2024-04-22 23:58:26 -04:00
Flashfyre fa6f05d997 Revert "Apply status tokens in a random order to prevent bias"
This reverts commit 1f8e36575d.
2024-04-22 23:52:44 -04:00
Flashfyre 1f8e36575d Apply status tokens in a random order to prevent bias 2024-04-22 23:43:31 -04:00
Flashfyre af85d38b27 Halve damage, protection, and endure tokens 2024-04-22 22:10:39 -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 eeb547417f Endless biomes are short but connected 2024-04-22 20:30:46 -04:00
EggMuncherSupreme 16ff508443 Added the triageMove() flag to Bouncy Bubble 2024-04-23 06:53:04 +10:00
Madmadness65 71f99da38d Allow Necrozma's forms to relearn the signature moves
Dusk Mane can relearn Sunsteel Strike, Dawn Wings can relearn Moongeist Beam, and Ultra Necrozma can relearn both.
2024-04-22 13:30:17 -05:00
dpMelian fac78e085c feat: correct typos in MistTag and Lance's dialog 2024-04-22 14:27:52 -04:00
Flashfyre 26b1bb5f03 Don't increment seen shiny count for trainers 2024-04-22 11:28:13 -04:00
Flashfyre 184a028e66 Merge branch 'main' of https://github.com/pagefaultgames/pokerogue 2024-04-22 11:27:44 -04:00
Madmadness65 1a27ee2b63 Update Gen 5 and 7 egg moves
Lots of replacements in this egg move update.
2024-04-22 10:08:47 -05:00
Flashfyre 0b24096e9b Fix mid-stage bugs losing hidden ability 2024-04-22 09:16:11 -04:00
Xavion3 c949557469 Fix OHKO accuracy formula 2024-04-22 08:31:27 -04:00
Flashfyre f8f5b64469 Add One Hit KO accuracy and make damage 200 BP for bosses 2024-04-22 01:05:48 -04:00
Luc 8cf82d3db4 fixed steam engine activating on all water moves 2024-04-22 00:49:54 -04:00
Flashfyre 4950dd0e73 Fix shiny variant back sprite color mapping not working 2024-04-22 00:31:33 -04:00
Flashfyre df7a6be654 Fix errors from merged PRs 2024-04-21 23:05:36 -04:00
Procyonae fd8cb07c9b
Implement Liquid Ooze (#210)
Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-21 23:02:10 -04:00
shayebeadling a214ed6e66
Implements anticipation (#201)
* implements anticipation

* checks against ohko attr

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-21 23:01:11 -04:00
Procyonae 0737827bbc Implement Toxic Debris 2024-04-21 23:00:09 -04:00
Flashfyre 291f8570e9 Cap money at max safe integer 2024-04-21 21:17:07 -04:00
Madmadness65 8838d36bf4 Implement Temper Flare
It is functionally identical to Stomping Tantrum.
2024-04-21 19:29:47 -05:00
Flashfyre 4fc194295b Remove event shiny bonus 2024-04-21 19:58:55 -04:00
lucfd 12ae21c3cf
Implemented Stomping Tantrum (#192)
* implemented Stomping Tantrum

* fixed on missed moves
2024-04-21 19:55:40 -04:00
Luc Dube 158eb9748b implemented magic powder 2024-04-21 19:54:55 -04:00
Kyle McGlynn fdc5511356 Fixed bug where Solar Beam wouldn't display if it was sunny 2024-04-21 19:54:34 -04:00
Gwendal 8d7f1ae554
Allowing pokemon name translation (#228)
* Allow pokemon name translation

* Improve Pokemon localization

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-21 19:53:24 -04:00
Flashfyre 1a53c19e3b Add menu cursor wrapping 2024-04-21 18:45:14 -04:00
Tempoanon 1eaa5c0d79
Misc changes (fix Trumbeak level up, give Mega Gallade sharpness, WIP for curse) (#229)
* Minor changes

* fix tabbing

* minor nits in CurseAttr
2024-04-21 18:23:45 -04:00
Flashfyre f5cd99f091 Fix evolution and hatch screen not applying shader pipeline 2024-04-21 18:22:33 -04:00
maru fd368342b8
Revert "Use new API URL"
This reverts commit 9531f92997.
2024-04-21 17:40:49 -04:00
maru 9531f92997
Use new API URL 2024-04-21 17:19:33 -04:00
Madmadness65 8a31468dda Add new Stellar Terapagos graphics
Despite this, Stellar Terapagos still cannot be obtained legitimately yet.
2024-04-21 15:44:30 -05:00
Flashfyre 3d9f5fb157 Protect against cross-session overwrites 2024-04-21 16:19:11 -04:00
Matthew c6f395d63a
Add link to npm/node guide to README 2024-04-21 14:09:54 -04:00
Xavion3 24c2e18ed7 Stop weather being regenerated on save load 2024-04-21 12:45:58 -04:00
Miguel S 0e9881e351 Fixed issue #224: Healing Wish description (french) 2024-04-21 12:09:58 -04:00
Flashfyre 87c1f5e50f Fix Poke Ball localization 2024-04-21 11:50:50 -04:00
Juan-Lucas 3c90427361 pokeball: implement i18n on pokeball name and add french i18n 2024-04-21 11:19:57 -04:00
Flashfyre c8a9069e8b Add outdated session support and fix older migrations 2024-04-21 10:59:50 -04:00
Madmadness65 8614a52557 Fix White Flabébé line crashing
This is not the most elegant solution, as it's *only* the White form causing issues, but it does solve the problem.
2024-04-21 01:55:00 -05:00
Madmadness65 c2136a6df1 Miscellaneous minor changes
• The volume of Pikachu's cry has been lowered by 10 dB.
• Tarountula's starter value has been lowered to 1.
• Altered Whitney and Chuck's signature Pokémon (swapped Whitney's Clefairy for Girafarig, and gave Chuck Mankey).
• The alternate forms in Flabébé's evolution line can now be encountered.
2024-04-21 00:47:55 -05:00
Xavion3 5b34e7f873 Implement No Guard 2024-04-21 01:34:21 -04:00
lucfd 1acc082080
Fixed Freeze Shock (#216)
* added charge turn to freeze shock

* fixed freeze shock animation
2024-04-21 01:04:51 -04:00
Xavion3 c3eaa0506f Make it so you can't freeze in sun 2024-04-21 00:41:33 -04:00
Flashfyre ee6c3e8fbc Fix boss IVs rerolling after reload 2024-04-20 23:24:01 -04:00
Flashfyre 08988822db Add missing attribute to Pressure 2024-04-20 23:09:59 -04:00
Flashfyre ae2c9c1a57 Account for stack count with Wide Lens accuracy boost 2024-04-20 22:59:48 -04:00
Flashfyre 17eddd7b02 Consolidate broken variant data for players who missed 1.0.1 2024-04-20 22:30:28 -04:00
Flashfyre 8faa77cfbf Fix struggle damage blockable by Magic Guard 2024-04-20 19:43:48 -04:00
Flashfyre fc06c4d9e1 Fix title querying with placeholder save slot 2024-04-20 18:46:36 -04:00
Flashfyre 9b03d6f8d3 Fix crash related to fusion sprites 2024-04-20 16:08:33 -04:00
Flashfyre d9a685611d Update passive abilities 2024-04-20 15:46:11 -04:00
Flashfyre 94999626d3 Add missing icons for new variants 2024-04-20 10:46:30 -04:00
Miguel S 5c6c59392d Correction french attacks infos (slash, psychic) 2024-04-20 10:19:57 -04:00
Madmadness65 2e8e3680ae Fix missing egg moves
They were incorrectly named on the document, leading to them being labeled as "None".
2024-04-20 07:55:50 -05:00
Madmadness65 c2f69f1fb2
Merge pull request #211 from LaukkaE/fix-WideLens
Fix Wide Lens
2024-04-20 07:28:01 -05:00
LaukkaE 18de28c807 Fix Wide Lens
rm line
2024-04-20 15:02:03 +03:00
Madmadness65 33ddc63ad5 Update Gen 9 egg moves
Everything got at least one changed move, so please let us know if some of them are too nonsensical.
2024-04-20 06:30:29 -05:00
Flashfyre 0eff8cd81a Add Wide Lens item 2024-04-20 01:59:07 -04:00
Tempoanon 934fc0ef86
Fix gyro ball base power (#206)
* Fix gyro ball base power

* Update gyro ball for gen6+
2024-04-20 01:43:37 -04:00
Flashfyre 9ec505bf35 Add various new shiny variants 2024-04-20 01:27:10 -04:00
Flashfyre 706a85ed5b Add missing pipeline data for shiny recolors in certain screens 2024-04-19 23:37:23 -04:00
Temps Ray c9dfb199f2 Relax biome restrictions for Alolan evolutions 2024-04-19 22:36:30 -04:00
Flashfyre f0ac060466 Add temporary shiny rate increase for event 2024-04-19 19:49:58 -04:00
Flashfyre b5abdc0113 Fix error sound after selecting a biome 2024-04-19 18:56:45 -04:00
Flashfyre 0ecc46ab97 Exclude authorization header where unnecessary 2024-04-19 17:35:49 -04:00
Flashfyre 703f8c43c2 Fix move implementation indicators 2024-04-19 17:19:24 -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
ARSOD-Z 86da18943d
More Dialogue Lines (#197)
* trainer dialogue

* more dialogue

* Update src/data/dialogue.ts

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-19 14:17:52 -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
Temps Ray e94b17bbf5 Implement getAttackTypeEffectiveness check 2024-04-19 13:11:41 -04:00
Flashfyre e17aee5d48 Fix default starter hidden ability for new accounts 2024-04-19 12:24:52 -04:00
Tempoanon 77c584981b
Add Maylene (#193)
* Implement Rivalry

* Implement Quick Feet, Liquid Voice, and Normalize

* Forgot paralysis is half speed instead of a quarter

* Remove log statements

* Fix minor edge case in rivalry for gendered vs genderless

* Add Maylene
2024-04-19 12:06:20 -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 46b5ff089d Hide cycle buttons on mobile controls when not on starter select 2024-04-19 10:30:38 -04:00
Flashfyre ee18c05f02 Compare variant colors using integers for compatibility 2024-04-19 10:23:18 -04:00
lucfd ea9e95c89e
Implemented Payback (#191)
* implemented payback

* refactored payback + now doubles on item usage
2024-04-19 09:36:02 -04:00
lucfd 422eeb5d07
Implemented Stench (#190)
* implemented stench

* cleaned up code

* removed redundant lines

* Implemented Payback

* refactored, increased PostAttackApplyBattlerTagAbAttr robustness

* removed payback code

* Update src/data/ability.ts

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-19 09:33:35 -04:00
EmoUsedHM01 660663cffe
Edited Electro Shot to raise stat before attacking (#87)
* Edited Electro Shot to raise stat before attacking

Should be a fix to issue #85

* Updated ElectroShotChargeAttr

Moved the Sp Atk boost to be inside the ElectroShotChargeAttr function

* Updated ElectroShotChargeAttr to raise SPATK before the move fires

* Updated ElectroShotChargeAttr with comments on process

* Updated formatting
2024-04-19 09:28:44 -04:00
Flashfyre 85b47be0b8 Fix battle info owned icon not factoring in ability 2024-04-19 09:03:14 -04:00
Flashfyre 46ce515fe4 Revert to not showing intro on mobile 2024-04-19 08:45:21 -04:00
Flashfyre ecedd81052 Fix not using selected starter ability 2024-04-19 08:40:49 -04:00
Flashfyre bb5cd47d79 Add missing shiny graphic to legacy UI 2024-04-19 01:51:50 -04:00
Flashfyre 7ed8dba46a Fix undefined variant for existing shinies in runs 2024-04-19 01:44:51 -04:00
Flashfyre 6220165315 Fix issue with undefined variant 2024-04-19 01:25:19 -04:00
Flashfyre b546203118 Fix shiny eggs corrupting candy count 2024-04-19 01:01:57 -04:00
Flashfyre 3f9e7b4839 Working fix to shiny crash issue 2024-04-19 00:58:59 -04:00
Flashfyre e2824b9b5d Update variant configs 2024-04-18 23:42:18 -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
Xavion3 0b4963aefc Block form changing abilities while fused 2024-04-18 18:56:50 -04:00
LaukkaE d7ee958d29 Fix Sleep Talk bugs 2024-04-18 15:59:34 -04:00
Madmadness65 e07ba5680d Replace Pikachu's cry with it's classic cry
Generation 9 gave Pikachu back the electric noise cry, replacing it speaking it's name.
2024-04-18 12:16:49 -05:00
shayebeadling aae40d2246
Implements infestation (#184)
* Implements infestation

* removes partial

* wrong partial removed, fixed

* appropriate tag location in enum

* moved in battle-anim enum
2024-04-18 11:14:11 -04:00
Xavion3 6b46cd533a Implement stat resetting moves
Haze should probably have a custom message so it doesn't list the targets name
2024-04-18 10:53:02 -04:00
Xavion3 453c5644aa Fix mold breaker + implement neutralising gas 2024-04-18 10:52:31 -04:00
Xavion3 3a64a8390a Implement Psych Up 2024-04-18 10:51:30 -04:00
Flashfyre 5bd1577667 Change passives to exclude Disguise 2024-04-18 08:54:49 -04:00
Flashfyre fe288ce16c Add French move translation TS classes 2024-04-18 08:41:04 -04:00
Miguel S 8830b55061 Moves locales french 2024-04-18 08:41:04 -04:00
Miguel S 4330ee5543 Menu locales for french 2024-04-18 08:41:04 -04:00
Miguel S 30ddde6874 Fixed move name, effect typo 2024-04-18 08:41:04 -04:00
Flashfyre eab38a5ad4 Add more exp gains options 2024-04-18 00:50:04 -04:00
Hans Sorongon 0948295a98 Add option to hide exp gains after a battle 2024-04-18 00:50:04 -04:00
Madmadness65 34a7d435b9 Add busted Mimikyu icons
This adds the unique party icons for the busted disguise form of Mimikyu. As usual, reload the image cache after this update.
2024-04-17 23:34:35 -05:00
Flashfyre 8ab21b99fb Fix menu disabling 2024-04-18 00:24:57 -04:00
NxKarim 94d5eab489
Implemented Disguise (Better this time) and Quick Feet console spam fix (#174)
* Implemented Disguise

Somehow it works.

* Update ability.ts

* Update ability.ts

* Update ability.ts

* whitespace pain

* Form name typo

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

* Implemented Disguise

Disguise

Merge

Merge

Merge

Merge

Disguise + Merge

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-18 00:09:28 -04:00
serif 8a1641786d updated numerous Pokemon to BDSP/SV movesets
Haven't finished - will do the rest hopefully tomorrow
2024-04-17 22:43:50 -04:00
serif 0ddae73bf5 Update Pidgey, Rattata, and Spearow movesets to BDSP
Will update others later
2024-04-17 16:00:35 -04:00
dpMelian 4c128e9d26 feat: correct typo in AttackTypeBoosterModifierType constructor
Corrected "Inceases" to "Increases" in the description of the AttackTypeBoosterModifierType constructor to accurately reflect its functionality.
2024-04-17 15:59:57 -04:00
Flashfyre 6f3887a2eb Remove unintended negative from fusion compatibility filter 2024-04-17 15:58:13 -04:00
Flashfyre d210e3878e Disable menu temporarily on receiving a voucher 2024-04-17 15:56:29 -04:00
Flashfyre 7155174d3c Patch a certain bug 2024-04-17 14:49:18 -04:00
Madmadness65 be7a0d9ca6 Minor change to Shaymin's egg moves 2024-04-17 11:29:52 -05:00
Madmadness65 55cce8ce0d Update Gen 4 egg moves
This time they have been thoroughly looked over before being submitted.
2024-04-17 10:47:41 -05:00
Tempoanon cf2bd4d3da
Implement Charge and more abilities (#163)
* Implement Rivalry

* Implement Quick Feet, Liquid Voice, and Normalize

* Forgot paralysis is half speed instead of a quarter

* Remove log statements

* Fix minor edge case in rivalry for gendered vs genderless

* Add wind abilities and charge

* Implement Charge and more abilities

* Add i18n support and Beedrill fury cutter

* Fix merge conflict in taunt

* More English strings removed
2024-04-17 01:09:15 -04:00
Robert Antonius db92663daa Fixed switch out attacks trigger contact for the replacement pokemon
Changed force switch out attribute to be applied after the move is done.
Additionally manually typed switch out attacks to be non baton pass moves.
2024-04-17 01:07:50 -04:00
Madmadness65 5d1cd97411 Add G-Max move strings to the move locale file
Also a minor fix to decapitalize Mud and Water Sport's fade out messages.
2024-04-17 00:01:28 -05:00
Flashfyre 0758c44670 Add types to move translations 2024-04-16 18:26:10 -04:00
Flashfyre b116828b07 Convert biome select UI handler to option select 2024-04-16 15:58:02 -04:00
Flashfyre dfe320e712 Minor changes to biome paths 2024-04-16 15:22:19 -04:00
Flashfyre 61e1f2da15 Fix compile errors 2024-04-16 15:09:13 -04:00
lucfd 24408edfdc
Implemented Burn Up & Double Shock (#161)
* Implemented barrier-breaking moves

* removed (P) from move names

* refactored to support defog

* Implements Burn Up & Double Shock

* Removed code irrelevant to current PR
2024-04-16 15:07:38 -04:00
Flashfyre 1138530a0c Remove partial and not implemented indicators from translations 2024-04-16 14:38:58 -04:00
shayebeadling 396f1bafd8
Fail conditions are working properly, can now handle sleep as well in edge case (#160) 2024-04-16 14:34:57 -04:00
Ishan Patel 1f9834d1f6
Fixed when roost removes flying type (#148)
* Initial push with roost fix

* Roost fix

* Added GROUNDED to Levitate

* Cleaned up GROUNDED code
2024-04-16 14:31:30 -04:00
Miguel S 7bc147166e
i18n for Pokemon moves (#155)
* i18n for moves

* Remove extra comma from merge

* Fixed some missing moves description

* Infer move i18n keys

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-16 14:29:32 -04:00
shayebeadlingkl cfd30f16b2 Implements psycho shift 2024-04-16 13:15:00 -04:00
Xavion3 420d7fbade Fix paralysis speed drop
Should only be 0.5x
2024-04-16 12:25:41 -04:00
Flashfyre 05bb384934 Update crit chance to gen 7 odds 2024-04-16 12:14:33 -04:00
Flashfyre 257e222b83 Fix being able to buy Sacred Ash without fainted party members 2024-04-16 12:04:52 -04:00
Flashfyre 4b77ba8c39 Fix certain elements not showing on loading screen on mobile 2024-04-16 11:26:23 -04:00
Flashfyre 986e907894 Don't show intro video on mobile 2024-04-16 10:59:15 -04:00
Madmadness65 5058bcf717 Adjust Cosmoem's evolution conditions
It no longer needs a specific biome in order to evolve, just time of day (It was wrong anyways, evolving in all biomes *except* Space).
2024-04-16 00:02:16 -05:00
shayebeadling 95aa78487f
Present implementation, adds a 0 dmg override for 0 power moves. (#152)
* Implements present, adds an override in the dmg calc to make 0 power moves do 0 dmg

* present doesn't make contact

* removes console log

* only === 0
2024-04-16 00:41:15 -04:00
Hans Sorongon e188e90d1c Fix shoulder buttons not working issue 2024-04-16 00:07:59 -04:00
Flashfyre e85179f7cd Fix gamepad support not saving 2024-04-15 22:40:27 -04:00
Flashfyre 1ff206287a Add setting for gamepad support 2024-04-15 20:13:58 -04:00
Flashfyre 0692a343a0 Fix duplicate candy count key for local 2024-04-15 19:47:12 -04:00
Flashfyre 4057fbf846 Formatting consistency changes 2024-04-15 19:45:10 -04:00
Hans Sorongon 1b41bdb8e3 Added built-in support for gamepads using Phaser.Gamepad 2024-04-15 19:45:10 -04:00
Flashfyre ba853bd5bf Attempt once again to make intro video work on mobile 2024-04-15 18:00:21 -04:00
Flashfyre 2539237aaf Update intro video again for compatibility 2024-04-15 17:55:00 -04:00
Flashfyre ec4c395e87 Add more biome weather 2024-04-15 17:45:52 -04:00
prateau c1b60afacd Add snow climate animation 2024-04-15 17:45:52 -04:00
prateau 509954995c update moves and abilities that takes effect in snow 2024-04-15 17:45:52 -04:00
prateau 0196cf8310 Add snow as a weather 2024-04-15 17:45:52 -04:00
Flashfyre 7275876120 Fix starter select issue with gender forms 2024-04-15 17:34:36 -04:00
Flashfyre 3571ab2748 Update intro video to smaller version 2024-04-15 16:41:35 -04:00
Matthew Ross c978fad286 Smack down should hit target charging fly 2024-04-15 16:24:57 -04:00
damocleas a0fd462b5c
Nature Power move change for Town Metropolis and Plains (#147) 2024-04-15 16:23:44 -04:00
LaukkaE e15b810f6a Prevent crash with trace 2024-04-15 16:08:54 -04:00
Matt Ross af4e9ff66e
Additional moves should hit fly, dig, dive (#143)
* whirlwind should hit pokemon charging fly

* Thunder should hit flying

* magnitude and fissure should hit dig

* Add battle tag for underwater (dive), allow surf/whirlpool to hit diving

* reorder underwater in enums to match battler-tags order

* hurricane and thousand arrows should hit fly
2024-04-15 15:49:10 -04:00
damocleas 3a1ebc9815 Nature Power move for all biomes
Unique Nature Power move for all biomes, no overlap with terrains
2024-04-15 15:21:50 -04:00
Flashfyre abc729ed5c Revert "Replace intro with smaller file"
This reverts commit 8cce544536.
2024-04-15 15:04:42 -04:00
Flashfyre 8cce544536 Replace intro with smaller file 2024-04-15 14:45:00 -04:00
Flashfyre 69d9f705a1 Fix issue with cache busting fix for intro video 2024-04-15 14:14:41 -04:00
Flashfyre 22f6521fcb Ignore cache busting for intro video 2024-04-15 14:10:48 -04:00
Flashfyre c1d641251b Add Pagefault Games intro 2024-04-15 13:10:09 -04:00
LaukkaE 2a5351e2f6
impl Priority immunity abilities (#137) 2024-04-15 12:48:33 -04:00
serif 39eed2a275 Update move.ts
adds the rest of the biomes
2024-04-15 12:21:13 -04:00
AJ Fontaine 76edb00e31 Thermal Exchange 2024-04-15 12:18:00 -04:00
Flashfyre 9d92ec2a72 Fix nature power using wrong syntax for switch case 2024-04-15 10:45:40 -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
Xavion3 6881246d17 Implement check functions for abilities 2024-04-15 01:11:27 -04:00
Flashfyre 8819473dce Lower price of Sacred Ash 2024-04-14 23:46:20 -04:00
Flashfyre 8dd0aa5384 Fix some female breeder names showing as male names 2024-04-14 22:56:25 -04:00
Madmadness65 e7f1969099 Implement Ivy Cudgel's type changing property
Basically a copy/paste of Raging Bull's code.
2024-04-14 21:41:12 -05:00
Matthew Ross 032ab95756 Additional check for can apply ability after move used 2024-04-14 22:40:26 -04:00
lucfd d699a0f7d4
Implemented barrier-breaking moves (#130)
* Implemented barrier-breaking moves

* removed (P) from move names

* refactored to support defog
2024-04-14 22:26:58 -04:00
Madmadness65 e0dd7d6d48 Implement Shields Down's form change; Fix wild Rotom forms not appearing
Shields Down is only partially implemented; the form changing aspect is implemented, but the immunity to statuses is not yet.
Minior's alternate colored forms can now be encountered in the wild.
Rotom's appliance forms should *finally* appear in the wild correctly now.
And a minor fix for Zen Mode activating incorrectly.
2024-04-14 20:32:17 -05:00
Flashfyre 99aa7854c0 Prevent replacing learnset when species is overridden 2024-04-14 20:23:51 -04:00
surniki 208279ce77 Copies the moveset of the evolving Nincada to the newly generated pokemon for Shedinja. 2024-04-14 20:09:58 -04:00
shayebeadlingkl be9d07ab1a fixes targeting 2024-04-14 18:26:44 -04:00
Flashfyre 669bc367e5 Fix Super Luck working on the wrong side 2024-04-14 18:19:35 -04:00
shayebeadlingkl 8932a0b6f9 Implements Nature Power 2024-04-14 18:00:31 -04:00
Appo c8445ba8dd Implement Competitive
Since Competitive is just Defiant but for SPATK, the code for Defiant was reused with the buff changed to special attack. This should mean the ability works the exact same way as Defiant for it's respective stat.
2024-04-14 16:52:44 -04:00
Flashfyre 8ccdf6d554 Fix cachebusting 2024-04-14 15:47:00 -04:00
Flashfyre f358e302e9 Give Ferroseed duplicate ability as hidden 2024-04-14 14:36:44 -04:00
shayebeadling 90ef58d7a4
Defiant implementation (#128)
* Defiant works, but self inflicted stat changes still proc the stat raise.

* Prevents proc from self-targeted stat reductions, like superpower
2024-04-14 14:20:00 -04:00
Madmadness65 73cf4e9f5c Implement Thunderclap
It's just a copy of Sucker Punch, so no additional work needed.
2024-04-14 12:52:59 -05:00
Xavion3 605e16fe35 Fix a bunch of moves 2024-04-14 13:16:28 -04:00
Tempoanon 946e6d8c5c
Implement Rivalry, Quick Feet, Liquid Voice, and Normalize (#108)
* Implement Rivalry

* Implement Quick Feet, Liquid Voice, and Normalize

* Forgot paralysis is half speed instead of a quarter

* Remove log statements

* Fix minor edge case in rivalry for gendered vs genderless
2024-04-14 13:15:01 -04:00
cornfish c25cb50b31
Implement toxic chain (#126)
* implement toxic chain

* fix for self target like roost
2024-04-14 13:13:17 -04:00
Flashfyre 75ce0e8f73 Fix transform and imposter not copying ability 2024-04-14 12:23:49 -04:00
Xavion3 705ba0659e Fix crash bug with sucker punch when not using a move 2024-04-14 12:06:21 -04:00
Flashfyre 598e695348 Fixed damage moves are unaffected by the multi lens 2024-04-14 12:02:44 -04:00
Xavion3 cc20d24afa
Implement sucker punch (#121)
* Implement sucker punch

* Fix variable name
2024-04-14 11:54:46 -04:00
Madmadness65 1941939931 Fix Jungle Healing healing the user twice
It still does not have the status condition healing bit yet.
2024-04-14 08:19:31 -05: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
Flashfyre af571dbfcf Copy hidden ability capsule to legacy UI 2024-04-13 23:44:10 -04:00
Xavion3 4078518c5f
Add support for ability changing effects (#113)
* Add support for ability changing effects

* Fix doodle with a fainted ally in doubles
2024-04-13 23:21:34 -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
neverblde cdab38abda Don't escape interpolation values 2024-04-13 23:02:32 -04:00
Flashfyre 796f69daeb Lower candy costs for lower-cost starters 2024-04-13 20:41:51 -04:00
Madmadness65 77368986fe Change Rotom and Carbink's passive abilities
Rotom naturally cannot take advantage of Electric Surge as it's not grounded, and Oblivious is pointless on a genderless Pokémon like Carbink.
2024-04-13 19:37:42 -05: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
João Santos ccf956a63c Prevent install as an app prompt 2024-04-13 17:52:38 -04:00
EmoUsedHM01 c84531af35 Gave Regigigas Normalize as a HA following a discussion about it on Discord
Removes its powerful coverage options in exchange for losing Slow Start, still gets walled by anything that resists/ignores Normal type moves but is no longer useless for 5 turns
2024-04-13 13:55:56 -04:00
LaukkaE 8cf8ce1258 Fix terrain power boosting
fix
2024-04-13 13:51:13 -04:00
Madmadness65 aa0a88a468 Fix Tapu Lele's cry
It was a copy of Tapu Koko's cry. This has been corrected.
2024-04-13 11:00:59 -05:00
neverblde df949be2bd Refactor some string literals into i18next 2024-04-13 00:49:14 -04:00
Xavion3 66ef42db85 Update ability attributes 2024-04-12 22:25:22 -04:00
kleekie 3d38ad14ca Add crash damage message + battle info update for missed/ineffective moves 2024-04-12 22:21:07 -04:00
Madmadness65 92812aae1d Draining Kiss now restores 75% of damage dealt 2024-04-12 19:02:24 -05:00
João Santos 40cdd6ace2 Fix PWA setup 2024-04-12 19:42:17 -04:00
Flashfyre f6770b83b5 Add missing passive parameter to BonusCritAbAttr 2024-04-12 19:31:08 -04:00
Flashfyre 086c64b8f8 Fix invalid constructor arguments to always crit tag 2024-04-12 18:44:20 -04:00
EmoUsedHM01 cabba43598
Added support for Super Luck with BonusCritAbAttr (#106)
* Fixed Super Luck, and added a new BonusCritAbAttr

* Added crit clause for BonusCritAbAttr ( Super Luck )

* Changed it to +1 like it should be
2024-04-12 17:21:56 -04:00
Dovie Shalev eb791747fe
Last respects Fully Implemented (#105)
* Last Respects fully implemented

* Fixed Last Respects

* Last Respects Fully Implemented

* Last Respects Fully Implemented

---------

Co-authored-by: dshalev <dshalev@umich.edu>
2024-04-12 16:16:08 -04:00
William Burleson 389278a1b0
Implement download (#99)
* Implement Download

* Fix formatting
2024-04-12 16:08:04 -04:00
EmoUsedHM01 930c14fa62
Laser Focus support, with the added BattlerTagTypes to support it (#103)
* Added a new BattlerTagType and support for Laser Focus

BattlerTagType.ALWAYS_CRIT

* Updated battler-tags to support ALWAYS_CRIT

* Added ALWAYS_CRIT = "ALWAYS_CRIT", for the updated battler-tag-type

* Updated the crit formula to include the new critAlways

* Updated crit logic to include critAlways, fixed indents
2024-04-12 16:05:32 -04:00
Madmadness65 dcb4688c76 Revert "Update Gen 4 & 9 egg moves"
This reverts commit eef83432ab.
2024-04-12 14:54:01 -05:00
Madmadness65 eef83432ab Update Gen 4 & 9 egg moves 2024-04-12 14:40:14 -05:00
joao-m-santos 0de816cbfb Fix PWA on Chromium browsers 2024-04-12 12:21:29 -04:00
Matthew Olker d2ebb499d8 Fix broken call in force switch out 2024-04-12 07:44:45 -04:00
EmoUsedHM01 fba98ffa0c
Updated ForceSwitchOutAttr (#90)
* Updated ForceSwitchOutAttr

Should fix issue #83

* Removed the additional indents

* Updated the import and fixed the ForceSwitchOutAttr coding errors

* Removed the rest of the indents

* Updated formatting
2024-04-12 07:32:06 -04:00
Xavion3 20b6612cd1 Add support for hidden power 2024-04-12 01:45:19 -04:00
James Lin 73c9625df1
Add i18next framework to enable further contributions (#96)
* prototype

* Update with comments and type safety
2024-04-11 23:47:03 -04:00
Matthew b44ee95610
Update README.md 2024-04-11 23:27:59 -04:00
spongario d06003d22c fix formatting 2024-04-11 23:18:37 -04:00
spongario 07ff22e53d fix for Psychic Terrain blocking Protect Moves 2024-04-11 23:18:37 -04:00
Jason Halvorson 58ef8f5aec Fix the logo not appearing when installed as a PWA
I think I initially had manifest.json in `src/`, but moved it to the
root dir and forgot to update the src property..
2024-04-11 23:18:01 -04:00
Flashfyre a793aedd29 Don't transfer baton item if target is already holding one 2024-04-11 20:58:24 -04:00
Xavion3 747a039a2e Add support for strength sap 2024-04-11 20:55:21 -04:00
Flashfyre 3961550f62 Fix fusion move learning bug and inaccurate HP in battle info 2024-04-11 20:40:16 -04:00
Flashfyre 3e9fdc2d0a Fix rest not overriding status 2024-04-11 20:01:43 -04:00
Flashfyre eaf993e76f Fix starter select types not respecting form 2024-04-11 19:10:56 -04:00
Flashfyre 49f2a5d3eb Unimplemented moves cannot be selected by the play 2024-04-11 18:53:03 -04:00
Flashfyre 716388c92b Fix Pupitar losing hidden ability 2024-04-11 18:33:58 -04:00
Flashfyre d50521755e Fix fusion move merge happening after wave end 2024-04-11 16:30:29 -04:00
AppleOfTheDark d05fab041c
Snow Cloak Conditional Fix (#91)
* Snow Cloak Hail Condition Fix

Snow Cloak's evasion wasn't actually checking for hail, so the condition has been added.

* Snow Cloak

getWeatherCondition is not meant to have a capital.
2024-04-11 15:52:15 -04:00
Flashfyre 3d959e3860 SpDef boost in sandstorm only applies to rock types 2024-04-11 14:52:32 -04:00
Flashfyre 2c38849aa1 Compress battle animation sheets 2024-04-11 14:14:33 -04:00
Flashfyre c339d19e79 Compress all Pokemon sprites 2024-04-11 14:08:52 -04:00
Flashfyre af23bfc1f9 Fix post-summon abilities sometimes triggering twice on switch 2024-04-11 12:35:22 -04:00
Flashfyre 053c07cfba Fix being able to use rest without drawback when unable to sleep 2024-04-11 12:14:03 -04:00
Flashfyre 377dabdb27 Boss buffs ignore abilities 2024-04-11 12:11:55 -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 c14c581248 Weather damage counts as neutral damage 2024-04-11 10:33:08 -04:00
Flashfyre 43bf8e13ea Fix stack overflow with weather abilities 2024-04-11 09:39:15 -04:00
Flashfyre fbb901e591 Temporarily disable passive abilities 2024-04-11 09:30:40 -04:00
Flashfyre 31050a5181 Add passive secondary abilities for bosses 2024-04-11 09:24:03 -04:00
Flashfyre 75075c6fab Update missing save data handling 2024-04-11 00:18:16 -04:00
AppleOfTheDark b9a068e3b7
Implement Shed Skin (and Hydration!) (#84)
* Implement Shed Skin (and Hydration!)

Implemented Shed Skin, with a 1/3 chance to remove a non-volatile status condition if inflicted with it at the end of each turn. While doing this I noticed Hydration is the same effect but in Rain/Heavy Rain, so I implemented that too.

* Update to ability.ts based on changes.

Formatting errors should be largely fixed, and we've switched from Math.rand to Utils.

* Update src/data/ability.ts

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-11 00:16:09 -04:00
Madmadness65 b2beb8e0c8 Chespin now has Tackle at level 1
Minor change to give the only starter without a normal attack one. Chesnaught *does* have it at level 1 oddly enough.
2024-04-10 21:59:08 -05:00
Jason Halvorson a337e9499a Fix Diancie's gender
Diancie is genderless, so I've removed it's gender
2024-04-10 22:41:53 -04:00
Xavion3 4f1fa4e192 Fix random category
Also fix the variable name
2024-04-10 22:41:16 -04:00
Xavion3 4f63b83bd9 Add support for variable category moves
Also lets shell side arm poison
2024-04-10 22:41:16 -04:00
ARSOD-Z 7c8aed50cd
trainer dialogue (#81) 2024-04-10 22:39:42 -04:00
Flashfyre 8dc96c0070 Fix triggering summon ability on load 2024-04-10 20:57:22 -04:00
Stophles f418fe294a Rapid Spin now removes traps/seeds, added (P) back on
Rapid Spin now removes the tags for trapping moves and seeds rather than having them lapse.  Re-added the (P) to the move since clearing arena hazards hasn't been implemented yet.
2024-04-10 20:37:11 -04:00
Flashfyre 81536e7e8e Ignore fusion species generation on egg hatch 2024-04-10 20:31:52 -04:00
Flashfyre bd556e3c68 Fix Fillet Away 2024-04-10 17:31:39 -04:00
Flashfyre f45b21afde Revert "Fillet Away"
This reverts commit 97144077f2.
2024-04-10 17:23:31 -04:00
Kieru Snowbell 97144077f2 Fillet Away
I wanted to use it, so I coded it.
2024-04-10 17:21:07 -04:00
Flashfyre 350aa30a35 Fix issue with status effect move AI 2024-04-10 15:39:36 -04:00
LaukkaE 3a2f364b41 Fix protect having a chance to fail twice in a row
Account for other types of protecting moves
2024-04-10 15:01:38 -04:00
Flashfyre 151b751300 Fix crash when stealing an enemy item not in player pool 2024-04-10 14:31:29 -04:00
Flashfyre 8d751b22e2 Fix rare alignment edge case with fusion icons 2024-04-10 13:30:04 -04:00
Jason Halvorson 0ac58c3349 Add basic PWA support 2024-04-10 13:11:43 -04:00
Flashfyre a9040edc84 Drastically reduce chance of natural fog 2024-04-10 12:56:31 -04:00
Flashfyre 012158e7ff Improve enemy move selection AI 2024-04-10 12:49:23 -04:00
Flashfyre ca778e07d5 Implement Pokemon fusion icons 2024-04-10 10:57:06 -04:00
LaukkaE 973eefee1d Add electric terrain electric type boost 2024-04-10 09:12:27 -04:00
LaukkaE 2a5cfbf758 Psyblade & Rising voltage affected by Electric Terrain
fix
2024-04-10 09:12:27 -04:00
Xavion3 6078154a87 Add support for weather ball
Support both type changing and power boosting
2024-04-10 08:46:48 -04:00
Flashfyre eb5bdb07a8 Add outage handling 2024-04-10 01:32:49 -04:00
Flashfyre 5f0815bc3c Add cookie expiration 2024-04-10 00:29:03 -04:00
Flashfyre 15e3fefd80 Properly reset data when logging out to avoid data leakage 2024-04-09 18:48:34 -04:00
kd8lvt 3e5a0d5c9c
Implement Aftermath (#71)
* Implement Aftermath

* Clean up unused imports & Consistency

* Minor changes

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-09 18:05:15 -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 d9849c5e70 Ignore stat change animations when move animations are disabled 2024-04-09 15:17:42 -04:00
Flashfyre b892a8b40e Add option to disable move animations 2024-04-09 15:06:47 -04:00
LaukkaE c9eff345cf
Implement Aura Wheel and Raging Bull types (#69)
* Implement Aura Wheel and Raging Bull types

* Account for fusion
2024-04-09 14:02:41 -04:00
Flashfyre eff64db70e Use bitmap text for modifier text for optimization 2024-04-09 13:59:46 -04:00
Flashfyre b48dd1c7fc Fix some trap tag messages 2024-04-09 12:42:18 -04:00
Flashfyre 1301eeb0b9 Superficial change to trigger a new build 2024-04-09 12:34:28 -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
LaukkaE 2623313970 Toxic accuracy skip, fix thousand waves 2024-04-09 11:48:04 -04:00
Flashfyre a2e57bf1f7 Add unsaved changes to Super Fang benefit score 2024-04-09 11:25:15 -04:00
Flashfyre 5ee95bcd17 Add Super Fang target benefit score 2024-04-09 11:04:09 -04:00
Flashfyre ec51ba7417 Add back ability to hold down confirm and cancel buttons 2024-04-09 09:14:11 -04:00
neverblde 3874597345 Revamp input handling 2024-04-09 08:42:56 -04:00
Madmadness65 78dc98eb56 Add former HMs as TMs
This adds Cut, Strength, Flash, Rock Smash, Rock Climb, and Defog as new potential TMs.
Also adds Spiky-eared Pichu into the game for implementation at a later time.
2024-04-09 02:16:12 -05:00
Flashfyre d226f4f564 Add a new splash message 2024-04-09 01:43:12 -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 665eece2ac Slightly nerf early-mid to late-mid rival battles 2024-04-08 18:05:42 -04:00
Flashfyre 52f0f5a149 Fix status move immunity not working (ie. Thunder Wave) 2024-04-08 16:02:12 -04:00
Flashfyre 5844f2d742 Fix poison immunity abilities not working with toxic 2024-04-08 13:21:06 -04:00
Flashfyre 4a528aebcc Fix one hit KO moves not working properly 2024-04-08 12:52:37 -04:00
Flashfyre 5617aa9772 Re-implement counter changes and Metal Burst with missing property added 2024-04-08 12:13:34 -04:00
Flashfyre db24880064 Revert "Implemented Metal Burst, fixed comeuppance logic, changed CounterDamage attribute"
This reverts commit e24c79d541.
2024-04-08 12:08:47 -04:00
Potattiummm e24c79d541 Implemented Metal Burst, fixed comeuppance logic, changed CounterDamage attribute
Changed Counterdamage attribute to include a multiplier for metal burst and comeuppance. Changed logic for Comeuppance that caused it to always fail, no matter if a physical or special move hit it. Implemented Metal Burst.
2024-04-08 12:06:34 -04:00
Flashfyre fbec7b8823 Only apply Pressure effect when targeted 2024-04-08 11:06:06 -04:00
LaukkaE 34cb70afa5 Implement Triage and Gale Wings
add move.ts
2024-04-08 10:16:50 -04:00
Flashfyre dff22c4cae Add shiny indicator on summary screen 2024-04-08 10:12:06 -04:00
Flashfyre fdcefbd5c1 Fix weather and terrain abilities not applying in endless mode on biome switch 2024-04-08 09:31:30 -04:00
Matthew Olker b7130e28d9 Additional Move Change Fixes 2024-04-08 08:36:02 -04:00
Flashfyre efb957cd4b Fix crash with generating fused species name 2024-04-08 08:33:22 -04:00
Madmadness65 f16f4576fe Temporarily mark Rotom as unable to change forms
This was affecting its ability to appear as forms in the wild and should now be fixed. Nymble's initial value change was an overcorrection and has been lowered from 4 to 3.
2024-04-08 02:01:45 -05:00
musicman928 3e2d5527d0
Merge pull request #58 from pagefaultgames/type-change-abilities
Add type change abilities
2024-04-07 22:36:53 -07:00
musicman928 b7368afa9e Add type change abilities 2024-04-07 22:27:07 -07:00
Flashfyre a0e2427974 Fix strong winds effect not working on moves 2024-04-07 23:18:04 -04:00
Matthew Olker 8b382dd42e Fix Calyrex Rider uanble to change starter moves 2024-04-07 22:57:22 -04:00
Flashfyre 4531ef1ff2 Fix minor issue with fusion name generation 2024-04-07 22:56:22 -04:00
Flashfyre 87aae2ff1c Nerf enemy evolution levels and first gym leader 2024-04-07 21:56:38 -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 0b773ee9c6 Moves by Pokemon not on field are cancelled (IE Future Sight) 2024-04-07 20:44:57 -04:00
Flashfyre 10f987cc5e Fix not setting non initially visible party members as seen 2024-04-07 20:16:03 -04:00
Flashfyre 737499b1e9 Fix voucher screen crash 2024-04-07 20:12:45 -04:00
Flashfyre 89de4b511b Fix mixed gender names for female guitarist 2024-04-07 19:50:15 -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
LaukkaE fb9f5dad11
Properly implement Soul-Heart, Fix Opponent Stage boosts on faints (#53)
* Properly implement Soul-Heart, Fix Opponent Stage boosts on faints

add phases.ts

remove unused import

spacing

fix

* simplify alivePlayField
2024-04-07 17:20:24 -04:00
Flashfyre d41101083e Halve fog accuracy reduction 2024-04-07 17:12:53 -04:00
Madmadness65 c9de57185e Implement Sand Spit ability; Increase Nymble's starter cost
The ability Sand Spit is now functional.
Unrelatedly, Nymble has now been doubled in starter cost from 2 to 4 (it's just too good to be too low).
2024-04-07 14:01:48 -05:00
Madmadness65 6c94e1f07e
Merge pull request #55 from Potattiummm/main
Implement Ice Scales
2024-04-07 13:51:06 -05:00
Potattiummm 0597d04784
Added Ice Scales 2024-04-07 19:36:56 +01: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 5437d315c0 Uncap damage reduction tokens past wave 2000 2024-04-07 09:13:16 -04:00
neverblde 6decbec6a9 Fix pokemon applying burn reduction 2024-04-07 08:49:46 -04:00
Flashfyre fae5b642f6 Improve fusion names with a space present 2024-04-07 00:28:37 -04:00
Flashfyre 39667f3398 Fix freezing after pressing new game without endless unlocked 2024-04-07 00:06:44 -04:00
Madmadness65 90f6005603 Update Gen 3 egg moves 2024-04-06 23:00:53 -05:00
Flashfyre e747fa2ecd Increase endless mode limit to 15 2024-04-06 23:50:26 -04:00
Jason Halvorson 9449de4854 Fix battle stat booster text to match effect again
Battle stat boosters were changed to 5 turns in
e5ffc1e2db
2024-04-06 23:25:39 -04:00
Madmadness65 0cb008adb0 Implement Gooey and Tangling Hair abilities 2024-04-06 22:18:12 -05:00
Flashfyre cc98d9da7d Validate full shiny party achievement on initial encounter 2024-04-06 23:14:13 -04:00
Flashfyre 70a4d54ec9 Predetermine overflow line breaks 2024-04-06 23:03:20 -04:00
Madmadness65 af3d9cb34c Implement Steam Engine ability
Have fun fusing this ability into something wacky.
2024-04-06 22:01:08 -05:00
Madmadness65 8446130728 Fully implement Spiky Shield move 2024-04-06 21:50:17 -05:00
Flashfyre 570f10345b Add missing weather effects for fog and strong winds 2024-04-06 22:10:38 -04:00
Flashfyre 9ee9a0a86b Fix egg hatch screen issues 2024-04-06 21:48:48 -04:00
kd8lvt 70ce649eec
Implement contact-damage abilities (#49)
* Fix checking the wrong Pokemon for statuses when determining if abilities such as Static should activate.

* Implement Rough Skin

* Implement Iron Barbs and make Rough Skin code reusable for other abilities

* Remove unused import

* Changes for consistency

* Add missing ceiling function to damage

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-06 21:04:40 -04:00
Madmadness65 d1accabada Add missing shiny white-striped Basculin icon
Also a minor rarity swap of a couple evolution items.
2024-04-06 19:50:28 -05:00
Flashfyre 59cb4daa52 Fix gendered form evolutions always assigning male 2024-04-06 20:48:58 -04:00
Flashfyre e5ffc1e2db Re-nerf battle stat boosters to 5 turns and move Dire Hit to great tier 2024-04-06 20:15:19 -04:00
Flashfyre 6821404023 Filter out sacrificial moves from boss movesets 2024-04-06 19:41:12 -04:00
JackSmith5202 b7913e2a82 Implement Sticky Web 2024-04-06 19:08:47 -04:00
Flashfyre f762cf1eb3 Add extra weight to battle count splash message 2024-04-06 18:32:24 -04:00
Flashfyre 0d2f3e0388 Add battle count splash 2024-04-06 18:29:17 -04:00
LaukkaE 4377596f46
Implement Multiscale, Solid Rock, Filter, Justified, Water Compaction, Soul-Heart, Shadow Shield, Prism Armor (#46)
* Implement Multiscale, Solid Rock, Filter, Justified, Water Compaction, Soul-Heart, Shadow Shield, Prism Armor

fix

fix

* Update src/data/ability.ts

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-06 15:39:55 -04:00
Stophles a17a9160b3
Checking Flinch before Confusion/Infatuation (#47)
* Recharge checked earlier, Move Tags not checked if move cancelled

Recharge is now checked at the start of doMove to determine if other Tags need to be checked or if the pokemon is recharging.  If the move is already cancelled, Move lapse tags are no longer checked (To account for Sleep/Paralyze happening before hand, so confusion would never trigger)

* PRE_MOVE Lapse added for Recharge, Recharge now cancels

Added a PRE_MOVE Identifier for Recharge specifically, which now cancels the move and shifts the move queue (since this will no longer occur in doMove. This prevents Confusion/Infatuation from also being triggered after a Pokemon is recharging.

* Changed spacing

* Added Flinch to PRE_MOVE Lapse

Added Flinch to PRE_MOVE Lapse tag like recharge so that confusion and infatuation aren't checked if the mon is already flinched
2024-04-06 15:32:54 -04:00
Flashfyre 1f860d6d1d Fix fusion evolution items not working on fully evolved species 2024-04-06 14:32:55 -04:00
Flashfyre a8ec37e7fa Fix both side switch out moves softlocking 2024-04-06 12:38:07 -04:00
Flashfyre 307c84914e Buff IV Scanner item 2024-04-06 10:37:54 -04:00
Madmadness65 36a8939f13 Update a few evolution methods
Dawn Stone is no longer used, as Snorunt is now a gender-dependent evolution. Basculegion now evolves at a higher level.
2024-04-06 09:22:24 -05:00
Madmadness65 63b81fa0f5 Add missing shiny Gmax Inteleon icon 2024-04-06 09:12:57 -05:00
Madmadness65 a8acf1ee1a Try fixing wild Rotom encounters 2024-04-06 02:13:12 -05:00
Flashfyre 751fcf31ca Recoil damage bypasses endure 2024-04-06 01:56:49 -04:00
Matthew 3dabfd3c55 Fix sturdy 2024-04-06 01:51:42 -04:00
Flashfyre 1bf2a725c9 Fix softlock with double battle fainting 2024-04-06 01:36:20 -04:00
Flashfyre 7fc4dbce85 Fix immutable weather conditions expiring 2024-04-05 23:45:31 -04:00
Flashfyre 5ebc351e4f Add a long-term goal 2024-04-05 22:58:40 -04:00
Flashfyre 9a9f093f5c Aegislash reverts to shield mode when returned 2024-04-05 21:18:23 -04:00
Flashfyre 4c383e105f Add evolution for secondary fusion species 2024-04-05 21:12:29 -04:00
Matthew 1085e0f692 Weather damages through enduring 2024-04-05 20:49:42 -04:00
Stophles 314b7dba43
Fixing Confusion triggering after Sleep, Paralysis, and Recharging (#44)
* Recharge checked earlier, Move Tags not checked if move cancelled

Recharge is now checked at the start of doMove to determine if other Tags need to be checked or if the pokemon is recharging.  If the move is already cancelled, Move lapse tags are no longer checked (To account for Sleep/Paralyze happening before hand, so confusion would never trigger)

* PRE_MOVE Lapse added for Recharge, Recharge now cancels

Added a PRE_MOVE Identifier for Recharge specifically, which now cancels the move and shifts the move queue (since this will no longer occur in doMove. This prevents Confusion/Infatuation from also being triggered after a Pokemon is recharging.

* Changed spacing
2024-04-05 20:42:30 -04:00
Matthew 5b2925cf85 Endure updated 2024-04-05 18:50:10 -04:00
Flashfyre e2a49ffa25 Fix critical hits causing decimal damage 2024-04-05 18:38:46 -04:00
Flashfyre e361922091 Revert "Added stat boost for fell stinger"
This reverts commit 9c3595c81a.
2024-04-05 18:33:18 -04:00
Potattiummm 9c3595c81a Added stat boost for fell stinger
added the stat boost for a ko with fell stinger
2024-04-05 18:28:34 -04:00
Matthew 6b5bc5b830 Fix duplicate transition at the end of batch hatching 2024-04-05 17:53:36 -04:00
Flashfyre 77e8ff3785 Nerf critical hit damage to 1.5x 2024-04-05 15:47:46 -04:00
Madmadness65 9e986390eb Implement Glitzy Glow and Baddy Bad moves 2024-04-05 14:28:50 -05:00
Flashfyre a6a382e357 Fix Poison Point odds 2024-04-05 14:38:54 -04:00
Matthew 0c579de6b1 Hatch Cleanup 2024-04-05 14:27:07 -04:00
Flashfyre 1167b21d7e Fix Poison Point not working 2024-04-05 14:26:41 -04:00
Flashfyre 7887788e36 Minor adjustment for final boss 2024-04-05 14:11:21 -04:00
Flashfyre d88871a86b Bosses prefer not to use sacrificial moves 2024-04-05 12:36:09 -04:00
Flashfyre a3fcf3f3d2 Lower Master Ball weight 2024-04-05 12:34:35 -04:00
Flashfyre e7ba9b7b06 Master balls can bypass boss bar segments 2024-04-05 12:30:48 -04:00
Flashfyre 3d083a7d4d Increase Flamigo starter value 2024-04-05 12:03:00 -04:00
Jaime a511f7ee0f Small fix for Reflect/Light Screen/Aurora Veil 2024-04-05 11:56:21 -04:00
Matthew 8945de6d59 Implement Pay Day and Make it Rain 2024-04-05 11:55:16 -04:00
Jaime 887a4176ab Implemented moves Reflect, Light Screen and Aurora Veil 2024-04-05 11:44:21 -04:00
Flashfyre 37eb5c8eb0 Add more recent move selections for trainer and boss Pokemon 2024-04-05 11:42:55 -04:00
Flashfyre b221c519a4 Fix party shiny odds check on locked reroll 2024-04-05 11:37:07 -04:00
Flashfyre ad6924485f Change Shelmet and Karrablast evolution conditions to having caught eachother respectively 2024-04-05 11:11:40 -04:00
Flashfyre dd2743bcf5 Discourage enemy trainers from switching too much consecutively 2024-04-05 10:59:03 -04:00
LaukkaE a214e815bc
implement Regenerator (#37)
* implement Regenerator

* fix
2024-04-05 10:32:36 -04:00
Flashfyre 5bed242002 Add Lock Capsule item and update reroll logic 2024-04-05 10:14:49 -04:00
Flashfyre efb6b9dbc9 Fix stat drops always being ignored 2024-04-05 07:32:56 -04:00
Flashfyre 8169db62ef Make token changes compatible with old saves 2024-04-05 01:00:11 -04:00
Flashfyre 2fab4a35ab Fix critical hit logic 2024-04-05 00:13:03 -04:00
Flashfyre eaba6e655c Revert crit change 2024-04-04 23:57:28 -04:00
Flashfyre a45fe05f53 Critical hits ignore stat drops and X items last 10 battles 2024-04-04 23:32:09 -04:00
Flashfyre 5fd50eae40 Add missing Shiny Gallade sprite 2024-04-04 22:56:37 -04:00
Madmadness65 850c58844f Add TM compatibility for Indigo Disk DLC Pokémon
If there's any other Pokémon missing TM compatibility, please tell me and I'll add it too.
2024-04-04 21:52:23 -05:00
Stophles 636fc22141
Toxic Spikes - Properly removed by statused Poison types (#36)
* Toxic Spikes - Properly removed by statused Poison types

Toxic spikes should now be removed by poison types who are statused before they are switched to, instead of ignoring their entry

* Toxic Spikes update

Fixed duplicate code
2024-04-04 22:45:33 -04:00
Flashfyre 8b84965d7a Remove revive tokens, nerf heal token, add endure token 2024-04-04 22:42:24 -04:00
Flashfyre 4afa0bf142 Fix damage booster type check 2024-04-04 21:16:25 -04:00
Flashfyre e191ae0567 Nerf damage and protection tokens to half 2024-04-04 20:53:41 -04:00
Flashfyre ea562bbd87 Increase attack type booster limit to 99 2024-04-04 20:42:55 -04:00
Flashfyre e76fa25bc8 Fix attack type boosters applying universally and buff Soul Dew 2024-04-04 20:33:08 -04:00
Jaime 925bb73f0b Implemented the moves Stored Power and Power Trip 2024-04-04 19:47:20 -04:00
Flashfyre 87e0e06b9e Add faster evolution skipping 2024-04-04 18:54:50 -04:00
Jaime 36b3c91276 Implemented the abilities Stamina and Weak Armor 2024-04-04 18:35:15 -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
Flashfyre 3e99ed6bb6 Level up sound no longer pauses BGM 2024-04-04 17:43:37 -04:00
Flashfyre 5010793a32 Add starter select screen cursor wraparound 2024-04-04 16:19:45 -04:00
Madmadness65 9310c4d340 Correct the values of many recoil attacks
Many were just dealing a fourth of the damage when they should be dealing a third or even half.
2024-04-04 15:17:38 -05:00
Flashfyre 156a9ad4b5 Fix typo in electric monotype icon json 2024-04-04 15:26:26 -04:00
Flashfyre 326918a5f1 Add retry option (easy mode) 2024-04-04 15:22:05 -04:00
Flashfyre 23a8fb1fc9 Fix fainted ally targeted attacks redirecting to self 2024-04-04 14:42:20 -04:00
Flashfyre 48ff8b248b Fix crash on starter screen related to form index out of bounds 2024-04-04 14:24:02 -04:00
Flashfyre b04cdd3f60 Fix final boss burn cheese 2024-04-04 14:20:14 -04:00
Matthew dc9dc98c71 Adding Env files for Local Development Ease 2024-04-04 13:52:13 -04:00
Madmadness65 62e6f28dc7 Add Behemoth attacks as "level 0" moves for Zacian & Zamazenta
A temporary workaround until the proper implementation can be done (having Iron Head, then replacing with Behemoth attacks on form change).
2024-04-04 12:34:58 -05:00
Flashfyre 3774b6e214 Fix type icon type not updating when types are changed 2024-04-04 13:30:49 -04:00
Flashfyre 0f7b55c328 Update egg moves 2024-04-04 12:46:35 -04:00
Flashfyre 7d58f2885a Only cap damage booster tokens at 999 2024-04-04 12:30:49 -04:00
Flashfyre fcecad8707 Add monotype icons 2024-04-04 12:27:41 -04:00
Flashfyre 7b85b92a6e Increase damage and reduction token stack limit 2024-04-04 11:59:02 -04:00
LaukkaE 217ffcfb26 Implement Heat Crash and Heavy Slam 2024-04-04 11:38:16 -04:00
Madmadness65 8351bdd14a Allow Vivillon forms to be caught; remove Calyrex forms from the wild
It was either removing the form changes or removing the encounters, and the latter made more sense to me.
2024-04-04 10:22:15 -05:00
LaukkaE 785e7c14b5 fix switch statement logic 2024-04-04 10:24:48 -04:00
Flashfyre 075db8ae0c Show icon when saving data 2024-04-04 10:16:29 -04:00
Flashfyre aa421b5d10 Fix move animation defaults not working (fixes Tackle crash) 2024-04-04 09:45:25 -04:00
Flashfyre 6c59ed27ce Give more detailed error when move animation fails to load 2024-04-04 09:22:12 -04:00
Flashfyre b2441fb365 Fix same turn charge moves not working properly 2024-04-04 08:51:46 -04:00
Flashfyre 8e72ca5bfc Fix crash related to form-specific cries 2024-04-04 08:38:10 -04:00
Flashfyre de77db70d7 Rerolls lock rarity tiers and price accordingly 2024-04-04 00:38:02 -04:00
Flashfyre 35cc37deb6 Only allow importing data locally 2024-04-03 23:47:49 -04:00
Flashfyre a5f78e59b0 Fix Minimize only raising evasion by one stage 2024-04-03 21:31:42 -04:00
Flashfyre d86c1200f8 Add battle info type icons 2024-04-03 21:19:42 -04:00
Flashfyre c4e8499a6c Increase password field length 2024-04-03 19:23:48 -04:00
Flashfyre 1323093eb5 Fix enemy item generation softlock with no attack moves 2024-04-03 19:01:09 -04:00
Flashfyre d304cae19f Fix typo setting ability text to color 2024-04-03 18:15:41 -04:00
Flashfyre 382b70ed60 Minor final boss tweak and color hidden ability on catch/hatch info 2024-04-03 17:18:32 -04:00
Flashfyre 563ff21ad4 Fix moveset generation priority reversed 2024-04-03 16:35:11 -04:00
Flashfyre 77cf3032cf Add title screen music by edifette 2024-04-03 14:33:23 -04:00
Flashfyre 8d9ccd58d7 Fix charge moves breaking with multi lens 2024-04-03 14:22:12 -04:00
Flashfyre 0f7800dc94 Update Stellar icon 2024-04-03 12:59:23 -04:00
Flashfyre 4d2d04858f Fix tera power boost still applying when multi scope is held 2024-04-03 12:36:19 -04:00
Flashfyre b99b781e0c Fix Baton Pass logic and enemy multi hit AI hitting ally 2024-04-03 12:14:26 -04:00
Flashfyre 5759a5e5ce Add Multi Lens item 2024-04-03 11:42:09 -04:00
Flashfyre ae03f541dd Allow Kyurem forms to be fused 2024-04-03 10:38:36 -04:00
LaukkaE 09129410af
Implement/Fix Thousand arrows (#28)
* implement Thousand Arrows

* discard unused code

* formatting changes

* fixes
2024-04-03 09:33:11 -04:00
Flashfyre 517b012736 Add Wiki link under community 2024-04-03 09:26:48 -04:00
Flashfyre 7400ba0503 Update IVs in dex on evolution 2024-04-03 09:23:45 -04:00
Flashfyre 880433a7f8 Fix not setting initial nature override 2024-04-02 23:47:48 -04:00
Flashfyre 6bb40c6d15 Fix Soul Dew not factoring in overridden nature 2024-04-02 23:21:55 -04:00
Flashfyre 785840fdf4 Fix crash 2024-04-02 23:12:30 -04:00
Flashfyre 84f6456972 Use nature override property instead of overwriting base nature 2024-04-02 23:00:56 -04:00
Madmadness65 b248209743 Add missing shiny Landorus-Incarnate icon 2024-04-02 21:38:25 -05:00
Flashfyre e8b5d7aa3e Unsplicing no longer requires an item 2024-04-02 20:51:43 -04:00
Flashfyre dba93a21f0 Fix terrain color ratio 2024-04-02 20:25:35 -04:00
Samuel H 4f82ff9819
Implement Mints (#27)
* Implement mints to change natures

* Merge main

* Merge main
2024-04-02 20:04:42 -04:00
Madmadness65 08beae9cee Implement Embody Aspect abilities
More work toward getting Ogerpon's unique Terastal forms functional. Also fixes the graphics for the Terastal Ogerpon forms, as they were scaled incorrectly.
2024-04-02 18:03:49 -05:00
Flashfyre db960d9a98 Cap breeder party member base total below 450 2024-04-02 18:25:43 -04:00
Flashfyre f95f3ff30e Implement Magic Guard ability 2024-04-02 15:14:07 -04:00
Flashfyre b9b7afb3ee Fix resetting nature on starter screen when updating other properties 2024-04-02 14:32:51 -04:00
Flashfyre f540aeb804 Check specific form change items for compatibility before allowing them to be held 2024-04-02 14:20:30 -04:00
LaukkaE bd1af25c01
implement Darkest Lariat, Chip Away and Sacred Sword (#26)
* implement darkest lariat, chip away, sacred sword

* fix
2024-04-02 13:51:38 -04:00
Flashfyre 7b7185300c Update linking cord and rogue ball sprites 2024-04-02 12:36:14 -04:00
Flashfyre 2e728307c3 Fix arena traps applying twice in double battles 2024-04-02 12:00:41 -04:00
Flashfyre cb39a4a156 Lower volume of loud battle animation sounds 2024-04-02 11:53:27 -04:00
Matthew Olker 1813ae294c
Update README.md 2024-04-02 11:40:36 -04:00
Flashfyre f8606565af Fix Beedrill's cry using Kakuna's 2024-04-02 10:56:17 -04:00
Flashfyre d9ebf99cdd Rework logic for defeat ability trigger 2024-04-02 10:13:00 -04:00
Flashfyre 53c0d501cc Fix Giratina Origin form change not working 2024-04-02 10:12:21 -04:00
LaukkaE 09d7b68668
Implement Foul Play (#24)
* Implement Foul Play

* Cleanup

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-02 09:16:35 -04:00
Flashfyre 68f0692849 Fix logic to prevent healing tokens from healing to full 2024-04-02 01:44:38 -04:00
Flashfyre 91ab0b4b32 Fix Sturdy HP check in wrong place 2024-04-02 01:15:53 -04:00
Flashfyre e171b10d40 Fix Sturdy enduring all hits instead of just from full HP 2024-04-02 01:03:29 -04:00
Flashfyre a33dd47853 Re-implement fixed moveset generation with fix 2024-04-02 00:48:13 -04:00
Flashfyre 5e8b5c8ac7 Revert "Rework moveset generation logic and fix window selection crash"
This reverts commit 321c3f3e90.
2024-04-02 00:27:15 -04:00
Flashfyre 321c3f3e90 Rework moveset generation logic and fix window selection crash 2024-04-02 00:16:06 -04:00
Madmadness65 b2f79c5756 Partially implement Good as Gold
It can block basic status attacks currently.
2024-04-01 22:16:16 -05:00
Flashfyre 2ec471708d Healing tokens can't heal to full HP 2024-04-01 23:10:11 -04:00
Flashfyre 6516f41d2e Add a much needed additional tutorial by popular demand 2024-04-01 22:50:00 -04:00
Flashfyre e985b34eed Add recolor for Stun Spore battle animation 2024-04-01 21:58:51 -04:00
Madmadness65 2ee65210c4 Add contact flags for Generation 6+ moves
Adds contact flags for special moves that do contact, and physical moves that do not contact.
2024-04-01 20:57:22 -05:00
Flashfyre 9e288e06c8 Fix ability popup text placement 2024-04-01 21:52:40 -04:00
Madmadness65 1f4eb42ea8 Implement Jaw Lock move 2024-04-01 20:28:03 -05:00
Flashfyre 96288d29ce Fix bug with fainting on force switch out
Fix bug with fainting on force switch out; move overrides in Pokemon to BattleScene
2024-04-01 21:02:48 -04:00
Flashfyre 72dc263552 Implement variation of loading screen by @rationality6 2024-04-01 19:56:46 -04:00
Madmadness65 76a409245a Adjust some Champion teams
Lance no longer has Zacian or Zamazenta and instead has Zygarde, Leon had his Mr. Rime swapped for his ace Charizard, and Kieran now has a chance for either Ogerpon or Terapagos.
2024-04-01 16:36:38 -05:00
Madmadness65 077d87ade8 Implement Intrepid Sword & Dauntless Shield abilities 2024-04-01 15:34:46 -05:00
Flashfyre 886700f3b2 Revert extension of evolution background 2024-04-01 16:09:03 -04:00
Flashfyre a3e09ee5cc Fix game not loading if save data is not found 2024-04-01 15:18:15 -04:00
Flashfyre e6c7f5dc77 Evolution items get more common the further in until wave 120 2024-04-01 13:53:29 -04:00
Flashfyre 03f6f40ffe Add enemy species override for testing purposes 2024-04-01 13:32:12 -04:00
LaukkaE 6a87c1b4cc
Implement freezedry (#22)
* implement freezedry

* remove console log
2024-04-01 13:26:35 -04:00
Flashfyre dcbe9b5871 Update prompt and Tera icons for new UI 2024-04-01 12:52:58 -04:00
Flashfyre 366e3e5120 Fix battle RNG varying when loading a game 2024-04-01 12:48:35 -04:00
Matthew dbff672469 salt cure fix 2024-04-01 11:19:22 -04:00
Flashfyre d442770de6 Add themed namebox 2024-04-01 10:06:28 -04:00
Flashfyre eb6ee79b3e Add cache busting 2024-03-31 23:58:03 -04:00
Flashfyre 814eb3053e Fix PP ups going above 3 2024-03-31 22:36:33 -04:00
Madmadness65 656550dd2d Improve visibility of new Pokérus cursor 2024-03-31 21:16:56 -05:00
Flashfyre 74f59d7c44 Fix legacy BG not treated as atlas 2024-03-31 21:48:32 -04:00
Flashfyre 137a10bc9d Fix BG UI mismatch 2024-03-31 21:23:27 -04:00
Matthew 2f1536485d background resizing 2024-03-31 21:16:41 -04:00
Flashfyre 70d61700d0 Re-implement UI reskin with working legacy toggle
Re-implement UI reskin with working legacy toggle; add return to title option to menu
2024-03-31 21:14:35 -04:00
Madmadness65 4773c1a2a5 Fix DLC Paradox Pokémon using regular sprites
They now properly have shiny sprites.
2024-03-31 19:41:14 -05:00
Madmadness65 298d2ec47b Adjust some friendship evolution values
Some values did not make sense with the starting friendship some of these Pokémon have, and have been changed accordingly. They have also been slightly reorganized to internal ID number.
2024-03-31 19:16:54 -05:00
Flashfyre 30c7156c1a Revert "Add UI reskin by LJ Birdman (WiP)"
This reverts commit 0200a2688a.
2024-03-31 16:51:53 -04:00
Flashfyre 0200a2688a Add UI reskin by LJ Birdman (WiP) 2024-03-31 16:49:53 -04:00
Madmadness65 f789860e96 Add Rotom forms as wild encounters
Each form can be found in different locations at a super rare chance.
2024-03-31 14:03:02 -05:00
Flashfyre 03e4115bd7 Fix typo with checking tags for trainer switching 2024-03-31 13:09:53 -04:00
Flashfyre ec9365a8bf Fix scenario where catch stats moves container position can become desynced 2024-03-31 12:09:27 -04:00
Flashfyre 203ba1646d Make trainer switch AI aware of arena traps 2024-03-31 12:00:54 -04:00
Madmadness65 7ddd834786 Replace trainer graphic for Korrina 2024-03-31 09:51:47 -05:00
maru 705ba6306e
Update logo.png 2024-03-31 07:20:07 -04:00
maru c4660422d1
Add theme color and embed image 2024-03-31 07:15:25 -04:00
Madmadness65 bedeb2480c Fix E4 Molayne specializing in the wrong type
He's a Steel-type specialist.
2024-03-31 00:15:01 -05:00
Flashfyre 87c35cb018 Fix Salt Cure causing crash 2024-03-31 00:30:08 -04:00
Flashfyre 5cb268a3f0 Fix Stance Change not working on enemy side 2024-03-31 00:10:47 -04:00
Flashfyre ca0ae35422 Change default game speed from 1x to 2x 2024-03-31 00:03:39 -04:00
Flashfyre 332e658555 Pass ability arguments to trigger message 2024-03-30 23:49:29 -04:00
Madmadness65 7a75f64a04 Implement Fickle Beam move
Includes the 30% chance to deal 160 damage.
2024-03-30 22:40:00 -05:00
Flashfyre 6fe3388b4f Implement a better fix for consecutive use moves 2024-03-30 22:06:16 -04:00
Flashfyre d44dfac0c8 Fix consecutive use moves starting at double BP (rollout, echoed voice, etc) 2024-03-30 21:59:39 -04:00
Flashfyre 3b1119fa1a Fix vouchers not updating on scroll 2024-03-30 21:21:59 -04:00
Flashfyre 7c8c034578 Change TS config to be non-strict 2024-03-30 21:17:59 -04:00
Devin Korb 53def01b51
Add unit testing support with vitest (#18)
* update loose files and add vitest

* update test scripts

* more support for vitest

* more test support

* update vscode settings
2024-03-30 20:47:47 -04:00
Flashfyre 4e911a9be9 Fix TM item icons using memories 2024-03-30 20:40:48 -04:00
Flashfyre 2feb82e674 Fix infinite looping when Pokerus selections generate a loop 2024-03-30 20:14:09 -04:00
Madmadness65 8845d43784 Partially implement Flower Gift
The Attack and Special Defense boost works, but only for the ability holder currently. It does not change Cherrim's form yet.
Also adds the necessary battler tag entries because I forgot them in the previous commit.
2024-03-30 18:56:13 -05:00
Madmadness65 262a60055e Implement Obstruct and Silk Trap moves
Also fixed Loyal Three legendaries being genderless when they should be 100% male.
2024-03-30 18:05:21 -05:00
Flashfyre 0605b8c55c Fix Stance Change effect not relying on ability 2024-03-30 18:57:21 -04:00
Flashfyre e5ee66b0b7 Implement King's Shield move and Stance Change ability
Implement King's Shield move and Stance Change ability; fix fire moves not all thawing and certain fire moves not thawing user
2024-03-30 18:46:33 -04:00
Madmadness65 b198bedf62 Minor fix for broken Zygarde icon graphic
Just a simple typo.
2024-03-30 17:06:57 -05:00
Flashfyre b85f093674 Grass types are immune to powder moves 2024-03-30 17:23:58 -04:00
Flashfyre bb185d9845 Fix ice types immune to sleep 2024-03-30 17:11:34 -04:00
Flashfyre 5b0a790d86 Allow overriding daily run starters 2024-03-30 17:10:34 -04:00
Flashfyre b9b07e00b9 Fix snow worker trainer causing crash 2024-03-30 16:37:09 -04:00
Matthew Olker 107bb826e9
Update README.md 2024-03-30 16:12:09 -04:00
Matthew Olker 50349b3314
Update README 2024-03-30 16:09:58 -04:00
Flashfyre 9455330329 Add female worker variant 2024-03-30 15:46:00 -04:00
Matthew be3dd0edc1 Salt Cure Full Implementation 2024-03-30 15:42:01 -04:00
Madmadness65 4b772c903a Implement Zen Mode ability 2024-03-30 13:02:58 -05:00
Madmadness65 160072ac5e Implement Hunger Switch ability
Aura Wheel still does not change types based on Morpeko's current form, however.
2024-03-30 12:01:49 -05:00
Madmadness65 586aa0227d Buff Golden Punch's damage-to-money percentage
Raised from 20% to 50%.
2024-03-30 09:20:28 -05:00
Flashfyre 7cd1cbcf5e Add missing Schooling ability effect level requirement 2024-03-30 09:07:06 -04:00
Madmadness65 89efb42e1f Fix Alolan starters evolving later than intended
They were evolving at 36 instead of 34.
2024-03-30 00:58:51 -05:00
Flashfyre b6943f4753 Fix prefixing player Pokemon with 'Foe' during final battle 2024-03-30 01:37:54 -04:00
Madmadness65 c3a163b348 Implement Tera Shift ability 2024-03-30 00:19:54 -05:00
Flashfyre dbca257a76 Add Schooling ability for Wishiwashi and fix Beast Boost 2024-03-30 00:53:35 -04:00
Madmadness65 0bd941d6a1 Implement more stat-boosting abilities
This implements Chilling Neigh, Grim Neigh, and both As One abilities.
Also separates the Embody Aspect ability into four for later when it's implemented, and adds the graphics for Ogerpon's Terastallized forms.
2024-03-29 22:19:10 -05:00
Flashfyre 371b00561a Only apply Moxie and Beast Boost when on field 2024-03-29 23:16:28 -04:00
Flashfyre 1be1be7098 Gallade no longer needs shiny stone to evolve 2024-03-29 22:44:53 -04:00
Flashfyre 7f2dd28832 Implement Moxie and Beast Boost abilities 2024-03-29 22:08:27 -04:00
Flashfyre 7ca5cdc21b Revert "Revert "Fix strong trainer party members often not evolving due to dividing by 0""
This reverts commit baaa00656e.
2024-03-29 20:11:52 -04:00
Flashfyre b67a3ced85 Fix evolution item types switched 2024-03-29 19:14:34 -04:00
Flashfyre 001ad1f55e Include catch rate in Poke Ball item description so people stop asking what Rogue Balls do 2024-03-29 17:36:44 -04:00
Flashfyre 2b2b02ff2c Divide evolution items into common and rare 2024-03-29 16:19:27 -04:00
Flashfyre fa7c1684f7 Fix tag source linking 2024-03-29 15:43:36 -04:00
Flashfyre dff9a21a0b Fix not properly checking damage greater than 0 for certain effects 2024-03-29 15:00:16 -04:00
Flashfyre 34f748f331 Cries are pitched down when at low HP 2024-03-29 14:42:27 -04:00
Flashfyre baaa00656e Revert "Fix strong trainer party members often not evolving due to dividing by 0"
This reverts commit c59c5ca413.
2024-03-29 13:52:21 -04:00
Flashfyre f0d33c96aa Fix Self-Destruct and Explosion not taking type advantage into account 2024-03-29 13:47:40 -04:00
Flashfyre c59c5ca413 Fix strong trainer party members often not evolving due to dividing by 0 2024-03-29 13:42:54 -04:00
Flashfyre a240a45318 Implement False Swipe and Hold Back moves 2024-03-29 11:58:22 -04:00
Madmadness65 83377713a2 Update egg moves
These changes specifically courtesy of Mégalith on Discord.
2024-03-29 10:20:05 -05:00
Flashfyre 8f0a3f15a3 Change double boss bar split to factor in base stat total 2024-03-29 10:37:28 -04:00
Flashfyre 2b213da4a6 Split double boss HP bar segments 2024-03-29 10:29:19 -04:00
Flashfyre 4f62dec998 Implement Helping Hand move 2024-03-29 10:07:04 -04:00
Madmadness65 9350b380b2 Fix graphic issue with Paldean Wooper
Paldean Wooper was marked as having gender differences even though it has none (unlike regular Wooper). The duplicate graphics for it have been removed.
2024-03-29 01:10:17 -05:00
Flashfyre 23e3bdc960 Bosses generate with higher IVs 2024-03-29 00:03:54 -04:00
Flashfyre 8915b2acec Fix Prankster ability not working properly 2024-03-28 21:35:30 -04:00
Flashfyre 20799f5a4c Fix multi target attacks missing when a target is fainted 2024-03-28 21:18:07 -04:00
Madmadness65 0be4b5dcde Fix Basculin line's forms not being encounterable 2024-03-28 17:04:29 -05:00
Flashfyre 26bef151f4 Update starter value reduction thresholds to be per-cost 2024-03-28 17:29:31 -04:00
Flashfyre 11bd7fdbca Implement Prankster ability 2024-03-28 16:24:11 -04:00
Flashfyre 31d0d9b84e Increase Cinccino's wild evolution delay 2024-03-28 15:55:00 -04:00
Flashfyre 829277bd37 Add missing wild evolution delay on Urshifu 2024-03-28 15:52:47 -04:00
Flashfyre ff7258d9b6 Alter first and second gym leader levels 2024-03-28 14:47:57 -04:00
Flashfyre 97add6e748 Don't show points for voucher unlocks 2024-03-28 14:36:39 -04:00
Flashfyre 0afec8fd35 Rebalance trainer evolution logic 2024-03-28 14:05:15 -04:00
Flashfyre 96bafab830 Strip console logs from production build 2024-03-28 11:48:51 -04:00
Flashfyre b06c101020 Rare candies add 5 friendship 2024-03-28 11:15:28 -04:00
Flashfyre 7a508c485a Fix grounding check not working properly after new changes 2024-03-28 10:35:18 -04:00
Flashfyre cedc1fb3b2 Fix the way ignore flying tag works 2024-03-28 10:28:05 -04:00
Flashfyre 289969790a Perish Song doesn't work on bosses 2024-03-28 09:21:39 -04:00
Flashfyre f0b00f9f27 Add move target redirection 2024-03-28 00:24:24 -04:00
Flashfyre 2cc38ac2cb Fix softlock with switch out moves used on player 2024-03-28 00:05:48 -04:00
Madmadness65 211d8d3636 Fix Poison Touch not working as intended 2024-03-27 23:02:49 -05:00
Flashfyre 63a6655759 Fix Transform and Imposter causing crash 2024-03-27 23:44:11 -04:00
Madmadness65 eb14031bdd Replace some egg moves
These egg moves were some of the moves marked as problematic on the sheet. They have been changed out for either suggestions or more fitting moves.
2024-03-27 22:15:35 -05:00
Flashfyre 1a0c470173 Add hardware acceleration notice in initial tutorial 2024-03-27 22:40:10 -04:00
Flashfyre b24eac4071 Give EXP Balance a 20% factor and increase stack count to 5 2024-03-27 13:26:13 -04:00
Flashfyre 75c9c9cc2c Make form change items non-stealable and fix Recover AI 2024-03-27 13:13:37 -04:00
Flashfyre b94215e3f6 Attempt fixing issue with form-specific moves in learnset not being used 2024-03-27 12:38:36 -04:00
Flashfyre 97bc8ae9e6 Add Meltan icon updates from lj_birdman 2024-03-27 12:08:51 -04:00
Flashfyre f79337b475 Fix burn damage change affecting poison 2024-03-27 11:42:06 -04:00
Flashfyre c8ac42f267 Fix Burn damage and add more splash messages 2024-03-27 11:38:50 -04:00
Flashfyre 28ff6f5638 Exclude learned moves from compatible TMs 2024-03-27 10:43:00 -04:00
Flashfyre 3d8edb8e9b Fix rival having 1 less party member than intended and add EXP All at wave 25 2024-03-27 10:20:08 -04:00
Flashfyre a06323c8ab Fix Circle Throw causing battle skip 2024-03-26 23:40:01 -04:00
Flashfyre 4f9eebda13 Fix daily level cap changing mid biome 2024-03-26 21:40:10 -04:00
Flashfyre c0b1724b1e Fix not passing trainer name when loading data 2024-03-26 21:21:27 -04:00
Flashfyre a33f54b7cb Don't allow PP to go below 0 with Pressure 2024-03-26 21:09:20 -04:00
maru 884c49fc55
Specify actions-cloudflare-purge version 2024-03-26 21:05:42 -04:00
maru 03a3074209
Update workflow files 2024-03-26 20:50:44 -04:00
Up 28be258fbe
Add deploy workflow (#17)
* make build action run on pushes and pull requests

* add deploy workflow

* merge rm calls into single command

* purge cloudflare cache after deploy

* authenticate when pulling build artifact

* use env var for artifact URL

* fix invalid artifact names on pull requests
2024-03-26 19:15:43 -04:00
Madmadness65 8829727c8a Fix Upper Hand not having +3 priority 2024-03-26 17:05:12 -05:00
Madmadness65 53b850aa0e Implement Chloroblast
Apparently this one does too, and I just missed it.
2024-03-26 17:01:55 -05:00
Madmadness65 44d4a28315 Implement Steel Beam
Functions identically to Mind Blown, minus targeting everything.
2024-03-26 16:54:47 -05:00
Flashfyre e9b94f47f0 Fix battle animation Pokemon sprites losing shadow 2024-03-26 17:45:43 -04:00
Madmadness65 316b93877a Fix Acupressure; Implement Life Dew
Acupressure was always boosting the user's stats, even when targeting an ally, so that has been fixed.
Life Dew has also been implemented and functions as intended.
2024-03-26 15:21:22 -05:00
Flashfyre 8bdab3d3bc Fix dividing by 0 when calculating party member scores 2024-03-26 16:07:59 -04:00
Flashfyre 0fbf21f19b Fix accuracy and evasion ability multipliers not being applied 2024-03-26 15:47:19 -04:00
Madmadness65 c88a2a6786 Changed Petilil's evolution methods
It was odd to have Petilil evolve into Hisui Lilligant with a Relic Band, as well as it being the only Hisuian to not factor in time of day. It has now been changed back to Sun Stone with a time of day evolution condition.
2024-03-26 13:56:25 -05:00
Flashfyre d98b973a9a Update metal coat evolutions to link cable with steel move
Update metal coat evolutions to link cable with steel move; update Sooth Bell rate to be more common
2024-03-26 14:42:07 -04:00
Flashfyre c5f52692f6 Rest fails at full HP 2024-03-26 13:11:59 -04:00
Flashfyre aee5f32bc3 Properly lapse terrain 2024-03-26 10:08:17 -04:00
Flashfyre c9eac1f510 Fix Adaptability popup triggering falsely on non-STAB moves 2024-03-26 09:32:02 -04:00
Flashfyre b114cd1cb1 Unlocks only happen on classic 2024-03-25 21:09:32 -04:00
Up 6fe82b3365 add GH build workflow 2024-03-25 20:10:20 -04:00
Up 1a21fd43c0 fix production builds
need to keep class names due to serialization depending on them
2024-03-25 20:10:20 -04:00
Up 69250714d0 fix font resolve error 2024-03-25 20:10:20 -04:00
Flashfyre 70f99f80c2 Update license to AGPL 3 2024-03-25 19:22:58 -04:00
Flashfyre 6c89af4488 Fix move skipping from Candy Jar levels 2024-03-25 18:31:51 -04:00
Flashfyre 0a0e3fe0df Fix Dachsbun back sprites 2024-03-25 16:33:49 -04:00
Flashfyre 1ea0511abb Convert included JS files to modules 2024-03-25 16:10:43 -04:00
Flashfyre 85d09462ad Fix moveset generation logic 2024-03-25 15:22:37 -04:00
Flashfyre 4633ac2426 Add failsafe if moves fail to load 2024-03-25 14:47:41 -04:00
Flashfyre bd67ccde8b Revert "Fix random moveset generation logic not working properly with evolutions"
This reverts commit a8cabd50d9.
2024-03-25 14:44:40 -04:00
Flashfyre 3ce8697c23 Make AI a bit more intelligent in attack move interactions 2024-03-25 14:38:07 -04:00
Flashfyre a8cabd50d9 Fix random moveset generation logic not working properly with evolutions 2024-03-25 14:27:04 -04:00
Madmadness65 4bf83645b5 Update egg moves with the latest changes
These are all changes to the egg moves over the last month or so. No major egg move nerfs yet.
2024-03-25 13:18:43 -05:00
Flashfyre 8c5e82a5a3 Add shiny indicator to starter screen 2024-03-25 13:40:54 -04:00
Flashfyre d99f065aae Replace favicon with no BG version 2024-03-25 12:45:45 -04:00
Flashfyre fdf0f8511d Add favicon 2024-03-25 12:42:01 -04:00
Flashfyre a1b09f3aeb Fix item bar hover logic 2024-03-25 12:33:35 -04:00
Flashfyre 892d99a4f9 Add 50% chance to offset gym leader wave by 10 in classic 2024-03-25 11:00:42 -04:00
Flashfyre a22d50caa7 Fix abilities causing permanent weather and terrains 2024-03-25 10:22:16 -04:00
Flashfyre efa8d4f3fc Fix summon data not being loaded in on session load 2024-03-25 10:16:29 -04:00
Flashfyre 93a7af853b Berries activate simultaneously 2024-03-25 00:21:00 -04:00
Madmadness65 be88f4783e Fix Thunder not having the accuracy bypass in rain
It was unintentionally given to Thunder Wave instead of Thunder.
2024-03-24 22:25:02 -05:00
Flashfyre 73c527af05 Fix encore not working correctly 2024-03-24 23:15:29 -04:00
Flashfyre c77ea04120 Fix static ability broken and causing crash 2024-03-24 22:43:35 -04:00
Flashfyre 0e694ebfb6 Fix softlock bug with double trainers 2024-03-24 22:24:26 -04:00
Flashfyre 4f88bd3dab Fix final boss nerf 2024-03-24 19:52:30 -04:00
Flashfyre b9805ceabf Update moveset generation logic 2024-03-24 18:57:24 -04:00
Flashfyre f87dbcbac3 Fix zoom out for large sprites and trade full heal for elixir in shop 2024-03-24 17:32:44 -04:00
Flashfyre 133c1c364a Add EXP All to endless mode at wave 10 2024-03-24 11:17:12 -04:00
Flashfyre 6fce502b88 Nerf PP on a certain final boss move 2024-03-23 23:07:49 -04:00
Flashfyre caaacca0ad Add player count on title screen 2024-03-23 21:41:52 -04:00
Flashfyre 0d776b5a7a Add confirmation before skipping items 2024-03-23 21:03:00 -04:00
Flashfyre de1ba57421 Fix being unable to close menu if opened during certain times 2024-03-23 17:47:15 -04:00
Flashfyre 1df2297824 Fix Fidough back sprites 2024-03-23 17:02:44 -04:00
Flashfyre cea956e196 Don't show wave on weekly scoreboard 2024-03-23 16:36:47 -04:00
Flashfyre ad7b80cb60 Slightly increase height of rankings 2024-03-23 16:30:52 -04:00
Flashfyre 7212822d18 Fix visual issues with rankings changes 2024-03-23 16:28:30 -04:00
Flashfyre 6db7ee3d0b Add weekly rankings and pagination 2024-03-23 16:26:18 -04:00
Flashfyre a3cde2df59 Fix crash related to moves without battle animations 2024-03-23 15:29:22 -04:00
Flashfyre a333f7886c Fix effect spore and similar abilities activating on the wrong target 2024-03-23 10:54:16 -04:00
Madmadness65 863b68a39c Fix Sandygast evolving at wrong level 2024-03-23 00:38:20 -05:00
Flashfyre 1d39f0eeeb Fixed form-based evolutions not taking form into account 2024-03-22 21:38:10 -04:00
Flashfyre dbe6fefac9 Fix rival party members sometimes being at unintended evolutions 2024-03-22 20:48:47 -04:00
Flashfyre 3b0083a07a Hide score text after daily run ends 2024-03-22 09:16:49 -04:00
Flashfyre b3e6f26afe Properly implement Last Resort 2024-03-21 23:05:47 -04:00
Flashfyre 7f01d3f57b Add checks to initial title data load to prevent softlocks 2024-03-21 20:45:15 -04:00
Flashfyre 69f9692bcd Add credits 2024-03-21 18:56:37 -04:00
Flashfyre 702c28e555 Add familiar splash messages 2024-03-21 14:53:35 -04:00
Flashfyre 67e3ea13d5 Allow menu on title screen 2024-03-21 14:15:39 -04:00
Flashfyre 669260155c Fix crash on title when no save data exists 2024-03-21 13:17:43 -04:00
Flashfyre cf959c6e1b Add proper title screen and logo 2024-03-21 13:12:05 -04:00
Flashfyre 7189258095 Actually fix single battle summoning issue 2024-03-21 12:34:19 -04:00
Flashfyre 918a0d77f1 Fix for single battle trainer summoning issue 2024-03-21 12:18:10 -04:00
Madmadness65 945236f760 Adjust some double battle team names
They have been changed to be the same as the official names for these specific double battle teams.
2024-03-21 02:38:44 -05:00
Flashfyre 664142b625 Shift trainer pair sprite position 2024-03-21 01:29:19 -04:00
Flashfyre b201cf0abc Fix trainer-related crash when loading data 2024-03-21 01:05:46 -04:00
Flashfyre 4fc92f22d9 Fix naming of doctor and nurse sprites 2024-03-21 01:03:37 -04:00
Flashfyre a76f795cd5 Trainer updates including names and double battle pairs
Add dynamic trainer pairs; add trainer names with Bulbapedia scraping logic; add Hex Maniac trainer; make namebox stretch to fit name
2024-03-21 00:57:28 -04:00
Flashfyre a6d0348383 Another prevolution levels form check fix 2024-03-20 17:56:03 -04:00
Flashfyre 832da738ab Fix prevolution levels evolved form key check for default form 2024-03-20 17:04:09 -04:00
Flashfyre c1cce43daf Fix form matching on prevolution levels logic 2024-03-20 15:05:45 -04:00
Flashfyre dfbbe47f26 Add missing information on summary screen 2024-03-19 23:39:43 -04:00
Flashfyre 921851c1b6 Add Leppa Berry 2024-03-19 23:18:48 -04:00
Flashfyre 255177857f Update moveset generation to included evolved lower level moves 2024-03-19 20:09:22 -04:00
Flashfyre 6feef82fcf Simulate evolution chain when generating movesets 2024-03-19 19:52:27 -04:00
Flashfyre 88e050581e Add score to daily run mode 2024-03-19 00:03:41 -04:00
Madmadness65 91b74fbef3 Implement Volt Switch
Was just forgotten when doing the other U-turn clones.
2024-03-18 21:10:23 -05:00
Flashfyre 98e88a160b Implement Bolt Beak, Fishious Rend, and Magnitude 2024-03-18 22:05:21 -04:00
Flashfyre 5c02455c97 Implement Protosynthesis and Quark Drive 2024-03-18 21:22:27 -04:00
Flashfyre aa1e1a480f Add Psychic Terrain priority block effect and terrain messages 2024-03-18 18:03:13 -04:00
Flashfyre 47a51c9958 Add first hit move effect and apply only to Make It Rain 2024-03-18 17:15:20 -04:00
Flashfyre 7c32855546 Make multi target moves with user effect only trigger user effect on first hit 2024-03-18 16:36:00 -04:00
Flashfyre 27e40d8526 Add Toxic Spikes neutralization 2024-03-17 23:47:46 -04:00
Flashfyre 4432522e15 Fix weather damage ability flavor text 2024-03-17 23:21:30 -04:00
Flashfyre ab5ac1823b Remove unused TM value from move definitions 2024-03-17 22:55:52 -04:00
Flashfyre 9c467fd697 Fix Water Shuriken 2024-03-17 22:47:30 -04:00
Flashfyre 11ab31d533 Update score logic for bosses 2024-03-17 21:56:24 -04:00
Flashfyre fc86f5c05a Add wave to daily run scoreboard 2024-03-17 21:04:50 -04:00
Madmadness65 babc32211f Mark more attacking moves as (P)artial
The only functionality this changes is that Metronome can call these specific attacks too now.
2024-03-17 20:00:20 -05:00
Flashfyre 68b1aef3ab Add clear score bonus 2024-03-17 20:58:12 -04:00
Flashfyre f13e1ffa47 Record clears for failed daily runs 2024-03-17 20:31:09 -04:00
Flashfyre 9805329228 Fix load game bug after backing out of daily run 2024-03-17 17:30:07 -04:00
Flashfyre a05189120c Add power plant background 2024-03-17 16:47:49 -04:00
Flashfyre 33ba66b236 Add daily rankings board 2024-03-17 13:38:27 -04:00
Madmadness65 852b7fa39e Fix Pokémon with Normal as secondary type missing it 2024-03-17 11:39:17 -05:00
Flashfyre 0701598be6 Add session scores 2024-03-17 11:36:19 -04:00
Flashfyre dd03be2646 Fix softlock after gender selection 2024-03-17 10:11:24 -04:00
Flashfyre ee0ff881a9 Fix field scale not resetting after a run ends 2024-03-17 00:36:33 -04:00
Flashfyre a52b8c6b4b Tweak for daily run final boss 2024-03-17 00:12:57 -04:00
Flashfyre 14912541c5 Fix bug with excluding last tier from item pools 2024-03-16 22:26:52 -04:00
Madmadness65 51b1e76da7 Fix Bugs struggling; implement some trainer types
Also removes a now-unused learnset for Bloodmoon Ursaluna, as it isn't a form for Ursaluna anymore, but rather a standalone Pokémon.
2024-03-16 21:10:21 -05:00
Flashfyre 56f4a71ca6 Add daily runs (WiP) 2024-03-16 22:06:56 -04:00
Flashfyre 81f9e2da36 Add WiP logic for daily run and fix some performance issues 2024-03-15 21:59:34 -04:00
Flashfyre eab1ba7ab9 Fix timezone variant with legendary gacha 2024-03-15 19:40:13 -04:00
Flashfyre 1bae39d80e Fix softlock with title screen when opening submenus 2024-03-15 18:02:05 -04:00
Flashfyre 7946938828 Fix errors when loading empty slots in local mode 2024-03-15 15:56:07 -04:00
Flashfyre 00255cb09a Fully implement save slots and ""title"" screen changes
Fully implement save slots and ""title"" screen changes; fix issues with slots including clear data not working on game over and export/import not working; fix session play time not being recorded correctly
2024-03-15 15:13:32 -04:00
Flashfyre 879971ae2b Add ""title"" screen and save data slots 2024-03-14 21:49:49 -04:00
Flashfyre bed98ad304 Implement better solution to Fake Out issue 2024-03-14 18:09:40 -04:00
Flashfyre 10cacbe5af Fix Fake Out logic 2024-03-14 18:03:38 -04:00
Flashfyre c3791dfc81 Fix animated mega back sprite backgrounds 2024-03-14 17:35:22 -04:00
Flashfyre 62ed84638f Fix GameMode enum order 2024-03-14 17:15:01 -04:00
Flashfyre 623d600e13 Add wrapper for game mode 2024-03-14 16:26:57 -04:00
Madmadness65 76de0d01f9 Correct Huge Power and Pure Power
They now increase the attack stat directly, instead of stat boosts (which was unintended).
2024-03-14 14:09:25 -05:00
Flashfyre 52e891a2a8 Fix sticky hold applying to transfers 2024-03-14 13:31:13 -04:00
Madmadness65 66b306de9e Add Turboblaze/Teravolt flavor text 2024-03-13 23:56:18 -05:00
Flashfyre 0c835f4157 Implement various abilities including Mold Breaker 2024-03-14 00:40:57 -04:00
Flashfyre 54eed194fd Fix Misty Terrain softlock 2024-03-13 20:36:25 -04:00
Madmadness65 1905ecc828 Implement Burning Bulwark 2024-03-13 16:37:36 -05:00
Xiaphear 37f769de72 Added Baneful Bunker 2024-03-13 22:09:23 +01:00
Madmadness65 9384344758 Implement various terrain-related abilities
Fully implements Electric, Psychic, Misty, and Grassy Surge. Partially implements Grass Pelt, Surge Surfer, and Hadron Engine, as their stat-boosting properties don't seem to work as intended.
2024-03-13 12:23:31 -05:00
Xiaphear b12ade22e9 Attempted magnitude, not implemented. 2024-03-13 17:38:37 +01:00
Xiaphear 97b029b5d7 Added Defeatist 2024-03-13 13:54:15 +01:00
Flashfyre b93e4397fa Fix formatting and remove stray character 2024-03-13 08:51:07 -04:00
Xiaphear 9d2d03ee44 Added Tinted Lens. 2024-03-13 12:45:31 +01:00
Flashfyre 6dbbc50139 Move redirection abilities ignore own moves 2024-03-12 08:44:05 -04:00
Flashfyre 71e820f149 Add redirection logic to Lightning Rod and Storm Drain 2024-03-11 20:55:41 -04:00
Flashfyre 60c3c0a008 Implement Topsy-Turvy 2024-03-11 18:44:40 -04:00
Flashfyre f7d89b5268 Implement Psyshock 2024-03-11 18:18:55 -04:00
Flashfyre e99af6f148 Implement Healing Wish 2024-03-11 18:13:07 -04:00
Xiaphear 9e02d71c75 Added Conversion 2024-03-11 22:57:07 +01:00
Xiaphear 7b28d9bf6e Merge branch 'main' of https://github.com/Flashfyre/pokerogue 2024-03-11 21:45:36 +01:00
Xiaphear 56250aca9c Added Body Press 2024-03-11 21:45:32 +01:00
Flashfyre 4919dfcaa6 Implement Spite 2024-03-11 15:42:01 -04:00
Xiaphear 03989d07b2 Added Wring Out. Attempted Healing Wish ( WIP ) 2024-03-11 18:18:49 +01:00
Flashfyre 4c5981c126 Update token logic, nerf revive tokens, and add Fusion Token 2024-03-11 00:16:24 -04:00
Madmadness65 9550016ebc Minor egg move update
Popplio got a well-deserved egg move nerf. Also added more token graphics and commented-out G-Max moves for later.
2024-03-10 21:55:18 -05:00
Flashfyre bd9d2de0af Fix not setting immune type for move type immunity 2024-03-10 10:16:49 -04:00
Flashfyre 20e9a1e761 Fix grassy terrain heal being applied to all terrains 2024-03-10 00:14:09 -05:00
Flashfyre 6dac4c2b0f Implement terrain clearing moves 2024-03-09 22:05:49 -05:00
Flashfyre 47cf14da9b Implement terrains and rework status logic 2024-03-09 21:57:33 -05:00
Xiaphear b9395ebd7f Implemented Sturdy. 2024-03-09 23:49:00 +01:00
Xiaphear 3b96d1916d Implement Electro Ball & Gyro Ball 2024-03-09 22:58:05 +01:00
Flashfyre 773e241735 Allow empty save data on local mode 2024-03-09 16:09:06 -05:00
Flashfyre 6a6d676cb2 Attempt fixing one hit KO 2024-03-09 10:40:51 -05:00
Flashfyre f98a866943 Fix Bellibolt sprite always showing as shiny 2024-03-08 20:30:30 -05:00
Flashfyre eb6c3ba83f Fix enemy trainers being able to switch out during multi-turn moves 2024-03-08 18:38:04 -05:00
Flashfyre 8c6f77f4c0 Fix crash with Future Sight after catch 2024-03-08 15:52:33 -05:00
Flashfyre 4d8663d274 Fix pickup working on the same item multiple times 2024-03-08 14:49:17 -05:00
Flashfyre b147cf8f37 Fix Fake Out implementation not working properly 2024-03-08 13:14:08 -05:00
Flashfyre 9725cf47b7 Add Pokemon info display on catch 2024-03-07 22:43:15 -05:00
Flashfyre da492cfac7 Metronome doesn't select unimplemented moves 2024-03-07 20:13:31 -05:00
Flashfyre 9ad932e018 Tweak wild evolution delays 2024-03-07 16:53:03 -05:00
Flashfyre 7a2e00758e Replace .ogg with .m4a for iOS support 2024-03-07 14:54:25 -05:00
Flashfyre da6d4bba2e Fix pickup working on non-transferrable items 2024-03-07 13:07:58 -05:00
Madmadness65 8f3d76d358 Fix the 6th rival fight not having Gen 9 starters
This will probably fix the case of the rival randomly changing their starters for this fight in particular.
2024-03-07 11:54:12 -06:00
Flashfyre 64f6c9de09 Re-implement switch out softlock with double rewards bug fixed 2024-03-07 08:42:04 -05:00
Flashfyre d18eba4df8 Fix Pickup causing crash outside of battle 2024-03-07 08:23:21 -05:00
Flashfyre 9ff7a95dc0 Revert "Fix softlock with wild switch out moves"
This reverts commit 2ce74716f7.
2024-03-07 07:05:11 -05:00
Flashfyre 2ce74716f7 Fix softlock with wild switch out moves 2024-03-07 00:04:38 -05:00
Flashfyre 7efd8aa834 Improvements to spliced name generation 2024-03-06 23:57:11 -05:00
Flashfyre 1861823673 Add fusion icon on party and summary screen 2024-03-06 23:20:53 -05:00
Flashfyre 3fea44de6f Fix bug with trainer double battles and implement Magnetic Flux move 2024-03-06 22:41:55 -05:00
Flashfyre a4528f5349 Fix crash on giving a Pokemon a held item 2024-03-06 21:12:31 -05:00
Flashfyre 113ac10c1b Implement Pickup ability 2024-03-06 21:05:23 -05:00
Flashfyre bc236cd048 Add check for max stack count of 0 2024-03-06 20:20:57 -05:00
Madmadness65 20ad5e6a42 Add music tracks for Gen 1-5 Leaders & Champions
All added tracks are from B2W2, primarily the PWT versions.
2024-03-06 17:57:45 -06:00
Flashfyre 50b9bf10a7 Add toggle for fusion palette swaps 2024-03-05 21:54:26 -05:00
Flashfyre 9ee254a18a Update spliced icon again 2024-03-05 21:36:42 -05:00
Flashfyre 8395a84b60 Update spliced icon 2024-03-05 20:36:01 -05:00
Flashfyre e2bfac8922 Add unique Rogue Ball sprites 2024-03-05 19:48:41 -05:00
Flashfyre 5efec5906a Make transfer option free 2024-03-04 23:59:15 -05:00
Flashfyre 6886108ee8 Fix clear arena tags not working properly 2024-03-04 23:22:22 -05:00
Flashfyre 62b6157426 Rebalance item stealing moves 2024-03-04 21:51:28 -05:00
Flashfyre 95bfb2a056 Implement Skill Swap and fix Wonder Guard with status moves 2024-03-04 21:32:11 -05:00
Flashfyre 893c20fc16 Remove status effect move type immunity 2024-03-04 20:28:55 -05:00
Madmadness65 4e5121b9c9 Update egg moves
The latest changes from the spreadsheet included.
2024-03-04 10:26:54 -06:00
Madmadness65 2374b770f2 Minor graphic fix
Gastrodon-West's shiny icon was just a copy of the regular one.
2024-03-04 09:22:58 -06:00
Flashfyre dbcd476da6 Add missing Gastrodon west form icon 2024-03-04 10:15:57 -05:00
Madmadness65 616c2ea05c Implement U-turn; Shellos & Gastrodon forms
Shellos and Gastrodon can randomly be found as their West Sea forms now.
2024-03-04 01:47:37 -06:00
Madmadness65 859ce259aa Swap nature colors on starter screen
Also unmarking the Let's Go and Torque attacks as unused, now that they're used as egg moves.
2024-03-03 23:44:37 -06:00
Flashfyre 123d268619 Fixed damage moves are no longer affected by tokens 2024-03-03 23:55:52 -05:00
Flashfyre 413d748287 Fix moves that ignore boss segments not breaking segments 2024-03-03 23:50:33 -05:00
Flashfyre 477680fab2 Update some egg moves 2024-03-03 22:34:59 -05:00
Flashfyre c683f72aad Replace type gacha with rare egg move gacha 2024-03-03 21:30:11 -05:00
Madmadness65 6dc5e7b1fd Minor fix for Tarountula's egg moves
Replaced a duplicate Sucker Punch with Steamroller.
2024-03-03 17:19:50 -06:00
Madmadness65 5371c1eb22 Change evolution methods for Hisui Pokémon
Requiring being in the Ruins to evolve was deemed too restrictive, so most Hisuian forms now require dusk or night to evolve. This also means the normal forms require dawn or day to evolve now as well. Hisui Lilligant being the outlier, was given a new evolution item instead, the Relic Band.
2024-03-03 13:37:10 -06:00
Madmadness65 a5d80cfcee Fix Deoxys-Normal's sprites being misnamed 2024-03-03 09:08:59 -06:00
Flashfyre 585b8c73f6 Change rare egg move rarity to correlate with egg rarity 2024-03-02 23:24:28 -05:00
Madmadness65 eaaa7a2310 Fix Alolan forms' egg moves being incorrect 2024-03-02 09:37:58 -06:00
Flashfyre 7bd0cb784c Fix some egg move issues 2024-03-02 10:31:43 -05:00
Flashfyre 0011f6033b Fix redundant item update for each transferred item when fusing 2024-03-02 10:23:54 -05:00
Flashfyre 702ac190da Don't fail to load save if somehow a move is null 2024-03-02 09:46:08 -05:00
Flashfyre 96d2813d95 Allow negative boss segment index for catch restriction 2024-03-01 23:10:46 -05:00
Flashfyre 1fed59837b Fix RNG issues with egg moves 2024-03-01 22:18:39 -05:00
Flashfyre ce60d46fd1 Fix egg move data not initializing properly 2024-03-01 19:37:32 -05:00
Flashfyre 65126fa464 Oops 2024-03-01 18:37:07 -05:00
Flashfyre 17fe2ba597 Fix starter movesets showing lock egg moves 2024-03-01 18:34:56 -05:00
Flashfyre 23fd7db81f Add egg move data 2024-03-01 18:18:07 -05:00
Flashfyre 32f4d69041 Wild spliced Pokemon generate shared movesets 2024-03-01 16:21:28 -05:00
Flashfyre 1f67e2d870 Fix lock on not working 2024-03-01 15:12:28 -05:00
Flashfyre 7c4887a647 Add OpenGraph metadata 2024-03-01 12:59:35 -05:00
Flashfyre 0e0fe95d4c Fix being unable to clear boss segment without bypass 2024-03-01 12:41:47 -05:00
Flashfyre fd5a7985ce Fix additional issue with boss bar divider display 2024-03-01 11:49:26 -05:00
Flashfyre ed1f82b476 Fix visual bug with boss segments 2024-03-01 11:42:09 -05:00
Flashfyre 0dc53bfeb8 Fix boss stat boosts not being applied on revive 2024-03-01 11:26:40 -05:00
Flashfyre b62892e42d Speed up leveling for multiple level ups 2024-03-01 10:53:11 -05:00
Flashfyre 6f54fa7741 Fix damage display issues with battle info 2024-03-01 10:28:29 -05:00
Flashfyre 1f6a6f4621 Damage-related fixes and changes
Apply damage numbers to all damage and heal; fix some damage-related bugs
2024-03-01 09:35:36 -05:00
Flashfyre 716d8853a3 Add damage numbers feature 2024-03-01 00:27:46 -05:00
Flashfyre f48464d48d Minor refactoring 2024-02-29 20:08:58 -05:00
Flashfyre 8d314b199f Fix issue with level cap by using max integer 2024-02-29 16:41:14 -05:00
Flashfyre ff802d162b Fix duplicate form change items appearing 2024-02-29 16:02:57 -05:00
Flashfyre cdeb677080 Fix Belly Drum condition 2024-02-29 15:47:29 -05:00
Flashfyre dca8a5c529 Remove level and stat caps 2024-02-29 15:25:15 -05:00
Flashfyre c275620755 Fix wrong BGM name for Kyurem 2024-02-29 15:09:32 -05:00
Flashfyre 636f89992a Ensure shiny icon is visible in battle info when shiny 2024-02-29 12:59:23 -05:00
Flashfyre ed5921eb10 Rework boss HP logic to allow unlimited bypasses for large damage 2024-02-29 12:23:49 -05:00
Flashfyre b698a8ffae Fix error in modifier weight logic 2024-02-29 12:01:02 -05:00
Madmadness65 a8d5de9f3c Minor fix for Sliggoo's evolution condition
Didn't notice it was wrong when I copied it over earlier. Sliggoo and Hisui Sliggoo can now also evolve in fog as intended, and corrected Hisui Sliggoo's evolution level to 50.
2024-02-29 09:32:54 -06:00
Flashfyre 13f4a764eb Adjust rogue tier item weights 2024-02-29 10:18:22 -05:00
Flashfyre fd10cd8080 Fix master balls not working 2024-02-29 09:58:07 -05:00
Flashfyre 0646f022eb Fix ball select UI size 2024-02-28 23:21:31 -05:00
Flashfyre ffd785d534 Rebalance item weights and add Rogue tier 2024-02-28 23:13:05 -05:00
Madmadness65 ce64eb6c70 Fix Hisui Sliggoo not evolving into Hisui Goodra 2024-02-28 22:05:03 -06:00
Flashfyre cf7224365a Fix not offsetting party member index for move learning when fusing 2024-02-28 22:29:21 -05:00
Flashfyre 59fb3fa5db Add thawing to burning moves 2024-02-28 15:15:27 -05:00
Flashfyre 5280840cac Fix cases of items not using seeded random 2024-02-28 14:57:11 -05:00
Flashfyre d7a81925b0 Fix crash on iOS 2024-02-28 13:01:38 -05:00
Flashfyre 532a27016b Teach secondary Pokemon moveset when after fusing 2024-02-28 12:36:27 -05:00
Flashfyre d5eb20d842 Fix token stack count conflicting 2024-02-28 11:55:35 -05:00
Flashfyre fdff3a549c Factor type immunity abilities into enemy AI 2024-02-28 11:40:30 -05:00
Madmadness65 be405f61dd Add Signal Beam to TM pool
Due to current generation learnsets, almost nothing gets Signal Beam via level up anymore. Therefore, I believed that a TM for the move was necessary.
2024-02-28 09:24:03 -06:00
Flashfyre 61eb15ffd6 Fix scaling issue with wave 1000 boss 2024-02-27 22:50:27 -05:00
Flashfyre b90d725afe Add level minimums for move-based evolutions and fix some issues
Add level minimums for move-based evolutions to fix early wild evolutions; fix some balancing issues with move-based evolutions
2024-02-27 22:43:50 -05:00
Flashfyre 5766e63272 Fix various bugs 2024-02-27 21:34:21 -05:00
Flashfyre 9bbee12fe3 Fix offset icons in double battle 2024-02-27 20:48:58 -05:00
Flashfyre 822c83e469 Fix charge move effect activating twice 2024-02-27 20:15:47 -05:00
Flashfyre 38a518a9e1 Mark unimplemented attack moves as partial 2024-02-27 16:33:02 -05:00
Flashfyre 8bee927e08 Remove some legacy features and fix a crash
Remove legacy autoplay and quick start features; fix crash related to leech seed on missing source
2024-02-27 15:16:06 -05:00
Flashfyre 01938dcf83 Fix issue with skipped move charge effects not activating 2024-02-27 14:21:17 -05:00
Flashfyre 143c38d0bd Minor fixes 2024-02-27 13:58:25 -05:00
Flashfyre 597a08a196 Fix battle data not resetting properly 2024-02-26 15:14:47 -05:00
Flashfyre 12b1d23110 Replaces instances of SpeciesEvolution with SpeciesFormEvolution 2024-02-26 13:50:55 -05:00
Flashfyre 74e9b95e13 Fix damage reduction abilities not working 2024-02-26 12:34:45 -05:00
Flashfyre 02e35aad83 Update Phaser version 2024-02-25 23:38:58 -05:00
Flashfyre 4f2b266e71 Add expressions for male rival 2024-02-25 19:09:24 -05:00
Madmadness65 e771da89b5 Implement Kyurem form changes
Since the DNA Splicers method to get Kyurem-Black and -White is so unreasonably hard, I gave an easier alternative to get them. The Splicers method will remain however, as it's still beneficial to transfer moves.
2024-02-25 17:49:31 -06:00
Flashfyre 8d0f79c6c3 Add cross gen baby evolution starters 2024-02-25 15:57:03 -05:00
Flashfyre 80373e2dd1 Fix Flamigo animated sprite 2024-02-25 15:09:44 -05:00
Flashfyre 30220f3d4e Fix some bugged animated sprites 2024-02-25 14:48:33 -05:00
Flashfyre 649717a3cd Add egg moves logic 2024-02-25 12:45:41 -05:00
Flashfyre 7f77507d2b Tweak trainer party member level logic 2024-02-25 01:08:15 -05:00
Flashfyre db33785fc2 Remove trainer level logic that made weak party members too strong 2024-02-24 23:25:49 -05:00
Flashfyre b48c7ca76d Fix issue with mega/gmax and female sprites 2024-02-24 21:38:18 -05:00
Flashfyre d72dd93212 Add experimental animated sprites 2024-02-24 21:16:19 -05:00
Madmadness65 10ff9c4775 Minor fix for Axe Kick
It's supposed to confuse, not flinch.
2024-02-24 00:04:25 -06:00
Flashfyre 085dd15651 Fix broken type immunity ability 2024-02-23 09:24:49 -05:00
Madmadness65 76a6df43c4 Fix off-by-one champions; implement Strong Jaw
This fix currently has the unintended side effect of making Champion Leon unable to be fought, but every other set of Elite Fours is now followed by the proper Champions as intended.
2024-02-22 23:24:44 -06:00
Flashfyre 767b57ec9e Fix rival victory dialogue sprite not showing 2024-02-22 19:24:00 -05:00
Madmadness65 2351fde687 Update moves to use their latest Gen 9 properties
This includes the nerfing of all the recovery move's PP to 5, and slight adjustment of power to a few attacks. Also corrected Indeedee's type to be properly Psychic/Normal.
2024-02-22 17:20:16 -06:00
Flashfyre 9005e32883 Add character sprite system with female rival 2024-02-22 18:03:36 -05:00
Flashfyre 3ed80de330 Type immunity abilities only affect attack and status moves 2024-02-22 16:30:55 -05:00
Flashfyre 8cb7433f55 Fix game over and subsequent clear reward 2024-02-22 16:21:34 -05:00
Flashfyre cd6fe56796 Fix arena tags stacking endlessly 2024-02-22 14:59:59 -05:00
Flashfyre 9c986f44ac Item stealing items prioritize rarer items
Item stealing items prioritize rarer items; reward premium voucher for subsequent classic clears
2024-02-22 00:34:54 -05:00
Madmadness65 7ad099b243 Make Rookidee line more rare
Sorry, the bird was just too good to be that common. Also included is a touched up Tera icon sprite.
2024-02-21 23:25:25 -06:00
Flashfyre 4e93f1e52c Display enemy trainer briefly when switching 2024-02-22 00:00:51 -05:00
Flashfyre aa13562433 Fix item icon overflow visibility 2024-02-21 21:31:56 -05:00
Madmadness65 b4ff755de9 Add various form changing items
This update makes Hoopa Unbound, Dawn Wings & Dusk Mane Necrozma, Crowned Zacian & Zamazenta, and Ice & Shadow Calyrex available to use.
2024-02-21 19:59:08 -06:00
Flashfyre 0bebccd625 Fix Baton Pass achievement 2024-02-21 18:25:47 -05:00
Flashfyre e4bac55d75 Add indicator for additional starter moves and initial egg moves UI
Add indicator for additional starter moves and initial egg moves UI; port scrolling to abstract options UI
2024-02-21 15:47:44 -05:00
Madmadness65 2789d8d86c Add Sacred Sword TM 2024-02-21 12:11:41 -06:00
Flashfyre 0917049fea Fix issues with out of bounds form indexes 2024-02-21 12:38:07 -05:00
Flashfyre 355fbac9c3 Add fix for crash when setting name if form index is too high 2024-02-21 12:18:57 -05:00
Flashfyre b054992ffa Allow selecting and ordering starter moves 2024-02-21 01:03:34 -05:00
Madmadness65 c3983fccb4 Implement most of the LGPE moves
They are still not distributed to any Pokémon, but will function if called by Metronome, for example.
Glitzy Glow, Baddy Bad, Freezy Frost, and Sparkly Swirl rely on mechanics not yet implemented.
None of these attacks have animations currently.
2024-02-20 22:43:43 -06:00
Flashfyre 58ba0ec52d Add starter moves on starter select (WiP) 2024-02-20 22:53:33 -05:00
Flashfyre 6460e736a7 Fix Slack Off healing 100% HP 2024-02-20 18:05:17 -05:00
Flashfyre d4eae67768 Fix form change edge case causing crash 2024-02-20 15:44:35 -05:00
Flashfyre c848755426 Fix sprite display issue with shiny wild Pokemon 2024-02-20 15:08:46 -05:00
Flashfyre b6da66e91f Add fix for double battle double KO edge case 2024-02-20 14:39:25 -05:00
Flashfyre 5f9636e2d7 Fix crash with form changes 2024-02-20 13:59:44 -05:00
Flashfyre 5879724ead Fix Beak Blast not working in same turn 2024-02-20 13:15:53 -05:00
Flashfyre 00d985c9cf Update Feint move logic 2024-02-20 12:27:38 -05:00
Flashfyre be122f4f08 Bosses can heal through broken segments 2024-02-20 12:05:25 -05:00
Flashfyre 0fa5d84af6 Fixing Healing Charm hp rounding error 2024-02-20 11:42:05 -05:00
Flashfyre fe38e00e59 Add missing Palkia Origin icon 2024-02-20 11:39:13 -05:00
Flashfyre fa45d54be7 Add type immunity exception for status effect moves 2024-02-20 11:00:40 -05:00
Flashfyre fcb21f8b61 Fix boss catch logic not taking cleared segments into account 2024-02-20 10:32:21 -05:00
Flashfyre 5f19fbbb51 Remove boss HP segment relative catch rate logic 2024-02-20 10:16:09 -05:00
Flashfyre 442ff6b50d Fix crash with egg hatching 2024-02-20 07:12:03 -05:00
Flashfyre 824b751321 Add skip for egg hatch animation 2024-02-20 00:24:39 -05:00
Flashfyre b6bde457cd Update boss bar logic 2024-02-20 00:03:22 -05:00
Flashfyre 6b036b112f Give final boss consistent max IVs 2024-02-19 22:58:25 -05:00
Flashfyre 8d2f302ac2 Fix broken logic in Healing Charm and nerf effect 2024-02-19 22:54:11 -05:00
Flashfyre 80a013bb52 Implement workaround for Chromium autofill visual bug 2024-02-19 21:09:06 -05:00
Flashfyre 09e7fab141 Implement solution to data loss issue 2024-02-19 20:36:10 -05:00
Madmadness65 02f86d41b2 Implement Ogerpon's masks
Ogerpon's unique Terastallization forms are still not yet available, and Ivy Cudgel still does not change type to match Ogerpon's form.
2024-02-19 18:37:28 -06:00
Flashfyre 9179930249 Fix multiple form change held items not appearing 2024-02-19 19:11:52 -05:00
Flashfyre fedc044aed Move Legendary egg gacha to center and double Legendary egg chance 2024-02-19 10:42:17 -05:00
Flashfyre 5a0cbfad56 Fix giving terastallize achievement for opponent 2024-02-19 10:25:28 -05:00
Flashfyre 07fcfcccaf Add missing highest damage stat tracking 2024-02-19 10:16:38 -05:00
Madmadness65 a2fec36874 Add dialogue for the Kanto Gym Leaders 2024-02-19 00:03:09 -06:00
Flashfyre 0b70effd02 Revert "Update Phaser to 3.80.0 beta 2"
This reverts commit 993ab264e7.
2024-02-18 23:01:44 -05:00
Flashfyre 993ab264e7 Update Phaser to 3.80.0 beta 2 2024-02-18 22:59:03 -05:00
Flashfyre 2f8df43db8 Fix some bugs and add seen Pokemon to starter screen 2024-02-18 22:21:57 -05:00
Madmadness65 22054dddd5 Add Hau as a potential Champion
This fixes the Generation 7 Elite Four not having a corresponding Champion to go along with them.
2024-02-18 19:17:30 -06:00
Flashfyre 29ba51ef34 Fix crash on catching a Pokemon 2024-02-18 10:53:32 -05:00
Flashfyre c92f108fe3 Rebalance some item rates 2024-02-17 12:03:18 -05:00
Flashfyre b47f7b7ad2 Try rebalancing final boss by removing items 2024-02-17 11:18:53 -05:00
Flashfyre 8c1c7f5f83 Fix issue with trainer switching logic 2024-02-17 10:51:11 -05:00
Flashfyre 27c09989b6 Fix crash when generated trainer battle levels mismatch with loaded data 2024-02-17 09:22:51 -05:00
Flashfyre 9ff2d3cbfe Fix bug with types not being read correctly 2024-02-17 01:15:00 -05:00
Flashfyre dadc08d16e Add Terestallization mechanics
Add Terestallization mechanics; implement Stellar type; fix bug with held item weights
2024-02-17 00:40:03 -05:00
Madmadness65 5ec199a428 Fix Paldean Wooper missing female variant sprites 2024-02-15 11:41:59 -06:00
Flashfyre e8c4db4582 Rebalance Memory Mushroom 2024-02-15 10:27:42 -05:00
Madmadness65 7e0bc08772 Minor form name fix 2024-02-15 00:50:04 -06:00
Flashfyre d4370c0b4a Fix final boss dialogue name 2024-02-14 23:38:37 -05:00
Flashfyre 63b37ea8c8 Fix minor visual bug in double battle party screen 2024-02-14 23:33:55 -05:00
Flashfyre 58b000ae06 Make G-Max Pokemon larger scaled 2024-02-14 23:25:12 -05:00
Flashfyre 94b9f8116d Implement new rival sprites 2024-02-14 22:21:03 -05:00
Flashfyre ed1d473c49 Fix softlock with Flip Turn and similar moves 2024-02-14 19:43:59 -05:00
Flashfyre f2e5a2eb34 Fix crash when Sacred Ash from shop is used 2024-02-14 19:20:12 -05:00
Madmadness65 bb7edd9ced Give Population Bomb a temporary animation
Uses Barrage's animation for now.
2024-02-14 15:03:09 -06:00
Flashfyre 6d8ea0ad79 Fix crash when trainer has no encounter or victory messages 2024-02-14 15:49:10 -05:00
Flashfyre 74f9c51188 Update rival dialogue 2024-02-14 14:41:39 -05:00
Flashfyre 24bf116b37 Expand tutorials 2024-02-14 10:44:55 -05:00
Madmadness65 2da283c600
First draft of usable G-Max forms (#14)
* First draft of usable G-Max forms

They are not fully usable yet, and still needs more work to reach that point.

* Fix Gigantamax on Pokémon with forms

Co-Authored-By: Samuel H <3542488+Flashfyre@users.noreply.github.com>

---------

Co-authored-by: Samuel H <3542488+Flashfyre@users.noreply.github.com>
2024-02-14 00:21:44 -05:00
Flashfyre 9fa2c9fb9e Fix bug with tutorial text 2024-02-13 18:56:13 -05:00
Flashfyre bf18b1ceb1 Add tutorial framework (WiP) 2024-02-13 18:42:11 -05:00
Flashfyre c231886d5f Add community links to menu 2024-02-13 11:53:09 -05:00
Flashfyre e72ede26d8 Implement catch count based starter value decreases 2024-02-12 16:38:46 -05:00
Madmadness65 a8d3ccf620 Separate Eternal Floette and Bloodmoon Ursaluna
This makes Eternal Flower Floette and Bloodmoon Ursaluna functionally unique Pokémon now, allowing them to be properly obtained and used as starters.
2024-02-11 14:22:13 -06:00
Flashfyre 728ee530fc Invert arena trap side target condition 2024-02-09 15:48:20 -05:00
Flashfyre 9f280f5f72 Fix passing of arena tag arguments 2024-02-09 14:48:20 -05:00
Flashfyre d6d9341132 Double shop prices 2024-02-09 13:56:14 -05:00
Madmadness65 69860d3dd8 Fix Poltchageist line's graphics breaking
The forms added for Poltchageist and Sinistcha in the previous commit required their graphics be renamed. I overlooked that at first, whoops.
2024-02-09 12:50:13 -06:00
Madmadness65 4935e3f606 Add non-stone evolution items
Replaces many of the non-standard (and frankly obscure) evolution methods with their intended evolution items.
Additionally, altered some time-based friendship evolutions to be more lenient.
2024-02-09 12:18:40 -06:00
Madmadness65 16ace2af13 Fix minor ability oversight
A few Gen 9 Pokémon unintentionally had their normal ability as their hidden as well when they shouldn't.
2024-02-09 10:10:51 -06:00
Flashfyre 6daadbd81a Fix bug with rival dialogue not using gender 2024-02-09 01:06:21 -05:00
Flashfyre e8d7bab4e0 Fix egg gacha layering issue 2024-02-09 00:05:00 -05:00
Flashfyre d07b007567 Re-enable data import 2024-02-08 20:53:03 -05:00
Madmadness65 0fe4d02b87 Implement a few moves
Fully implements Anchor Shot, Clangorous Soul, Coaching, Thunder Cage, Dragon Energy, Infernal Parade, and Mortal Spin.
Partially implements Baneful Bunker, Tar Shot, Aura Wheel, and Syrup Bomb.
Trapping moves also updated to deal 1/8th damage and lasts for 4-5 turns.
2024-02-08 17:01:11 -06:00
Flashfyre 05f114c8a4 Minor UI changes 2024-02-06 23:11:00 -05:00
Flashfyre e62bb6e225 Add female trainer and male rival 2024-02-06 16:15:35 -05:00
Madmadness65 806c33d009 Minor encounter adjustments
Gen 9 super rare bosses now have ultra rare encounters too
2024-02-05 23:10:49 -06:00
Flashfyre 89854691f0 Don't display trainer title if undefined 2024-02-05 23:56:21 -05:00
Madmadness65 6cff22a9fc Implement generation 9 Pokémon & trainers
Generation 9 Pokémon sprites provided by the Generation 9 Resource Pack on Relic Castle, custom trainer sprites provided by Smogon.
2024-02-05 22:46:45 -06:00
Flashfyre b12e7106ed Add new player and rival sprites and trainer titles 2024-02-05 23:05:56 -05:00
Flashfyre 550c65d6f5 Fix save data not loading on login 2024-02-04 00:49:57 -05:00
Flashfyre ac456fc5ba Add item shop when choosing items
Add item shop when choosing items; add full restore item; add egg art to egg gacha; fix some minor text errors
2024-02-04 00:30:19 -05:00
Flashfyre 8f55245a38 Fix evolution screen not preserving form index 2024-01-30 13:51:00 -05:00
Flashfyre 9633897a27 Fix boss faint dialogue showing on party member faint 2024-01-29 22:07:34 -05:00
Flashfyre 5ab628039d Fix showing incorrect max PP on summary screen 2024-01-29 20:57:59 -05:00
Flashfyre 9a00090617 Fix max elixir logic not working properly 2024-01-26 18:36:23 -05:00
Flashfyre c5eb86b0b1 Fix crash with stat change after Pokemon is recalled 2024-01-21 16:30:06 -05:00
Flashfyre 80095a64fc Add money items 2024-01-18 22:30:03 -05:00
Flashfyre 84fe12d83a Implement some abilities 2024-01-16 00:28:03 -05:00
Flashfyre 63cb2ae22f Implement some moves and update arena tags to include side 2024-01-15 23:29:22 -05:00
Flashfyre 8c4f336cd6 Trainers switch out their Pokemon when at a disadvantage 2024-01-15 00:20:35 -05:00
Flashfyre f49a3e5127 Add field zoom functionality and make final boss larger 2024-01-14 20:47:08 -05:00
Flashfyre 40d2c200a4 Add form change animation and additional final boss changes 2024-01-13 20:15:55 -05:00
Flashfyre 052564f902 Update final boss fight and restructure some files 2024-01-13 12:24:24 -05:00
Flashfyre 25972b68ea Fix PP Up calculation not working properly 2024-01-13 10:56:20 -05:00
Flashfyre 96f0d9158b Fix crash on starter select screen 2024-01-13 00:41:07 -05:00
Flashfyre ea6c547af1 Minor changes to forms 2024-01-12 20:16:29 -05:00
Flashfyre 2d5dcaf835 Remove .png extensions from Pokemon gen 9 icons once again 2024-01-12 19:10:22 -05:00
Flashfyre cfde592870 Add PP Up and PP Max items 2024-01-12 19:05:00 -05:00
Flashfyre 7c5acc527c Implement Mind Blown 2024-01-12 18:22:00 -05:00
Flashfyre e2dd0cd32c Fix Chansey line evolution conditions 2024-01-12 18:01:02 -05:00
Flashfyre b7256ab250 Fix Dragon Ascent effect target 2024-01-12 16:24:44 -05:00
Flashfyre 38bf435890 Make elite four battles alternate instead of being consecutive 2024-01-12 14:06:29 -05:00
Flashfyre 831bc75560 Fix layering for egg-related UIs when option select is visible 2024-01-12 00:09:11 -05:00
Flashfyre 4c07c6d5cb Changes for how play time is handled 2024-01-11 20:27:50 -05:00
Flashfyre f9c3023e6d Add additional stats 2024-01-11 16:47:11 -05:00
Flashfyre fcf1c4f574 Rework option select and add game stats 2024-01-11 12:26:32 -05:00
Flashfyre 13aa20630d Bring summary UI to top when opened 2024-01-11 00:41:08 -05:00
Flashfyre 0741478d24 Fix crash when updating name before info UI is initialized 2024-01-10 19:02:41 -05:00
Flashfyre 94b43b9dc5 Update Pokemon icon sheets 2024-01-10 16:37:17 -05:00
Madmadness65 35c15545d8 Implement a few more cross-gen Pokémon
Gen 8 icons will need recompiled to include Bloodmoon Ursaluna, and Gen 9 icons for Clodsire, Dudunsparce-three, Paldean Tauros, and Paldean Wooper.
2024-01-10 14:48:54 -06:00
Flashfyre ff936ee395 Fix hanging when bypass login is on 2024-01-10 14:02:43 -05:00
Flashfyre 0f5c735609 Improve handling of boss bar thresholds 2024-01-10 10:38:00 -05:00
Flashfyre 7d0393be35 Add shiny versions of gen 8-9 Pokemon icons by @Someonealive-QN 2024-01-10 08:30:36 -05:00
Flashfyre 397bf1ce78 Add case for immediate move-based form changes 2024-01-10 00:13:47 -05:00
Flashfyre 4bbf1acbd8 Fix crash on catching a Pokemon 2024-01-09 23:53:31 -05:00
Flashfyre 53097dfa6d Fix Keldeo's form condition using wrong move 2024-01-09 23:48:23 -05:00
Flashfyre 6084d3aaa6 Add form change system 2024-01-09 23:34:43 -05:00
Flashfyre e0b3ca064d Fix gen 9 icons 2024-01-09 07:19:47 -05:00
Flashfyre 7f1add83c4 Add Soul Dew item and make various minor changes 2024-01-09 00:06:11 -05:00
Flashfyre 63834858cd Tweak logic for boss segment count 2024-01-08 01:18:55 -05:00
Flashfyre 12295d7680 Fix crash with normal type gym leaders 2024-01-08 00:35:41 -05:00
Flashfyre 111f9c9af8 Make Electric types immune to paralysis 2024-01-08 00:10:08 -05:00
Flashfyre bde168accb Update gym leader template logic 2024-01-08 00:07:42 -05:00
Flashfyre a2fbb91a77 Fix applying time tint to Pokemon when evolving 2024-01-07 23:58:36 -05:00
Flashfyre f0060e47a7 Add construction site arena background 2024-01-07 23:54:49 -05:00
Flashfyre f029f450fe Fix master ball not working properly 2024-01-07 23:50:11 -05:00
Flashfyre eedad7d678 Add boss health bars 2024-01-07 23:17:24 -05:00
Flashfyre 52e3c6b730 Fix logic error in nature stat effect text 2024-01-06 12:54:42 -05:00
Flashfyre 06020bee14 Fix text overlap in egg hatch screen stats 2024-01-06 12:24:01 -05:00
Flashfyre 8cc1982859 Add natures 2024-01-05 22:31:13 -05:00
Flashfyre 6dc868272f Add summary memo text 2024-01-05 11:29:34 -05:00
Flashfyre 39b31e7d6f Add back old random seed gaussian function to fix level balancing 2024-01-05 00:44:28 -05:00
Flashfyre 678753aaaf Tweak Pokeball release animation for fast game speed 2024-01-05 00:00:51 -05:00
Flashfyre 9037562c5c Add Pokeball release animations and Fairy Feather item 2024-01-04 23:57:21 -05:00
Madmadness65 f342ea8e67 Fix minor champion oversight
Iris is no longer listed twice for wave 190, and Geeta has been added for the future
2024-01-04 19:28:24 -06:00
Flashfyre 32dda0a603 Respect pokeball type on caught Pokemon 2024-01-04 19:56:26 -05:00
Flashfyre 4776851bb8 Add new boss trainers and tweak boss trainer logic 2024-01-04 19:37:07 -05:00
Flashfyre e05bf78481 Overhaul random logic and implement battle seed 2024-01-02 21:31:59 -05:00
Flashfyre 6558de01c4 Fix issue with mobile and submit action 2024-01-02 17:31:44 -05:00
Flashfyre c0aac06fab Fix mobile bug on starter select screen 2024-01-02 17:11:51 -05:00
Flashfyre f7bfb925a1 Fix issue with regional evolutions 2024-01-01 20:10:48 -05:00
Madmadness65 308b264246 Update exp yields for Hisui and Paldea Pokémon
This still lacks exp yield info for Indigo Disk Pokémon, as it is still unknown at this time.
2024-01-01 14:56:57 -06:00
Flashfyre ae42dac370 Tweak species evolution logic 2024-01-01 15:27:47 -05:00
Flashfyre cc5f15e00e Press enter to start run on starter screen 2024-01-01 13:41:46 -05:00
Flashfyre 2d1fabdc03 Ignore erroring modifiers when loading session 2024-01-01 12:32:03 -05:00
Flashfyre eae0d907c5 Minor tweak for starter select screen 2024-01-01 11:17:20 -05:00
Flashfyre 264c1c28ef Allow for up to 6 starters below the limit 2024-01-01 10:14:49 -05:00
Flashfyre 9bfe57cc94 Reload page after overriding system data with local 2024-01-01 01:05:20 -05:00
Flashfyre 6ca98ee6b5 Change Soothe Bell weight to depend on benefit 2024-01-01 00:29:41 -05:00
Madmadness65 42eaa6235e Lower the friendship evolution requirements 2023-12-31 23:18:39 -06:00
Flashfyre 6941e6bdce Fix issue with some modifiers not loading after loading session 2024-01-01 00:00:44 -05:00
Flashfyre bbf42f28fb Fix vouchers in endless mode 2023-12-31 23:19:06 -05:00
Flashfyre 83e9f6d784 Fix freezing after a battle ends due to not clearing session 2023-12-31 22:49:50 -05:00
Flashfyre 183b53286e Fix error when importing data while eggs list is empty 2023-12-31 18:53:16 -05:00
Flashfyre 1ad25bdf61 Link save data to account 2023-12-31 18:30:37 -05:00
Flashfyre 34d91edab1 Reduce size of system data by shortening keys 2023-12-31 13:39:04 -05:00
Flashfyre 7a47c62535 Fix various data related issues and add hatchedCount to DexEntry 2023-12-31 13:20:28 -05:00
Flashfyre db3ff7988f Fix errors in spliced endless mode 2023-12-31 11:15:57 -05:00
Flashfyre de87a35b97 Fix switch out status moves in wild causing softlock 2023-12-31 10:39:33 -05:00
Flashfyre 5d7f69e35f Fix arenas not switching back from end biome 2023-12-31 10:33:34 -05:00
Flashfyre 0700e9313d Make regional forms rarer to hatch from eggs 2023-12-31 01:28:40 -05:00
Madmadness65 aa15061293 Adjust encounters for time of day for gens 3-8 2023-12-31 00:27:58 -06:00
Flashfyre ffc1a8d02e Minor evolution updates 2023-12-31 01:03:27 -05:00
Flashfyre 2e909b430f Improve logic for determining enemy trainer party members 2023-12-30 23:31:26 -05:00
Flashfyre 20569b0317 Fix various bugs related to switch out attack moves 2023-12-30 22:01:46 -05:00
Flashfyre 8063472bac Add accounts, login, and registration 2023-12-30 20:19:33 -05:00
Flashfyre 19fec88daa Fix Legendary egg gacha pulling in boosted rates for unobtainable species 2023-12-30 15:58:41 -05:00
Flashfyre 60260faaa4 Ignore time of day tint on Pokemon sprites in UI 2023-12-30 15:44:20 -05:00
Madmadness65 b831dd7835 Adjust time of day encounters for gen 1 & 2 Pokémon 2023-12-30 01:22:13 -06:00
Flashfyre 22a5f6599d Fix issues with regex patterns for processing Pokemon pools 2023-12-30 01:11:34 -05:00
Madmadness65 75dd38eff8 Update biome.ts 2023-12-29 23:34:49 -06:00
Flashfyre 2ed01f9b63 Add support for time of day specific Pokemon pools 2023-12-30 00:00:27 -05:00
Flashfyre 4e841db730 Fix stack overflow on game over 2023-12-29 21:36:26 -05:00
Flashfyre 5ef6f2da88 Add day/night cycle 2023-12-29 21:04:40 -05:00
Flashfyre b04c7c8c3b Add missing back sprites for Honedge 2023-12-29 19:34:57 -05:00
Madmadness65 343bc95028 Add Waiters to the trainer pool
Clobbopus is also now properly available for Black Belt trainers
2023-12-28 16:51:29 -06:00
Flashfyre e107349a98 Add data save and load 2023-12-26 14:49:23 -05:00
Flashfyre 97124c2710 Add shiny sparkle animation to egg hatch scene
Add shiny sparkle animation to egg hatch scene; implement missing logic for same seed trainer party member generation
2023-12-26 12:29:18 -05:00
Flashfyre e265c1961f Fix bug with generating moves before form 2023-12-26 12:01:56 -05:00
Flashfyre 40439817ac Attempt fixing issue with gender-specific types 2023-12-26 01:29:05 -05:00
Madmadness65 7688a4aaa6 Add XP yields for Paradox Pokémon 2023-12-25 23:08:38 -06:00
Flashfyre 9230bf8827 Move font face back to html to fix font sometimes not loading 2023-12-25 21:40:57 -05:00
Flashfyre 295505ca7f Fix Smeargle moveset 2023-12-25 20:43:56 -05:00
Madmadness65 f968d4c5ae Indigo Disk Paradox Pokémon
Mostly implements Gouging Fire, Raging Bolt, Iron Boulder, and Iron Crown. They still require shiny sprites and cries, and have placeholders for now. Galarian Mr. Mime also removed as a starter (evolve Mime Jr. instead).
2023-12-25 16:26:59 -06:00
Flashfyre 5935907a09 Don't allow disabling the touch controls on a detected mobile device 2023-12-25 16:39:40 -05:00
Flashfyre 1e4e0d013e Add experimental vibration touch feedback on mobile 2023-12-25 15:50:33 -05:00
Flashfyre 77e70a6540 Update default window type 2023-12-25 15:08:51 -05:00
Flashfyre ca720e8a20 Add missing case for updating touch controls UI mode 2023-12-25 15:06:56 -05:00
Flashfyre 41d1a84c76 Add touch controls for mobile support 2023-12-25 15:03:50 -05:00
Flashfyre de29ea9c05 Add missing west Shellos icon 2023-12-24 15:32:21 -05:00
Flashfyre 40eed4464d Implement various abilities 2023-12-23 01:21:01 -05:00
Flashfyre 40a4d4cf13 Fix issues with Sticky Hold ability 2023-12-22 23:58:53 -05:00
Flashfyre 2bb1676d82 Implement Slow Start ability 2023-12-22 22:46:05 -05:00
Flashfyre 0b5adbb43c Refactor ability hook functions to remove code duplication 2023-12-22 22:04:30 -05:00
Flashfyre 6391e05508 Convert apply attribute functions to promises 2023-12-22 21:42:47 -05:00
Flashfyre dd89db29fd Grant a plus voucher instead of a normal one for every 250th wave in endless mode 2023-12-22 20:13:48 -05:00
N1ghtz567 53fb56391b Implement 2 abilities 2023-12-22 18:08:37 -04:00
Flashfyre 7deab1c545 Implement some abilities 2023-12-22 01:21:05 -05:00
Flashfyre 4a575a45a9 Fix some bugs
Fix softlock with charging moves; fix double summon bug with Dragon Tail and similar moves in a trainer battle
2023-12-21 23:57:11 -05:00
Flashfyre 957b5d0fa7 Add friendship system in place of win count
Add friendship system in place of win count; add soothe bell item
2023-12-21 23:00:45 -05:00
Flashfyre 8ed7b77868 Add most gen 9 move animations 2023-12-21 20:58:00 -05:00
Flashfyre b9c05a253e Remove temporary compensation voucher logic 2023-12-21 11:46:50 -05:00
Flashfyre 2568ac3524 Add paradox Pokemon for the end biome 2023-12-21 01:24:24 -05:00
Flashfyre e07e267ddc Refactor windows and add alternate window skins 2023-12-20 22:22:15 -05:00
Flashfyre cb71e543a8 Rename UiHandler file to fit conventions 2023-12-20 19:19:23 -05:00
Flashfyre 51b833f779 Grant a single voucher for defeating a boss trainer for subsequent times 2023-12-20 17:30:06 -05:00
Flashfyre 524cd99eda Rebalanace vouchers and add golden voucher 2023-12-20 17:22:50 -05:00
Madmadness65 830d3fde57 Adjust encounters and XP yields
Add wild encounters for Gen 9 cross-evos, and fix XP yields of PLA and Gen 9 cross-evos.
2023-12-20 16:12:32 -06:00
Flashfyre 5883c2fafd Calculate IVs twice for hatched Pokemon to improve overall IVs 2023-12-20 13:05:11 -05:00
Madmadness65 c3c4446930 Minor changes
Rival can have Hoothoot too, and slightly bumped up Whismur's starter value (It's too strong for how cheap it is to start with).
2023-12-20 01:51:38 -06:00
Madmadness65 51a42da89e Update Rival party choices
The Rival can now choose from the Galar starters and regional bird.
2023-12-20 00:07:15 -06:00
Flashfyre 534d5a907c Fix eggs ignoring forms 2023-12-20 00:35:41 -05:00
Flashfyre aa94e044ab Add egg gacha system and various minor changes
Add egg gacha system; remove certain mythical Pokemon from the wild pool as egg exclusive; add egg vouchers with UI; rework Shiny Charm odds; fix trainer Pokemon shiny odds not properly ignoring Shiny Charm modifier
2023-12-19 23:51:48 -05:00
Madmadness65 50d4858caa Implement new Indigo Disk TMs
These include: Double Edge, Curse, Pain Split, Endeavor, Feather Dance, Metal Sound, Petal Blizzard, Hard Press, Alluring Voice, Temper Flare, Supercell Slam, Psychic Noise, and Upper Hand.
2023-12-19 16:54:28 -06:00
N1ghtz567 721ec6e8a9 Implement Perish Song 2023-12-18 21:53:28 -04:00
Madmadness65 a774fa69d5 Indigo Disk cross-evos now usable
Hydrapple and Archaludon are now able to be used. Dipplin also, as it was missing all it's graphics previously. Dragon Cheer is also in the TM pool now to accommodate this change.
2023-12-16 19:19:24 -06:00
Flashfyre 90f4b54fcc Minor visual fixes for item icons 2023-12-16 10:15:25 -05:00
Flashfyre d8c62b700f Update Eternatus' moveset 2023-12-16 00:46:01 -05:00
Flashfyre 4062cd9380 Fix wrong signature for Deoxys fix 2023-12-15 23:54:22 -05:00
Flashfyre 8781bb29da Move starter screen IV chart to its own component 2023-12-15 23:42:31 -05:00
Flashfyre 5ad16731db Fix crash with Deoxys normal forme sprite 2023-12-15 23:21:42 -05:00
Flashfyre 71fdafe8fb Add egg logic and hatching screen (WiP) and end biome arena BG 2023-12-15 23:07:32 -05:00
Madmadness65 f4ad9546c0 Add relevant move flags
Will be important later once the abilities that interact with these flags are implemented.
2023-12-15 01:46:57 -06:00
Flashfyre 58fba9d966 Add some new biome backgrounds by @Someonealive-QN 2023-12-14 13:50:25 -05:00
Madmadness65 590483f3af Covet can steal too 2023-12-14 12:21:49 -06:00
Flashfyre dad6401f67 Add evolution pausing and fix visual bug with evolution scene 2023-12-14 12:55:11 -05:00
Madmadness65 fc2665b3f0 Implement type-boosting abilities
This affects Steelworker, Transistor, Dragon's Maw, and Rocky Payload.
2023-12-14 11:52:30 -06:00
Flashfyre 1a4d51d060 Add evolution cancelling 2023-12-14 11:54:56 -05:00
Flashfyre 01a5fe18dd Remove arena tags before a trainer battle or new biome 2023-12-14 09:35:15 -05:00
Flashfyre c27db5603a Fix Stone Axe failing with max layers 2023-12-14 09:16:41 -05:00
Flashfyre f47c3e22ce Fix evolution level up moves 2023-12-14 08:55:08 -05:00
Flashfyre 4bad2b46d2 Treat Ultra Beasts as pseudo legendaries 2023-12-14 08:38:09 -05:00
Madmadness65 625359fb39 Add Indigo Disk data
New Pokémon, moves, learnsets, TMs, and evolution data added in various states of completeness. Until graphics are made for the new Pokémon, they cannot be used yet.
2023-12-14 03:03:00 -06:00
Flashfyre 243bfa1624 Add missing Mega Diancie evolution 2023-12-14 01:01:10 -05:00
Flashfyre 47181ea868 Add generation 8 Pokemon and new biomes 2023-12-14 00:41:35 -05:00
Flashfyre c07df0db99 Add Dudunspare three-segment evolution chance 2023-12-13 19:24:10 -05:00
Madmadness65 f7176109e7 Fix order of evolutions
Hopefully rectified that some were unintentionally impossible to get
2023-12-13 17:39:11 -06:00
Madmadness65 5543d5fe04 Implement Gen 8+9 starter values & evolutions
Most Gen 8 & 9 Pokémon are still not usable yet. However, any cross-generation evolutions can be obtained.
2023-12-13 17:17:16 -06:00
Flashfyre 33b2bd8450 Add sprites and icons for gen 8 and evolutions of past generations 2023-12-13 18:00:48 -05:00
someone soul a0909abb89
Fixing annihilape's icon (#13)
* Deleting old annihilape icon

* adding new annihilape icon
2023-12-13 11:24:24 -05:00
Madmadness65 16a17484f2 Minor Stantler change
It can now learn Psyshield Bash in preparation for it's evolution.
2023-12-13 01:25:17 -06:00
Flashfyre 982e9c7e1e Add generation 7 Pokemon and new biomes 2023-12-12 15:32:50 -05:00
Flashfyre 3da558f2f8 Fix route to Temple biome 2023-12-12 01:01:31 -05:00
Flashfyre ed800ead28 Add Temple biome 2023-12-12 00:14:30 -05:00
Flashfyre fa48f6acd5 Add missing level moves and Fairy Cave biome 2023-12-11 23:24:33 -05:00
Flashfyre 34ba66346e Minor fixes 2023-12-11 21:46:49 -05:00
Hyo 052d8ca765 added dialogue for hoenn gym leaders 2023-12-11 17:52:51 -08:00
Madmadness65 30b3b56570 Implement a few more moves
Fully implements Meteor Beam, partially implements Spiky Shield, Dragon Darts, Octolock, and Scale Shot.
2023-12-11 19:09:38 -06:00
Flashfyre aa15f83ede Add missing TM learnability entries 2023-12-11 13:02:02 -05:00
Madmadness65 9d3b936ade Use the actual ability descriptions
With the implementation of text scrolling in the ability text box, the shortening is no longer necessary.
2023-12-11 11:23:00 -06:00
Flashfyre 7047448382 Add scrolling ability text 2023-12-11 11:09:58 -05:00
Madmadness65 a4f3408c7d Add descriptions to generation 9 abilities
They have also been sufficiently squished to fit within the gen 3 style UI.
2023-12-11 01:41:33 -06:00
Madmadness65 b69e4ccc6b Correct Population Bomb
Used the wrong multi-hit, whoops
2023-12-11 00:19:58 -05:00
Madmadness65 50215d05ec Implement moves with basic functionality 2023-12-11 00:19:58 -05:00
Flashfyre 552bda9840 Implement some abilities 2023-12-10 22:29:13 -05:00
Flashfyre 67f816cff4 Minor refactoring for move conditions 2023-12-10 17:57:12 -05:00
Flashfyre 67ac5d3139 Truncate names in battle info and party UI when too long 2023-12-09 23:41:36 -05:00
Flashfyre fa94db0939 Implement new movesets and TMs 2023-12-09 20:09:09 -05:00
Flashfyre 79a2f4637c Add logic for evolution-only moves 2023-12-09 10:03:36 -05:00
Flashfyre e2a6a93209 Rebalance base stat boosters and make max stack count rely on IVs 2023-12-09 00:33:29 -05:00
Flashfyre d4b620b155 Lower stack limits for base stat boosters and reviver seed 2023-12-08 21:59:03 -05:00
Flashfyre 839d4cec0b Push missed change 2023-12-08 20:26:52 -05:00
Flashfyre 93dd48a742 Fix crash with Florges line 2023-12-08 20:12:09 -05:00
Flashfyre 7c1e82d08c Fix fully evolved species with mega evolutions treated as middle for fusions 2023-12-08 20:02:25 -05:00
Flashfyre 35747c3dd6 Fix Pokemon icon positioning 2023-12-08 19:43:14 -05:00
Flashfyre d70ddcfe65 Fix crash with Scatterbug and Spewpa 2023-12-08 19:30:30 -05:00
Flashfyre 2c3cf64e70 Fix Tyrunt evolution condition 2023-12-08 18:23:06 -05:00
Flashfyre d6712f3a39 Fix Binacle evolving to wrong species 2023-12-08 18:19:38 -05:00
Flashfyre c3244cfdc3 Fix Furfrou sprite names 2023-12-08 18:01:30 -05:00
Flashfyre e7ec5b4f88 Implement generation 6 Pokemon and some moves 2023-12-08 16:29:03 -05:00
Flashfyre b29ee1be5e Allow for null user in end of move effect phase 2023-12-08 09:51:45 -05:00
Flashfyre 5441ecbd73 Add logic to space out trainer battles in classic mode 2023-12-08 09:48:03 -05:00
Flashfyre 9a42b05dd6 Update some trainer pools 2023-12-08 08:15:36 -05:00
Flashfyre 890bf47e26 Add logic to better control enemy trainer party member evolutions 2023-12-07 23:10:45 -05:00
Flashfyre 19bea46574 Fix typo 2023-12-07 18:41:55 -05:00
Flashfyre f671eda029 Fix crash related to mega evolutions 2023-12-07 18:20:41 -05:00
Flashfyre 70827420cd Implement mega evolutions 2023-12-07 17:43:56 -05:00
Flashfyre fae2c50916 Add endless mode biome weighting 2023-12-07 13:41:47 -05:00
Flashfyre b7687a9a30 Add gen 6-7 sprites and update icon set 2023-12-07 00:52:20 -05:00
Flashfyre 0e366986b5 Fix bug with catching Pokemon 2023-12-05 23:31:45 -05:00
Flashfyre 0b8ae6f05e Fix bug with evolving fused Pokemon via item 2023-12-05 23:18:34 -05:00
Flashfyre 73de28ea16 Update cry set 2023-12-05 21:00:04 -05:00
Flashfyre fab2d9b788 Soft implement gen 6-9 species, abilities, and learnsets 2023-12-05 17:12:39 -05:00
Flashfyre ec2ff480ec Fix crash when EXP charm stack is full 2023-12-04 20:35:33 -05:00
Flashfyre 88bee27694 Implement Future Sight and Doom Desire 2023-12-04 00:09:38 -05:00
Flashfyre 40e5449982 Nerf healing charm from 100% to 25%
Nerf healing charm from 100% to 25%; change shiny item buff to only count when Pokemon has not fainted
2023-12-03 00:28:54 -05:00
Flashfyre 2f6f7c9dc6 Minor fix for spliced names 2023-12-03 00:08:13 -05:00
Flashfyre 839264506b Add shiny indicator to battle info 2023-12-02 23:31:45 -05:00
1goop d94fdc71ff Implemented more trainer types. - fixed 2023-12-02 20:59:47 -05:00
1goop 620a2b649c More trainer pools implemented. 2023-12-02 20:56:53 -05:00
Flashfyre 374779fdc0 Fix not updating name after regenerating starter for spliced endless 2023-12-02 20:37:51 -05:00
Flashfyre b1b6a6f1c7 Fix Baton Pass crash 2023-12-02 16:31:10 -05:00
Flashfyre d66529e96f Remove Golden EXP Charm from master tier pool 2023-12-02 11:55:15 -05:00
Flashfyre fbcd372068 Refactor logic for summons and returns 2023-12-02 10:30:23 -05:00
1goop 5ec3991cb3 Implemented some trainer pools. 2023-12-02 01:12:32 -05:00
Flashfyre 167fb5110b Fix fusion types not factoring into damage 2023-12-01 18:23:51 -05:00
Flashfyre ab344cd82a Add starter values with limit and add generated fusion names 2023-12-01 17:23:26 -05:00
Flashfyre b2d7895c7b Add spliced type sharing and fix move description scrolling 2023-12-01 10:07:21 -05:00
Flashfyre f3ed8e925e EXP Charm balancing for endless mode 2023-12-01 08:57:10 -05:00
Flashfyre 0177c86c11 Fix Annihilape backsprite being cut off 2023-11-30 22:44:51 -05:00
Flashfyre d5731eaa69 Remove duplicate move 2023-11-30 19:38:54 -05:00
Flashfyre 333847f25e Nerf coin case item 2023-11-30 16:53:34 -05:00
Flashfyre e8b82d2d55 Soft implement gen 6-9 moves 2023-11-30 16:37:16 -05:00
Flashfyre 97956dee50 Update Eternatus icons to smaller version 2023-11-28 23:05:35 -05:00
Flashfyre ad9d8a8507 Add Annihilape with Rage Fist move 2023-11-28 21:35:52 -05:00
Flashfyre 233e33bbed Rename High EXP Charm to Super EXP Charm 2023-11-28 18:45:14 -05:00
Flashfyre 12dbdf2522 Add High EXP Charm for balance update 2023-11-28 18:21:29 -05:00
Flashfyre 58b6ecd2bf Offset EXP charms in endless modes 2023-11-28 17:50:15 -05:00
Flashfyre 1d31105de5 Rebalance EXP charms 2023-11-28 16:59:40 -05:00
Flashfyre da4896362c Fix Shell Smash excluding speed effect 2023-11-28 15:19:30 -05:00
Flashfyre d2a1eea802 Complete list of reverse compatible TMs 2023-11-28 14:42:28 -05:00
Flashfyre 8345eaef5a Fix TM compatibility for certain moves being reversed 2023-11-28 14:37:45 -05:00
Flashfyre 4355ebd375 Fix switch out move logic 2023-11-28 08:43:21 -05:00
Hyun Ahn 07f82dfcac
Implement solarpower (#10)
* Implement solarpower

* Fix after review

* Fix after review

* Update src/data/ability.ts

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2023-11-28 08:20:10 -05:00
Flashfyre 1040b2f1d7 Fix incorrect operator used for ability weather damage formula 2023-11-28 08:15:50 -05:00
Hyun Ahn 3e8b047cbd
implement_sand_rush_ability (#9)
* implement_sand_rush_ability

* after review fix

* Update src/data/ability.ts

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2023-11-27 22:34:19 -05:00
Hyun Ahn 7f30cc1d37 implement_hustle_ability 2023-11-27 20:58:01 -05:00
Flashfyre 2fcd7e20fa Fix recharging moves causing a crash 2023-11-27 13:47:32 -05:00
Flashfyre c34eb05083 Fix counter and mirror coat implementation 2023-11-27 11:42:03 -05:00
Flashfyre 21c8a67b10 Change perfect IVs achievement condition 2023-11-27 08:46:59 -05:00
Flashfyre 75904470d3 Fix some bugs related to double battles 2023-11-26 22:22:05 -05:00
Flashfyre 1ac9f239b7 Fix multiple line enemy modifiers covering wave count 2023-11-26 10:00:58 -05:00
Flashfyre 1e2bd0dbb9 Minor change to sprite shader 2023-11-26 09:53:16 -05:00
Samuel H ab9812f837
Update README.md 2023-11-25 19:59:10 -05:00
Flashfyre cbcf874ffc Change Memory Mushroom move list to exclude duplicate moves 2023-11-25 16:17:58 -05:00
Flashfyre e1768bfc80 Fix issue with double battle position logic 2023-11-25 16:02:47 -05:00
Flashfyre 6dbe475784 Fix crash bug with double battles 2023-11-25 15:53:38 -05:00
Flashfyre 39f6eb4de6 Decrease rarity of DNA splicers in spliced endless mode 2023-11-25 14:43:26 -05:00
Hyun Ahn 11fb22ae88
rain to none (#7) 2023-11-25 18:21:27 +09:00
Hyun Ahn 0c5e451606 hyun/imple_slush_rush 2023-11-24 22:25:51 -05:00
Hyun Ahn 62a070239b
Hyun/weather_override (#4)
* weather_override

* move weather override
2023-11-24 22:25:09 -05:00
Flashfyre 1a9c492a79 Fix infinite EXP bug 2023-11-24 16:27:26 -05:00
Flashfyre e5fe0c6e3a Add transform support to fusion palette swaps 2023-11-24 15:12:26 -05:00
Flashfyre 5fc5f5b499 Factor back sprites into fusion palette generation 2023-11-24 12:11:50 -05:00
Flashfyre 3b72878e47 Fix fusion palette swaps not showing on evolution screen 2023-11-24 09:19:18 -05:00
Flashfyre 8ad08edd53 Fix level up moves not working for spliced Pokemon 2023-11-24 08:31:52 -05:00
Flashfyre 0f3ecbae12 Fix incorrect achievement value for Hard Hitter achievement 2023-11-24 07:06:19 -05:00
Flashfyre 4d02432606 Add palette swaps for fusions 2023-11-23 23:52:13 -05:00
Flashfyre 06943ac5dc Change spliced endless mode unfused penalty to base stats 2023-11-22 18:43:31 -05:00
Flashfyre ab70f78a8f Halve stats when unspliced in spliced endless mode 2023-11-22 15:36:39 -05:00
Flashfyre d6617957be Fix status effects from moves always overriding 2023-11-21 14:11:13 -05:00
23431 changed files with 3761112 additions and 3087136 deletions

2
.env Normal file
View File

@ -0,0 +1,2 @@
VITE_BYPASS_LOGIN=0
VITE_BYPASS_TUTORIAL=0

2
.env.development Normal file
View File

@ -0,0 +1,2 @@
VITE_BYPASS_LOGIN=1
VITE_BYPASS_TUTORIAL=0

View File

@ -1,6 +0,0 @@
# don't ever lint node_modules
node_modules
# don't lint build output (make sure it's set to your correct build folder name)
dist
index.html
.eslintrc.cjs

17
.eslintrc Normal file
View File

@ -0,0 +1,17 @@
{
"env": {
"browser": true,
"es2021": true
},
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"overrides": [
{
"files": ["src/**/*.ts"],
"extends": "eslint:recommended"
}
],
"rules": {}
}

View File

@ -1,13 +0,0 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: 'eslint:recommended',
overrides: [],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
rules: {},
}

46
.github/workflows/deploy.yml vendored Normal file
View File

@ -0,0 +1,46 @@
name: Deploy
on:
push: {}
pull_request: {}
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
env:
NODE_ENV: production
- name: Set up SSH
if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch
run: |
mkdir ~/.ssh
echo "${{ secrets.SSH_PUBLIC_KEY }}" > ~/.ssh/id_ed25519.pub
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/*
ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts
- name: Deploy build on server
if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch
run: |
rsync --del --no-times --checksum -vrm dist/* ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.DESTINATION_DIR }}
ssh -t ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "~/prmanifest --inpath ${{ secrets.DESTINATION_DIR }} --outpath ${{ secrets.DESTINATION_DIR }}/manifest.json"
- name: Purge Cloudflare Cache
if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch
id: purge-cache
uses: NathanVaughn/actions-cloudflare-purge@v3.1.0
with:
cf_auth: ${{ secrets.CLOUDFLARE_API_TOKEN }}
cf_zone: ${{ secrets.CLOUDFLARE_ZONE_ID }}
files: |
https://pokerogue.net/
https://pokerogue.net/index.html
https://pokerogue.net/manifest.json
https://pokerogue.net/manifest.webmanifest
https://pokerogue.net/service-worker.js

12
.gitignore vendored
View File

@ -15,6 +15,7 @@ dist-ssr
# Editor directories and files
.vscode/*
!.vscode/extensions.json
!.vscode/settings.json
.idea
.DS_Store
*.suo
@ -24,5 +25,14 @@ dist-ssr
*.sw?
public/images/trainer/convert/*
src/data/battle-anim-raw-data.ts
public/images/battle_anims/input/*.png
public/images/pokemon/input/*.png
public/images/pokemon/input/output/*
public/images/pokemon/icons/input/*.png
public/images/pokemon/icons/input/output/*
public/images/character/*/
src/data/battle-anim-raw-data*.ts
src/data/battle-anim-data.ts
src/overrides.ts
coverage

4
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,4 @@
{
"javascript.preferences.importModuleSpecifierEnding": "minimal",
"typescript.preferences.importModuleSpecifierEnding": "minimal"
}

674
LICENSE
View File

@ -1,21 +1,661 @@
MIT License
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (c) 2022 ourcade
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
Preamble
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<https://www.gnu.org/licenses/>.

141
README.md
View File

@ -1,39 +1,106 @@
# pokemon-rogue-battle
<picture><img src="./public/images/logo.png" width="300" alt="PokéRogue"></picture>
## To do
PokéRogue is a browser based Pokémon fangame heavily inspired by the roguelite genre. Battle endlessly while gathering stacking items, exploring many different biomes, fighting trainers, bosses, and more!
- Title screen
- Add carry-over starter mechanic
- Moves
- Complete move logic
- Abilities
- Complete ability logic
- Natures
- Pokemon summary screen
- Complete summary UI adding missing labels
- Add IV screen
- Capture logic
- Critical capture
- Save data
- Update dex format to share attributes
- Modifiers
- PP Up
- Various mainline game items for various enhancements
- IV scanner
- Valuable items for money
- Trainers
- Finish party pools
- Add dialogue
- Add reward for gym leader victories
- Encounters
- Add extremely rare chance of Arceus available anywhere with type change
- Balancing
- Biome pools
- Battle animations
- Fix broken battle animations (mostly ones with backgrounds)
- Add common animations for modifier effects
- Achievements
- Add more achievements
- Modes
- Add random mode
- Add Nuzlocke mode
# Contributing
## 🛠️ Development
If you have the motivation and experience with Typescript/Javascript (or are willing to learn) please feel free to fork the repository and make pull requests with contributions. If you don't know what to work on but want to help, reference the below **To-Do** section or the **#vote** channel in the discord.
### 💻 Environment Setup
#### Prerequisites
- node: 18.3.0
- npm: [how to install](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
#### Running Locally
1. Clone the repo and in the root directory run `npm install`
- *if you run into any errors, reach out in the **#dev-corner** channel in discord*
2. Run `npm run start:dev` to locally run the project in `localhost:8000`
### ❔ FAQ
**How do I test a new _______?**
- In the `src/overrides.ts` file there are overrides for most values you'll need to change for testing
## 🪧 To Do
Check out our [Trello Board](https://trello.com/b/z10B703R/pokerogue-board) to see what we're working on
# 📝 Credits
> If this project contains assets you have produced and you do not see your name here, **please** reach out.
### 🎵 BGM
- Pokémon Mystery Dungeon: Explorers of Sky
- Arata Iiyoshi
- Hideki Sakamoto
- Keisuke Ito
- Ken-ichi Saito
- Yoshihiro Maeda
- Pokémon Black/White
- Go Ichinose
- Hitomi Sato
- Shota Kageyama
- Pokémon Mystery Dungeon: Rescue Team DX
- Keisuke Ito
- Arata Iiyoshi
- Atsuhiro Ishizuna
- Pokémon Black/White 2
- Firel (Custom Metropolis and Laboratory biome music)
- Lmz (Custom Jungle biome music)
- edifette (Title screen music)
### 🎵 Sound Effects
- Pokémon Emerald
- Pokémon Black/White
### 🎨 Backgrounds
- Squip (Paid Commissions)
- Contributions by Someonealive-QN
### 🎨 UI
- GAMEFREAK
- LJ Birdman
### 🎨 Pagefault Games Intro
- Spectremint
### 🎨 Game Logo
- Gonstar (Paid Commission)
### 🎨 Trainer Sprites
- GAMEFREAK (Pokémon Black/White 2, Pokémon Diamond/Pearl)
- kyledove
- Brumirage
- pkmn_realidea (Paid Commissions)
### 🎨 Trainer Portraits
- pkmn_realidea (Paid Commissions)
### 🎨 Pokemon Sprites
- GAMEFREAK (Pokémon Black/White 2)
- Smogon Sprite Project (Various Artists)
- Skyflyer
- Nolo33
- Ebaru
- EricLostie
- KingOfThe-X-Roads
- kiriaura
- Caruban
- Sopita_Yorita
- Azrita
- AshnixsLaw
- Hellfire0raptor
- RetroNC
- Franark122k
- OldSoulja
- PKMarioG
- ItsYugen
- lucasomi
- Pkm Sinfonia
- Poki Papillon
- Fleimer_
- bizcoeindoloro
- mangalos810
- Involuntary-Twitch
### 🎨 Move Animations
- Pokémon Reborn

BIN
favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

178
index.css Normal file
View File

@ -0,0 +1,178 @@
:root {
--color-base: hsl(0, 0%, 55%);
--color-light: hsl(0, 0%, 90%);
--color-dark: hsl(0, 0%, 10%);
--controls-size: 10vh;
--text-shadow-size: 0.65vh;
}
@media (orientation: landscape) {
:root {
--controls-size: 20vh;
--text-shadow-size: 1.3vh;
}
}
html {
touch-action: none;
}
body {
margin: 0;
background: #484050;
}
#app {
display: flex;
justify-content: center;
}
#app > div:first-child {
transform-origin: top !important;
}
#touchControls:not(.visible) {
display: none;
}
#dpad, #apad {
position: fixed;
bottom: 1rem;
z-index: 3;
}
@media (orientation: portrait) {
#dpad, #apad {
bottom: calc(1rem + env(safe-area-inset-bottom));
}
}
#dpad {
left: 1rem;
}
#apad {
right: 1rem;
}
#dpad svg {
width: calc(2 * var(--controls-size));
height: calc(2 * var(--controls-size));
fill: var(--color-base);
}
#dpad svg rect {
opacity: 0.6;
}
#apad > * {
width: var(--controls-size);
height: var(--controls-size);
}
#apad .apadBtn {
width: var(--controls-size);
height: var(--controls-size);
background-color: var(--color-base);
border-radius: 50%;
}
#apad .apadLabel {
font-family: 'emerald';
font-size: var(--controls-size);
text-shadow: var(--color-dark) var(--text-shadow-size) var(--text-shadow-size);
color: var(--color-light);
user-select: none;
}
#apad .apadLabelSmall {
font-size: calc(var(--controls-size) / 3);
text-shadow: var(--color-dark) calc(var(--text-shadow-size) / 3) calc(var(--text-shadow-size) / 3);
}
#apad #apadLabelAction, #apad #apadLabelCancel {
margin-left: calc(var(--controls-size) / 3);
line-height: 0.9;
}
#apad > :nth-child(2) {
position: relative;
right: var(--controls-size);
}
#apad .apadRectBtn {
position: relative;
text-align: center;
padding-right: 10%;
border-radius: 10%;
bottom: calc(var(--controls-size) * 0.05);
width: calc(var(--controls-size) * 0.6);
height: calc(var(--controls-size) * 0.3);
}
#apad .apadSqBtn {
border-radius: 10%;
width: calc(var(--controls-size) * 0.3);
height: calc(var(--controls-size) * 0.3);
}
#apad .apadBtnContainer {
position: relative;
display: flex;
}
#apad .apadRectBtnContainer {
flex-wrap: wrap;
margin-top: calc(var(--controls-size) * -0.8);
left: calc(var(--controls-size) * 0.175);
height: calc(var(--controls-size) * 0.8);
}
#apad .apadSqBtnContainer {
flex-wrap: wrap;
justify-content: space-evenly;
align-items: center;
margin-bottom: calc(var(--controls-size) * -0.8);
top: calc(var(--controls-size) * -0.9);
width: calc(var(--controls-size) * 0.8);
height: calc(var(--controls-size) * 0.8);
}
#apad .apadRectBtnContainer > #apadMenu {
align-self: flex-end;
}
#apad .apadRectBtnContainer > .apadSqBtn:not(:first-child) {
margin-left: 10%;
}
#touchControls:not([data-ui-mode='STARTER_SELECT']) #apad .apadRectBtnContainer > .apadSqBtn, #touchControls:not([data-ui-mode='STARTER_SELECT']) #apad .apadSqBtnContainer {
display: none;
}
#touchControls:not([data-ui-mode='COMMAND']):not([data-ui-mode='FIGHT']):not([data-ui-mode='BALL']):not([data-ui-mode='TARGET_SELECT']) #apad #apadStats {
display: none;
}
#apad .apadRectBtnContainer + .apadSqBtnContainer {
top: calc(var(--controls-size) * -1.9);
left: calc(var(--controls-size) * -0.9);
}
#apad .apadBtnContainer .apadLabel {
margin-left: calc(var(--controls-size) / 12);
line-height: 0.8;
}
#dpad path:not(.active), #apad .apadBtn:not(.active) {
opacity: 0.6;
}
#layout:fullscreen #dpad, #layout:fullscreen #apad {
bottom: 6rem;
}
input:-internal-autofill-selected {
-webkit-background-clip: text;
background-clip: text;
}

View File

@ -2,38 +2,105 @@
<html lang="en">
<head>
<title>PokéRogue</title>
<meta name="description" content="A Pokémon fangame heavily inspired by the roguelite genre. Battle endlessly while gathering stacking items, exploring many different biomes, and reaching Pokémon stats you never thought possible.">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Pokemon Rogue Battle</title>
<title>PokéRogue</title>
<meta name="description" content="A Pokémon fangame heavily inspired by the roguelite genre. Battle endlessly while gathering stacking items, exploring many different biomes, and reaching Pokémon stats you never thought possible." />
<meta name="theme-color" content="#da3838" />
<meta property="og:title" content="PokéRogue" />
<meta property="og:type" content="website" />
<meta property="og:description" content="A Pokémon fangame heavily inspired by the roguelite genre. Battle endlessly while gathering stacking items, exploring many different biomes, and reaching Pokémon stats you never thought possible." />
<meta property="og:image" content="https://pokerogue.net/logo512.png" />
<link rel="apple-touch-icon" href="./logo512.png" />
<link rel="shortcut icon" type="image/png" href="./logo512.png" />
<link rel="canonical" href="https://pokerogue.net" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<style type="text/css">
@font-face {
font-family: 'emerald';
src: url('fonts/pokemon-emerald-pro.ttf') format('truetype');
src: url('./fonts/pokemon-emerald-pro.ttf') format('truetype');
}
@font-face {
font-family: 'pkmnems';
src: url('fonts/pkmnems.ttf') format('truetype');
}
body {
margin: 0;
background: #484050;
}
#app {
display: flex;
justify-content: center;
src: url('./fonts/pkmnems.ttf') format('truetype');
}
</style>
<link rel="stylesheet" type="text/css" href="./index.css" />
<link rel="manifest" href="./manifest.webmanifest">
<script>
if ("serviceWorker" in navigator) {
window.addEventListener("load", function () {
navigator.serviceWorker.register("./service-worker.js").then(
function (registration) {
console.log("ServiceWorker registration successful");
},
function (err) {
console.log("ServiceWorker registration failed: ", err);
},
);
});
}
window.addEventListener('beforeinstallprompt', e => {
// Prevent invasive install prompt (users are still able to install as an app)
e.preventDefault();
});
</script>
</head>
<body>
<div id="app"></div>
<script type="module" src="src/main.ts"></script>
<script src="src/debug.js"></script>
<div id="touchControls">
<div id="dpad" class="unselectable">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 72 72">
<path id="dpadUp" data-key="UP" d="M48,5.8C48,2.5,45.4,0,42,0H29.9C26.6,0,24,2.4,24,5.8V24h24V5.8z" />
<path id="dpadRight" data-key="RIGHT" d="M66.2,24H48v24h18.2c3.3,0,5.8-2.7,5.8-6V29.9C72,26.5,69.5,24,66.2,24z" />
<path id="dpadDown" data-key="DOWN" d="M24,66.3c0,3.3,2.6,5.7,5.9,5.7H42c3.3,0,6-2.4,6-5.7V48H24V66.3z" />
<path id="dpadLeft" data-key="LEFT" d="M5.7,24C2.4,24,0,26.5,0,29.9V42c0,3.3,2.3,6,5.7,6H24V24H5.7z" />
<rect id="dpadCenter" x="24" y="24" width="24" height="24" />
</svg>
</div>
<div id="apad" class="unselectable">
<div id="apadAction" class="apadCircBtn apadBtn" data-key="ACTION">
<text id="apadLabelAction" class="apadLabel">A</text>
</div>
<div id="apadCancel" class="apadCircBtn apadBtn" data-key="CANCEL">
<text id="apadLabelCancel" class="apadLabel">B</text>
</div>
<div class="apadBtnContainer apadRectBtnContainer">
<div id="apadCycleShiny" class="apadSqBtn apadBtn" data-key="CYCLE_SHINY">
<text class="apadLabel apadLabelSmall">R</text>
</div>
<div id="apadCycleVariant" class="apadSqBtn apadBtn" data-key="CYCLE_VARIANT">
<text class="apadLabel apadLabelSmall">V</text>
</div>
<div id="apadStats" class="apadRectBtn apadBtn" data-key="STATS">
<text class="apadLabel apadLabelSmall">C</text>
</div>
<div id="apadMenu" class="apadRectBtn apadBtn" data-key="MENU">
<text class="apadLabel apadLabelSmall">Menu</text>
</div>
</div>
<div class="apadBtnContainer apadSqBtnContainer">
<div id="apadCycleForm" class="apadSqBtn apadBtn" data-key="CYCLE_FORM">
<text class="apadLabel apadLabelSmall">F</text>
</div>
<div id="apadCycleGender" class="apadSqBtn apadBtn" data-key="CYCLE_GENDER">
<text class="apadLabel apadLabelSmall">G</text>
</div>
<div id="apadCycleAbility" class="apadSqBtn apadBtn" data-key="CYCLE_ABILITY">
<text class="apadLabel apadLabelSmall">E</text>
</div>
<div id="apadCycleNature" class="apadSqBtn apadBtn" data-key="CYCLE_NATURE">
<text class="apadLabel apadLabelSmall">N</text>
</div>
</div>
</div>
</div>
<script type="module" src="./src/main.ts"></script>
<script src="./src/touch-controls.js" type="module"></script>
<script src="./src/debug.js" type="module"></script>
</body>
</html>

View File

@ -1,10 +0,0 @@
{
"compilerOptions": {
"target": "ES2020",
"module": "ES2020",
"moduleResolution": "node",
"checkJs": true,
"esModuleInterop": true,
"strictNullChecks": false
}
}

3665
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,22 +1,46 @@
{
"name": "pokemon-rogue-battle",
"private": true,
"version": "0.0.1",
"version": "1.0.4",
"type": "module",
"scripts": {
"start": "vite",
"start:dev": "vite --mode development",
"build": "vite build",
"preview": "vite preview"
"preview": "vite preview",
"test": "vitest run",
"test:cov": "vitest run --coverage",
"test:watch": "vitest watch --coverage"
},
"devDependencies": {
"@vitest/coverage-istanbul": "^1.4.0",
"axios": "^1.6.2",
"axios-cache-interceptor": "^1.3.2",
"eslint": "^8.25.0",
"jsdom": "^24.0.0",
"json-beautify": "^1.1.1",
"phaser3spectorjs": "^0.0.8",
"pokenode-ts": "^1.20.0",
"typescript": "^5.0.3",
"vite": "^4.5.0",
"vite-plugin-fs": "^1.0.0-beta.6"
"vite-plugin-fs": "^0.4.4",
"vitest": "^1.4.0",
"vitest-canvas-mock": "^0.3.3"
},
"dependencies": {
"@material/material-color-utilities": "^0.2.7",
"crypto-js": "^4.2.0",
"i18next": "^23.11.1",
"i18next-browser-languagedetector": "^7.2.1",
"json-stable-stringify": "^1.1.0",
"phaser": "^3.70.0",
"phaser3-rex-plugins": "^1.1.84"
},
"engines": {
"node": ">=18.0.0"
},
"imports": {
"#app": "./src/main.js",
"#app/*": "./src/*"
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
public/audio/bgm/island.mp3 Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
public/audio/bgm/temple.mp3 Normal file

Binary file not shown.

BIN
public/audio/bgm/title.mp3 Normal file

Binary file not shown.

Binary file not shown.

BIN
public/audio/cry/1.m4a Normal file

Binary file not shown.

Binary file not shown.

BIN
public/audio/cry/10.m4a Normal file

Binary file not shown.

Binary file not shown.

BIN
public/audio/cry/100.m4a Normal file

Binary file not shown.

Binary file not shown.

BIN
public/audio/cry/1000.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1001.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1002.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1003.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1004.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1005.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1006.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1007.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1008.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1009.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/101.m4a Normal file

Binary file not shown.

Binary file not shown.

BIN
public/audio/cry/1010.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1011.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1012.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1013.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1014.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1015.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1016.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1017.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1018.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1019.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/102.m4a Normal file

Binary file not shown.

Binary file not shown.

BIN
public/audio/cry/1020.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1021.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1022.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1023.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1024.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/1025.m4a Normal file

Binary file not shown.

BIN
public/audio/cry/103.m4a Normal file

Binary file not shown.

Binary file not shown.

BIN
public/audio/cry/104.m4a Normal file

Binary file not shown.

Binary file not shown.

BIN
public/audio/cry/105.m4a Normal file

Binary file not shown.

Binary file not shown.

BIN
public/audio/cry/106.m4a Normal file

Binary file not shown.

Binary file not shown.

BIN
public/audio/cry/107.m4a Normal file

Binary file not shown.

Binary file not shown.

BIN
public/audio/cry/108.m4a Normal file

Binary file not shown.

Binary file not shown.

BIN
public/audio/cry/109.m4a Normal file

Binary file not shown.

Binary file not shown.

BIN
public/audio/cry/11.m4a Normal file

Binary file not shown.

Binary file not shown.

BIN
public/audio/cry/110.m4a Normal file

Binary file not shown.

Binary file not shown.

BIN
public/audio/cry/111.m4a Normal file

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More