Eduardo Quezada
1ceae6e100
Merge branch '_RHH/master' into _RHH/upcoming
2024-05-06 15:29:21 -04:00
Eduardo Quezada
4ce8a05d5d
Add tests to complement PR4500 ( #4511 )
2024-05-06 19:59:37 +02:00
Eduardo Quezada
5ec08ee98c
Small Battle Test reorganization ( #4504 )
...
* Fixed test folders + Chud Chew test name fixes
* Adjusted file names + merged Burn Up and Double Shock files
* Added Spit Up/Swallow files that point to Stockpile's file
* Multiple changes (see description)
- Moved secondary effect files to their own folder.
- Split hit_set_entry_hazards.c to separate files for Spikes/Stealth Rock.
- Grouped Hex/Venoshock to the same file
2024-05-06 09:36:52 +02:00
kittenchilly
0aad2a9ba7
Change Battle Frontier validation to species flag ( #4341 )
...
* Split isLegendary into isRestrictedLegendary and isSubLegendary
* Address reviews and fix build
* Update frontier_util.c
* Remove gFrontierBannedSpecies , fast edition
* Sped up name generation
* More speed up
* Split Frontier restriction into its own flag
* Mythicals shouldn't be banned always anymore
* u32
---------
Co-authored-by: Eduardo Quezada <eduardo602002@gmail.com>
2024-05-03 13:32:06 -04:00
Eduardo Quezada
e791bc08e7
Fixed incoming master test messages
2024-05-02 14:27:58 -04:00
Eduardo Quezada
0c74fd31c3
Merge branch '_RHH/master' into _RHH/upcoming
2024-05-02 14:24:17 -04:00
Alex
6d397f9867
Fixes Magic Bounce in double battles ( #4464 )
...
* Fixes Magic Bounce in double battles
* Add Double Battle check
2024-05-02 14:23:46 +02:00
hedara90
77e17247cd
Color change fixes ( #4472 )
...
* Fixed forseen moves not triggering Color Change and added tests for Color Change
* Added issue number to Known Failing test
---------
Co-authored-by: Hedara <hedara90@gmail.com>
2024-05-01 23:23:37 +02:00
kittenchilly
d58e6517f8
Add abilities Tera Shift, Tera Shell, and Teraform Zero ( #4418 )
...
* Add abilities Tera Shift, Tera Shell, and Teraform Zero
* Address reviews
* Tests and misc cleanup
* Fix alignments
* Update battle_script_commands.c
* New tests and fix behavior
* Address more reviews
* Update battle_util.c
2024-04-27 19:52:31 +02:00
kittenchilly
fc9d5c289a
Embody Aspect fixes ( #4439 )
...
* Embody Aspect fixes
* Fix tests
* Update battle_util.c
2024-04-27 19:35:42 +02:00
Alex
ec37b2170f
Fixes Hospitality triggering on a fainted mon ( #4450 )
2024-04-26 16:29:26 +02:00
Eduardo Quezada
dd098baf77
Official GF names by default ( #4241 )
2024-04-25 14:23:08 -04:00
Martin Griffin
06d817bd1b
Expanded species names
2024-04-25 18:40:37 +01:00
Martin Griffin
a1d2460372
Enable GF move names by default
...
In contests, even FONT_NARROWER isn't sufficient to prevent clipping in
all cases. e.g. Stomping Tantrum clips. We have decided to accept that
cost to make the rest of the user experience better, but downstream
projects that don't like that trade-off can either a) alter the contest
UI, or b) set B_EXPANDED_MOVE_NAMES to FALSE.
2024-04-25 18:40:37 +01:00
Eduardo Quezada
d42de03ddc
Merge branch '_RHH/master' into _RHH/upcoming
2024-04-25 12:37:31 -04:00
Alex
94cb2133c6
Fixes ability dancer not targeting multiply targets ( #4437 )
...
* Fixes ability dancer not targeting multiply targets
* remove file
2024-04-25 10:13:57 +02:00
Martin Griffin
143d6fb289
Minor cleanup of Frisk test ( #4441 )
2024-04-25 10:11:01 +02:00
sneed
620c453fbd
Intimidate and Super Sweet Sugar prints the right message and doesn't play animation when already at -6 ( #4406 )
...
* Intimidate won't print message or play animation at -6
Super Sweet Syrup included
* Update intimidate.c
* Update supersweet_syrup.c
* Update test/battle/ability/supersweet_syrup.c
---------
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2024-04-21 14:10:14 +02:00
Alex
49c86f86c8
Adds Ability Poison Puppeteer ( #4416 )
...
* Adds Ability Poison Puppeteer
* nothing happened
* parametrize poison powder and toxic
* leftover
2024-04-20 22:23:20 +02:00
Eduardo Quezada
5a276dcbbf
Merge branch '_RHH/master' into _RHH/upcoming
2024-04-15 18:29:06 -04:00
skolgrahd
3b17ce39f7
Fixed softlock w/ weather-triggered form changes & Cloud Nine ( #4382 )
...
* Fixed softlock when weather-triggered form changes are suppressed by Cloud Nine
* Removed KNOWN_FAILING; line from Castform Air Lock test
2024-04-13 13:19:14 -04:00
Alex
a0a5ba4af2
Adds Role Play tests ( #4381 )
...
* Adds Role Play tests
* gastro acid
* Update gastro_acid.c
2024-04-13 14:14:43 +02:00
Eduardo Quezada
5bf379720f
Merge branch '_RHH/master' into _RHH/upcoming
...
# Conflicts:
# src/data/moves_info.h
2024-04-12 21:30:52 -04:00
Alex
3c85089428
Fixes Gulp Missile Dive / Power Herb interaction ( #4371 )
...
* Fixed Cramorant Dive / Power Herb interaction
* remove file
* leftover
2024-04-09 10:32:11 +02:00
Alex
c740c4ba19
Disguise fixes + gen8 hp loss config ( #4360 )
...
* Disguise fixes + gen8 hp loss config
* fix battler arg
* Update test/battle/ability/disguise.c
---------
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2024-04-07 00:07:55 +02:00
PCG
d8af6205e9
Fix typo in Booster Energy's battle message ( #4354 )
...
* Fix typo in Booster Energy's battle message
* fixed in tests too
* fix another typo
2024-04-05 20:37:23 +02:00
Alex
db42d2b5a4
Adds Booster Energy ( #4337 )
...
* Adds Booster Energy
* fix string
* fixes strings in tests
* Apply suggestions from code review
---------
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2024-04-05 19:38:50 +02:00
Alex
7c1a0bb685
defiant_tests ( #4331 )
2024-04-02 21:32:19 +02:00
Alex
a741e2e396
Couple things for 1.8 release ( #4274 )
...
* Couple things for 1.8 release
* revert EFFECT_VARY_POWER_BASED_ON_HP change
* Fix comment
---------
Co-authored-by: Eduardo Quezada <eduardo602002@gmail.com>
2024-03-12 07:51:37 -03:00
Eduardo Quezada
d811614f60
Merge branch '_RHH/master' into _RHH/upcoming
2024-03-02 11:04:48 -03:00
Nephrite
e9b2f33084
Fixed Tangling Hair + Mirror Armor interaction
2024-02-27 13:38:38 +09:00
Nephrite
b1f0fbdf89
Merge remote-tracking branch 'rhh/upcoming' into battlemove_refactored
2024-02-27 13:03:26 +09:00
Eduardo Quezada D'Ottone
9e0ae222c3
Fixed Tri Attack status ability immunity test ( #4229 )
...
* Fixed Tri Attack test incorrectly having abilities that don't prevent Paralysis
* Fixed Dauntless Shield test names
2024-02-26 18:33:06 +01:00
Eduardo Quezada
38e7de211f
Merge branch '_RHH/master' into _RHH/upcoming
2024-02-26 11:52:55 -03:00
Nephrite
46b67355a5
Merge remote-tracking branch 'rhh/upcoming' into battlemove_refactored
2024-02-26 14:23:53 +09:00
Nephrite
174c6fc999
Renamed "MoveHasMoveEffect" functions
2024-02-26 14:21:38 +09:00
Alex
750eb40a75
Fixes Tangling Hair, Rocky Helmet interaction ( #4219 )
2024-02-21 23:55:38 +01:00
Eduardo Quezada
75ad61e5bf
Merge branch '_RHH/master' into _RHH/upcoming
...
# Conflicts:
# data/battle_scripts_1.s
# include/constants/battle_move_effects.h
# src/battle_ai_main.c
# src/battle_ai_util.c
# src/battle_tv.c
# src/data/battle_moves.h
# src/data/graphics/pokemon.h
2024-02-19 10:13:13 -03:00
Alex
57e0d7b20b
Partial fix for Teeter Dance and Ability Dancer interaction ( #4129 )
...
* Parial fix for Teeter Dance and Ability Dancer interaction
* Removes rest of teeter dance checks and make it work with effect_confuse
* Update test/battle/ability/dancer.c
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
* Update test/battle/ability/dancer.c
Co-authored-by: ultima-soul <33333039+ultima-soul@users.noreply.github.com>
---------
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
Co-authored-by: ultima-soul <33333039+ultima-soul@users.noreply.github.com>
2024-02-19 13:36:21 +01:00
Alex
7694628296
Adds Powerful status move flag ( #4125 )
...
* Adds Powerful status move flag
* fix flag
* fixed final issues
* review changes
2024-02-18 15:05:08 +01:00
Nephrite
b665e7245b
Merge remote-tracking branch 'rhh/upcoming' into battlemove_refactored
2024-02-12 16:15:53 +09:00
Eduardo Quezada
1720e1b129
Merge branch '_RHH/master' into _RHH/upcoming
...
# Conflicts:
# data/battle_scripts_2.s
# src/data/pokemon/species_info/gen_9.h
2024-02-10 17:53:32 -03:00
Alex
97e4aa514a
Reverted Intrepid Sword and Dauntless Shield field unification ( #4171 )
...
* Reverts back Intrepid Sword and Dauntless Shield field unification
* fixes
2024-02-10 16:15:21 -03:00
Alex
b7d77099b5
Fixes Opportunist accumulating stat changes ( #4168 )
...
* Fixes Opportunist accumulating stat changes
* move memset to TurnValuesCleanUp
* Update test/battle/ability/opportunist.c
---------
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2024-02-10 18:18:29 +01:00
Eduardo Quezada D'Ottone
af95a09961
Last Respects effect + Fixed Supreme Overlord ( #4151 )
...
* Last Respects effect + Fixed Supreme Overlord
* Fixed ability pop-up happening when there's no fainted party members
* Fixed Supreme Overlord counting faints during the battle instead of fainted party
* Removed invalid test.
* Converted GetSupremeOverlordModifier to an inline function
* Created inline functions to obtain faint counters
* Fixed erroneous implemenation and tests
2024-02-10 10:58:41 +01:00
Eduardo Quezada
67f1772f1e
Merge branch '_RHH/master' into _RHH/upcoming
...
# Conflicts:
# src/battle_util.c
# test/battle/item_effect/heal_and_cure_status.c
2024-02-09 17:02:56 -03:00
Hungry Pickle
47abc33c84
Fixes Stench ability triggering on non-damaging attacks ( #4159 )
...
* Fixes Stench ability triggering on non-damaging attacks
* adds stench ability test
* added stench ability test for partner pokemon
---------
Co-authored-by: HungryPickle <beardybirdy@gmail.com>
2024-02-09 15:35:40 +01:00
Nephrite
ce4dd729f4
Merged from upcoming
2024-02-09 23:00:36 +09:00
Alex
e89f8e00ed
Fixes Hit Escape moves interaction with hold effects and switch in ab… ( #4091 )
...
* Fixes Hit Escape moves interaction with hold effects and switch in abilities
* leftover
* fix spelling
* fix desc.
2024-02-09 14:00:42 +01:00
Eduardo Quezada
ec803054e6
Merge branch '_RHH/master' into _RHH/upcoming
...
# Conflicts:
# src/battle_main.c
# src/battle_util.c
# test/battle/hold_effect/kee_berry.c
2024-02-08 12:19:51 -03:00