cawtds
fcfc6b60f2
fix getboxmondata for evolutiontracker if compiled with agbcc ( #4510 )
2024-05-09 15:19:13 +02:00
WillKolada
9c4aba116e
Prevents Terastallization UI from making part of the Safari Zone battle UI invisible ( #4529 )
...
* Update battle_terastal.c
Checks if the Safari Zone flag is set to avoid making part of the battle UI invisible.
* Update src/battle_terastal.c
---------
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2024-05-09 10:27:46 +02:00
sneed
d07d7a0082
Transform GFX uses the correct battler index ( #4486 )
2024-05-09 10:11:55 +02:00
sneed
0a64ab1298
Rewrote GetItemIconPicOrPalette (again) to factor in customized HM counts ( #4487 )
...
* GetItemIconPicOrPalette factors custom HM counts
* remove the extra else
2024-05-09 09:29:18 +02:00
PhallenTree
63254a8fdc
Fixes Thief and Covet used by an opponent not stealing items ( #4506 )
...
* Fixes MOVE_EFFECT_STEAL_ITEM (Thief and Covet)
* Fix stealing consumed item
* Removed unnecessary instructions
* Removes unnecessary check for item to trigger Sticky Hold
2024-05-09 09:22:56 +02:00
sneed
b3a4553860
Dynamic Multichoice no longer plays sound on init ( #4480 )
2024-05-09 08:44:22 +02:00
sneed
432c4f233c
fix ai caring about fixed damage moves' resists ( #4524 )
2024-05-08 14:03:59 +02:00
WillKolada
b04d153a24
Expanded AI awareness of moves that don't work against Dynamax Pokemon ( #4521 )
...
* Update IsDamageMoveUsable to check for Steel Roller viability
* Condense terrain flag checks and renamed IsDamageMoveUsable
IsDamageMoveUsable is now named IsDamageMoveUnusable to more accurately reflect the boolean it returns.
* Made the AI aware of when more moves will fail against Dynamax Pokemon
Turns out Dynamax Pokemon are immune to quite a few moves. The AI is only aware of one of these at present--the Low Kick/Grass Knot effect, which I learned when the AI tried to Heavy Slam my Dynamaxed Pokemon. These additional cases should prevent the AI from selecting moves that have no effect against Dynamax Pokemon, though it may still select moves whose secondary effect won't work on Dynamaxed Pokemon (such as Fake Out or Circle Throw).
* Update battle_ai_util.c
Now handles damaging moves that Dynamax Pokemon are immune to
2024-05-07 22:47:20 +02:00
ghoulslash
5538095785
Replace hp checks with IsBattlerAlive ( #4429 )
...
* add IsBattlerAlive to flame/toxic orb, convert a bunch of .hp != 0 and .hp == 0 checks to IsBattlerAlive
* remove redundant IsBattlerAlive checks on flame/toxic orb
* Update src/battle_util.c
---------
Co-authored-by: ghoulslash <pokevoyager0@gmail.com>
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2024-05-07 16:39:02 +02:00
Nopinou
82b626aef1
fix and tweak level cap code ( #4505 )
...
Co-authored-by: Baptiste-Lecoutre <59924283+Baptiste-Lecoutre@users.noreply.github.com>
2024-05-07 15:53:09 +02:00
Abbie Potter
da3d715f3b
Punchier tera animation ( #4507 )
...
* Punchier tera animation
* Removed testing comments
* Replaced VARIOUS_APPLY_TERASTALLIZATION with callnative
* Remove redundant arg from applyterastallization
2024-05-07 07:59:52 -04:00
sneed
f4e7c8cca8
Restore Pokedex Fairy type search option ( #4515 )
2024-05-07 13:44:15 +02:00
BlueAnthem37510
2d7c79e860
Gulp missile not triggering on faint fix and added form change type ( #4502 )
...
* Cramorant faint fix and add form change type
* Fixed formatting, renamed form change type, changed various to callnative
* Fix oops broke everything except gulp missile
* Improved condition order
* remove extra line
* whitespace and alignment
Co-authored-by: Eduardo Quezada <eduardo602002@gmail.com>
* whitespace and alignment
Co-authored-by: Eduardo Quezada <eduardo602002@gmail.com>
* whitespace and alignment
Co-authored-by: Eduardo Quezada <eduardo602002@gmail.com>
* whitespace and alignment
Co-authored-by: Eduardo Quezada <eduardo602002@gmail.com>
* whitespace and alignment
Co-authored-by: Eduardo Quezada <eduardo602002@gmail.com>
* whitespace and alignment
Co-authored-by: Eduardo Quezada <eduardo602002@gmail.com>
* Added requested changes
---------
Co-authored-by: BlueAnthem37510 <a@a.com>
Co-authored-by: Eduardo Quezada <eduardo602002@gmail.com>
2024-05-07 06:44:17 -04:00
sneed
9d2e4d57e9
Removed stellar type from pokedex search ( #4513 )
...
* Removed stellar type from pokedex search
* Apply suggestions from code review
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
---------
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2024-05-07 11:32:31 +02:00
Eduardo Quezada
1ceae6e100
Merge branch '_RHH/master' into _RHH/upcoming
2024-05-06 15:29:21 -04:00
Eduardo Quezada
eca47fe209
Non-tagged release
2024-05-06 14:51:48 -04:00
Eduardo Quezada
7e43916e57
Version 1.8.3 ( #4499 )
...
* Moved changelogs to folders by minor version
* Version 1.8.3
2024-05-06 14:44:37 -04:00
Eduardo Quezada
4ce8a05d5d
Add tests to complement PR4500 ( #4511 )
2024-05-06 19:59:37 +02:00
lolbinarycat
b2fda17c06
Make filepath links in readme relative ( #4509 )
...
This allows programs like emacs to open the proper file when
clicking them.
Co-authored-by: binarycat <binarycat@envs.net>
2024-05-06 12:18:15 -04:00
Eduardo Quezada
2a605f2d84
Gen 1 type matchups + cleaned type matchup table ( #4508 )
2024-05-06 17:37:03 +02:00
cawtds
d98a4cb9a5
Fixed evolution tracker updates ( #4503 )
...
* update evolution tracker correctly
* Update src/battle_script_commands.c
---------
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
2024-05-06 12:07:22 +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
Eduardo Quezada
d5a72ec685
Merge branch '_RHH/master' into _RHH/upcoming
2024-05-05 19:50:12 -04:00
Eduardo Quezada
e20cb62de6
Fixed Steam Roller AI check affecting Terrain setting effects ( #4498 )
...
* Fixed battle_ai_util.c whitespace
* Add arguments check
* Parenthesis
* Update src/battle_ai_util.c
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
* Added AI tests by AlexOn1ine
---------
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2024-05-06 00:54:28 +02:00
Alex
41138f101c
Fix Red Card, Endured Damage interaction ( #4482 )
2024-05-05 14:29:59 +02:00
Eduardo Quezada
bcb230f3c9
Fixed Flute Items being consumed in battle ( #4496 )
2024-05-05 14:26:30 +02:00
PhallenTree
f07ef07855
Fixes various abilities' switch-in messages ( #4500 )
...
* Fixes Costar, Zero to Hero, Supreme Overlord and Ruin abilities' switch-in messages
* Fixed typo in Supreme Overlord's String Id
* Fixes spacing in battle_string_ids.h
2024-05-05 14:25:40 +02:00
Eduardo Quezada
4410c1b797
Improve Eject Pack test names ( #4497 )
2024-05-05 11:58:11 +02:00
PhallenTree
ff2d1bb02c
Fixes Assist ( #4491 )
2024-05-04 16:59:47 +02:00
PhallenTree
adbb5a44c8
Fixes no effect on Diamond Storm, typo on Mortal Spin ( #4489 )
2024-05-04 15:11:32 +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
AgustinGDLV
9c46b83dbd
CanTerastallize Adjustments ( #4440 )
...
* updated CanTerastallize to be disabled if B_FLAG_TERA_ORB_CHARGED undefined
* added check for B_FLAG_TERA_ORB_NO_COST
* reworked and tested CanTerastallize again
* fixed infinite cost if NO_COST flag not assigned
2024-05-03 09:02:36 +02: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
Eduardo Quezada
22f9eee509
Added trainerproc to .gitignore
2024-05-02 14:01:22 -04:00
Alex
a48d2c9ce2
Set GiveBoxMonIntialMoveset_Fast as default ( #4470 )
...
* Set GiveBoxMonIntialMoveset_Fast as default
* Update pokemon.h
removed duplicates
2024-05-02 17:53:32 +02: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
WillKolada
2aed78ebbb
Update IsDamageMoveUsable to check for Steel Roller viability ( #4476 )
...
* Update IsDamageMoveUsable to check for Steel Roller viability
* Condense terrain flag checks and renamed IsDamageMoveUsable
IsDamageMoveUsable is now named IsDamageMoveUnusable to more accurately reflect the boolean it returns.
2024-05-02 08:42:08 +02:00
Eduardo Quezada
d59ef3710a
Fixed Future Sight script whitespace ( #4475 )
2024-05-02 00:15:56 +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
Nopinou
362f08148c
fix non expanded types names macro ( #4473 )
...
Co-authored-by: Baptiste-Lecoutre <59924283+Baptiste-Lecoutre@users.noreply.github.com>
2024-05-01 16:24:44 -04:00
Alex
48d71b0de1
Hard Level Caps issues ( #4420 )
...
* Fix 1 exp gain on hard level caps
* Level Cap issues
* fix compile
* brackets
2024-04-30 13:59:02 +02:00
Bassoonian
c5552f53da
checkteratype setteratype ( #4460 )
2024-04-30 00:12:34 +02:00
PhallenTree
6ad443c9a8
Fixes Eject Items causing wrong pokemon to take damage from entry hazards ( #4465 )
...
* Fix hazards damaging the wrong pokemon using eject items
* Added Stealth Rock test as requested
* Added Stealth Rock double battle test
2024-04-29 23:16:58 +02:00
sneed
8d175ebe89
Automatically display TM/HM icons based on their move ( #4452 )
...
* Automatically get icons and palettes for TM/HMs
* Restore HM icons
* replace sTMTypePalettes with a gTypesInfo field
2024-04-29 19:29:00 +02:00
Alex
c1f92b088e
Eject Pack fix ( #4463 )
2024-04-29 13:21:33 +02:00
Bassoonian
c7797dff81
Make Fur Coat breakable ( #4459 )
2024-04-28 22:48:34 +02:00
sneed
0fafb5cd96
Fix lingering long ability popup names ( #4456 )
2024-04-28 11:06:39 -04:00
Cafei
3ac67acc63
Fix Tatsugiri Droopy back sprite ( #4455 )
2024-04-28 11:05:23 -04: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