Commit Graph

223 Commits

Author SHA1 Message Date
Maruno17
8275d40193 Added Mold Breaker consideration to AI, updated some AI calculations, fixed non-ignorable abilities in damage calculation actually being ignorable 2022-08-29 22:39:06 +01:00
Maruno17
22dce593e8 Split AI general move score modifiers into handlers 2022-08-29 15:59:22 +01:00
Maruno17
9ed2f3e920 Misc tidying and commenting of AI code 2022-08-28 17:59:02 +01:00
Maruno17
fbbddc8c2b Changed AI's random move choice after scores are calculated 2022-08-27 20:37:05 +01:00
Maruno17
265897f9e1 Made AI function code-specific MoveFailureCheck handlers 2022-08-27 20:11:01 +01:00
Maruno17
b6c84fa278 Added AI handlers that calculate a move's base power, moved AI damage calculation 2022-08-25 19:16:21 +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
b094a2fd8e Reapplied various AI changes from previous atempt at improving the AI, split function code move score changes into handlers 2022-08-21 15:59:49 +01:00
Maruno17
ae91811537 Created folder Graphics/UI, renamed some UI graphics 2022-08-14 01:07:06 +01:00
Maruno17
b1cde2db42 Refactored some code relating to colours, trivially simplified some calculations 2022-08-13 23:59:24 +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
3c748c9d68 Fixed play time carrying over to new games, fixed Eerie Spell thinking it's a status move, fixed text positionings in Pokédex and naming screen, fixed Channeler typo 2022-08-07 14:21:30 +01:00
Maruno17
8ae07a6d15 Fixed some Vs animations not playing for double battles against 1 trainer, fixed typo in Grassy Glide's effect 2022-07-08 13:44:04 +01:00
Maruno17
b50ce948f6 Fixed battle rule "forceCatchIntoParty" being circumventable, fixed wrong message when sending a party Pokémon to storage and replacing it with a caught Pokémon 2022-07-07 20:42:23 +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
94c6b6db0c Fixed Heavy Ball's catch rate calculation being inaccurate, added Obstruct to some moves' blacklists 2022-07-03 15:22:34 +01:00
Golisopod-User
ad93eb7774 Removed all uses of SpriteWrapper (#184) 2022-06-19 17:47:23 +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
3d8e22690d Stopped various filenames being translatable when they don't need to be 2022-06-16 13:29:48 +01:00
Maruno17
3238ff817c Fixed the Bag lists having incorrect starting positions when choosing an item from a subset of your Bag 2022-06-15 20:03:43 +01:00
Maruno17
b8e9251fb4 More splitting of AI_Move_EffectScores 2022-06-15 19:23:52 +01:00
Maruno17
62b964adfa Split script section AI_Move_EffectScores in two and rearranged it 2022-06-15 19:15:03 +01:00
Maruno17
c0c672806d Refactored code that draws the Pokémon info box in battle 2022-06-13 23:17:09 +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
a63d031da2 Fixed Gorilla Tactics also boosting Special Attack 2022-06-01 22:48:24 +01:00
Maruno17
3338875dd8 Fixed error when applying Sea of Fire's damage 2022-06-01 22:47:32 +01:00
Keyacom
2ba2893869 Fixed Grav Apple having the incorrect damage boost (#179)
* Fixed Grav Apple having the incorrect damage boost

In the official games, Grav Apple has a damage boost of 1.5x under Gravity, not 2x. This has been fixed.

* Updated move effect class name
* Apply updated function code
* Update moves.txt
2022-05-29 23:01:34 +01:00
Maruno17
6a046ff755 Fixed Xerneas/Zacian/Zamazenta not being their alternate form throughout battle 2022-05-29 18:13:08 +01:00
Maruno17
325a1b2998 Fixed Dauntless Shield raising the wrong stat 2022-05-26 18:57:21 +01:00
Maruno17
d94d1836c6 Fixed Howl always failing 2022-05-24 13:43:01 +01:00
Maruno17
f5ee3b9c9f Fixed F9 skipping a turn in Safari battles, fixed Gym Leader attempts stat not working 2022-05-19 22:24:40 +01:00
Maruno17
5fb8218098 Fixed type-boosting Gems being consumed when they shouldn't, fixed compiler error relating to replacing battle-starting methods 2022-05-19 13:42:21 +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
22f0c8627a Refactored battle-starting methods into WildBattle.start and TrainerBattle.start, etc. 2022-05-15 20:28:06 +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
a85ec1e51a Changed battle victory MEs to BGMs 2022-04-21 21:43:11 +01:00
Maruno17
77f9547687 Misc tidying 2022-04-20 22:29:13 +01:00
Maruno17
d6c6b79705 Tidying up tones 2022-04-18 20:47:19 +01:00
Maruno17
20d6d4ff0a Implemented differences in Ball Burst animations for attempting to capture a Pokémon 2022-04-18 20:45:10 +01:00
Maruno17
f66e8db906 Minor script rearranging 2022-04-12 21:21:58 +01:00
Maruno17
90328df274 Updated moves that can't be called by Metronome 2022-04-10 22:33:56 +01:00
Maruno17
0d4c27d413 Implemented differences in Ball Burst animations for sending out a Pokémon 2022-04-10 21:38:06 +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