Commit Graph

3425 Commits

Author SHA1 Message Date
RedstonewolfX
2e388475a1 One last reroll predictions update
The arena flyout now shows whether or not Shiny Pokemon in your party will affect the shop rewards

Fixed some bugs with reroll listing and luck-based item predictions
2024-08-11 14:24:48 -04:00
RedstonewolfX
8caf853b8d More testing & RNG things
Added a dialogue to skip unimplemented moves faster, but I haven't been able to test it, so it's disabled for now

Fixed shiny luck check

Now shows exact items resulting from changes in shiny luck
2024-08-11 14:07:20 -04:00
RedstonewolfX
740277b222 Extra shop predictions
Now checks all luck values, showing what item tiers you'd get at each tier (exact items aren't generated yet)

If no alternate tiers are shown, the wave is OK to play with shiny Pokemon
2024-08-11 12:28:58 -04:00
RedstonewolfX
7c0ae8eec0 Change auto showing IVs
if the player doesn't dismiss the IVs, they go away on their own
2024-08-11 09:21:21 -04:00
RedstonewolfX
a7d9fc028e Less console logging
Disables console logging for the rerolls list, to make the console more readable
2024-08-11 09:09:14 -04:00
RedstonewolfX
c138d1b4e1 Reroll prediction
Gets a list of every result from all the rerolls you can afford

Shows extra items if you have Golden Poke Balls

Doesn't use lock capsule

Ingame display is todo
2024-08-10 23:33:19 -04:00
RedstonewolfX
73f5d51dd2 Mark logging errors
Replaces names when the game tries to log something incorrectly (I.E. logging a player action for an enemy)
2024-08-10 22:21:31 -04:00
RedstonewolfX
a6ca7e38a4 Fix enemy actions being logged
Adds a couple of checks to try to stop the game from logging enemy switches as if you were doing it
2024-08-10 22:19:31 -04:00
RedstonewolfX
10bb348451 Fix 2
stupid VS Code
2024-08-10 22:04:57 -04:00
RedstonewolfX
1cf2be3757 Bugfix Variety Pack
Adds RNG logging for moves, which I apparently missed

Moves that deal fixed damage in a range (psywave does this I think) will now show the correct range of possible damage values rather than mauling RNG

Shell Side Arm no longer destroys RNG when showing damage calc
2024-08-10 22:01:48 -04:00
RedstonewolfX
b0e0c24181 RNG dumping 2024-08-06 19:38:47 -04:00
RedstonewolfX
83bbb8109a Fix priority crashes
Game crashes when using moves that fail if the opponent hasn't used a move
2024-08-04 02:51:29 -04:00
RedstonewolfX
af85a1ce0d Update arena-flyout.ts 2024-08-04 02:48:39 -04:00
RedstonewolfX
98d5dd85e3 Update battle-flyout.ts 2024-08-04 01:45:58 -04:00
RedstonewolfX
b4f435a86e Merge branch 'main' of https://github.com/PokeRogue-Projects/Pathing-Tool 2024-08-03 20:02:57 -04:00
RedstonewolfX
0e3c353e9e Update phases.ts
Game should now only show flyout in wild battles
2024-08-03 20:02:54 -04:00
RedstonewolfX
ff51e7f9be Auto show stats
Automatically displays arena flyout in battle
2024-08-03 20:01:50 -04:00
RedstonewolfX
32f084650b
Update README.md 2024-08-03 19:53:40 -04:00
RedstonewolfX
dffe806f59
Update README.md 2024-08-03 19:52:04 -04:00
RedstonewolfX
4124bb67ce Fix bug with dragon tail
Using moves that force an opponent to flee in a double battle freezes the game, as it still tries to pick an action for the Pokemon that doesn't exist anymore

Makes the "Import Session" shortcut accessible even if you don't have Endless unlocked

Moves the "Import Session" shortcut to be below Endless Spliced
2024-08-03 12:14:51 -04:00
RedstonewolfX
f4ca84944f Update phases.ts 2024-08-02 20:24:35 -04:00
RedstonewolfX
20a9362a1b Wording changes
Changed text to better clarify when you can/can't catch anything

Removed unnecessary rolls I left in for debugging
2024-08-01 22:36:58 -04:00
RedstonewolfX
a63b417694 Catch predictions
Successfully implemented a function to perform testing RNG rolls without affecting the battle

Now displays the weakest Poke Ball that will still catch the Pokemon, if any

Attempted to add a label for forms, but failed
2024-08-01 22:29:26 -04:00
RedstonewolfX
448aa9bbfe Bugfix
Game crashed when an opponent tried to use Sucker Punch since no target move existed yet
2024-08-01 21:32:03 -04:00
RedstonewolfX
01b6ba89ed Display enemy choices
The opponent makes their selection before the player does (this does not affect RNG)

The opponent's choice(s) are shown in the V menu and in the move PP flyout
(switches are only shown in the V menu, for obvious reasons)
2024-08-01 15:05:15 -04:00
RedstonewolfX
6aadad1528 Spelling edit
Adds the word "Slot" to the slot name descriptions
2024-07-30 14:55:15 -04:00
RedstonewolfX
20bce1205f Add import shortcut in New Game
Adds a button to the "New Game" menu that opens the Import Session box.

