Eduardo Quezada
4d6452e14e
Move general config file to the config folder ( #4805 )
2024-06-19 13:42:01 +02:00
sneed
9538d53f93
Don't specify sDexSearchTypeOptions array size ( #4820 )
2024-06-19 13:41:18 +02:00
DizzyEggg
c3b1701c16
Contrary stat drop anim with Spectral Thief ( #4824 )
...
* Contrary stat drop anim with Spectral Thief
* Are you happy now agbcc? I hope I w
2024-06-19 13:40:46 +02:00
kittenchilly
74f53a7e18
Fix caught wild pokemon not restoring their used held item ( #4803 )
...
* Fix caught wild pokemon not restoring their used held item
* Actually we can use the same struct
2024-06-18 20:31:03 +02:00
sneed
277b8607df
Clarify some cases of ChangeStatBuffs usage ( #4826 )
2024-06-18 20:14:16 +02:00
sneed
609754f0f6
Add RandomChance macro and ability trigger chance config ( #4829 )
...
* RandomChance macro, contact ability chance config
* Unify config, add shed skin
2024-06-18 20:13:44 +02:00
sneed
b6d3bdf622
Confusion, cursed body and poison touch trigger chance fixes and tests ( #4831 )
...
* accurate confusion chance and a test
* Accurate Poison Touch chance and tests
* Accurate cursed body chance
* Create cursed_body.c
2024-06-18 20:07:40 +02:00
Alex
f106b21344
Adds Toxic Chain's effect ( #4823 )
2024-06-18 20:04:28 +02:00
Bassoonian
a24b767276
Merge branch 'master' of https://github.com/rh-hideout/pokeemerald-expansion into masterintoupcoming18jun
2024-06-18 15:27:06 +02:00
PhallenTree
1fd23ec929
Fix potential issue with abilities that would cause Toxic Chain to not activate
2024-06-18 11:50:30 +01:00
PhallenTree
a26050fbde
Adds Toxic Chain interaction with Knock Off
2024-06-18 11:46:23 +01:00
PhallenTree
161f61284a
Use RandomWeighted; fix Test
2024-06-17 17:48:05 +01:00
DizzyEggg
203318b9a2
Get rid of hardcoded stat raise anim values ( #4825 )
2024-06-17 13:51:04 +02:00
sneed
e64a2f3e25
Roamer's frostbite carries over between battles ( #4822 )
2024-06-17 11:44:47 +02:00
PhallenTree
a49c988b89
Adds Toxic Chain's effect
2024-06-16 19:53:35 +01:00
ghoulslash
cb1696384c
merge in original dexnav code with some rhh specific tweaks
2024-06-16 10:39:28 -04:00
ghoulslash
652cb007ce
merge w pret master, add USE_DEXNAV_SEARCH_LEVELS flag
2024-06-16 09:45:38 -04:00
kittenchilly
b8607fe3aa
Fix Poltchageist not always producing counterfeit offspring ( #4812 )
2024-06-15 18:31:29 -04:00
Eduardo Quezada
1eb0b3261f
Added option to disable species cries ( #4791 )
...
* Added option to disable cries
* Update src/pokemon.c
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
---------
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2024-06-15 22:07:13 +02:00
sneed
e5e38c13f3
fix unitialized struct UB ( #4808 )
2024-06-15 21:20:10 +02:00
sneed
e18150fb35
Change code to reflect that Shell Side Arm's default category is special ( #4806 )
...
* swapped cat is physical
* Update battle_util.c
* Update src/battle_util.c
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
---------
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2024-06-15 15:35:43 +02:00
Bassoonian
22994c79d4
Add support for multiple roamers ( #4762 )
...
* Replicate initial commit
* Integrate the rest of Duke's vanilla commits
* Alter Roamer struct to add frostbite support
* Fix some indentation issues
* Add option to hide substitute followers
* Revert "Add option to hide substitute followers"
This reverts commit 3fadaafae50aeb48c089d5a27af6deca9580ff64.
* Incorporate feedback
2024-06-15 11:17:32 +02:00
kittenchilly
a118b2caa8
Fix Booster Energy ability popup and message ( #4804 )
2024-06-14 20:22:26 -04:00
DizzyEggg
de7a4e2328
Fix Encore turn amount bug ( #4802 )
...
* Encore 3 turns
* remove duplicate
2024-06-14 13:15:38 +02:00
DizzyEggg
2716ec5b03
Fix Pursuit not getting Choice-locked on switch-out ( #4801 )
...
* Fix Pursuit not getting Choice-locked on switch-out
* use label
2024-06-14 12:46:03 +02:00
DizzyEggg
c7224d9ca7
Fix Relic Song transforming species other than Meloetta ( #4799 )
2024-06-14 10:24:57 +02:00
Pawkkie
a7642da544
Revenge Killer switching factors in Trick Room ( #4794 )
...
* Revenge Killer switching factors in Trick Room
* Comments and float multiplication
2024-06-14 10:18:01 +02:00
DizzyEggg
1a4f277d6f
Tests for Body Press + body press interaction with Wonder room ( #4792 )
2024-06-14 09:43:10 +02:00
DizzyEggg
4b1ff3ad7f
fix starting terrain making all other terrains infinite ( #4795 )
2024-06-14 09:31:21 +02:00
Eduardo Quezada
88028c0c37
Split Pokémon Object Events from Following Pokémon functionality ( #4761 )
...
* Split Pokémon Object Events from Following Pokémon functionality
* Renamed follower pngs and palettes
* Define renames
* Reorder configs
* Renaming: SpeciesInfo fields, macros and palettes.
2024-06-13 22:46:27 +02:00
DizzyEggg
84d13d0abf
Fix Smack Down anim + move anim tests ( #4774 )
...
* Fix Smack Down anim + move anim tests
* really agbcc
* fix undefined reference
* hopefully everything works
2024-06-13 15:30:28 -04:00
Eduardo Quezada
3747668bf3
Fixed AI_FLAG_RISKY score increase making tests with AI_LOG fail ( #4790 )
2024-06-13 19:13:10 +02:00
ghoulslash
353727a805
Add createmon Script Cmd, Support for 2v1Wild Battles ( #4688 )
...
* add createmon and setwilddoubleflag script cmds to support createing mons at given player or enemy slots and setting up 2v1 battles
* give givemon macro PARTY_SIZE for tests
* style fixes
* add createmon test
---------
Co-authored-by: ghoulslash <pokevoyager0@gmail.com>
2024-06-13 19:11:36 +02:00
Eduardo Quezada
43310716af
Fixes to master merge
2024-06-13 11:44:52 -04:00
Eduardo Quezada
06153e4280
Merge branch '_RHH/master' into _RHH/upcoming
...
# Conflicts:
# include/battle.h
# include/constants/battle_script_commands.h
# include/constants/pokemon.h
# src/battle_ai_util.c
# src/battle_main.c
# src/battle_util.c
# test/battle/ai.c
2024-06-13 11:44:28 -04:00
sneed
f868de066d
fix passing hold effect instead of ability ( #4789 )
2024-06-13 16:40:53 +02:00
sneed
c2ca22d474
Various small doubles AI fixes ( #4786 )
...
* fix AI thinking defiant procs off ally moves
* AI see's partner's ability for swagger and flatter
2024-06-13 13:52:13 +02:00
DizzyEggg
8ff1cbed2a
update shiny data for battle mons ( #4788 )
2024-06-13 13:45:56 +02:00
DizzyEggg
8e41b9857f
Fix Revive in double battles ( #4784 )
2024-06-13 10:41:17 +02:00
DizzyEggg
21339cf272
Fix AI not recognising Volt Absorb/FlashFire ( #4781 )
2024-06-12 23:02:45 +02:00
sneed
000f144465
AI actually avoids contact vs rocky helmet/rough skin ( #4779 )
2024-06-12 20:54:34 +02:00
Bassoonian
03cc0ae6b3
Add option to hide substitute followers ( #4765 )
...
* Add option to hide substitute followers
* Update event_object_movement.c
2024-06-12 13:53:01 -04:00
DizzyEggg
a17259763c
Fix Baton Pass breaking on Memento ( #4773 )
...
* Fix Baton Pass breaking on Memento
* doubled headers
2024-06-12 13:17:18 +02:00
kittenchilly
251019d63d
Update wild held items to Gen 9 ( #4769 )
...
* Update wild held items to Gen 9
* Update gen_1_families.h
* Update gen_5_families.h
2024-06-12 11:33:03 +02:00
Bassoonian
76c566a0ca
Add the Let's Go evolution method ( #4758 )
...
* Add overworld step evolution method
* Increase evolutionTracker bits from 9 to 10
* Implement tracker increase
* Remove leftover NDEBUG activation
* Reset evolution tracker data upon evolution
* Revert an accidental change to unrelated code
* Add missing break in switch case, oops
2024-06-12 11:31:19 +02:00
Alex
9c72392891
Fixes Shell Side Arm ( #4753 )
...
* Fixes Shell Side Arm
* Fixes to random call
* hardcoded the effect to the move
* minor change
* minor change 2
* applied reviews
2024-06-12 11:21:44 +02:00
Bassoonian
dffaaeaaa6
Add Leader's Crest evolution method ( #4768 )
...
* Add Leader's Crest evolution method
* Fix typo in in HGSS dex
* Update src/pokedex_plus_hgss.c
Co-authored-by: sneed <56992013+Sneed69@users.noreply.github.com>
* Update src/battle_script_commands.c
---------
Co-authored-by: sneed <56992013+Sneed69@users.noreply.github.com>
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2024-06-12 09:31:59 +02:00
cawtds
4724b5dfd6
Improved Surf/Thunderbolt test ( #4764 )
...
* improved Surf/Thunderbolt test that previously relied on correct AI guess
* remove unnecessary mod
* fixed infinite rng loop
* wrong ability num and readability
* Update src/battle_ai_util.c
---------
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2024-06-12 09:09:15 +02:00
Bassoonian
341fa3692c
Make Tandemaus only evolve at the end of battles ( #4759 )
2024-06-12 08:43:51 +02:00
Bassoonian
5fe0aee063
Add config to turn off two-framed front sprites ( #4750 )
...
* Add config to turn off two-framed front sprites
* Two frames should be on by default
* Simplifies integration
2024-06-11 13:10:23 -04:00