sovereignx/graphics/battle_transitions
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
..
big_pokeball.png
big_pokeball_map.bin
blue_bg.pal Refactor mugshots (#4000) 2024-01-16 00:45:13 +01:00
brendan_bg.pal
elite_four_bg.png
elite_four_bg_map.bin
evil_team.pal
frontier_logo.bin
frontier_logo.png
frontier_logo_center.bin
frontier_logo_center.png
frontier_logo_circles.png
frontier_squares.bin
frontier_squares_1.png
frontier_squares_2.png
frontier_squares_3.png
frontier_squares_4.png
frontier_squares_blanktiles.png
green_bg.pal Refactor mugshots (#4000) 2024-01-16 00:45:13 +01:00
groudon.bin
groudon.png
groudon_pt1.pal
groudon_pt2.pal
kyogre.bin
kyogre.png
kyogre_pt1.pal
kyogre_pt2.pal
may_bg.pal
pink_bg.pal Refactor mugshots (#4000) 2024-01-16 00:45:13 +01:00
pokeball.png
pokeball_trail.png
purple_bg.pal Refactor mugshots (#4000) 2024-01-16 00:45:13 +01:00
rayquaza.bin
rayquaza.pal
rayquaza.png
regice.bin
regice.pal
regirock.bin
regirock.pal
regis.png
registeel.bin
registeel.pal
shrinking_box.png
team_aqua.bin
team_aqua.png
team_magma.bin
team_magma.png
unused.pal
unused_brendan.png
unused_lass.png
unused_trainer.pal
vs.png
vs_frame.bin
vs_frame.png
yellow_bg.pal Refactor mugshots (#4000) 2024-01-16 00:45:13 +01:00