Commit Graph

46 Commits

Author SHA1 Message Date
Maruno17
b8c61a6038 Rewrote AI calculations for move effects that raise the user's stats, fixed Sea of Fire effect lasting forever 2022-09-04 17:46:59 +01:00
Maruno17
429068f3cb More AI move effect calculation rewrites 2022-08-31 19:02:54 +01:00
Maruno17
cfb870c944 Added AI objects for trainers, battlers and the move being assessed, logging battle messages now also echoes them to the console 2022-08-22 21:37:33 +01:00
Maruno17
c79b970d6b Fixed error when shifting Pokémon at the end of a battle round, fixed Giratina's form code crashing if the current map doesn't have metadata, fixed item sell prices being halved twice 2022-08-13 16:29:48 +01:00
Maruno17
a20f378b33 Minor tweaks 2022-08-09 19:30:27 +01:00
Maruno17
2976ee93ce Added Setting that makes trainer-owned Pokémon give more Exp, other tweaks 2022-07-03 17:39:44 +01:00
Maruno17
9261851701 Fixed party order not being altered at the start of battle if there are unable Pokémon before the one(s) sent in initially 2022-06-19 17:36:35 +01:00
Maruno17
2e3ba2e09e Fixed Grudge and Lunar Dance not properly changing PP amounts 2022-06-19 17:04:58 +01:00
Maruno17
b367b2442b Fixed error when using Future Sight 2022-06-18 21:18:34 +01:00
Maruno17
9a03b25755 Fixed using Pursuit against a switcher preventing using the next move 2022-06-18 21:13:30 +01:00
Maruno17
301ecb0ac7 Scents now end Hyper Mode, Time Flute now purifies a Shadow Pokémon, Shadow Pokémon now regain 80% of the Exp they missed out on, non-Scent items can't be used on Shadow Pokémon in Hyper Mode 2022-06-13 21:09:48 +01:00
Maruno17
1532be2410 Fixed incorrect capitalisation in message when Aurora Veil wears off 2022-06-02 16:40:37 +01:00
Maruno17
3338875dd8 Fixed error when applying Sea of Fire's damage 2022-06-01 22:47:32 +01:00
Maruno17
6a046ff755 Fixed Xerneas/Zacian/Zamazenta not being their alternate form throughout battle 2022-05-29 18:13:08 +01:00
Maruno17
04f3b29fe3 Tweaks to comments, Destiny Knot no longer affects breeding in Gen 5 mechanics 2022-05-17 23:52:53 +01:00
Maruno17
e12b6fde1d NPC trainers' end of battle text is now read directly from the trainer object rather than extracted to an array 2022-05-17 22:28:29 +01:00
Maruno17
5714a2d6d3 Split up def pbEndOfRoundPhase 2022-04-25 23:24:55 +01:00
Maruno17
ad29dc6dc4 Fixed X items not working, fixed Knock Off being able to remove usable Mega Stones 2022-04-24 21:04:22 +01:00
Maruno17
4a478ab6d0 Fixed recalculating turn order after Mega Evolution not taking into account changed abilities 2022-04-08 18:43:49 +01:00
Maruno17
0680f8665d Added prompt for what to do with a caught Pokémon if the party is full, and a battle rule that forces a capture into the party 2022-04-05 23:01:07 +01:00
Maruno17
a13771e8bc Fixed Shadow Pokémon saying how much Exp they gain from battle, fixed mispositioned text in some battle debug menus 2022-03-07 19:22:21 +00:00
Maruno17
f322b234c6 Added battle rule "disablePokeBalls" 2022-02-15 18:39:41 +00:00
Maruno17
f68e699cc9 More Rubocop changes 2022-02-13 00:57:54 +00:00
Nathan-MV
e9afefb210 Updated HM/expAll/Switch Messages. (#156) 2022-01-19 20:10:56 +00:00
Maruno17
f872db2618 Added battle debug functions for setting position effects and NPC trainer items 2022-01-17 22:55:01 +00:00
Golisopod-User
13cc9790ce Minor new additions for v20 (#147)
* Moved TMs/ TRs and HMs into their own handlers
* Improved Plugin Error Message
* Added sound effect when picking berries
* Allow player to always see quantity when buying items
* Trainers now require a Mega Ring item in their items (in trainers.txt) to Mega Evolve
2021-12-29 18:36:26 +00:00
Maruno17
fb29f19a28 Fixed various bugs found when generating Battle Frontier challenge lists 2021-12-29 14:37:41 +00:00
Maruno17
63b157d7ec Fixed some bad uses of @battle 2021-12-29 11:43:24 +00:00
Maruno17
aa643a6049 More Rubocop 2021-12-27 00:26:45 +00:00
Maruno17
132a16950d Yet more Rubocopping 2021-12-23 00:27:17 +00:00
Maruno17
33fcbf623b More Rubocopping 2021-12-20 17:18:21 +00:00
Maruno17
65b1a8d6c3 More tweaks from the Rubocop overlord 2021-12-19 17:28:59 +00:00
Maruno17
33781493f4 More aligning of code 2021-12-19 12:19:08 +00:00
Maruno17
13a238cc6a Many more Rubocop-inspired code improvements 2021-12-18 19:06:22 +00:00
Maruno17
d17fc40a47 Added decent spacing to all scripts thanks to Rubocop 2021-12-18 15:25:40 +00:00
Maruno17
f7b76ae62e The Great Enspacening begins! 2021-12-18 12:20:31 +00:00
Maruno17
2480ab0f9e Applied most Rubocop-suggested layout fixes 2021-12-18 01:56:10 +00:00
Maruno17
5dc64f1709 Minor refactoring to kill various Rubocop warnings 2021-12-17 20:29:47 +00:00
Maruno17
b706843888 Added $player.has_box_link and $player.has_exp_all in addition to those items 2021-12-14 22:33:46 +00:00
Maruno17
6b841b78d3 Added egg move sharing in Day Care, added some Settings for Day Care/Nursery mechanics, Neutralizing Gas now triggers held items if it negates Unnerve, Imposter now only triggers when the Pokémon enters battle 2021-12-07 22:48:15 +00:00
Maruno17
95916e242e Added battle debug menu (access with F9) 2021-12-05 20:24:20 +00:00
Maruno17
3650a078e7 Fixed Toxic damage only going up to 15/16 of total HP, minor code fixes 2021-12-05 20:20:30 +00:00
Maruno17
b445f26a88 Converted Shadow Pokémon PBS file to a section-based format, improved Shadow Pokémon mechanics 2021-11-21 00:44:41 +00:00
Maruno17
048a18b415 Refactored ability/item/ball battle handlers, added "UltraBeast" species flag for Beast Ball 2021-11-18 22:52:19 +00:00
Maruno17
7ec8f30f0e Some battle method refactoring, fixed typo 2021-11-17 20:40:19 +00:00
Maruno17
1c4819e5f0 Renamed all battle-related classes and modules 2021-11-16 23:05:16 +00:00