13536 Commits

Author SHA1 Message Date
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
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
Ariel A
f3b637c115 fix: castform OW sprite & palette
fixed #34
2024-05-04 18:47:25 -04: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
Ariel A
e36a7c59cf Merge branch 'followers' into followers-expanded-id 2024-05-03 00:45:04 -04:00
Ariel A
758e4049cd fix: LARGE_OW_SUPPORT and affine OW movements
fixed #33
2024-05-03 00:43:39 -04:00
Eduardo Quezada
0c74fd31c3 Merge branch '_RHH/master' into _RHH/upcoming 2024-05-02 14:24:17 -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
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
Ariel A
3d797eaec2 Merge branch 'lighting' into lighting-expanded-id 2024-04-28 20:39:56 -04:00
Ariel A
3c9c48e2a1 Merge branch 'followers-expanded-id' into lighting-expanded-id 2024-04-28 20:39:39 -04:00
Ariel A
ee0d7a467a fix: reverted Wailord OW gfx back to 32x32 2024-04-28 20:37:08 -04:00
Ariel A
7939894b18 fix: object event palettes can be loaded during fadeout 2024-04-28 18:52:33 -04:00
Bassoonian
c7797dff81
Make Fur Coat breakable (#4459) 2024-04-28 22:48:34 +02:00
Eduardo Quezada
5322127868 Fixed game not compiling when followers are disabled 2024-04-28 12:43:21 -04:00
sneed
0fafb5cd96
Fix lingering long ability popup names (#4456) 2024-04-28 11:06:39 -04:00
Ariel A
ad0ae99207 Merge branch 'followers' into lighting 2024-04-27 23:30:08 -04:00
Ariel A
42d9b284b9 Merge branch 'followers' into followers-expanded-id 2024-04-27 23:19:38 -04:00
Ariel A
dbc11ad3d2 fix: improved follower pokemon lock and applymovement code
fixed #30, fixed #32
2024-04-27 23:15:49 -04:00
Ariel A
d7a021a914 fix: Made Common_Movement_* 'safe' for followers
fixed #31
2024-04-27 22:47:41 -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
kittenchilly
fc9d5c289a
Embody Aspect fixes (#4439)
* Embody Aspect fixes

* Fix tests

* Update battle_util.c
2024-04-27 19:35:42 +02:00
kittenchilly
64b28124fb
Add Tera Starstorm move + make Tera Blast displayed type reflect current type due to tera state (#4447)
* Add Tera Starstorm move + make Tera Blast/Tera Starstorm displayed type reflect tera type

* Ooops

* Curse tests
2024-04-27 19:35:29 +02:00
Alex
7355eb99a5
Fix infinite loop caused by leftovers with AI_FLAG_SMART_CHOICES (#4453) 2024-04-27 13:36:29 +02:00
Eduardo Quezada
b006e2d213 Shiny Gen 7 sprites (gotta fix regular palettes) 2024-04-26 11:43:34 -04:00
ghoulslash
2648618c04
ally switch fix elevation shadow and direction on opposing side (#4451)
Co-authored-by: ghoulslash <pokevoyager0@gmail.com>
2024-04-26 16:54:23 +02:00
Alex
ec37b2170f
Fixes Hospitality triggering on a fainted mon (#4450) 2024-04-26 16:29:26 +02:00
Bassoonian
4935b2b3ad
Update pokedex_plus_hgss.c (#4445) 2024-04-25 23:24:10 +02:00
Eduardo Quezada
dd098baf77
Official GF names by default (#4241) 2024-04-25 14:23:08 -04:00
Martin Griffin
664fe905f6 Enable GF type names by default 2024-04-25 18:40:38 +01:00
Martin Griffin
073f12be18 Expanded type names 2024-04-25 18:40:38 +01:00
Martin Griffin
30efba0ccd Support GF abilities names 2024-04-25 18:40:38 +01:00
Martin Griffin
d913792f43 Enable GF species names by default 2024-04-25 18:40:37 +01:00
Martin Griffin
06d817bd1b Expanded species names 2024-04-25 18:40:37 +01:00
Martin Griffin
2ec35549a5 VANILLA_POKEMON_NAME_LENGTH 2024-04-25 18:40:37 +01:00
Martin Griffin
aab9678b02 Enable GF item names by default
In the Pokémon Storage System, even FONT_SMALL_NARROWER isn't sufficient
to prevent clipping in all cases. e.g. Unremarkable Teacup 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 Pokémon Storage System UI, or b) set
I_EXPANDED_ITEM_NAMES to FALSE.
2024-04-25 18:40:37 +01:00