Maruno17
e93c3c69ac
Merge branch 'dev' into ai
2023-03-09 18:31:30 +00:00
Maruno17
05f5d621b7
Fixed incorrect Hall of Fame time, fixed Shields Down showing too many messages, fixed target of Pluck still being able to consume its healing berry
2023-03-04 23:37:50 +00:00
Maruno17
d0c99aa512
Improved AI code for weather-causing moves, added AI getting flags from trainer types, added Legendary/Mythical flags to pokemon.txt, added Setting to make wild Legendary/Mythical Pokémon smarter
2023-02-20 23:33:09 +00:00
Maruno17
81d069eef1
Refactored AI switching code, added "UsePokemonInOrder" skill flag
2023-02-14 16:40:52 +00:00
Maruno17
7e4ef4247b
Merge branch 'dev' into ai
2023-02-10 21:20:28 +00:00
Maruno17
becce85550
Removed deprecated code, renamed "base_damage"/"baseDamage"/"baseDmg" to "power"
2023-02-10 21:18:10 +00:00
Maruno17
01e98c8f97
Rewrote AI for move function codes for counters, protection removal, Wonder Room, Substitute. Fixed Counters working with damage absorbed by a substitute.
2023-02-08 22:19:45 +00:00
Maruno17
3f5c1f0974
Merge branch 'dev' into ai
2023-02-05 19:10:25 +00:00
Maruno17
4749bd5201
Fixed Bug Bite/Pluck and Fling not enabling Belch/triggering Symbiosis when a berry is consumed
2023-02-05 18:59:30 +00:00
Maruno17
13aab8d911
Lots of rubocop
2023-01-28 15:21:12 +00:00
Maruno17
b0b6e675c3
Fixed previous commit always causing recompiling if shadow_pokemon.dat doesn't exist, also rubocopping
2023-01-23 22:27:04 +00:00
Maruno17
d8f38947f4
AI function code rewrites, added Shadow Sky's missing effects, fixed Shadow End's recoil damage
2023-01-22 21:21:19 +00:00
Maruno17
f7578002ea
Rewrites of disabling move AI function codes, fixed various AI errors
2023-01-19 22:30:55 +00:00
Maruno17
2627d68782
Added more debug logging to AI, fixed some bugs in AI
2023-01-16 19:29:28 +00:00
Maruno17
98f16c2afa
More AI function code rewrites, ensured all AI procs next an appropriate value
2023-01-14 23:51:39 +00:00
Maruno17
84bdd1f60b
AI function code rewrites
2023-01-12 23:08:26 +00:00
Maruno17
05b954e262
Merge branch 'dev' into ai
2022-12-31 17:28:56 +00:00
Maruno17
3fe324d0da
Generalised a species' types to allow any number of types
2022-12-31 17:24:33 +00:00
Maruno17
1258e4b9c9
More AI function code rewrites themed around stat changes
2022-12-25 00:39:25 +00:00
Maruno17
f33184d413
Generalised AI code for scoring stat changes
2022-12-18 20:51:16 +00:00
Maruno17
539a47671d
Some more AI function code rewrites
2022-12-04 19:09:46 +00:00
Maruno17
8f014135e5
More rewrites of AI for some function codes
2022-11-08 22:54:16 +00:00
Maruno17
b31400b9ae
First shot at rewriting AI for moves that lower the target's stat(s)
2022-11-06 16:53:24 +00:00
Maruno17
3e73d1c1f9
Merge branch 'dev' into ai
2022-11-05 20:42:12 +00:00
Maruno17
096957bc20
Fixed Liquid Ooze not applying if the bearer faints, fixed two-turn moves being used in one turn charging up after failing instead of before
2022-11-05 17:48:01 +00:00
Maruno17
e12fd08eb1
Some more rewrites of AI move score calculations (mainly item-related moves)
2022-10-23 18:24:18 +01:00
Maruno17
5a49bbbc94
Renamed function code UseUserBaseDefenseInsteadOfUserBaseAttack, more AI function code changes
2022-10-17 21:13:31 +01:00
Maruno17
9ad45d6b07
Fixed bug caused by strikethrough/underline change, fixed fixed damage moves showing effectiveness messages
2022-10-16 15:52:02 +01:00
Maruno17
58a624060a
Rewrote AI calculations for moves that cause confusion, flinching and infatuation
2022-10-09 18:37:19 +01:00
Maruno17
63ec037481
AI changes for some multi-hit/multi-turn moves, improved AI's damage calculation
2022-09-18 18:16:08 +01:00
Maruno17
eb8fc1d298
More AI checks and fixes
2022-09-10 15:26:38 +01:00
Maruno17
eecb7a1453
Added script to make two random AI trainers battle, tweaked battle messages when logged, fixed typos
2022-09-06 22:57:51 +01:00
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
db215a71d6
Fixed AI accuracy calculation for OHKO moves, reviewed more AI function code score modifiers
2022-09-02 21:36:31 +01:00
Maruno17
429068f3cb
More AI move effect calculation rewrites
2022-08-31 19:02:54 +01:00
Maruno17
931a47c5fe
Rewrote AI calculations for move effects relating to the user fainting
2022-08-30 18:33:31 +01:00
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
265897f9e1
Made AI function code-specific MoveFailureCheck handlers
2022-08-27 20:11:01 +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
94c6b6db0c
Fixed Heavy Ball's catch rate calculation being inaccurate, added Obstruct to some moves' blacklists
2022-07-03 15:22:34 +01:00
Maruno17
62b964adfa
Split script section AI_Move_EffectScores in two and rearranged it
2022-06-15 19:15:03 +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
d94d1836c6
Fixed Howl always failing
2022-05-24 13:43:01 +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
90328df274
Updated moves that can't be called by Metronome
2022-04-10 22:33:56 +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
e87d55f56f
Added underscore in DefaultForm species flag for consistency
2022-03-31 20:20:29 +01:00
Maruno17
c012a7323a
Natural Gift's power/type moved into an item flag
2022-03-31 20:19:58 +01:00