ghoulslash
|
2b5bb9f6e4
|
move gSwapDamagecategory to battle struct, use GetSplitBasedOnStats for photon geyser check
|
2022-07-19 18:24:53 -04:00 |
|
ghoulslash
|
f2ee9f3ba0
|
tweak z indicator position relative to healthbox
|
2022-07-18 09:44:04 -04:00 |
|
ghoulslash
|
18affe8c1a
|
new z move indicator, credits to blackforest
|
2022-07-18 09:21:59 -04:00 |
|
ghoulslash
|
f6b6ab56be
|
some style fixes
|
2022-07-17 19:16:13 -04:00 |
|
ghoulslash
|
5d91bdeafc
|
add B_ANIM_RESTORE_BG to BattleScript_EffectTerrainHit
|
2022-07-17 19:13:45 -04:00 |
|
ghoulslash
|
6b84a9f0b3
|
merge w be
|
2022-07-17 12:40:43 -04:00 |
|
ghoulslash
|
9b5aee3b93
|
fix z stat-boosts
|
2022-07-17 12:17:54 -04:00 |
|
ghoulslash
|
3f739a8f3b
|
AI_CalcDamage returns 0 for status moves
|
2022-07-03 17:23:59 -04:00 |
|
ghoulslash
|
57e110aa6a
|
fix AI_GetEffectiveness declaration
|
2022-07-03 17:20:39 -04:00 |
|
ghoulslash
|
f0edbeb0b0
|
minor format fix
|
2022-07-03 16:31:00 -04:00 |
|
ghoulslash
|
fac6f21ed0
|
AI_EFFECTIVENESS_xY are enums
|
2022-07-03 16:28:34 -04:00 |
|
ghoulslash
|
e4bf99d777
|
merge w be
|
2022-07-03 16:20:05 -04:00 |
|
ghoulslash
|
b33a8b0cb4
|
move ai score calc to STATE_TURN_START_RECORD so AI can consider move selection for item use
|
2022-06-05 11:09:04 -04:00 |
|
ghoulslash
|
c694e0cb90
|
merge w be
|
2022-06-05 08:22:24 -04:00 |
|
ghoulslash
|
7dd6988b2b
|
fix args to GetMonData
|
2022-05-13 20:32:03 -04:00 |
|
ghoulslash
|
b5d98ec93e
|
prevent overwriting wild mon held items
|
2022-05-13 20:05:52 -04:00 |
|
ghoulslash
|
07b0ce9737
|
add inner focus ability popup msg
|
2022-05-08 17:57:30 -04:00 |
|
ghoulslash
|
5456a87b83
|
fix pollen puff heal blocked battler in CanTargetBattler
|
2022-05-07 11:27:32 -04:00 |
|
ghoulslash
|
07579bd42b
|
prevent ally pollen puff selection under heal block. add some ai checks for heal block
|
2022-05-07 09:56:32 -04:00 |
|
ghoulslash
|
f53de6ae87
|
fix toxic/flame orb. use CanBeX'ed functions
|
2022-03-08 15:16:17 -05:00 |
|
ghoulslash
|
7c2bbf1df3
|
fix struggle bug anim
|
2022-02-25 08:54:35 -05:00 |
|
ghoulslash
|
92487db470
|
add config check for B_GLARE_GHOST
|
2022-02-25 08:20:56 -05:00 |
|
ghoulslash
|
e4ef3cc3b4
|
move glare effectiveness exception to code
|
2022-02-24 22:06:18 -05:00 |
|
ghoulslash
|
2782e816a4
|
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into be/psychoshift
|
2022-02-09 14:31:46 -05:00 |
|
ghoulslash
|
209279c207
|
fix psycho shift string printing
|
2022-02-09 14:30:30 -05:00 |
|
ghoulslash
|
fcc85e8c17
|
fix AI_WhoStrikesFirst
|
2022-02-09 11:23:30 -05:00 |
|
ghoulslash
|
36a824d8ab
|
fix ability pop up for quick draw
|
2022-02-03 17:30:32 -05:00 |
|
ghoulslash
|
a165f9926d
|
canbestatused for psycho shift
|
2022-01-23 13:46:30 -05:00 |
|
ghoulslash
|
7182f290c1
|
fix harvest activation msg
|
2022-01-16 12:39:08 -05:00 |
|
ghoulslash
|
078874aa1e
|
move some WEATHER_HAS_EFFECT after bitfield checks to speed up damage calcs
|
2022-01-13 11:32:22 -05:00 |
|
ghoulslash
|
035b2332af
|
cache ai damage, effectiveness calcs
|
2022-01-13 11:28:27 -05:00 |
|
ghoulslash
|
93a7e139ec
|
merge w be
|
2021-12-24 09:40:12 -05:00 |
|
ghoulslash
|
770224d341
|
increase TEXT_BUFF_ARRAY_COUNT for expanded ability names
|
2021-12-23 18:58:15 -05:00 |
|
ghoulslash
|
0a95a31ee9
|
fix formatting
|
2021-12-23 08:44:54 -05:00 |
|
ghoulslash
|
b6b5d862f4
|
update role play mechanics
|
2021-12-23 08:37:11 -05:00 |
|
ghoulslash
|
02fe96cc08
|
fix config settings
|
2021-12-20 13:06:23 -05:00 |
|
ghoulslash
|
31bbc4ddde
|
prevent stat-raising damage effects if battle will end
|
2021-12-17 10:24:07 -05:00 |
|
ghoulslash
|
1e644c9d4c
|
fix spacing
|
2021-12-05 14:45:48 -05:00 |
|
ghoulslash
|
c0e408bfab
|
fix aqua ring heal anim
|
2021-12-05 14:44:22 -05:00 |
|
ghoulslash
|
fbf74a9988
|
fix protect struct reset
|
2021-12-01 15:30:07 -05:00 |
|
ghoulslash
|
e731d93c0b
|
update a couple gen 3 ability names
|
2021-11-29 12:46:14 -05:00 |
|
ghoulslash
|
7a7c6afc39
|
larger ability popup, fix ability name printing/clearing, and config for longer ability names
|
2021-11-29 12:42:01 -05:00 |
|
ghoulslash
|
d108f77aa4
|
revert ai item usage code
|
2021-11-28 13:12:56 -05:00 |
|
ghoulslash
|
e2af9ec3b4
|
ice type immunity to sheer cold
|
2021-11-26 11:49:49 -05:00 |
|
ghoulslash
|
95ad508868
|
baton pass status4_xx_sport
|
2021-11-23 21:25:03 -05:00 |
|
ghoulslash
|
5c52abd856
|
gen3 sport move functionality behind config
|
2021-11-23 21:20:32 -05:00 |
|
ghoulslash
|
b5bc8bb346
|
fix B_SPORT_DMG_REDUCTION
|
2021-11-23 18:37:27 -05:00 |
|
ghoulslash
|
e3ddad2d11
|
add sport effects back
|
2021-11-23 18:36:10 -05:00 |
|
ghoulslash
|
3fb62f74c6
|
fix rampage cancelling
|
2021-11-20 18:35:56 -05:00 |
|
ghoulslash
|
37ab20e29c
|
fix wish
|
2021-11-20 16:49:04 -05:00 |
|
ghoulslash
|
fb468b6776
|
fix unseen fist check
|
2021-11-19 16:32:00 -05:00 |
|
ghoulslash
|
2a1299715f
|
merge w be
|
2021-11-15 10:45:59 -05:00 |
|
ghoulslash
|
9fdd6fffee
|
AI_GetAbility supports hidden abilities
|
2021-11-15 10:45:23 -05:00 |
|
ghoulslash
|
940a165be7
|
merge w be
|
2021-11-13 09:09:15 -05:00 |
|
ghoulslash
|
c4efe06f38
|
wish update
|
2021-11-12 17:55:05 -05:00 |
|
ghoulslash
|
96fd8e696b
|
brick break gen 4 and 5 config. clears aurora veil
|
2021-11-12 15:00:21 -05:00 |
|
ghoulslash
|
876813a418
|
revert old attempts
|
2021-11-12 13:08:23 -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 |
|
ghoulslash
|
a26da51e9d
|
fix contrary animations for MOVE_EFFECT_statchange
|
2021-11-12 12:44:45 -05: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 |
|
ghoulslash
|
adc1413d98
|
add kings rock serene grace boost config
|
2021-11-11 17:48:15 -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 |
|
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
|
da6ec51fc2
|
merge w be
|
2021-11-06 10:43:35 -04:00 |
|
ghoulslash
|
41bf1dc2f4
|
merge w be
|
2021-11-06 10:40:57 -04:00 |
|
ghoulslash
|
01d9d4c7d7
|
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into be/speeduphit
|
2021-11-06 08:53:09 -04:00 |
|
ghoulslash
|
03f290d937
|
add check for plus_2 effects
|
2021-11-06 08:53:00 -04:00 |
|
ghoulslash
|
0b2542e447
|
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into smart_wild_ai
|
2021-11-05 09:46:12 -04:00 |
|
ghoulslash
|
24cb5f6654
|
dont trigger x_up_hit effect if battle is over
|
2021-11-04 15:45:03 -04:00 |
|
ghoulslash
|
6b10801ee8
|
convert AI_IsabilityOnSide to bool
|
2021-11-04 10:43:33 -04:00 |
|
ghoulslash
|
060ae35c7c
|
fix curse magic guard check
|
2021-11-03 21:53:28 -04:00 |
|
ghoulslash
|
012877bdc1
|
fix ai's def magic guard check
|
2021-11-03 21:49:46 -04:00 |
|
ghoulslash
|
4466fbd930
|
ai version of CanPoisonType, CanBePoisoned and IsAbilityOnSide
|
2021-11-03 21:36:33 -04:00 |
|
ghoulslash
|
48c29a9cd8
|
proper mirror armor sticky web targeting
|
2021-11-03 15:05:52 -04:00 |
|
ghoulslash
|
7e6e23005b
|
fix clear body
|
2021-11-03 13:59:26 -04:00 |
|
ghoulslash
|
592a1dab63
|
fix mirror armor setstatchanger, handle reflected stat blockage
|
2021-11-02 12:02:58 -04:00 |
|
ghoulslash
|
ffcba355b0
|
merge w be
|
2021-11-02 10:36:08 -04:00 |
|
ghoulslash
|
71ca9fdb58
|
fix Cmd_healpartystatus GetBattlerAbility check
|
2021-11-01 15:18:41 -04:00 |
|
ghoulslash
|
802ba88621
|
fix ABILITYEFFECT_NEUTRALIZINGGAS
|
2021-11-01 15:10:51 -04:00 |
|
ghoulslash
|
e4242d04ab
|
remove battler skipping in neutralizing gas exit bs
|
2021-11-01 14:28:41 -04:00 |
|
ghoulslash
|
48bea554a3
|
fix tryendneutralizinggas placement
|
2021-11-01 14:21:28 -04:00 |
|
ghoulslash
|
98b4b821dc
|
merge with be
|
2021-11-01 13:55:55 -04:00 |
|
ghoulslash
|
a1e64fce4f
|
handle simple beam, gastro acid
|
2021-11-01 13:50:57 -04:00 |
|
ghoulslash
|
b5d20da927
|
merge with be
|
2021-11-01 11:36:18 -04:00 |
|
ghoulslash
|
6357b21202
|
fix leaf guard ability pop up
|
2021-11-01 11:32:13 -04:00 |
|
ghoulslash
|
a2b8f3f169
|
replace gBattleMons[x].ability w GetBattlerAbility
|
2021-10-31 17:19:30 -04:00 |
|
ghoulslash
|
52d4d1cd34
|
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into utility_umbrella
|
2021-10-31 11:40:00 -04:00 |
|
ghoulslash
|
dfb92fa74e
|
fix VARIOUS_JUMP_IF_LEAF_GUARD_PROTECTED
|
2021-10-31 11:12:17 -04:00 |
|
ghoulslash
|
bc170f3a43
|
merge with be
|
2021-10-31 11:04:39 -04:00 |
|
ghoulslash
|
ae0260fa62
|
fix run away check in TryRunFromBattle
|
2021-10-30 12:06:02 -04:00 |
|