sovereignx/include/config
psf d1183f4b8a
Add B_SHOW_TYPES and cleaned up IsDoubleBattle (#5131)
* First attempt at a port

* Slightly broken but working

* Got images working and opponent palettes

* half finished compressed spritesheet approach instead

* fix the palettes (smh)

* fix hflip, and a lot of clean-up

* Add B_SHOW_TYPES

* Got Illusion working

* Add num type enum

* Updated function to get type

* Fixed type icon position and cleaned up functions

* Updated illusions and Tera handling

* Added BATTLE_TYPE_IS_SINGLE and DOUBLE

* Removed IS_BATTLE_TYPE_SINGLE

* Implemented BATTLE_TYPE_IS_DOUBLE across repo

* Removed SIDE macro

* Updated config

* Deprecated battler alive macro

* Reindented file

* Added exceptions for 2v1

* Replaced Fainted check with Null check

* Added functionality for only types of caught mons

* UseDoubleBattleCoords updated

* Added ShouldFlipTypeIcon

* Renamed TryLoadTypeIcon

* Refactored functions

* Refactored functions

* Refactored functions

* Refactored functions

* Renamed SEEN to CAUGHT

* Reset config

* Added useSecondPalette and isOrdinary to gTypesInfo

* Further simplified secondPalette and isOrdinary

* Changed isordinary to isSpecialCase

* Renamed to useSecondTypeIconPalette

* Fixed Stellar type interactions

* fixed spacing

* fixed include/config/battle.h

* fixed

* fixed include/config/general.h

* changed type1 and type2

* Moved IsDoubleBattle to include.battle.h
Removed BATTLE_TYPE_IS_DOUBLE
Removed IS_DOUBLE_BATTLE

* Changed IsBattlerFainted to IsBattlerAlive

* Removed IsBattlerNull

* Moved GetBattlerData to be inline

* Renamed GetMonDefensiveTeraType

* Removed IsIllusionActive

* Fixed identation

* found one last isDoubleBattle hold out

* fixed redundant brackets

* Fixed spacing for B_SHOW_TYPES

* Update src/battle_script_commands.c

Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>

* Fixed padding

* Reindent file and refactored GetTypeIconHideMovement

* Update include/data.h

---------

Co-authored-by: RavePossum <ravepossum@proton.me>
Co-authored-by: Frank <fdeblasio1004@gmail.com>
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2024-08-11 17:55:51 +02:00
..
battle.h Add B_SHOW_TYPES and cleaned up IsDoubleBattle (#5131) 2024-08-11 17:55:51 +02:00
debug.h Make Pokémon Sprite Visualizer name official (#4745) 2024-06-09 12:12:35 -04:00
general.h Add AUTO_LOWERCASE_KEYBOARD (#4976) 2024-07-15 19:06:01 +02:00
item.h Enable GF item names by default 2024-04-25 18:40:37 +01:00
level_caps.h Pre-1.8 tweaks (#4275) 2024-03-12 12:21:03 +01:00
overworld.h FRLG+ whiteout message (#4967) 2024-08-02 08:28:05 -07:00
pokemon.h Dynamic Move Types in Summary Screen/Battle (#5084) 2024-08-08 11:08:50 +02:00
save.h Adjust description of FREE_MATCH_CALL (#4590) 2024-05-19 10:13:14 +02:00
species_enabled.h Fixed silent Klefki cry (#4392) 2024-04-14 21:06:17 +02:00
test.h Force species in tests (#4810) 2024-06-26 18:38:14 +02:00