Commit Graph

2380 Commits

Author SHA1 Message Date
Benjamin Odom c2bc94a5f3
Increases the Amount of Time Until a Reconnect up to a Maximum (#1295)
* Update unavailable-modal-ui-handler.ts

* Update unavailable-modal-ui-handler.ts

* Update unavailable-modal-ui-handler.ts
2024-05-23 16:19:36 -05:00
Greenlamp2 c86a51ba89
prevent opening the menu on confirm dialog + fix config error message on crash (#1278) 2024-05-23 13:26:12 -05:00
Lugiad 79af115278
Few new lines up to be localized from in battle.ts locales (#1144)
* Update phases.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update phases.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update battle.ts

* Update phases.ts
2024-05-23 13:22:09 -05:00
Matthew f7a7b23dd1
Update README and package, re-add money formatter (#1286) 2024-05-23 12:29:18 -04:00
Greenlamp2 bac6c22973
ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224)
* eslint config + packages

* updated eslint config

* fix the issue eslint adding ;;;; at interfaces

* first round with eslint --fix .

* removed config for unused export

* Revert "first round with eslint --fix ."

This reverts commit 77a88e0895.

* removed config for camelCase

* for real this time, first round of eslint --fix .

* halfway to manual eslint fix

* eslint done

* added "how to setup" the hook to eslint --fix each new file before commit (if wanted)

* removed eslintrc config file duplicat

* fix human error + ignore build folder + merge overrides

* added curly brace style + eslint

* applied double quote linter rule

* added lefthook

* test precommit

* test precommit

* test precommit

* test precommit

* test precommit

* test precommit

* test precommit

* github action to run eslint

* added node_modules to ignore eslint

* different action for typescript

* no need for different glob (default src)

* node 20

* node 20

* removed no longer needed install file

* remove hooks part from README

* eslint fixes

---------

Co-authored-by: Frederico Santos <frederico.f.santos@tecnico.ulisboa.pt>
2024-05-23 11:03:10 -04:00
iv 2240e09406
zh_tw localization (#1279)
* zh_tw translation

* update translation to newer version

* follow file naming convention
2024-05-23 07:01:22 -05:00
Vance Ehrlich 45415a87bb
Disable tera-blast to prevent its use while there is not an animation (#1270)
* Disable tera-blast to prevent its use while there is not an animation

* Update TERA_BLAST to be unimplemented rather than partial
2024-05-22 23:37:23 -05:00
damocleas 8cd166536a
Egg-move changes for 8 pokemon (#1262)
Ekans
Nidoran F
Zubat
Spinarak
Pyukumuku
Cosmog
Nacli
Flittle
2024-05-22 19:08:26 -05:00
Tempoanon 8b4aa872d9
Update wrong Italian ability localizations and berry pouch (#1259) 2024-05-22 18:38:00 -05:00
Dmitriy K a601d4d39e
hotfix creating berry with undefined type (#1260) 2024-05-22 18:34:49 -05:00
Blitzy 6c824d8894
Give Certain Starters a Reliable Level 1 Damaging Move (#1250)
* Give certain Pokemon who start without a damage dealing move a Level 1 option.

A simple QOL change to certain Pokemon who otherwise didn't start with any sort of damage dealing move, or started out with unreliable moves that made the first biome a chore to get through such as Wrap/Bind or Astonish/Flail. The move choices were simply to help early game for these Pokemon and majority of these moves were moves the Pokemon had access to at some point save for some special cases. The following Pokemon were affected: Abra, Gastly, Lickitung, Dunsparce, Slugma, Wailmer, Spoink, Shuppet, Duskull, Burmy, Chingling, Bonsly, Carnivine, Giratina, Darkrai, Throh, Vanillite, Pumpkaboo, Bounsweet, Pyukumuku, Cosmog, Magearna, Applin, Sinistea, Poltchageist.

* Give certain Pokemon a level 1 damage dealing move

* Added Formatting to indicate what is custom, changed Spoink to pull from Confusion 2 levels earlier
2024-05-22 16:36:57 -05:00
Jannik Tappert e66d7026d5
Added German Localization to Voucher.ts (#1249) 2024-05-22 14:40:53 -05:00
nedpfeiffer b72b432ce3
Spanish translations (#1084)
* spanish translations

* shortened translation
2024-05-22 13:01:29 -05:00
Matthew Olker 99557b318f Merge branch 'main' of https://github.com/pagefaultgames/pokerogue 2024-05-22 11:06:49 -04:00
Matthew Olker aed9b56a7b Add helper functions to game mode 2024-05-22 11:06:24 -04:00
Ethan ecc17c5342
Fixes Issue #805, the TODO was for a bug and was fixed in Platinum (#1238) 2024-05-22 09:59:29 -05:00
Dmitriy K cd7e818a01
Mostly implement the Harvest ability (#1081)
* add harvest ability, move berry phase before turn end phase

* readd removing berry from memory after harvest
2024-05-22 08:52:45 -04:00
Xavion3 7ae09a31a5
Hotfix Sucker Punch and Upper Hand AI (#1237) 2024-05-22 07:13:39 -05:00
Benjamin Odom 460e94725b
Fix Money Typo (#1234) 2024-05-22 01:50:14 -05:00
zaccie b66a68a37b
Drop Shadow Fixes On Team Builder Screen (#1220)
* Drop Shadow Adjustments

Adding support for x,y axis on dropshadow and adjusting the values to be less bad

* Further Refined New Shadow Positons

- Reverted MOVE_INFO_CONTENT to the old default
- Slight adjustments to other values

* Fixed Broken Drop Shadows

Fixed a case where the dropshadow became worse

---------

Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
2024-05-22 01:23:40 -05:00
Franck TROUILLEZ 7ac4900a3e
Allow to explicitly ignore faint phase when damaging. (#1182)
This allows to skip the faint phase in the `#damage` method for physical and special moves, to ensure we first queue the messages for the effectiveness of the attack and the potential critical hit.
We then explicitly unshift the faint phase in this case.
2024-05-22 01:01:16 -05:00
Frederico Santos ae03b9cb20
Money with abbreviated form (#1222) 2024-05-22 00:54:44 -05:00
Ethan c1c464b07a
Fixes Issue #1225: Scrafty line does not have Trailblaze in their TM learnset (#1228) 2024-05-22 00:33:49 -05:00
Madmadness65 25a792f080 Reduce wild evolution delay on some Pokémon
It was causing some Pokémon to be unevolved in later Classic mode trainer battles (notably the fifth and sixth rival fights). Lowering their evolution delay *should* mean they are fully evolved by these fights now.
2024-05-21 22:36:12 -05:00
td76099 fbd863a25c
Feature: Finish implementing Mind's Eye (#1060)
* Adds in the accuracy and evasion bypass for Mind's Eye

* Added comment to new IgnoreOpponentEvasionAbAttr class

* Added docs to apply so that it is actually complete
2024-05-21 23:11:42 -04:00
damocleas 879f009156
Quick-fix Egg Moves for Applin, Sableye, Pawmi, Nacli (#1226) 2024-05-21 19:50:06 -05:00
Madmadness65 3c8b4550b6 End shiny event
I hope everyone enjoyed the extended shiny event this weekend.
2024-05-21 18:58:48 -05:00
Madmadness65 bbfb4bb795 Fix Rayquaza's egg moves being reverted
It was an error from the document used.
2024-05-21 14:55:10 -05:00
Madmadness65 f1e622e4b9 Update egg moves
The newest batch of egg move changes.
2024-05-21 14:26:33 -05:00
zaccie 33f8365192
Drop Shadow Adjustments (#1197)
* Drop Shadow Adjustments

Adding support for x,y axis on dropshadow and adjusting the values to be less bad

* Further Refined New Shadow Positons

- Reverted MOVE_INFO_CONTENT to the old default
- Slight adjustments to other values
2024-05-21 10:00:33 -05:00
LaukkaE 8c01403630
tie event to UTC (#1203)
correct time
2024-05-21 09:38:07 -05:00
Jannik Tappert 5eb4077f13
Fixed german localization of bad dreams (#1206) 2024-05-21 09:33:54 -05:00
Lugiad 6405bcab87
Correction to French ability-trigger.ts (#1200) 2024-05-21 08:53:06 -05:00
Xavion3 3fd1ecf6a7
Update moveset logic to account for new sacrifice attr (#1192) 2024-05-21 02:40:53 -05:00
Sbug98 42e2be22bc
Implements bad dreams (#633)
* test commit

* de modified readme

* first implementation, needs testing with healer

* fixed beahviour if 2+ opponents are on field, also added message

* further fixed

* reset of overrides.ts before merge to main

* fixed grammar

Co-authored-by: Jonas Pinson <jonas.pinson@gmail.com>

* Implemented changes suggested by @bennybroseph and @TempsRay

* Added more docs to the class

* removed old comments

* fixed ability name in comments

* added translation and made message localized

* fixed ability name

* added missing bracket

---------

Co-authored-by: Jonas Pinson <jonas.pinson@gmail.com>
2024-05-21 02:26:01 -05:00
Jacob Knispel 6016ecfb46
Prevent Pokemon Info screen from being covered up (#1156)
* Move Pokemon info screen when confirming

Prevents the yes/no confirm menu from getting in the way when the Pokemon Info screen is open when catching a new Pokemon

* Greatly sped up makeRoomForConfirmUi()
2024-05-21 02:24:03 -05:00
0zuzu 67d5532d15
Check available Pkmn before asking to switch (#1194)
* Create Start Server.bat

idk anymore

* Update .gitignore

* Delete Start Server.bat

* Update .gitignore

* Update phases.ts

Check available party before asking to switch
2024-05-21 02:16:17 -05:00
Matthew Olker 70939bf89f Should fix black screen on load issue 2024-05-21 00:25:55 -04:00
Matthew Olker e3a71cf171 Revert: Allow Roaming Gimmighoul to be caught 2024-05-20 23:51:16 -04:00
José Ricardo Fleury Oliveira e97d79170d
added nonExplicitSupportedLngs (#1181) 2024-05-20 23:26:53 -04:00
Madmadness65 82be3daf9d Allow Roaming Gimmighoul to be caught 2024-05-20 22:12:07 -05:00
Matthew Olker 680eecc452 Fix incorrect passive costs 2024-05-20 21:40:56 -04:00
Greenlamp2 c454e2d232
Fix - shiny color swap (#1183)
* return a list of errors if something is wrong with the variant's sprite

* reformat

* added data in error message

* added read comfort + detection of missing json for existing variant

* fix an error of message display

* fix fetch color swap, missing a return
2024-05-20 19:17:21 -05:00
damocleas 0fd2dcf0aa
Update pokemon-species.ts (#1184)
Updated Starter Point Values for 6+ Cost mons
2024-05-20 19:15:09 -05:00
Tempoanon 6952fe065b
Add selstar to credits (#1180) 2024-05-20 16:11:36 -05:00
Matthew Olker 04045623a0 Update shiny event end to match discord announcement 2024-05-20 16:41:40 -04:00
Greenlamp2 136afa6b00
Tests - Check if something is wrong with the variant's sprite (#1175)
* return a list of errors if something is wrong with the variant's sprite

* reformat

* added data in error message

* added read comfort + detection of missing json for existing variant

* fix an error of message display
2024-05-20 14:40:40 -05:00
Greenlamp2 d2e455cdad
Tests - Check if something is wrong with the variant's sprite (#1162)
* return a list of errors if something is wrong with the variant's sprite

* reformat
2024-05-20 07:31:16 -05:00
JO 9493f59a4e
Complete Psychic Fangs TM list (#1161) 2024-05-20 07:30:45 -05:00
Benjamin Odom f93f2bfca6
Reduce EXP Balance (#1128)
* Set max to 4
2024-05-20 19:06:20 +10:00