Commit Graph

2417 Commits

Author SHA1 Message Date
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
GhostFlys 60cbd636e6
update chinese conifg.ts and egg.ts (#1151)
* Update chinese config.ts

* Update chinese egg.ts
2024-05-20 02:18:01 -05:00
Madmadness65 2894c8bfc3 Revert "Update chinese config.ts (#1149)"
This reverts commit 8f8ee9127d.
2024-05-20 01:51:08 -05:00
GhostFlys 8f8ee9127d
Update chinese config.ts (#1149) 2024-05-20 01:44:00 -05:00
Matthew Olker b95a59c094 setup more future language text configuration 2024-05-19 23:11:07 -04:00
Somod1 a32f61fbf7
update zh_CN voucher locales (#1145)
* Add files via upload

* Update zh_CN voucher locales
2024-05-19 22:05:14 -05:00
Matthew Olker ca1ae4b556 cleanup language and candy in starter select ui handler 2024-05-19 21:40:58 -04:00
Adrian Torrano 3671fe4c2f
Prevent spamming of requests when going over scoreboard pages (#1130)
* prevent spamming of requests

* add documentations
2024-05-19 18:04:32 -05:00
arColm 80f6b62d1b
Implement Revival Blessing (#343) 2024-05-19 18:02:17 -05:00
rayanzmn f1394307f4
Fixes recoil damage calculation (#1063)
Recoil damage previously used the total damage dealt by the user instead of using the damage dealt in the current turn.
2024-05-19 17:54:17 -05:00
arColm f649179e24
Implement Grassy Glide (#272) 2024-05-19 17:52:51 -05:00
lucfd 9f699537bc
Implemented Bug Bite, Pluck, Teatime (#232)
* implemented pluck, bug bite

* steal blocked by sticky hold

* implemented teatime

* added stuff cheeks

* added berry pouch support

* fixed StealEatBerryAttr sometimes eating 2 stacks of a berry

* added comments & documentation

* added more comments

* added comment on stuff cheeks condition

* fixed 0 stack berry modifier  not disappearing

* stuff cheeks bug fix

* fix leppa berry logic

* removed stuff cheeks
2024-05-19 17:47:30 -05:00
Matthew Olker a30fc9b82d Update variant palettes and masterlist 2024-05-19 18:39:21 -04:00
GhostFlys a4f4a37e5c
add egg.ts (#1138) 2024-05-19 17:27:17 -05:00