Commit Graph

1088 Commits

Author SHA1 Message Date
Flashfyre
a33f54b7cb Don't allow PP to go below 0 with Pressure 2024-03-26 21:09:20 -04:00
Madmadness65
8829727c8a Fix Upper Hand not having +3 priority 2024-03-26 17:05:12 -05:00
Madmadness65
53b850aa0e Implement Chloroblast
Apparently this one does too, and I just missed it.
2024-03-26 17:01:55 -05:00
Madmadness65
44d4a28315 Implement Steel Beam
Functions identically to Mind Blown, minus targeting everything.
2024-03-26 16:54:47 -05:00
Flashfyre
e9b94f47f0 Fix battle animation Pokemon sprites losing shadow 2024-03-26 17:45:43 -04:00
Madmadness65
316b93877a Fix Acupressure; Implement Life Dew
Acupressure was always boosting the user's stats, even when targeting an ally, so that has been fixed.
Life Dew has also been implemented and functions as intended.
2024-03-26 15:21:22 -05:00
Flashfyre
8bdab3d3bc Fix dividing by 0 when calculating party member scores 2024-03-26 16:07:59 -04:00
Flashfyre
0fbf21f19b Fix accuracy and evasion ability multipliers not being applied 2024-03-26 15:47:19 -04:00
Madmadness65
c88a2a6786 Changed Petilil's evolution methods
It was odd to have Petilil evolve into Hisui Lilligant with a Relic Band, as well as it being the only Hisuian to not factor in time of day. It has now been changed back to Sun Stone with a time of day evolution condition.
2024-03-26 13:56:25 -05:00
Flashfyre
d98b973a9a Update metal coat evolutions to link cable with steel move
Update metal coat evolutions to link cable with steel move; update Sooth Bell rate to be more common
2024-03-26 14:42:07 -04:00
Flashfyre
c5f52692f6 Rest fails at full HP 2024-03-26 13:11:59 -04:00
Flashfyre
aee5f32bc3 Properly lapse terrain 2024-03-26 10:08:17 -04:00
Flashfyre
c9eac1f510 Fix Adaptability popup triggering falsely on non-STAB moves 2024-03-26 09:32:02 -04:00
Flashfyre
b114cd1cb1 Unlocks only happen on classic 2024-03-25 21:09:32 -04:00
Flashfyre
6c89af4488 Fix move skipping from Candy Jar levels 2024-03-25 18:31:51 -04:00
Flashfyre
1ea0511abb Convert included JS files to modules 2024-03-25 16:10:43 -04:00
Flashfyre
85d09462ad Fix moveset generation logic 2024-03-25 15:22:37 -04:00
Flashfyre
4633ac2426 Add failsafe if moves fail to load 2024-03-25 14:47:41 -04:00
Flashfyre
bd67ccde8b Revert "Fix random moveset generation logic not working properly with evolutions"
This reverts commit a8cabd50d9.
2024-03-25 14:44:40 -04:00
Flashfyre
3ce8697c23 Make AI a bit more intelligent in attack move interactions 2024-03-25 14:38:07 -04:00
Flashfyre
a8cabd50d9 Fix random moveset generation logic not working properly with evolutions 2024-03-25 14:27:04 -04:00
Madmadness65
4bf83645b5 Update egg moves with the latest changes
These are all changes to the egg moves over the last month or so. No major egg move nerfs yet.
2024-03-25 13:18:43 -05:00
Flashfyre
8c5e82a5a3 Add shiny indicator to starter screen 2024-03-25 13:40:54 -04:00
Flashfyre
a1b09f3aeb Fix item bar hover logic 2024-03-25 12:33:35 -04:00
Flashfyre
892d99a4f9 Add 50% chance to offset gym leader wave by 10 in classic 2024-03-25 11:00:42 -04:00
Flashfyre
a22d50caa7 Fix abilities causing permanent weather and terrains 2024-03-25 10:22:16 -04:00
Flashfyre
efa8d4f3fc Fix summon data not being loaded in on session load 2024-03-25 10:16:29 -04:00
Flashfyre
93a7af853b Berries activate simultaneously 2024-03-25 00:21:00 -04:00
Madmadness65
be88f4783e Fix Thunder not having the accuracy bypass in rain
It was unintentionally given to Thunder Wave instead of Thunder.
2024-03-24 22:25:02 -05:00
Flashfyre
73c527af05 Fix encore not working correctly 2024-03-24 23:15:29 -04:00
Flashfyre
c77ea04120 Fix static ability broken and causing crash 2024-03-24 22:43:35 -04:00
Flashfyre
0e694ebfb6 Fix softlock bug with double trainers 2024-03-24 22:24:26 -04:00
Flashfyre
4f88bd3dab Fix final boss nerf 2024-03-24 19:52:30 -04:00
Flashfyre
b9805ceabf Update moveset generation logic 2024-03-24 18:57:24 -04:00
Flashfyre
f87dbcbac3 Fix zoom out for large sprites and trade full heal for elixir in shop 2024-03-24 17:32:44 -04:00
Flashfyre
133c1c364a Add EXP All to endless mode at wave 10 2024-03-24 11:17:12 -04:00
Flashfyre
6fce502b88 Nerf PP on a certain final boss move 2024-03-23 23:07:49 -04:00
Flashfyre
caaacca0ad Add player count on title screen 2024-03-23 21:41:52 -04:00
Flashfyre
0d776b5a7a Add confirmation before skipping items 2024-03-23 21:03:00 -04:00
Flashfyre
de1ba57421 Fix being unable to close menu if opened during certain times 2024-03-23 17:47:15 -04:00
Flashfyre
cea956e196 Don't show wave on weekly scoreboard 2024-03-23 16:36:47 -04:00
Flashfyre
ad7b80cb60 Slightly increase height of rankings 2024-03-23 16:30:52 -04:00
Flashfyre
7212822d18 Fix visual issues with rankings changes 2024-03-23 16:28:30 -04:00
Flashfyre
6db7ee3d0b Add weekly rankings and pagination 2024-03-23 16:26:18 -04:00
Flashfyre
a3cde2df59 Fix crash related to moves without battle animations 2024-03-23 15:29:22 -04:00
Flashfyre
a333f7886c Fix effect spore and similar abilities activating on the wrong target 2024-03-23 10:54:16 -04:00
Madmadness65
863b68a39c Fix Sandygast evolving at wrong level 2024-03-23 00:38:20 -05:00
Flashfyre
1d39f0eeeb Fixed form-based evolutions not taking form into account 2024-03-22 21:38:10 -04:00
Flashfyre
dbe6fefac9 Fix rival party members sometimes being at unintended evolutions 2024-03-22 20:48:47 -04:00
Flashfyre
3b0083a07a Hide score text after daily run ends 2024-03-22 09:16:49 -04:00
Flashfyre
b3e6f26afe Properly implement Last Resort 2024-03-21 23:05:47 -04:00
Flashfyre
7f01d3f57b Add checks to initial title data load to prevent softlocks 2024-03-21 20:45:15 -04:00
Flashfyre
702c28e555 Add familiar splash messages 2024-03-21 14:53:35 -04:00
Flashfyre
67e3ea13d5 Allow menu on title screen 2024-03-21 14:15:39 -04:00
Flashfyre
669260155c Fix crash on title when no save data exists 2024-03-21 13:17:43 -04:00
Flashfyre
cf959c6e1b Add proper title screen and logo 2024-03-21 13:12:05 -04:00
Flashfyre
7189258095 Actually fix single battle summoning issue 2024-03-21 12:34:19 -04:00
Flashfyre
918a0d77f1 Fix for single battle trainer summoning issue 2024-03-21 12:18:10 -04:00
Madmadness65
945236f760 Adjust some double battle team names
They have been changed to be the same as the official names for these specific double battle teams.
2024-03-21 02:38:44 -05:00
Flashfyre
664142b625 Shift trainer pair sprite position 2024-03-21 01:29:19 -04:00
Flashfyre
b201cf0abc Fix trainer-related crash when loading data 2024-03-21 01:05:46 -04:00
Flashfyre
a76f795cd5 Trainer updates including names and double battle pairs
Add dynamic trainer pairs; add trainer names with Bulbapedia scraping logic; add Hex Maniac trainer; make namebox stretch to fit name
2024-03-21 00:57:28 -04:00
Flashfyre
a6d0348383 Another prevolution levels form check fix 2024-03-20 17:56:03 -04:00
Flashfyre
832da738ab Fix prevolution levels evolved form key check for default form 2024-03-20 17:04:09 -04:00
Flashfyre
c1cce43daf Fix form matching on prevolution levels logic 2024-03-20 15:05:45 -04:00
Flashfyre
dfbbe47f26 Add missing information on summary screen 2024-03-19 23:39:43 -04:00
Flashfyre
921851c1b6 Add Leppa Berry 2024-03-19 23:18:48 -04:00
Flashfyre
255177857f Update moveset generation to included evolved lower level moves 2024-03-19 20:09:22 -04:00
Flashfyre
6feef82fcf Simulate evolution chain when generating movesets 2024-03-19 19:52:27 -04:00
Flashfyre
88e050581e Add score to daily run mode 2024-03-19 00:03:41 -04:00
Madmadness65
91b74fbef3 Implement Volt Switch
Was just forgotten when doing the other U-turn clones.
2024-03-18 21:10:23 -05:00
Flashfyre
98e88a160b Implement Bolt Beak, Fishious Rend, and Magnitude 2024-03-18 22:05:21 -04:00
Flashfyre
5c02455c97 Implement Protosynthesis and Quark Drive 2024-03-18 21:22:27 -04:00
Flashfyre
aa1e1a480f Add Psychic Terrain priority block effect and terrain messages 2024-03-18 18:03:13 -04:00
Flashfyre
47a51c9958 Add first hit move effect and apply only to Make It Rain 2024-03-18 17:15:20 -04:00
Flashfyre
7c32855546 Make multi target moves with user effect only trigger user effect on first hit 2024-03-18 16:36:00 -04:00
Flashfyre
27e40d8526 Add Toxic Spikes neutralization 2024-03-17 23:47:46 -04:00
Flashfyre
4432522e15 Fix weather damage ability flavor text 2024-03-17 23:21:30 -04:00
Flashfyre
ab5ac1823b Remove unused TM value from move definitions 2024-03-17 22:55:52 -04:00
Flashfyre
9c467fd697 Fix Water Shuriken 2024-03-17 22:47:30 -04:00
Flashfyre
11ab31d533 Update score logic for bosses 2024-03-17 21:56:24 -04:00
Flashfyre
fc86f5c05a Add wave to daily run scoreboard 2024-03-17 21:04:50 -04:00
Madmadness65
babc32211f Mark more attacking moves as (P)artial
The only functionality this changes is that Metronome can call these specific attacks too now.
2024-03-17 20:00:20 -05:00
Flashfyre
68b1aef3ab Add clear score bonus 2024-03-17 20:58:12 -04:00
Flashfyre
f13e1ffa47 Record clears for failed daily runs 2024-03-17 20:31:09 -04:00
Flashfyre
9805329228 Fix load game bug after backing out of daily run 2024-03-17 17:30:07 -04:00
Flashfyre
a05189120c Add power plant background 2024-03-17 16:47:49 -04:00
Flashfyre
33ba66b236 Add daily rankings board 2024-03-17 13:38:27 -04:00
Madmadness65
852b7fa39e Fix Pokémon with Normal as secondary type missing it 2024-03-17 11:39:17 -05:00
Flashfyre
0701598be6 Add session scores 2024-03-17 11:36:19 -04:00
Flashfyre
dd03be2646 Fix softlock after gender selection 2024-03-17 10:11:24 -04:00
Flashfyre
ee0ff881a9 Fix field scale not resetting after a run ends 2024-03-17 00:36:33 -04:00
Flashfyre
a52b8c6b4b Tweak for daily run final boss 2024-03-17 00:12:57 -04:00
Flashfyre
14912541c5 Fix bug with excluding last tier from item pools 2024-03-16 22:26:52 -04:00
Madmadness65
51b1e76da7 Fix Bugs struggling; implement some trainer types
Also removes a now-unused learnset for Bloodmoon Ursaluna, as it isn't a form for Ursaluna anymore, but rather a standalone Pokémon.
2024-03-16 21:10:21 -05:00
Flashfyre
56f4a71ca6 Add daily runs (WiP) 2024-03-16 22:06:56 -04:00
Flashfyre
81f9e2da36 Add WiP logic for daily run and fix some performance issues 2024-03-15 21:59:34 -04:00
Flashfyre
eab1ba7ab9 Fix timezone variant with legendary gacha 2024-03-15 19:40:13 -04:00
Flashfyre
1bae39d80e Fix softlock with title screen when opening submenus 2024-03-15 18:02:05 -04:00
Flashfyre
7946938828 Fix errors when loading empty slots in local mode 2024-03-15 15:56:07 -04:00
Flashfyre
00255cb09a Fully implement save slots and ""title"" screen changes
Fully implement save slots and ""title"" screen changes; fix issues with slots including clear data not working on game over and export/import not working; fix session play time not being recorded correctly
2024-03-15 15:13:32 -04:00
Flashfyre
879971ae2b Add ""title"" screen and save data slots 2024-03-14 21:49:49 -04:00
Flashfyre
bed98ad304 Implement better solution to Fake Out issue 2024-03-14 18:09:40 -04:00
Flashfyre
10cacbe5af Fix Fake Out logic 2024-03-14 18:03:38 -04:00
Flashfyre
62ed84638f Fix GameMode enum order 2024-03-14 17:15:01 -04:00
Flashfyre
623d600e13 Add wrapper for game mode 2024-03-14 16:26:57 -04:00
Madmadness65
76de0d01f9 Correct Huge Power and Pure Power
They now increase the attack stat directly, instead of stat boosts (which was unintended).
2024-03-14 14:09:25 -05:00
Flashfyre
52e891a2a8 Fix sticky hold applying to transfers 2024-03-14 13:31:13 -04:00
Madmadness65
66b306de9e Add Turboblaze/Teravolt flavor text 2024-03-13 23:56:18 -05:00
Flashfyre
0c835f4157 Implement various abilities including Mold Breaker 2024-03-14 00:40:57 -04:00
Flashfyre
54eed194fd Fix Misty Terrain softlock 2024-03-13 20:36:25 -04:00
Madmadness65
1905ecc828 Implement Burning Bulwark 2024-03-13 16:37:36 -05:00
Xiaphear
37f769de72 Added Baneful Bunker 2024-03-13 22:09:23 +01:00
Madmadness65
9384344758 Implement various terrain-related abilities
Fully implements Electric, Psychic, Misty, and Grassy Surge. Partially implements Grass Pelt, Surge Surfer, and Hadron Engine, as their stat-boosting properties don't seem to work as intended.
2024-03-13 12:23:31 -05:00
Xiaphear
b12ade22e9 Attempted magnitude, not implemented. 2024-03-13 17:38:37 +01:00
Xiaphear
97b029b5d7 Added Defeatist 2024-03-13 13:54:15 +01:00
Flashfyre
b93e4397fa Fix formatting and remove stray character 2024-03-13 08:51:07 -04:00
Xiaphear
9d2d03ee44 Added Tinted Lens. 2024-03-13 12:45:31 +01:00
Flashfyre
6dbbc50139 Move redirection abilities ignore own moves 2024-03-12 08:44:05 -04:00
Flashfyre
71e820f149 Add redirection logic to Lightning Rod and Storm Drain 2024-03-11 20:55:41 -04:00
Flashfyre
60c3c0a008 Implement Topsy-Turvy 2024-03-11 18:44:40 -04:00
Flashfyre
f7d89b5268 Implement Psyshock 2024-03-11 18:18:55 -04:00
Flashfyre
e99af6f148 Implement Healing Wish 2024-03-11 18:13:07 -04:00
Xiaphear
9e02d71c75 Added Conversion 2024-03-11 22:57:07 +01:00
Xiaphear
7b28d9bf6e Merge branch 'main' of https://github.com/Flashfyre/pokerogue 2024-03-11 21:45:36 +01:00
Xiaphear
56250aca9c Added Body Press 2024-03-11 21:45:32 +01:00
Flashfyre
4919dfcaa6 Implement Spite 2024-03-11 15:42:01 -04:00
Xiaphear
03989d07b2 Added Wring Out. Attempted Healing Wish ( WIP ) 2024-03-11 18:18:49 +01:00
Flashfyre
4c5981c126 Update token logic, nerf revive tokens, and add Fusion Token 2024-03-11 00:16:24 -04:00
Madmadness65
9550016ebc Minor egg move update
Popplio got a well-deserved egg move nerf. Also added more token graphics and commented-out G-Max moves for later.
2024-03-10 21:55:18 -05:00
Flashfyre
bd9d2de0af Fix not setting immune type for move type immunity 2024-03-10 10:16:49 -04:00
Flashfyre
20e9a1e761 Fix grassy terrain heal being applied to all terrains 2024-03-10 00:14:09 -05:00
Flashfyre
6dac4c2b0f Implement terrain clearing moves 2024-03-09 22:05:49 -05:00
Flashfyre
47cf14da9b Implement terrains and rework status logic 2024-03-09 21:57:33 -05:00
Xiaphear
b9395ebd7f Implemented Sturdy. 2024-03-09 23:49:00 +01:00
Xiaphear
3b96d1916d Implement Electro Ball & Gyro Ball 2024-03-09 22:58:05 +01:00
Flashfyre
773e241735 Allow empty save data on local mode 2024-03-09 16:09:06 -05:00
Flashfyre
6a6d676cb2 Attempt fixing one hit KO 2024-03-09 10:40:51 -05:00
Flashfyre
eb6c3ba83f Fix enemy trainers being able to switch out during multi-turn moves 2024-03-08 18:38:04 -05:00
Flashfyre
8c6f77f4c0 Fix crash with Future Sight after catch 2024-03-08 15:52:33 -05:00
Flashfyre
4d8663d274 Fix pickup working on the same item multiple times 2024-03-08 14:49:17 -05:00
Flashfyre
b147cf8f37 Fix Fake Out implementation not working properly 2024-03-08 13:14:08 -05:00
Flashfyre
9725cf47b7 Add Pokemon info display on catch 2024-03-07 22:43:15 -05:00
Flashfyre
da492cfac7 Metronome doesn't select unimplemented moves 2024-03-07 20:13:31 -05:00
Flashfyre
9ad932e018 Tweak wild evolution delays 2024-03-07 16:53:03 -05:00
Flashfyre
7a2e00758e Replace .ogg with .m4a for iOS support 2024-03-07 14:54:25 -05:00
Flashfyre
da6d4bba2e Fix pickup working on non-transferrable items 2024-03-07 13:07:58 -05:00
Madmadness65
8f3d76d358 Fix the 6th rival fight not having Gen 9 starters
This will probably fix the case of the rival randomly changing their starters for this fight in particular.
2024-03-07 11:54:12 -06:00
Flashfyre
64f6c9de09 Re-implement switch out softlock with double rewards bug fixed 2024-03-07 08:42:04 -05:00
Flashfyre
d18eba4df8 Fix Pickup causing crash outside of battle 2024-03-07 08:23:21 -05:00