sovereignx/include/constants
LOuroboros a64e1c63c1
Move data unification (#3999)
* Made gBattleMoves handle the InGame name and description of battle moves
No more multiple arrays in separate, individual files.

Note:
-Keep an eye on Task_LearnedMove.

* Reintroduced move names

Misc:
-Fixed Trick-or-Treat and Light of Ruin's expanded names.
-Introduced a new field for Z-Move names, and a constant for their name length.
-Added a few TODOs to GetBattleMoveName.
-Updated GetMaxMoveName and GetZMoveName. There's no reason not to let GetBattleMoveName handle everything on its own.

* Updated GetBattleMoveName to handle Z-Move Names

Misc:
-Removed pointless TODO about MOVE_NAME_LENGTH.
 -The compiler doesn't allow to have a move name with a value higher than MOVE_NAME_LENGTH, therefore it's pointless to worry about it.

* Fixed a couple of expanded move names

* Removed zMoveName variable of struct BattleMove and extended the name variable's size

* Ditched no longer used MOVE_NAME_LENGTH constant

* Corrected the names of the max moves
I should have done this after updating the size of the name variable of the struct BattleMove, but I didn't think about it at all until Cancer Fairy indirectly gave me the idea.

* Fixed U-turn's name

* Brought back MOVE_NAME_LENGTH
I think it doesn't make sense to have a Z_MOVE_NAME_LENGTH because the length in question is used for all battle moves, not just the Z-Moves.

* Introduced a union for Move/Z-Move names in the struct BattleMove

* Fixed the union for gBattleMoves move names
Also updated GetBattleMoveName to properly handle Max Move names.
Also also renamed the "zMoveName" variable to "bigMoveName" which better reflects its purpose. Z-Move names weren't the only thing it covered, since it also handles Max Move names.

* Removed deprecated GetZMoveName and GetMaxMoveName

* Reintroduced mention to gMoveNames in sGFRomHeader

* Fixed move names and ported move descriptions

* Fused the struct ContestMove into the struct BattleMove

* Removed no longer used Z_MOVE_NAME_LENGTH constant

* Renamed the struct BattleMove's bigMoveName variable and introduced macros to prettify move names

* Reintroduced the contest parameters for Pokémon moves

* Renamed gBattleMoves to gMovesInfo
This is consistent with gSpeciesInfo, the array that contains most of the species data.

* Renamed the BattleMove struct to MovesInfo
This is consistent with the struct SpeciesInfo, which contains the variables used by the gSpeciesInfo array.

* Removed empty lines separating battle params from contest params in gMovesInfo

* Renamed MovesInfo to MoveInfo

* Added Cancer Fairy's HANDLE_EXPANDED_MOVE_NAME macro
Used to handle moves with expanded names in a more comfortable manner.
Also fixed Trick-or-Treat's expanded name.

* Renamed GetBattleMoveName to GetMoveName

* Added a comment pointing out that the shared move descriptions are shared move descriptions

* Re-aligned one of the escape characters of CHECK_MOVE_FLAG

* Renamed the battle_moves.h file to moves_info.h instead for consistency's sake

* Applied Eduardo's adjustments

* Using compound string for regular move names as well, saving 1180 bytes and making their use consistent
* Move description formatting

* Updated Pursuit test after merge

* Renamed the BATTLE_CATEGORY constants to DAMAGE_CATEGORY

---------

Co-authored-by: Nephrite <thechurchofcage@gmail.com>
Co-authored-by: Bassoonian <iasperbassoonian@gmail.com>
Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com>
2024-01-29 08:51:32 -03:00
..
abilities.h Define new abilities (#3838) 2023-12-28 12:33:29 +01:00
apprentice.h
battle.h Adds Move Psychic Noise (#4005) 2024-01-16 22:52:56 +01: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 Add many gen 8 move animations (#2861) 2023-06-21 13:19:54 -04:00
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 Set EFFECT_PLACEHOLDER as the default move effect (#4079) 2024-01-27 15:33:29 -03: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 Adds Move Shed Tail (#4016) 2024-01-18 00:14:18 +01: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 Converts a bunch of #if to regular conditions (#4071) 2024-01-26 18:15:45 +01:00
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 2024-01-17 11:52:04 -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 Merge pull request #1904 from GriffinRichards/temp-alias 2023-08-11 15:45:00 -04:00
form_change_types.h Add status form change 2023-12-15 11:17:35 +01:00
frontier_util.h
game_stat.h Rename GAME_STAT_FISHING_CAPTURES to GAME_STAT_FISHING_ENCOUNTERS 2023-06-05 14:15:07 +02:00
global.h Converts a bunch of #if to regular conditions (#4071) 2024-01-26 18:15:45 +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 Rename gItems and gAbilities to gItemsInfo and gAbilitiesInfo (#4068) 2024-01-26 15:25:52 -03:00
item_effects.h Add Teal Mask item, move, and ability data (#3349) 2023-10-08 15:56:09 -03:00
items.h Converts a bunch of #if to regular conditions (#4071) 2024-01-26 18:15:45 +01: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 Move data unification (#3999) 2024-01-29 08:51:32 -03: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 Reference TMs and HMs by move instead of number (#1732) 2023-08-09 10:51:01 -04:00
trade.h
trainer_hill.h Fix some frontier gfx, adjacent cleanup 2023-08-03 11:15:15 -04:00
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 Add temp var aliases 2023-08-04 14:17:28 -04:00
weather.h
wild_encounter.h