ultima-soul
e32659d4bb
Merge branch 'battle_engine' into ability_expansion and add Gen 8 DLC abilities.
2020-11-16 13:50:26 -08:00
Eduardo Quezada D'Ottone
4da357aef4
Fixed compatibility with Pokémon Expansion
2020-11-15 13:35:02 -03:00
ghoulslash
686ff59b11
Merge pull request #13 from AsparagusEduardo/PR-LGPE_IOA_Moves
...
LGPE & Isle of Armor move data.
2020-11-15 08:29:10 -07:00
Eduardo Quezada D'Ottone
e87f0f1ddb
Review changes
2020-11-13 14:51:50 -03:00
ultima-soul
236d7145ae
Merge pull request #1220 from AsparagusEduardo/BE-SteelResistances
...
Added config option for Steel type resistances.
2020-11-12 23:25:21 -08:00
ultima-soul
c3423b4212
Merge pull request #1206 from ExpoSeed/type-changing-moves
...
Refactor move effects for type changing moves
2020-11-12 19:10:48 -08:00
Eduardo Quezada D'Ottone
4b9d0d8e24
Added config option for Steel type resistances.
2020-11-11 17:48:02 -03:00
Eduardo Quezada D'Ottone
e6f8d57f08
Merge remote-tracking branch 'RHH/battle_engine' into BE-WishMegaEvo
...
# Conflicts:
# include/constants/battle_string_ids.h
2020-11-10 17:28:17 -03:00
Eduardo Quezada D'Ottone
ddb6142709
Review changes 3.
2020-11-08 21:08:58 -03:00
Eduardo Quezada D'Ottone
35d5324324
Review changes.
2020-11-08 21:02:34 -03:00
ExpoSeed
7ea34968f9
Add damage calc for plates
2020-11-08 01:57:52 -06:00
ultima-soul
99fdc13e61
Merge branch 'master' into battle_engine_sync
2020-11-07 15:59:20 -08:00
Eduardo Quezada D'Ottone
09a5d6c722
Implemented Wish Mega Evolution
2020-11-07 10:13:32 -03:00
aaaaaa123456789
1c3d75f673
Merge branch 'master' into reverts
2020-10-26 12:16:36 -03:00
Kurausukun
fe40c0c466
re-match BattleIntroOpponent1SendsOutMonAnimation
...
a lot of functions and a bit of data had to be moved from battle_main.c
to battle_util.c; I have added a note to battle_util.c stating the
reason for this
2020-10-26 05:52:00 -04:00
Kurausukun
077a2c23dc
port HasNoMonsToSwitch fakematch fix (from #1181 )
2020-10-25 23:45:42 -04:00
Eduardo Quezada
d596fa7e12
Merge remote-tracking branch 'RHH/battle_engine' into PR-MoveSplitOption
...
# Conflicts:
# include/battle_util.h
# include/constants/battle_config.h
# src/battle_util.c
2020-10-23 21:49:59 -03:00
ultima-soul
84c134779a
Merge pull request #521 from AsparagusEduardo/BE-Identation
...
Fixed indentation for various files.
2020-10-23 08:46:17 -07:00
LOuroboros
00bc6ab96b
More review corrections
2020-10-21 16:39:06 -03:00
LOuroboros
682d29b088
Removed the static variable from the ShouldGetStatBadgeBoost function
2020-10-21 15:30:20 -03:00
LOuroboros
503134167a
Review corrections
2020-10-21 15:01:53 -03:00
LOuroboros
4794c63066
Reincorporated badge based stat boosts
2020-10-21 12:57:57 -03:00
Eduardo Quezada
1bc38feca5
Fixed indentation for various files.
2020-10-19 18:01:19 -03:00
Eduardo Quezada
a6e88b82ee
Review changes and option to hide split icon.
2020-10-15 20:15:44 -03:00
LOuroboros
1635585e68
Removed duplicate inclusion of battle_config.h
...
## Description
I think the title is self-explanatory, but the header file that is `include/constants/battle_config.h` is included twice unnecessarily.
## **Discord contact info**
Lunos#4026
As usual, if there's anything wrong please let me know.
2020-10-15 02:59:48 -03:00
Eduardo Quezada
0d39b29691
Option to use Gen 3 Physical/Special split.
2020-10-15 00:16:50 -03:00
ExpoSeed
d4e58d9746
Fix style, sync moved functions properly
2020-10-13 09:40:01 -05:00
ExpoSeed
9e2c8a95c1
Sync bev2 with pret
2020-10-11 01:01:47 -05:00
GriffinR
5259898325
Replace POKEMON_SLOTS_NUMBER
2020-10-01 17:07:12 -05:00
kiliwily
56848fb891
Update battle_util.c
2020-09-19 20:44:16 +02:00
aaaaaa123456789
7dc95a0103
Undo PokeCodec's PRs
...
This commit undoes most of PokeCodec's PRs after the debate in chat. Some
harmless or completely superseded PRs have been left alone, as there is not
much benefit in attempting to undo them.
Reverts #1104 , #1108 , #1115 , #1118 , #1119 , #1124 , #1126 , #1127 , #1132 , #1136 ,
#1137 , #1139 , #1140 , #1144 , #1148 , #1149 , #1150 , #1153 , #1155 , #1177 , #1179 ,
#1180 , #1181 , #1182 and #1183 .
2020-09-13 06:30:55 -03:00
kiliwily
5c3669e0cd
Bug documenting
2020-09-12 18:43:20 +02:00
PokeCodec
34f54dd438
Fix Battle util fakematch
2020-09-08 20:46:08 -04:00
PokeCodec
6bb1d58a11
Finished header includes
2020-09-08 19:17:33 -04:00
PokeCodec
e84da39d8a
Match BattleIntroOpponent1SendsOutMonAnimation
2020-09-08 18:54:51 -04:00
DizzyEggg
f70a9ce153
Merge with master
2020-08-27 12:01:28 +02:00
GriffinR
078c341b2b
Merge pull request #1122 from GriffinRichards/clean-battlemsg
...
Add stat stage constants, clean up misc battle msg data
2020-08-10 14:29:27 -04:00
GriffinR
5e8ffff62f
Add stat stage constants
2020-08-04 20:38:57 -04:00
DizzyEggg
427bad6413
Fix Switch-in ability battler sometimes not properly printed
2020-07-28 10:18:44 +02:00
ExpoSeed
b401e2eb86
Fix naming style of function
2020-07-27 21:22:16 -05:00
ExpoSeed
71dc5edf2e
Document some battle_util.c
2020-07-27 17:10:42 -05:00
DizzyEggg
0066640a1e
Merge with master
2020-07-27 14:51:39 +02:00
DizzyEggg
1ad76ff3d2
Fix Aftermath on fainted
2020-07-26 12:32:02 +02:00
GriffinR
aba42513d3
Clean up some battle scr cmd data
2020-07-18 18:10:15 -04:00
DizzyEggg
14daa9f4a5
Inverse battles
2020-07-17 20:53:22 +02:00
DizzyEggg
42f48d1a61
Power Construct
2020-07-16 15:40:56 +02:00
DizzyEggg
759bde46bb
Cheek Pouch
2020-07-16 15:20:03 +02:00
DizzyEggg
60d5d00dba
Unnerve
2020-07-16 14:17:38 +02:00
DizzyEggg
ec4c73711e
Rest Sleep Talk wake up awaraness
2020-07-15 21:30:24 +02:00
DizzyEggg
1a94d27fe6
Emergency Exit
2020-07-15 17:21:12 +02:00
DizzyEggg
3e27de72fa
AI learns abilities which halve/double damage
2020-07-12 10:09:23 +02:00
DizzyEggg
1b56216d7c
Dry Skin Weather fix
2020-07-11 14:25:57 +02:00
DizzyEggg
8c4f5f946d
Curse defiant
2020-07-11 12:28:42 +02:00
DizzyEggg
fc510a6b44
oran berry doesnt activate when mons is kill
2020-07-08 17:22:10 +02:00
DizzyEggg
08a5ba0db2
Sitrus berry gen4 effect code
2020-06-29 18:56:19 +02:00
DizzyEggg
5a2d9fe9fe
Fix Grassy Terrain bad loop
2020-06-29 18:26:53 +02:00
DizzyEggg
5ddb4634f5
berries work like in gen4
2020-06-29 18:04:13 +02:00
DizzyEggg
36aec5658c
Transform Imposter Illusion fix
2020-06-29 13:45:27 +02:00
DizzyEggg
3bdf675221
Hopefully illusion works as intended now
2020-06-28 19:45:48 +02:00
Eduardo Alvaro Quezada D'Ottone
9fb073ca23
Some cleanup ( #454 )
...
* Toxic Thread doesn't have power.
* Added missing commas.
* Autotomize typo.
It wasn't until today that I learned that autotomize was a word.
2020-06-27 11:21:13 +02:00
DizzyEggg
59ddebd727
Rocky Helmet softlock fix
2020-06-26 21:56:18 +02:00
DizzyEggg
5698af3742
Magic Guard leech seed and slight ai tweaks
2020-06-26 15:14:15 +02:00
Eduardo Alvaro Quezada D'Ottone
8d848997c9
Battle Configs: The Revenge ( #363 )
...
* Turns for Uproar
* Chances for the amount of hits with multi-hit moves.
* Electric type mon's immunity to paralysis
* (Hi) Jump Kick to always do 1/2 of maxHP when crashing
* Turns for Disable.
* Minimized mons can always be hit by moves like Stomp
* Grass types immune to powder and spore moves.
* Psywave's damage formula
* Fixed random usage.
2020-05-28 10:38:27 +02:00
LOuroboros
fa1e5d1a37
Fix Brine ( #388 )
...
Addresses #387
2020-05-24 10:05:26 +02:00
AJ Fontaine
12b08670f1
Fix confusion not working at all ( #385 )
2020-05-24 10:02:58 +02:00
ultima-soul
9ee5db6a96
Expand ability ids to u16. Thanks to ghoulslash for some assistance!
2020-05-18 14:54:12 -07:00
Eduardo Alvaro Quezada D'Ottone
4c5de0998a
Fixed chances of confusion self-damage. ( #371 )
2020-05-18 14:51:30 +02:00
DizzyEggg
98b2e88e56
Forewarn
2020-04-28 15:36:13 +02:00
DizzyEggg
36b52eb063
Shed Shell
2020-04-28 11:14:20 +02:00
DizzyEggg
432ae46570
Fix Acrobatics gem boost
2020-04-27 10:58:35 +02:00
Eduardo Alvaro Quezada D'Ottone
d529ac3b60
More Battle config ( #352 )
...
* Binding move turns.
* Binding damage.
* Incineratable Gems.
* Flash Fire while frozen.
* Sleep turns.
* Synchronized natures %
* Confusion self damage chance.
* Fixed confused self-damage check
2020-04-23 09:01:28 +02:00
DizzyEggg
d56aaf7c0b
Destiny Knot
2020-04-22 14:40:44 +02:00
DizzyEggg
e2524bed49
Metronome item
2020-04-22 12:49:25 +02:00
DizzyEggg
633ebe6148
Schooling
2020-04-21 20:43:47 +02:00
Eduardo Alvaro Quezada D'Ottone
c5a6acc7db
Corrosion ( #306 )
...
* Status move poisoning for Steel and Poison types.
* Can poison itself with Toxic Orb.
* Secondary effect poisoning now working.
* Created a function that checks if abilities can bypass type immunities.
* Created macro to handle typeimmunity
* Applied review changes.
* Applied review requests.
* Left more readable version of HOLD_EFFECT_TOXIC_ORB.
2020-04-21 15:59:19 +02:00
DizzyEggg
0f628c8ff2
Fairy Lock
2020-04-20 19:41:07 +02:00
DizzyEggg
2daf1fbbf8
Geomancy
2020-04-20 19:02:03 +02:00
Eduardo Alvaro Quezada D'Ottone
4697a5b687
More Battle configs ( #339 )
...
* Fixed naming of King Shield's description variable.
* Config for King Shield lowering attack.
* Config for terrain type attack boost.
* Standarized battle config descriptions.
* Adjusted config logic accounting for GEN_8.
* Changed KING_S_SHIELD back to KINGS_SHIELD
* Missed B_ABILITY_WEATHER.
2020-04-20 14:11:28 +02:00
Eduardo Alvaro Quezada D'Ottone
30900879a9
Option for setting Payback's damage double damage if the opponent switches out. ( #338 )
...
* Option for setting Payback's damage double damage if the opponent switches out.
* Simplified
* Moody moved to ability settings
2020-04-20 00:00:44 +02:00
DizzyEggg
dd17360ab0
Zen Mode and Shields Down
2020-04-19 21:18:39 +02:00
DizzyEggg
726af8efaa
Moody small fix
2020-04-19 16:51:29 +02:00
DizzyEggg
ad481c8688
Moody
2020-04-19 15:44:44 +02:00
DizzyEggg
c01ed5325c
Poison Touch fix
2020-04-19 14:43:54 +02:00
DizzyEggg
d5307c3e54
Poison Touch
2020-04-19 14:24:31 +02:00
DizzyEggg
6a3944d27c
Frisk, would be easier if it didnt scan 2 opponents
2020-04-19 13:37:56 +02:00
DizzyEggg
ee8a00be81
some ability tweaks
2020-04-18 20:34:09 +02:00
DizzyEggg
6ef28be22b
Innards Out
2020-04-18 20:12:29 +02:00
DizzyEggg
307bbcfe97
Stakeout
2020-04-18 19:15:24 +02:00
DizzyEggg
cbc0d8a57d
Healer
2020-04-18 19:09:17 +02:00
DizzyEggg
1395a7d382
Loafing Around bug fix
2020-04-18 13:04:28 +02:00
DizzyEggg
a2813e63de
Slow Start
2020-04-18 12:52:15 +02:00
DizzyEggg
b5ba1de7cf
Intimidate affects defiant
2020-04-18 12:29:35 +02:00
DizzyEggg
34f5d9e2ae
Burn Up And Purify
2020-04-17 21:14:26 +02:00
DizzyEggg
83b251a69c
Stamina, Liquid Voice, Water Compaction
2020-04-15 09:37:12 +02:00
DizzyEggg
cb5b673f8a
Big Root and STRENGTH Sap
2020-04-13 15:00:17 +02:00
DizzyEggg
51e2e0ad10
Ability pop-up for levitate and wonder guard
2020-04-13 13:06:31 +02:00
DizzyEggg
8f61445dfe
Berserk
2020-04-12 12:41:26 +02:00
DizzyEggg
458809c5f7
Fix Payback not boosting on switching
2020-04-12 12:14:22 +02:00
DizzyEggg
d28992d2ed
Anticipation clean-up
2020-04-11 12:34:53 +02:00
Eduardo Alvaro Quezada D'Ottone
6078cd3e15
Anticipation ability ( #282 )
2020-04-11 12:24:25 +02:00