Commit Graph

4439 Commits

Author SHA1 Message Date
muscode
9305b4a3ec
simplify multi hit check
Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com>
2024-11-02 09:28:31 -06:00
muscode13
2d52b05b31 added source to damageAndUpdate and applyPostDamageAbAttrs, added Parental Bond logic + test, put applyPostDamageAbAttrs back in damageAndUpdate 2024-11-02 01:33:58 -06:00
muscode13
38b7e6be68 moved applyPostDamageAbAttrs to pokemon.damage, added check for multi lens in pokemon.apply 2024-11-01 21:53:04 -06:00
muscode13
d8c54ff832 added multi-lens logic 2024-11-01 14:37:13 -06:00
muscode13
bf8da089a2 Merge remote-tracking branch 'origin/beta' into ability/wimpout 2024-11-01 11:58:00 -06:00
muscode13
699dbff763 add fix for multi hit move 2024-11-01 11:56:55 -06:00
muscode
747108f5ef
Merge pull request #1 from DayKev/wimpout-patch-1
Modify `wimp_out.test.ts`
2024-11-01 11:40:25 -05:00
muscode13
80315d2451 fixed nested if issue, remove trapped tag removal 2024-11-01 11:41:07 -06:00
muscode
20ad144f52
add public override to applyPostDamage
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-01 10:34:10 -06:00
muscode
844fbe3d3f
simplify if statement
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-01 10:33:38 -06:00
muscode
809e710b87
make applyPostDamage public
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-01 10:30:35 -06:00
muscode
0ff40e6b5b
make getFailedText public
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-01 10:29:31 -06:00
muscode
bad0494278
make getSwitchOutCondition public
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-01 10:29:08 -06:00
muscode
6ef3003528
make switchOutLogic public
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-01 10:28:41 -06:00
muscode
596a8b88a5
make getFailedText public
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-01 10:27:54 -06:00
muscode
e5a2a64d76
fix whitespace
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-01 10:27:26 -06:00
muscode
34343a0941
fix tsdocs
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-01 10:20:47 -06:00
muscode
ce0305cf85
fix tsdocs
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-01 10:20:19 -06:00
muscode
c6e758ee78
fix tsdocs
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-01 10:19:56 -06:00
muscode
d57c800a88
fix tsdocs
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-01 10:19:31 -06:00
muscode
bb87a9a92b
remove comment
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-01 10:18:57 -06:00
muscode
5761369ab6
remove comment
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-01 10:18:35 -06:00
muscode
5df72ee5ef
Update tsdocs
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-01 10:18:05 -06:00
muscode
bd199664be
remove extra comment
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-01 10:17:30 -06:00
muscode
eb951f2508
remove extra comment
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-01 10:17:05 -06:00
NightKev
fa79c19c30 Modify wimp_out.test.ts 2024-11-01 08:54:29 -07:00
Mumble
684fb93e39
the fix (#4733)
Co-authored-by: frutescens <info@laptop>
2024-10-31 22:22:26 +01:00
Lugiad
abc9264b3d
[Localization] Spanish modification form es to es-ES (#4753)
* Update and rename statuses_es.json to statuses_es-ES.json

* Rename statuses_es.png to statuses_es-ES.png

* Update and rename types_es.json to types_es-ES.json

* Rename types_es.png to types_es-ES.png

* Update i18n.ts

* Update settings.ts

* Update settings-display-ui-handler.ts

* Update starter-select-ui-handler.ts

* Update utils.ts

* Update settings-display-ui-handler.ts

* Update loading-scene.ts

* Update timed-event-manager.ts

* change remaining 'es' to 'es-ES' in various UIs

* change halloween event banner from es to es-ES

* update to latest locale commit

---------

Co-authored-by: Moka <54149968+MokaStitcher@users.noreply.github.com>
2024-10-31 21:54:05 +01:00
Madmadness65
5755180279
[Audio] Replace Graveyard BGM with Firel's custom BGM (#4765) 2024-10-30 21:48:09 -04:00
PigeonBar
5b9dfe17ad
[P2] Fix Own Tempo Rockruff not being able to evolve (#4762) 2024-10-30 13:15:11 -04:00
Mumble
b3a0ca9475
[Misc] Update Donation Link (#4763)
Co-authored-by: frutescens <info@laptop>
2024-10-29 19:31:24 -07:00
PrabbyDD
15dedf06ed
[P2] No Exp Gained after Switching in a Pokemon as the Opponent Faints (#4687)
* fixing the exp bug

* fixing the exp bug

* dont think need to reset turn data there

* changing a little bit

* Update src/phases/faint-phase.ts

Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com>

---------

Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com>
2024-10-29 17:38:57 -04:00
PrabbyDD
afe6d2900d
[P2] Fix for Speed Boost is Activated on the Turn a Pokemon is Switched In, and When a Pokemon Fails to Escape #4353 (#4676)
* fixing speed boost for pokemon being switched in and for if failed escape

* adding unit tests

* adding failed run away test case

* adding failed run away test case modification

* refactoring solution to be more consistent with coding style

* more fixes for consistency

* more fixes for consistency

* adding new AbAttr in abiliity.ts for posterity

* removing uneccesary variables

* fixing a merge conflict
2024-10-29 17:38:33 -04:00
innerthunder
fd1aa41d09
[P2] Fix AI targeting allies with status effect moves (#4717) 2024-10-29 17:32:07 -04:00
NightKev
921d4fa18c
[P2] Chloroblast & Struggle should not recoil if the move failed (#4719)
* Chloroblast & Struggle should not recoil if no damage was dealt

* Protect against missing move entry

Co-authored-by: PigeonBar <56974298+PigeonBar@users.noreply.github.com>

---------

Co-authored-by: PigeonBar <56974298+PigeonBar@users.noreply.github.com>
2024-10-29 17:31:37 -04:00
AJ Fontaine
f9fe59239e
[TMs] Remove Sacred Sword, add Secret Power TM, fix Reflect compatibility (#4713) 2024-10-29 17:31:02 -04:00
Opaque02
1cbe8b1505
[P3] Fixing form name being incorrect for some evolved pokemon (#4742)
* Fixing form name being incorrect for some evolved pokemon

* Updated to include showing the root speciesId if the speciesId locale key doesn't exist
2024-10-29 17:30:20 -04:00
Blitzy
65269f935f
[Balance] Change Bouncy Bubble's Attributes (#4757)
* Change Bouncy Bubble's Healing

* Move comment to what is custom about Bouncy Bubble

---------

Co-authored-by: damocleas <damocleas25@gmail.com>
2024-10-29 16:19:42 -04:00
NightKev
13ff80fb95
Mark Last Respects as partial (#4749) 2024-10-29 18:59:28 +01:00
Mumble
fb2d3e45d6
[Move][Ability] Fully Implement Forest's Curse / Trick Or Treat / Mimicry (#4682)
* addedType variable

* basic mimicry implementation

* eslint

* rage

* quick change

* made files

* added mimicry activation message

* test for moves done

* hahahhaha

* done? for now?

* laklhaflhasd

* Apply suggestions from code review

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* time to start... ughhh

* reflect type

* Added new message

* Update src/field/pokemon.ts

Co-authored-by: PigeonBar <56974298+PigeonBar@users.noreply.github.com>

* Update src/data/ability.ts

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* added overrides

* some checks

* removed comments

* Apply suggestions from code review

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

---------

Co-authored-by: frutescens <info@laptop>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: PigeonBar <56974298+PigeonBar@users.noreply.github.com>
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-10-29 10:10:37 -07:00
geeilhan
38a6bf07e3
[Bug] Fix enemy faint causing Frenzy moves to mishandle paralysis (#4680)
* [BUG] Added frenzy reset function during move phase should move be cancelled (#4227)

* Revert [P2 BUG] Fix since it does not work and is faulty

* [P2 BUG] Implemented correct frenzy Tag and Movequeue reset should frenzy move fail (#4277)

* Cleaned up Bug Fix using frenzyMissFunc

* Added automated test case for frenzy move edge case

* Improvement to frenzy move reset test case speed

* Fix test

* Add missing import

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-10-29 08:36:24 -07:00
AJ Fontaine
13377806ff
[Refactor] Change attack type booster names to enum (#4725) 2024-10-28 15:58:46 -07:00
PrabbyDD
3241332a3c
[Ability] Implementing Friend Guard (#4718)
* implementing friend guard ability

* Update src/data/ability.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Update src/data/ability.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Update src/data/ability.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Update src/test/abilities/friend_guard.test.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>

* Update src/field/pokemon.ts

Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com>

* more tests and fixing other issues

* more tests and fixing other issues

* Update Friend Guard test with damage mocks

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com>
Co-authored-by: innerthunder <brandonerickson98@gmail.com>
2024-10-28 13:49:04 -07:00
Moka
fe7d156d2d
Merge pull request #4754 from pagefaultgames/main
Main -> Beta (1.1.6)
2024-10-28 17:40:48 +01:00
innerthunder
b4cc9d7892
[Hotfix] Fix crash when Mist would block a stat drop (#4746)
* Fix crash when Mist would block a stat drop

* Bump version

* Bump version (again)
2024-10-28 14:02:10 +01:00
pom-eranian
5797f265a4
[Sprite][hotfix] Fixed cropping on 658 static greninja and ash greninja (#4743)
* [Sprite][hotfix] Fixed cropping on static greninja and ash greninja

* bump version number
2024-10-28 02:32:36 +00:00
chaosgrimmon
33f5f4c33b
[Sprite] Hotfix cut off Binacle sprite (#4741)
* Trim 688.json duration

* Trim 688.json duration

* Fix cut off Binacle back

* Fix cut off shiny Binacle back

* Bump version

* Bump version

* Revert cutting off hair

* Revert cutting off hair

* Remove trailing comma

* Remove trailing comma
2024-10-27 23:23:09 +01:00
Moka
41380b39b9
[Hotfix] Fix manifest getting loaded before the game is initialized (#4739)
* Fix manifest being used before the game is initialized

* bump game version

* make manifest fix more future proof

* Revert "make manifest fix more future proof"

This reverts commit 32591b35d0.

* fix locales path for offline builds
2024-10-27 21:32:30 +01:00
PigeonBar
dfb42e44a6
[Hotfix] Fix Eternatus egg tier (#4734) 2024-10-27 04:04:57 +00:00
innerthunder
9a56f080db
[Hotfix] Fix status damage triggering before berry usage (#4732)
* Fix status damage triggering before berry usage

* Bump version number

* Revert "Bump version number"

This reverts commit 64b194f5a7.

* Bump version number for real this time
2024-10-27 02:34:48 +00:00