LOuroboros
b64d506809
Made a function to lift Mimicry's effect
2021-11-04 12:20:31 -03:00
LOuroboros
4f251e6ec2
Moved VARIOUS_TRY_TO_REVERT_MIMICRY to VARIOUS_REMOVE_TERRAIN
2021-11-04 12:13:55 -03:00
ghoulslash
6b10801ee8
convert AI_IsabilityOnSide to bool
2021-11-04 10:43:33 -04:00
Jaizu
2728f13eed
Fix comment typo
2021-11-04 09:58:55 +01:00
BuffelSaft
c9ae140bd1
Fix Clangourous Soul
...
I broke this while trying to tidy up the code, it worked perfectly before. Also, make sure the "recoil' doesn't break Disguise.
2021-11-04 21:50:42 +13:00
BuffelSaft
ecbe048f96
Fix Octolock
...
Fixed two issues:
- Octolock doesn't have an end of turn animation in gen 8
- The def drop anim wasn't played if Sp. Def was at -6 and def could still drop
2021-11-04 21:26:04 +13:00
BuffelSaft
cecd341011
Fix Tar Shot
...
If Tar Shot can't do anything to the target it should fail. Checking this is clunky, but it works.
2021-11-04 20:47:45 +13:00
BuffelSaft
fb62479d85
Assign Tar Shot's effect
...
Missed this change. Tar Shot works perfectly now.
2021-11-04 20:28:11 +13:00
BuffelSaft
3baf2aa331
Remove trynextdart, update waitmessage 0x40
...
Not dealing with Dragon Darts in this PR. Updated waitmessage 0x40 to waitmessage B_WAIT_TIME_LONG.
2021-11-04 20:19:18 +13:00
BuffelSaft
28e78cb6c4
Gen 8 moves initial commit
...
Full credit to Nunuchu42 and cfmnephrite for this code.
2021-11-04 19:50:54 +13:00
BuffelSaft
b615bc6dcd
Merge pull request #1854 from AsparagusEduardo/BE_UndoForm
...
Refactored UndoFormChange to make it more user friendly
2021-11-04 17:30:55 +13:00
BuffelSaft
7d10097684
Replace IsTwoStrikesMove with FLAG_TWO_STRIKES
...
Note that this flag does nothing until the Parental Bond PR is merged - it's just for the AI until then.
2021-11-04 17:11:56 +13:00
BuffelSaft
a2574b55cc
Fix dynamic move damage calculation
...
Can't check effectiveness here without breaking the AI. After testing, it also appears that it doesn't need to be checked here after all.
2021-11-04 16:09:28 +13:00
GriffinR
c291fa8e7f
Propagate BG_COORD constants
2021-11-03 23:02:06 -04:00
BuffelSaft
4a7ddb737b
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into ai_improvements
2021-11-04 15:51:11 +13:00
BuffelSaft
e930dae278
Remove ability pop up for Hunger Switch
...
Morpeko should change form each turn without showing its ability.
2021-11-04 15:40:26 +13:00
BuffelSaft
616be576fc
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into hunger_switch2
2021-11-04 15:29:38 +13:00
LOuroboros
b931e34172
Handled Mimicry's interaction with Steel Roller's effect
2021-11-03 23:23:28 -03: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
Eduardo Quezada D'Ottone
05850f0f65
Refactored UndoFormChange to make it more user friendly
2021-11-03 22:05:02 -03:00
ghoulslash
90ddc8d706
Merge pull request #1849 from BuffelSaft/pastel_veil2
...
Add Pastel Veil, fix Corrosion and Poison Touch
2021-11-03 21:01:28 -04:00
BuffelSaft
eeb40daede
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into pastel_veil2
2021-11-04 13:52:58 +13:00
PikalaxALT
7940f121f6
Merge pull request #1539 from GriffinRichards/doc-finalmisc
...
Document files with a few remaining symbols
2021-11-03 20:49:14 -04:00
PikalaxALT
6bdf6f25f4
Merge pull request #1540 from GriffinRichards/sync-libgcn
...
Sync libgcnmultiboot
2021-11-03 20:45:54 -04:00
GriffinR
d6f873ba69
Continue menu documentation
2021-11-03 20:38:23 -04:00
GriffinR
50d3003a0d
Text clean-up, TEXT_SPEED_FF to TEXT_SKIP_DRAW
2021-11-03 19:54:20 -04:00
ghoulslash
86ad65df76
Merge pull request #1675 from AsparagusEduardo/booleanStandard
...
Using boolean for flags
2021-11-03 19:52:52 -04:00
Eduardo Quezada D'Ottone
6ee2a3aba1
Merge branch 'BattleEngine' into booleanStandard
...
# Conflicts:
# src/battle_main.c
2021-11-03 20:44:25 -03:00
LOuroboros
f6628e301f
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into mimicry
2021-11-03 20:43:33 -03:00
BuffelSaft
6132f9a9fe
Merge pull request #1750 from ghoulslash/mirror_armor
...
Mirror Armor
2021-11-04 11:43:59 +13:00
BuffelSaft
5a855db4ad
Fix prototype of CanBePoisoned
2021-11-04 11:08:37 +13:00
GriffinR
085f8adec6
Start remaining menu documentation
2021-11-03 17:38:08 -04:00
LOuroboros
f0d7c75ec8
Syntax corrections
2021-11-03 17:48:04 -03:00
GriffinR
9a0618afc3
Add COPYWIN constants
2021-11-03 15:29:18 -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
GriffinR
3e49ac804b
Merge branch 'master' into doc-finalmisc
2021-11-03 13:56:22 -04:00
GriffinR
e14210ce1f
Merge pull request #1536 from GriffinRichards/clean-braille
...
Add font id constants, better braille support
2021-11-03 13:17:29 -04:00
GriffinR
0ba22ca112
Merge pull request #1534 from GriffinRichards/doc-btrans
...
Document battle transition
2021-11-03 11:26:20 -04:00
GriffinR
b16b918266
Merge pull request #1541 from cbt6/move-speed
...
Use constants for movement speeds
2021-11-03 11:18:54 -04:00
cbt6
fca863244b
Index sStepTimes and sNpcStepFuncTables
2021-11-03 23:07:05 +08:00
cbt6
680f5f4458
Revert movement speed constants for jump movements
2021-11-03 23:00:37 +08:00
cbt6
87a094edcb
Use constants for movement speeds
2021-11-03 20:51:41 +08:00
LOuroboros
af6e72ecfe
Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into photonGeyser
2021-11-03 08:56:01 -03:00
Blackforest92
b9c23f7c62
Update waterfall, trick room, & focus blast BG
2021-11-03 16:29:09 +07:00
BuffelSaft
5141e84296
Fix base stats
...
Clean up mess from testing.
2021-11-03 20:01:09 +13:00
BuffelSaft
6ce1f01b8c
Hunger Switch and Aura Wheel
...
Implement the ability Hunger Switch and the move Aura Wheel.
2021-11-03 19:45:03 +13:00
BuffelSaft
18b87416d5
Fixes
...
- Fix Sheer Force interaction (needed after adding | MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_CERTAIN)
- Fix "X Transformed!" target
- Allow switching between both forms
- Allow form change if target is KO'ed
2021-11-03 17:56:16 +13:00