a64e1c63c1
* 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> |
||
---|---|---|
.. | ||
config | ||
constants | ||
gba | ||
test | ||
agb_flash.h | ||
AgbRfu_LinkManager.h | ||
apprentice.h | ||
bard_music.h | ||
battle.h | ||
battle_ai_main.h | ||
battle_ai_switch_items.h | ||
battle_ai_util.h | ||
battle_anim.h | ||
battle_arena.h | ||
battle_bg.h | ||
battle_controllers.h | ||
battle_debug.h | ||
battle_dome.h | ||
battle_dynamax.h | ||
battle_factory.h | ||
battle_factory_screen.h | ||
battle_gfx_sfx_util.h | ||
battle_interface.h | ||
battle_main.h | ||
battle_message.h | ||
battle_pike.h | ||
battle_pyramid.h | ||
battle_pyramid_bag.h | ||
battle_records.h | ||
battle_script_commands.h | ||
battle_scripts.h | ||
battle_setup.h | ||
battle_tent.h | ||
battle_tower.h | ||
battle_transition.h | ||
battle_transition_frontier.h | ||
battle_tv.h | ||
battle_util.h | ||
battle_util2.h | ||
battle_z_move.h | ||
berry.h | ||
berry_blender.h | ||
berry_crush.h | ||
berry_fix_program.h | ||
berry_powder.h | ||
berry_tag_screen.h | ||
bike.h | ||
birch_pc.h | ||
braille_puzzles.h | ||
cable_club.h | ||
clear_save_data_menu.h | ||
clock.h | ||
coins.h | ||
confetti_util.h | ||
config.h | ||
contest.h | ||
contest_ai.h | ||
contest_effect.h | ||
contest_link.h | ||
contest_painting.h | ||
contest_util.h | ||
coord_event_weather.h | ||
credits.h | ||
crt0.h | ||
data.h | ||
daycare.h | ||
debug.h | ||
decompress.h | ||
decoration.h | ||
decoration_inventory.h | ||
dewford_trend.h | ||
digit_obj_util.h | ||
diploma.h | ||
dodrio_berry_picking.h | ||
dynamic_placeholder_text_util.h | ||
easy_chat.h | ||
egg_hatch.h | ||
ereader_helpers.h | ||
ereader_screen.h | ||
event_data.h | ||
event_object_lock.h | ||
event_object_movement.h | ||
event_scripts.h | ||
evolution_graphics.h | ||
evolution_scene.h | ||
expansion_intro.h | ||
faraway_island.h | ||
field_camera.h | ||
field_control_avatar.h | ||
field_door.h | ||
field_effect.h | ||
field_effect_helpers.h | ||
field_message_box.h | ||
field_player_avatar.h | ||
field_poison.h | ||
field_screen_effect.h | ||
field_special_scene.h | ||
field_specials.h | ||
field_tasks.h | ||
field_weather.h | ||
fieldmap.h | ||
fldeff.h | ||
fldeff_misc.h | ||
fonts.h | ||
fpmath.h | ||
frontier_pass.h | ||
frontier_util.h | ||
global.berry.h | ||
global.fieldmap.h | ||
global.h | ||
global.tv.h | ||
graphics.h | ||
gym_leader_rematch.h | ||
hall_of_fame.h | ||
heal_location.h | ||
image_processing_effects.h | ||
international_string_util.h | ||
intro.h | ||
intro_credits_graphics.h | ||
item.h | ||
item_ball.h | ||
item_icon.h | ||
item_menu.h | ||
item_menu_icons.h | ||
item_use.h | ||
landmark.h | ||
level_caps.h | ||
libgcnmultiboot.h | ||
librfu.h | ||
lilycove_lady.h | ||
link.h | ||
link_rfu.h | ||
list_menu.h | ||
load_save.h | ||
lottery_corner.h | ||
m4a.h | ||
mail.h | ||
main.h | ||
main_menu.h | ||
map_name_popup.h | ||
match_call.h | ||
math_util.h | ||
mauville_old_man.h | ||
menu.h | ||
menu_helpers.h | ||
menu_specialized.h | ||
metatile_behavior.h | ||
mini_printf.h | ||
minigame_countdown.h | ||
mirage_tower.h | ||
mon_markings.h | ||
money.h | ||
move_relearner.h | ||
multiboot.h | ||
multiboot_pokemon_colosseum.h | ||
mystery_event_menu.h | ||
mystery_event_msg.h | ||
mystery_event_script.h | ||
mystery_gift.h | ||
mystery_gift_client.h | ||
mystery_gift_link.h | ||
mystery_gift_menu.h | ||
mystery_gift_server.h | ||
mystery_gift_view.h | ||
naming_screen.h | ||
new_game.h | ||
option_menu.h | ||
overworld.h | ||
palette.h | ||
palette_util.h | ||
party_menu.h | ||
pc_screen_effect.h | ||
play_time.h | ||
player_pc.h | ||
pokeball.h | ||
pokeblock.h | ||
pokedex.h | ||
pokedex_area_region_map.h | ||
pokedex_area_screen.h | ||
pokedex_cry_screen.h | ||
pokedex_plus_hgss.h | ||
pokemon.h | ||
pokemon_animation.h | ||
pokemon_debug.h | ||
pokemon_icon.h | ||
pokemon_jump.h | ||
pokemon_size_record.h | ||
pokemon_storage_system.h | ||
pokemon_summary_screen.h | ||
pokenav.h | ||
random.h | ||
rayquaza_scene.h | ||
record_mixing.h | ||
recorded_battle.h | ||
region_map.h | ||
reload_save.h | ||
reset_rtc_screen.h | ||
reshow_battle_screen.h | ||
roamer.h | ||
rotating_gate.h | ||
rotating_tile_puzzle.h | ||
roulette.h | ||
rtc.h | ||
safari_zone.h | ||
save.h | ||
save_location.h | ||
scanline_effect.h | ||
script.h | ||
script_menu.h | ||
script_movement.h | ||
script_pokemon_util.h | ||
secret_base.h | ||
shop.h | ||
siirtc.h | ||
slot_machine.h | ||
sound.h | ||
start_menu.h | ||
starter_choose.h | ||
strings.h | ||
task.h | ||
test_runner.h | ||
text_window.h | ||
tileset_anims.h | ||
tilesets.h | ||
time_events.h | ||
title_screen.h | ||
trade.h | ||
trader.h | ||
trainer_card.h | ||
trainer_hill.h | ||
trainer_pokemon_sprites.h | ||
trainer_see.h | ||
trig.h | ||
tv.h | ||
union_room.h | ||
union_room_battle.h | ||
union_room_chat.h | ||
union_room_player_avatar.h | ||
util.h | ||
vs_seeker.h | ||
walda_phrase.h | ||
wallclock.h | ||
wild_encounter.h | ||
wonder_news.h |