Commit Graph

4246 Commits

Author SHA1 Message Date
RedstonewolfX
fb86a44fd5 Merge branch 'main' of https://github.com/PokeRogue-Projects/Pathing-Tool into beta 2024-09-26 14:40:07 -04:00
RedstonewolfX
e4f25e44c5 Modifier logging 2024-09-26 11:35:05 -04:00
RedstonewolfX
c012e83e33 Update modifier-type.ts 2024-09-26 11:00:17 -04:00
RedstonewolfX
e617017330 Update pokemon.ts
Good riddance, shiny RNG breaking!
2024-09-24 18:45:44 -04:00
RedstonewolfX
0f13065855 Merge branch 'main' of https://github.com/pagefaultgames/pokerogue 2024-09-17 20:43:33 -04:00
MokaStitcher
7ea608fb8a
[Bug] Fix Dire Hit & System Data Conversion Failure (#4282)
Co-authored-by: xsn34kzx <xsn34kzx@gmail.com>
2024-09-16 10:56:55 +01:00
RedstonewolfX
a60193c7c9 Update turn-start-phase.ts 2024-09-12 19:38:10 -04:00
RedstonewolfX
ee64778761
Merge branch 'pagefaultgames:main' into main 2024-09-12 05:34:49 -04:00
Frederico Santos
801b0a66f7 Readded vouchers to original weights 2024-09-12 01:13:22 +01:00
Frederico Santos
103c87ec3b Undo egg skip event 2024-09-12 01:09:44 +01:00
RedstonewolfX
ffefd2ad63 Update turn-start-phase.ts 2024-09-11 16:02:54 -04:00
RedstonewolfX
d191eb7de6 Fix Poke Ball throw logging 2024-09-11 15:56:39 -04:00
RedstonewolfX
8bea6395de Update ability.ts 2024-09-11 15:52:31 -04:00
RedstonewolfX
85abac463c Update battle-scene.ts 2024-09-11 15:49:18 -04:00
RedstonewolfX
063dcc52cd Fixes
holy hell
2024-09-11 15:47:57 -04:00
RedstonewolfX
a5dac6b779 Fixes
Files didn't want to cooperate when they transferred over because yes
2024-09-11 14:58:59 -04:00
RedstonewolfX
dfcc5c9e87 RNG Logging extension
Copied over every file that uses any RNG function, adding more logging and hopefully fixing RNG discrepancies
2024-09-11 14:55:14 -04:00
RedstonewolfX
f0ec8b4a87 Merge branch 'main' of https://github.com/PokeRogue-Projects/Pathing-Tool 2024-09-11 14:17:08 -04:00
RedstonewolfX
3aa0b60d03 Update trainer.ts 2024-09-11 14:16:55 -04:00
RedstonewolfX
cee0ab2bb2
Merge branch 'pagefaultgames:main' into main 2024-09-11 13:04:14 -04:00
Amani H.
4808c07cf9
[Hotfix] Fix System Data Conversion Failure 2 (#4159) 2024-09-10 23:05:48 +01:00
Amani H.
bd4729b4c5
[Hotfix] Fix Lapsing Modifiers Not Rolling (#4152) 2024-09-10 16:53:40 +01:00
James Diefenbach
7dd1832072
[Hotfix] fix UI transition causing unusual freezes after egg summary shown (#4126)
* console logs n stuff

* fix bad ui transition for egg summary freeze bug (logs included)

* cleanup egg lapse phase

* touchup

* add back removed whitespace

* remove console logs

---------

Co-authored-by: James Diefenbach <z5421232@ad.unsw.edu.au>
2024-09-10 14:23:13 +01:00
RedstonewolfX
092c8e6f11
Merge branch 'pagefaultgames:main' into main 2024-09-10 07:17:13 -04:00
Amani H.
ebb09dda34
[Hotfix] Fix Lures Refreshing on Reload (#4146) 2024-09-10 10:37:23 +01:00
RedstonewolfX
f1fdcbe427 Merge branch 'main' of https://github.com/pagefaultgames/pokerogue 2024-09-09 18:11:33 -04:00
RedstonewolfX
9dd3ffc9b3 Merge branch 'beta' of https://github.com/pagefaultgames/pokerogue into beta 2024-09-09 18:09:22 -04:00
RedstonewolfX
bc99520a5f
Merge pull request #27 from PokeRogue-Projects/main
Help
2024-09-09 18:05:28 -04:00
Raidette
a919b9c0af
[Move] Implement After You (#1789)
* Complete after you implementation (no localization)

* reset override changes

* Remove hardcoded English text, add tests

* Fix test

* Make sure phases occur in the correct order

* fix after-you issues

- fix i18n interpolation ot state "target name" and not "pokemon name" as the target takes the offer, not the user
- fix some tsdocs
- add override to apply
- update scene.findPhase to be able to use generic types. Add tsdocs

* add move-trigger.afterYou for DE

* fix after_you.test.ts

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-09-09 14:35:04 -07:00
RedstonewolfX
7766a5efa9
Merge pull request #25 from PokeRogue-Projects/beta
Yippee
2024-09-09 17:34:22 -04:00
RedstonewolfX
4da5812247 Yippee
Finished working in beta because I forgot main still gets updates
2024-09-09 17:32:45 -04:00
RedstonewolfX
6282c0e647
Merge pull request #23 from PokeRogue-Projects/beta
Transfer Beta to Main
2024-09-09 16:45:29 -04:00
Adrian T.
e959595471
[Test] Fix throat chop and gorilla tactics tests (#4140) 2024-09-09 16:03:29 -04:00
Jannik Tappert
d9a8448c6e
[Enhancement] Added the ability to localize the tera type hover text (#4138) 2024-09-09 15:57:07 -04:00
Adrian T.
a82d64b5b5
[Ability] Implement Gorilla Tactics (#4051)
* fully implement gorilla tactics

* fix atk increase

* update oversight

* add showAbility param

* fix postmerge

* fix postmerge

* update tests
2024-09-09 15:41:53 -04:00
Brandon Bay
9317093044
[Enhancement] [UI/UX] Add ability and passive tooltips to starter select screen (#4023)
* Add ability and passive tooltips to starter select screen

* Remove explicit casts to BattleScene

* Increase tooltip size, reverse y when necessary, and always show passive tooltip

* Add ability name to tooltip title and persist tooltips between Pokemon

* Use vi function mocks
2024-09-09 15:07:00 -04:00
Adrian T.
9afab182e9
[Test] Remove obsolete splash_only (#4139) 2024-09-09 15:02:11 -04:00
Adrian T.
401568609b
[Dev] Add imports, Handle kebab-case fileName argument in test boilerplate script (#4072)
* add imports, handle kebab-case fileName argument

* fix spacing
2024-09-09 13:00:26 -04:00
Taylor Le Lievre
8df7422e8f
[Bug] Primal weather no longer persists if last mon dies to indirect damage (#3492)
* Fixed Delta Stream remaining active when last mon dies to indirect damage

* Rebasing changes

* Linting fix

* Combined if statements

* Changed params to optional

* Added unit test

* Apply suggestions from code review

* Fix test and remove `.js` from import

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-09-09 12:59:58 -04:00
NightKev
11d912bad8
[Dev] Make OPP_MOVESET_OVERRIDE fully override the enemy's moveset (#4062)
* Make `OPP_MOVESET_OVERRIDE` fully override the enemy's moveset

* Update tests with new override behavior

* Fix tests

* Fix another test

* Move overrides no longer required to be arrays

* Remove `SPLASH_ONLY` test utility variable

* Update moveset override helper functions

* Missed some tests
2024-09-09 12:55:11 -04:00
Adrian T.
c59f6edf36
[Move] Implement Power Shift (#4083)
* fully implement power shift

* cleanup
2024-09-09 12:54:31 -04:00
Leo Kim
80e347840d
[Bug] Fix line spacing in level up stats and move info in Japanese (#4095) 2024-09-09 12:54:17 -04:00
NightKev
89b33466a9
[Test] Fix Safeguard test that relied on a now-fixed bug (#4098) 2024-09-09 12:53:45 -04:00
Lugiad
3d01e905df
[Localization][UI/UX] Clean up of unused localized images (#4110)
* Delete public/images/ui/legacy/summary_moves_effect_de.png

* Delete public/images/ui/legacy/summary_moves_effect_es.png

* Delete public/images/ui/legacy/summary_moves_effect_fr.png

* Delete public/images/ui/legacy/summary_moves_effect_it.png

* Delete public/images/ui/legacy/summary_moves_effect_pt-BR.png

* Delete public/images/ui/legacy/summary_moves_effect_zh-CN.png
2024-09-09 12:53:22 -04:00
Adrian T.
3c05237b2e
[Move] Fully implement Throat Chop (#4115)
* fully implement throat chop

* add linkcode in docs

* address comments

* update test
2024-09-09 12:52:20 -04:00
José Ricardo
a88b989939
[Localization] [pt_BR] Updated some translations (#4131) 2024-09-09 12:50:47 -04:00
Chapybara-jp
e84fe8c24e
[Localisation] [JA] Translated/updated spacing in several files, fixed Ice Face bug (#4129)
* Update ability-trigger.json

* Update ability.json

* Update arena-flyout.json

* Update arena-tag.json

* Update battle.json

* Update fight-ui-handler.json

* Update berry.json

* Update menu.json

* Update party-ui-handler.json

* Update starter-select-ui-handler.json

* Update tutorial.json

* Update move.json

* Update battle.json

* Update arena-flyout.json

* Update arena-flyout.json

* Update arena-tag.json

* Update party-ui-handler.json

* Update settings.json
2024-09-09 12:50:30 -04:00
Mumble
26eb63cf67
[Refactor] Cleaning up Learn move phase (#3672)
* Learn Move Phase rewrite

* Typedocs

* messages with confirm do not need an extra button press no more

* Added Documentation

* This does not work

* so sad

* Some updates

* Eslint issues + clean up

* Additions to handle learning during evolution + test fixes

* some more checks

* Update src/overrides.ts

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

* Update src/test/phases/learn-move-phase.test.ts

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

* Added new function and updated tests

* Fixed bracketing and added parameter types

* Added Sketch to the conditional

* Added some fixes. Weird stuff going on.

* Whoops

* async implementation done

* Update src/phases/learn-move-phase.ts

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

* Apply suggestions from code review

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

* Made showText=> summary a promise

* adapt learn-move-phase to `async-await`

* await add

---------

Co-authored-by: frutescens <info@laptop>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
2024-09-09 09:11:46 -07:00
RedstonewolfX
ecb86753bd Logs show Pokemon data
If a log doesn't contain starter data, but matches a save file, it shows your current party in that save instead.
2024-09-09 12:03:30 -04:00
RedstonewolfX
dee46e090f Update log-select-ui-handler.ts
Fixes some formatter errors yelling at me

Adds file size to logs list
2024-09-09 11:16:27 -04:00