* [Hotfix] Fix interactions of some moves not changing types (#3183)
* [Hotfix] Fix wild spawns not having their HA (#3190)
* Fix some cases of wrong affixes
* There are two trainer send out messages
---------
Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Create enemy-ai.md
* Finish enemy-ai doc
* Fix outspeed logic + document enemy command functions
* Fix errors in target score formula
* Add example section and implementation guidelines
* Add info on matchup score range
* Fix GitHub rendering issues (maybe)
* Add types to function comments
* Trying to fix GitHub rendering issues again
* Use images for "cases" equations instead
Mirror of PR #1333. Thanks to 0zuzu (https://github.com/0zuzu) for providing the original fix.
Co-authored-by: 0zuzu <63069680+0zuzu@users.noreply.github.com>
* [Fix][Sprite] 4083 Galarian Farfetch'd exp
Fixed cropped feet on exp for default & shiny.
Rearranged spritesheet to fit new size.
Both sritesheets have identical sprite framing.
Both json are identical.
* [Sprite] 71- Fixed missing stem
fixed missing stem segment on victreebil's head
default and shiny
png positions are identical
json are identical
* [Sprite] Female Ursaring variant fronts
Taken from male counterpart
* [Sprite] Female Ursaring variant backs
Taken from male counterpart
* [Sprite] Female Ursaring variants
* Basic version of code for updating party ui name to be red when at max stack
* Updated text to be red when pokemon is at max stack
* Removed some comments and fixed a private property issue
* Fixed a const instead of a let statement, and added some comments on the logic
* Accidentally broke last commit. Intentionally fixed this commit
* Updated the code to not have red text for pokemon name as that was too confusing with fainted pokemon. Now the party slot has a descriptor label which can be used to set the text to show if the pokemon is able/not able to receive the transfer items
* Updated transfer logic to use new isTransferrable property instead of getTransferrable method and merged with latest
* Drafted testable conditions for Magic Guard
* Weather Test
* Update src/test/abilities/magic_guard.test.ts
InnerThunder
Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com>
* Implemented checks for poison/toxic/burn
* Added tests for recoil moves and volatile status
* Added tests for entry hazards
* Moved overrides to top
* Gave player Pokemon the passive Unnerve to prevent random berry interference
* Added tests for ability interactions
* Added reference link
---------
Co-authored-by: Frutescens <info@laptop>
Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com>
* add integration tests
* account for magic guard
* update test name
* remove test code
* fix magic guard interaction
* set 1 as min damage
* fix tests
* only apply magic guard attr if ally is active
* nit: remove new line
* update docs
* add the move attr
* bump up `vitest` and `eslint` version to resolve inflight warning...
- remove and disable `eslint-plugin-import` due to not supporting `eslint@9` yet (can be reactivated later)
- bump `eslint` to `9.7.0`.
- bump `@typescript-eslint/eslint-plugin` to `8.0.0-alpha.54`
- update `@typescript-eslint/parser` to `8.0.0-alpha.54`
- update `typescript-eslint` to `8.0.0-alpha.54`
- update `vitest` to `2.0.4`
- update `@vitest/coverage-istanbul` to `2.0.4`
* remove `vite-plugin-fs` dependency...
- removed `api-generatort-script.ts` file (this was in consultations with devs https://discord.com/channels/1125469663833370665/1250836282926436413/1266469312609259550)
* bump `vite` to version 5
* fix pokemonSprite.test.ts to run locally
It should ignore hidden (starting with `.`) files!
* migrate some `typescript-eslint` to @stylistic/eslint-plugin-ts
as stated here: https://typescript-eslint.io/blog/deprecating-formatting-rules#upgrading-to-eslint-stylistic
- fix eslint complaints inside `i18next.d.ts`
* delete `pokenode-ts` dependency
* remove `phaser3spectorjs`
It's a WebGL debugging tool but I've never seen anyone using it
* remove `axios` and `axios-cache-interceptor` dependency
They are unused
* remove unused `json-beautify` dependency
* move `dependency-cruiser` to dev dependencies
* Revert "remove `phaser3spectorjs`"
This reverts commit 725e681538.
* fix pokemonSprite.test.ts (invert condition)
whops..
* move `@hpcc-js/wasm` to devDependencies
See #2275
* move `@types/jsdom` to devDependencies
See #2275
* update package-lock.json
* destroy loading-scene when done
- unused event listeners are shut off
- children are removed
- `loading_bg` will be removed after transition is finished
- Added some simple types for `rex` plugins
* fix tests
* fix pokemonSprite.test.ts
on local runs it would include hidden dirs like `.DS_store`. Any files starting with `.` is now excluded
* add `mockGameObjectCreator` and use in `gameWrapper`
* add battle-scene.test.ts
add test to verify that LoadingScene is being removed on `BatleScene.create()` call
* update types usage for phaser3-rex-plugins
* remove phaser-extensions.d.ts
fk you typedoc...
* [Hotfix] Fix interactions of some moves not changing types (#3183)
* [Hotfix] Fix wild spawns not having their HA (#3190)
* [Hotfix] Allow to hatch pokemon with Hidden Ability again (#3222)
* chore: Update TNC links layout and position in index.html
* chore: Update TNC links font size in index.css (#3230)
---------
Co-authored-by: Adrian T. <68144167+torranx@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Frederico Santos <frederico.f.santos@tecnico.ulisboa.pt>
* fix final-boss phase change on status-effect dmg
- move final-boss 2nd phase check into battle-scene.
- call method at the end of damage phase
- call method at the end of PostTurnStatusEffect phase
* improve ui.getHandler types
* WIP: final_boss.test.ts
* add "should spawn Eternatus on wave 200 in END biome" test
* add more final_boss tests
couldn't cover the form change due to lack of support from current test framework