sovereignx/include/constants
Frank DeBlasio 0bdac90cfe
Refactor mugshots (#4000)
* Refactor battle mugshots
The battle mugshot transitions have been merged into the one transition id and are now loaded depending on the trainer data.

Two new fields have been added to struct Trainer; mugshotEnabled and mugshotColor. mugshotEnabled is the toggle for loading the mugshot transition when set to TRUE and mugshotColor is the color of the mugshot for that particular trainer.

The Elite Four and Champion have been updated so their mugshots are correctly loaded when you battle them.

A bug has also been fixed where if the player starts on a tile that has an active field effect, the player's sprite will use the palette of the opponent's sprite.

* Added a new folder in src/data named battle_transitions.

The two look ups for the opponent rotation scaling and coords have been put into their own files and added into this new folder.

The coords look up has also been changed to use the  struct.

* Fixed errors with modern that were preventing compile

* Added mugshot coords to gTrainerSprites

* Added rotation scales to gTrainerSprites

* Replaced tabs with spaces

* Incorporated comments

* Added battle_transition include back to data.c

* Fixed alignment issues in Mugshots_CreateTrainerPics

---------

Co-authored-by: pkmnsnfrn <pkmnsnfrn@gmail.com>
Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com>
2024-01-16 00:45:13 +01:00
..
abilities.h Define new abilities (#3838) 2023-12-28 12:33:29 +01:00
apprentice.h
battle.h Merge branch 'upcoming' into secondary_effects_overhaul 2023-12-30 23:54:01 +09:00
battle_ai.h Smarter SwitchAI Mon Choices | HasBadOdds Switch Check (#3253) 2023-11-11 14:37:35 +01:00
battle_anim.h Fix rain dance/sunny day not blending opponent sprite (#3785) 2023-12-21 13:17:05 +01:00
battle_anim_scripts.h
battle_arena.h
battle_dome.h Battle Dome Automation (#3596) 2023-11-24 16:19:32 +01:00
battle_factory.h
battle_frontier.h Partner Battle refactor (#3592) 2023-12-20 12:38:28 +01:00
battle_frontier_mons.h
battle_frontier_trainers.h
battle_move_effects.h Removed some hardcoded move IDs (#3982) 2024-01-12 22:41:46 +01:00
battle_palace.h Clean up pokemon/ball/dex mentions in comments 2023-12-12 19:02:36 +01:00
battle_partner.h Partner Battle refactor (#3592) 2023-12-20 12:38:28 +01:00
battle_pike.h
battle_pyramid.h
battle_script_commands.h Merge branch 'upcoming' into secondary_effects_overhaul 2023-12-30 23:54:01 +09:00
battle_setup.h
battle_string_ids.h Applied more review fixes 2024-01-12 03:02:48 +09:00
battle_tent.h
battle_tent_mons.h
battle_tent_trainers.h
battle_tower.h
battle_z_move_effects.h Removed some hardcoded move IDs (#3982) 2024-01-12 22:41:46 +01:00
berry.h Refactor growth time and add six stage toggle 2023-12-07 13:22:01 +01:00
cable_club.h
coins.h
contest.h Merge remote-tracking branch 'pret/master' into RHH/pr/upcoming/pret_20230829 2023-08-31 14:28:01 -04:00
cries.h Add Indigo Disk Pokemon data (#3878) 2024-01-01 01:38:50 +01:00
daycare.h
decorations.h
easy_chat.h
event_bg.h
event_object_movement.h Port pokefirered's Vs. Seeker to pokeemerald (#3256) 2023-11-26 18:58:43 +01:00
event_objects.h
expansion.h Non-tagged release 2023-12-28 19:54:06 -03:00
field_effects.h Port pokefirered's Vs. Seeker to pokeemerald (#3256) 2023-11-26 18:58:43 +01:00
field_poison.h
field_specials.h Clean up pokemon/ball/dex mentions in comments 2023-12-12 19:02:36 +01:00
field_tasks.h
field_weather.h
flags.h
form_change_types.h Add status form change 2023-12-15 11:17:35 +01:00
frontier_util.h
game_stat.h
global.h Merge branch 'master' of https://github.com/pret/pokeemerald into pretmergenewyears 2023-12-30 20:49:05 +01:00
heal_locations.h
hold_effects.h Change Ivy Cudgel to be based on Ogerpon form rather than held item (#3865) 2023-12-30 11:40:58 +01:00
item.h
item_effects.h Add Teal Mask item, move, and ability data (#3349) 2023-10-08 15:56:09 -03:00
items.h Raised the limit of max items per stack to 999 (#3923) 2024-01-14 16:32:38 -03:00
layouts.h
lilycove_lady.h
map_groups.h
map_scripts.h
map_types.h
maps.h
mauville_old_man.h
metatile_behaviors.h
metatile_labels.h
moves.h Metronome move fix (#3852) 2023-12-28 16:57:29 +01:00
mystery_gift.h
opponents.h Partner Battle refactor (#3592) 2023-12-20 12:38:28 +01:00
party_menu.h Add support for legendary fusion (#3274) 2023-11-23 22:59:51 +01:00
pokedex.h Add Indigo Disk Pokemon data (#3878) 2024-01-01 01:38:50 +01:00
pokemon.h Merge branch 'master' of https://github.com/pret/pokeemerald into pretmergenewyears 2023-12-30 20:49:05 +01:00
pokemon_debug.h
region_map_sections.h
rgb.h
roulette.h
script_menu.h Merge branch 'upcoming' of https://github.com/rh-hideout/pokeemerald-expansion into berryexpansion 2024-01-05 00:32:21 +01:00
secret_bases.h
slot_machine.h
songs.h
sound.h
species.h Add Indigo Disk Pokemon data (#3878) 2024-01-01 01:38:50 +01:00
tms_hms.h
trade.h
trainer_hill.h
trainer_types.h
trainers.h Refactor mugshots (#4000) 2024-01-16 00:45:13 +01:00
tv.h Clean up pokemon/ball/dex mentions in comments 2023-12-12 19:02:36 +01:00
union_room.h
vars.h
weather.h
wild_encounter.h