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 Extract battle_transition data 2017-12-27 15:25:15 -06:00
big_pokeball_map.bin Extract battle_transition data 2017-12-27 15:25:15 -06:00
blue_bg.pal Refactor mugshots (#4000) 2024-01-16 00:45:13 +01:00
brendan_bg.pal Extract battle_transition data 2017-12-27 15:25:15 -06:00
elite_four_bg.png Extract battle_transition data 2017-12-27 15:25:15 -06:00
elite_four_bg_map.bin Extract battle_transition data 2017-12-27 15:25:15 -06:00
evil_team.pal Extract battle_transition data 2017-12-27 15:25:15 -06:00
frontier_logo.bin Document unk_transition 2020-07-02 15:45:37 -04:00
frontier_logo.png Document unk_transition 2020-07-02 15:45:37 -04:00
frontier_logo_center.bin Fix some compressed tilemaps 2023-06-01 15:31:12 -04:00
frontier_logo_center.png Document unk_transition 2020-07-02 15:45:37 -04:00
frontier_logo_circles.png Document unk_transition 2020-07-02 15:45:37 -04:00
frontier_squares.bin Extract battle_transition data 2017-12-27 15:25:15 -06:00
frontier_squares_1.png Extract battle_transition data 2017-12-27 15:25:15 -06:00
frontier_squares_2.png Extract battle_transition data 2017-12-27 15:25:15 -06:00
frontier_squares_3.png Extract battle_transition data 2017-12-27 15:25:15 -06:00
frontier_squares_4.png Extract battle_transition data 2017-12-27 15:25:15 -06:00
frontier_squares_blanktiles.png Extract battle_transition data 2017-12-27 15:25:15 -06:00
green_bg.pal Refactor mugshots (#4000) 2024-01-16 00:45:13 +01:00
groudon.bin Extract battle_transition data 2017-12-27 15:25:15 -06:00
groudon.png Extract battle_transition data 2017-12-27 15:25:15 -06:00
groudon_pt1.pal Extract battle_transition data 2017-12-27 15:25:15 -06:00
groudon_pt2.pal Extract battle_transition data 2017-12-27 15:25:15 -06:00
kyogre.bin Extract battle_transition data 2017-12-27 15:25:15 -06:00
kyogre.png Extract battle_transition data 2017-12-27 15:25:15 -06:00
kyogre_pt1.pal Extract battle_transition data 2017-12-27 15:25:15 -06:00
kyogre_pt2.pal Extract battle_transition data 2017-12-27 15:25:15 -06:00
may_bg.pal Extract battle_transition data 2017-12-27 15:25:15 -06:00
pink_bg.pal Refactor mugshots (#4000) 2024-01-16 00:45:13 +01:00
pokeball.png Extract battle_transition data 2017-12-27 15:25:15 -06:00
pokeball_trail.png Extract battle_transition data 2017-12-27 15:25:15 -06:00
purple_bg.pal Refactor mugshots (#4000) 2024-01-16 00:45:13 +01:00
rayquaza.bin Extract battle_transition data 2017-12-27 15:25:15 -06:00
rayquaza.pal Extract battle_transition data 2017-12-27 15:25:15 -06:00
rayquaza.png Ignore num_tiles if it would truncate non-transparent tiles (#1729) 2022-08-18 23:07:25 -04:00
regice.bin More transitions documentation 2020-06-01 16:17:25 +02:00
regice.pal More transitions documentation 2020-06-01 16:17:25 +02:00
regirock.bin More transitions documentation 2020-06-01 16:17:25 +02:00
regirock.pal More transitions documentation 2020-06-01 16:17:25 +02:00
regis.png Ignore num_tiles if it would truncate non-transparent tiles (#1729) 2022-08-18 23:07:25 -04:00
registeel.bin More transitions documentation 2020-06-01 16:17:25 +02:00
registeel.pal More transitions documentation 2020-06-01 16:17:25 +02:00
shrinking_box.png Extract battle_transition data 2017-12-27 15:25:15 -06:00
team_aqua.bin Extract battle_transition data 2017-12-27 15:25:15 -06:00
team_aqua.png Extract battle_transition data 2017-12-27 15:25:15 -06:00
team_magma.bin Extract battle_transition data 2017-12-27 15:25:15 -06:00
team_magma.png Extract battle_transition data 2017-12-27 15:25:15 -06:00
unused.pal Continue battle_transition documenting 2021-10-29 11:24:36 -04:00
unused_brendan.png Extract battle_transition data 2017-12-27 15:25:15 -06:00
unused_lass.png Extract battle_transition data 2017-12-27 15:25:15 -06:00
unused_trainer.pal Extract battle_transition data 2017-12-27 15:25:15 -06:00
vs.png Fix file permissions. 2018-01-19 15:06:49 -05:00
vs_frame.bin Fix file permissions. 2018-01-19 15:06:49 -05:00
vs_frame.png Fix file permissions. 2018-01-19 15:06:49 -05:00
yellow_bg.pal Refactor mugshots (#4000) 2024-01-16 00:45:13 +01:00