pokeemerald/graphics
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
..
bag Colorize bag select button 2023-05-10 00:33:43 -04:00
balls Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into HEAD 2022-04-02 18:45:18 -03:00
battle_anims Adds combined pledge move effects (#3336) 2023-11-21 16:23:22 +01:00
battle_frontier Fix some frontier gfx, adjacent cleanup 2023-08-03 11:15:15 -04:00
battle_interface Merge branch 'RHH/upcoming' into RHH/pr/upcoming/dynamax 2023-10-09 16:51:41 -03:00
battle_terrain
battle_transitions Refactor mugshots (#4000) 2024-01-16 00:45:13 +01:00
berries Purged the bKGD warning once and for all 2023-02-24 02:01:55 -03:00
berry_blender Finish documenting berry blender 2020-08-24 17:06:55 -04:00
berry_crush Fix some colors in crusher.png 2023-01-12 19:04:49 -05:00
berry_fix Correct berry fix graphics colors, more PLTT constant use (#1892) 2023-08-09 12:49:21 -04:00
birch_speech Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into HEAD 2022-04-02 18:45:18 -03:00
cable_car Use tilemap file for cable car pylons 2023-03-31 00:44:22 -04:00
cave_transition Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into HEAD 2022-04-02 18:45:18 -03:00
contest Fix results_screen/tiles.png colors 2023-01-15 12:04:29 -05:00
credits Document some credits 2021-03-29 08:52:40 -04:00
decorations Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into HEAD 2022-04-02 18:45:18 -03:00
diploma Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into HEAD 2022-04-02 18:45:18 -03:00
dodrio_berry_picking Fix swapped Dodrio Berry Picking palettes 2023-06-05 19:53:59 -04:00
door_anims Colorize door animations that use multiple palettes 2023-01-11 13:31:17 -05:00
easy_chat Delete unreferenced palette 2021-04-01 14:32:23 -04:00
evolution_scene Document evolution scene 2021-02-03 17:55:37 -05:00
expansion_intro Purged the bKGD warning once and for all 2023-02-24 02:01:55 -03:00
field_effects Port pokefirered's Vs. Seeker to pokeemerald (#3256) 2023-11-26 18:58:43 +01:00
fonts Merge remote-tracking branch '_pret/master' into RHH/pr/upcoming/pret_20231210 2023-12-10 13:27:09 -03:00
frontier_pass Correct colors for frontier_pass 2023-01-13 02:25:23 -05:00
interface Renamed Battle Move "Split" to the proper "Category" (#3774) 2023-12-20 10:08:26 +01:00
intro Fix intro/scene_1 tiles 2023-01-14 00:48:58 -05:00
items Add Indigo Disk item data (#3854) 2023-12-28 23:00:34 +01:00
link Sync wireless improvements 2022-11-09 15:14:18 -05:00
mail
map_popup Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into HEAD 2022-04-02 18:45:18 -03:00
misc Colorize mirage_tower.png 2023-01-12 11:40:15 -05:00
naming_screen Split naming screen palettes/graphics, use correct image palettes, clean up 2022-08-09 09:27:28 -04:00
object_events Purged the bKGD warning once and for all 2023-02-24 02:01:55 -03:00
party_menu Fix party_menu/bg colors 2023-01-14 12:32:54 -05:00
picture_frame Colorize picture_frame tiles 2023-01-13 15:30:57 -05:00
pokeblock Fix some compressed tilemaps 2023-06-01 15:31:12 -04:00
pokedex Merge branch 'RHH/pr/upcoming/reorderMonGraphics' into RHH/review/gen9mon-4 2023-11-02 21:32:23 -04:00
pokemon Replaces some older gen9 sprites with Pokemoncommunity ones (#3969) 2024-01-11 10:23:57 +01:00
pokemon_jump Document pokemon jump 2021-02-26 17:26:39 -05:00
pokemon_storage Added Japan-only Walda PC icons (#3550) 2023-11-18 00:54:13 +01:00
pokenav Move remaining region map graphics to region map folder 2022-02-22 18:43:23 -05:00
rayquaza_scene Colorize rayquaza_scene/scene_1/clouds.png 2023-01-12 14:56:44 -05:00
reset_rtc_screen Document reset_rtc_screen 2021-02-24 14:29:33 -05:00
rotating_gates Color rotating gate pngs 2022-10-12 19:19:42 -04:00
roulette Continue documenting roulette 2020-08-02 14:52:05 -04:00
shop Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into HEAD 2022-04-02 18:45:18 -03:00
slot_machine Fix slot_machine/menu colors 2023-01-14 16:34:14 -05:00
starter_choose Colorize and combine birch_bag/birch_grass 2023-01-12 15:22:23 -05:00
summary_screen Correct colors in summary_screen/tiles.png 2023-01-12 21:41:06 -05:00
text_window
title_screen Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into HEAD 2022-04-02 18:45:18 -03:00
trade Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into HEAD 2022-04-02 18:45:18 -03:00
trainer_card Move FRLG trainer card gfx to own folder, fix tiles 2023-01-13 13:40:13 -05:00
trainer_hill Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into HEAD 2022-04-02 18:45:18 -03:00
trainers Generate trainer pic palettes from image 2022-09-05 16:09:45 -04:00
types Update fairy.png 2022-08-27 22:42:05 -04:00
union_room_chat Correct some union room chat documentation 2023-02-02 11:41:02 -05:00
unused Moved files - spinda spots, jp fonts, redyellowgreen_frame.bin 2023-11-12 14:28:11 +13:00
wallclock Document wallclock data 2020-08-29 15:55:28 -04:00
weather Document more battle anim effects 2021-02-28 09:54:55 -06:00
wireless_status_screen Sync wireless improvements 2022-11-09 15:14:18 -05:00
wonder_card Fix leftover icon_shadow names 2021-10-17 03:22:55 -04:00
wonder_news Start wonder card/news documenting 2021-10-14 13:24:20 -04:00