kleeenexfeu
b3b3cd2c67
IsBattlerProtected
2021-11-13 13:48:08 +01:00
kleeenexfeu
89e9b989c9
Moving isBattlerProtected
2021-11-13 13:40:19 +01:00
kleeenexfeu
f808710932
Moving IsBattlerProtected
2021-11-13 13:38:07 +01:00
kleeenexfeu
90b6c7d56c
Remove unwanted check
...
According to bulbapedia this check shouldn't exist. It was just preventing effectiveness from being calculated when a move bypassing protection would go through king's shield
2021-11-13 13:24:30 +01:00
kleeenexfeu
10c390b9ec
Effectiveness is calculated for moves bypassing king's shield
...
I'm curious what this is for. Before the change it just prevented moves that bypass protections from dealing super effective/not very effective damage to an aegislash using king's shield. So I just added a check with IsBattlerProtected, but in my opinion this line should be entirely removed. Unless I'm missing something.
2021-11-13 11:53:49 +01:00
Eduardo Quezada D'Ottone
704957efb9
Fixed Relic Song's SE
2021-11-13 07:30:12 -03:00
ghoulslash
c4efe06f38
wish update
2021-11-12 17:55:05 -05:00
kleeenexfeu
fdff1ae1b6
Update src/battle_util.c
...
Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com>
2021-11-12 23:34:44 +01:00
Eduardo Quezada D'Ottone
2489023332
Fixed assault Vest restricting Me First
2021-11-12 19:24:50 -03:00
Eduardo Quezada D'Ottone
45fcb50e09
Merge pull request #1889 from ghoulslash/be/brickbreak
...
Update Brick Break with config
2021-11-12 19:03:43 -03:00
Eduardo Quezada D'Ottone
2e3aafe81b
Fix Assault Vest's battle message
2021-11-12 18:53:46 -03:00
kleeenexfeu
05699884d5
Crits and Confusion bypass screens
2021-11-12 21:19:06 +01:00
ghoulslash
96fd8e696b
brick break gen 4 and 5 config. clears aurora veil
2021-11-12 15:00:21 -05:00
ultima-soul
294fecd57c
Merge pull request #1888 from ghoulslash/be/contrary
...
Fix Contrary Animation
2021-11-12 10:19:37 -08:00
ghoulslash
cdb20e89fc
Update src/battle_script_commands.c
...
Co-authored-by: ultima-soul <33333039+ultima-soul@users.noreply.github.com>
2021-11-12 13:12:05 -05:00
ghoulslash
876813a418
revert old attempts
2021-11-12 13:08:23 -05:00
ghoulslash
0634d3e541
Update src/battle_script_commands.c
...
Co-authored-by: LOuroboros <lunosouroboros@gmail.com>
2021-11-12 13:07:53 -05:00
ghoulslash
d5db329318
Update src/battle_script_commands.c
...
Co-authored-by: ultima-soul <33333039+ultima-soul@users.noreply.github.com>
2021-11-12 13:07:41 -05:00
ghoulslash
395cffa702
remove ReverseStatAnimId
2021-11-12 13:04:33 -05:00
ghoulslash
2ff9c2f834
remove test code
2021-11-12 13:00:28 -05:00
ultima-soul
cab8a676a2
Merge pull request #1883 from ghoulslash/be/kingsrock
...
add kings rock serene grace boost config
2021-11-12 09:44:57 -08:00
ghoulslash
a26da51e9d
fix contrary animations for MOVE_EFFECT_statchange
2021-11-12 12:44:45 -05:00
ultima-soul
c5dabf34b8
Improve Serene Grace boost config comment.
2021-11-12 09:39:18 -08:00
ghoulslash
201a38f487
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into be/ai_updates
2021-11-12 08:13:21 -05:00
ghoulslash
276b454b40
primal weather checks
2021-11-12 08:13:17 -05:00
ghoulslash
6214d8b625
rename config
2021-11-12 07:47:24 -05:00
BuffelSaft
bdbdd0564f
Fix Knock Off, add config
...
Added a config for Knock Off's damage boost. Also fixed the conditions it checks to do bonus damage.
2021-11-12 21:05:42 +13:00
ghoulslash
adc1413d98
add kings rock serene grace boost config
2021-11-11 17:48:15 -05:00
ghoulslash
e2e43444ad
Merge pull request #1882 from kleeenexfeu/battle_engine
...
Serene Grace affects King's rock
2021-11-11 16:43:08 -05:00
ghoulslash
3336ba811f
Merge pull request #1878 from BuffelSaft/big-pecks
...
Fix Big Pecks
2021-11-11 16:36:28 -05:00
ghoulslash
3976d982ff
fix AI_ShouldHeal speed check
2021-11-11 16:35:10 -05:00
ghoulslash
65cb371104
fix needing to 'run' twice
2021-11-11 16:16:46 -05:00
ghoulslash
2fac38cc83
merge w be
2021-11-11 16:16:26 -05:00
Eduardo Quezada D'Ottone
1311ee9d60
Merge pull request #1731 from ultima-soul/ball_effects
...
Ported New Ball Catch Rate Modifier Effects from Item Expansion
2021-11-11 06:23:36 -03:00
ultima-soul
fd4d0db912
Merge branch 'battle_engine' of github.com:rh-hideout/pokeemerald-expansion into ball_effects
2021-11-10 18:02:00 -08:00
ghoulslash
d9aa0e67a2
Merge pull request #1859 from BuffelSaft/gen_8_moves_batch1
...
Gen 8 moves batch 1
2021-11-10 20:45:35 -05:00
BuffelSaft
e606e54f9d
Fix Big Pecks/Octolock animation
...
Also removed MOVE_EFFECT_AFFECTS_USER because that shouldn't be part of playstatchangeanimation. The stat drops still bypass Mirror Armor without this.
2021-11-11 14:32:38 +13:00
kleeenexfeu
59abb0ff4e
Serene Grace affects King's rock
...
according to https://bulbapedia.bulbagarden.net/wiki/King%27s_Rock
2021-11-10 20:45:39 +01:00
BuffelSaft
e47317aa73
Fix Big Pecks
...
ChangeStatBuffs was missing a check for Big Pecks.
2021-11-10 21:24:48 +13:00
BuffelSaft
e637714e1b
Requested changes
...
Various bug fixes, syntax corrections etc.
2021-11-10 21:11:15 +13:00
BuffelSaft
e2599c2469
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into gen_8_moves_batch1
2021-11-10 14:31:32 +13:00
BuffelSaft
e886076998
Merge pull request #1877 from kleeenexfeu/patch-1
...
Fix heat crash/heavy slam calculation
2021-11-10 14:18:57 +13:00
kleeenexfeu
d3abd20dfb
Fix heat crash/heavy slam calculation
2021-11-09 18:12:40 +01:00
ghoulslash
e635930a15
fixes
2021-11-08 21:33:00 -05:00
ghoulslash
6f6e0d6baf
add recycle hp berry logic
2021-11-08 21:27:40 -05:00
ghoulslash
4566b5234f
magic guard user doesnt care about rocky helmet
2021-11-08 11:56:51 -05:00
ghoulslash
01cf8e6452
add AI_MoveMakesContact, dissuade multi-hit attacks against rocky helmet
2021-11-08 11:55:06 -05:00
ghoulslash
e5a0630596
add ai flag checks alongside CanFaintTarget
2021-11-08 11:42:32 -05:00
ghoulslash
8f320a8d33
some ai updates, recycle + ripen logic
2021-11-08 11:37:41 -05:00
ghoulslash
4f56d0a2b5
Merge pull request #1875 from BuffelSaft/fix_ai_status_logic2
...
Fix AI status logic and CanAttackerFaintTarget
2021-11-08 10:34:10 -05:00