This functions exactly like the "Import Session" button in Manage Data, except it also lists what's in each slot.
2024-07-30 14:53:55 -04:00
RedstonewolfX
2459d2035f Remove feature
Remove an unnecessary feature that didn't work anyways
2024-07-30 14:32:54 -04:00
RedstonewolfX
c1934f5f52 Fix menu being annoying
Opening any menu in the 'stats' option froze the game after you close the associated window

This update fixes it
2024-07-30 14:18:30 -04:00
RedstonewolfX
e7c2be8831 Merge branch 'testing-branch' 2024-07-30 14:02:49 -04:00
RedstonewolfX
1fcdfd26f9 Fix a log's number
The log for the run in slot 1 didn't have a label, since its ID was 0 and, therefore, "if data.slotId" returned false
2024-07-30 13:56:10 -04:00
RedstonewolfX
23ed38f8c5 More changes
Removed two settings that aren't necessary (settings are bugged, and I don't know how to fix it ;-;)

Re-added logging the wave seed
2024-07-30 13:49:11 -04:00
RedstonewolfX
7b6664cc13 Settings fix 2024-07-30 13:35:49 -04:00
RedstonewolfX
42f38fc979
Update the game finally
- Merge the huge update from last Saturday
- Move the new links to a menu option so they aren't in the way
- Adds a display on save file slots showing the opposing team
2024-07-30 12:55:35 -04:00
RedstonewolfX
3ee29d4e5d Display opponents on saves
Adds a text label displaying how many items aren't shown due to size limitations

Reduces the items shown from 12 to 9 (or 8 items and the text label, if you have more than 9 items)

Shows the opponent's team in the bottom right
2024-07-30 12:53:35 -04:00
RedstonewolfX
3c99c727c3 Move links
Links have been removed from the page

A new section for viewing the pages' contents has been added to the menu

Achievements, Stats, and Vouchers have been moved to a single panel to make space in the menu
2024-07-30 12:52:11 -04:00
RedstonewolfX
52099a1080 Merge branch 'main' of https://github.com/pagefaultgames/pokerogue into pagefaultgames-main 2024-07-30 11:43:15 -04:00
Frederico Santos
e1de9373a9
chore: Update TNC links font size in index.css (#3230) 2024-07-30 00:12:29 +01:00
Frederico Santos
c8ce7960dd
Merge pull request #3225 from pagefaultgames/disclaimers-mobile-hotfix
chore: Update TNC links layout and position in index.html
2024-07-29 22:11:58 +01:00
Frederico Santos
0922f1123a chore: Update TNC links layout and position in index.html 2024-07-29 22:09:35 +01:00
NightKev
f5101308fe
[Hotfix] Allow to hatch pokemon with Hidden Ability again (#3222) 2024-07-29 17:00:49 -04:00
Frederico Santos
8aa3babf39
Merge pull request #3221 from pagefaultgames/beta
Disclaimers
2024-07-29 21:42:33 +01:00
ImperialSympathizer
2d1fe13efa
[QoL] Toggle TNC display visibility (#3210)
* toggle TNC display visibility on end of Title phase

* move TNC toggle to helper util

* update to use stylesheet

* dynamically move TNC links according to window size

* adjust TNC link spacing

* adjust TNC link spacing

* add early escape if links element not found

* remove link hide functionality

---------

Co-authored-by: ImperialSympathizer <imperialsympathizer@gmail.com>
2024-07-29 17:03:38 +01:00
NightKev
f25d4e1ee2
[Hotfix] Fix wild spawns not having their HA (#3190) 2024-07-28 17:06:38 -04:00
Adrian T.
a8adfc2476
[Hotfix] Fix interactions of some moves not changing types (#3183) 2024-07-28 16:46:37 -04:00
Frederico Santos
118db8c7d0 chore: Update links layout and position in index.html 2024-07-28 20:35:51 +01:00
Frederico Santos
2e6f6fe729
chore: Add Termly consent preferences and policies links (#3187)
* chore: Add Termly consent preferences and policies links

Added Termly consent preferences link and links to Privacy Policy, Cookie Disclaimer, Terms & Conditions, and Acceptable Use Policy in the HTML file. Also included a script for blocking resources from Termly.

* feat: Add consent preferences menu option

This commit adds a new menu option for "Consent Preferences" in the UI. When clicked, it triggers a click event on the consent link element and focuses on it. This allows users to easily access and manage their consent preferences.
2024-07-28 18:10:54 +01:00
NightKev
8a883ea079
[Hotfix] Use getPokemonSpecies() instead of allSpecies[] (#3179) 2024-07-28 00:54:32 -04:00
Tempoanon
09e7192046
[Bug] Tinted Pokeball for Pokemon with only 1 ability (#3174)
* Add hasSameAbilityInRootForm function to Pokemon class

* Add HA check

* Try not using a dependency
2024-07-28 00:22:51 -04:00
NightKev
4d87254001
Fix off-by-one error (#3177) 2024-07-28 04:56:27 +01:00