pokeemerald/include
LOuroboros 9d6953cc63
Removed the sTMHMMoves array and made TMs/HMs read moves from their secondaryId item field (#3243)
* Deleted sTMHMMoves array, TMs/HMs read moves from their secondaryId item field now
The unused "registrability" variable has been removed in order to preserve the size of the gItems array after turning the secondaryId variable into a u16.
* Made ItemIdToBattleMoveId return ITEM_NONE if an item that is not a TM/HM is passed through it
* Renamed IsMoveHm to IsMoveHM
2023-08-21 12:49:17 +01:00
..
config Merge branch 'RHH/master' into RHH/upcoming 2023-08-02 01:18:07 -04:00
constants Merge branch 'RHH/upcoming' into RHH/pr/upcoming/cleanup/customTrainer 2023-08-11 11:41:44 -04:00
gba Optimize sprite.c (#3175) 2023-08-03 15:57:04 +03:00
test Merge branch 'RHH/master' into RHH/upcoming 2023-08-12 16:31:44 -04:00
agb_flash.h Clean up the last extern functions 2019-03-02 03:18:08 -05:00
AgbRfu_LinkManager.h Add LINK_MANAGER field comments from SDK 2021-07-11 16:48:59 -04:00
apprentice.h Renaming Script Contexts 2022-08-15 15:18:12 -04:00
bard_music.h Review changes 2022-10-27 11:26:09 -03:00
battle_ai_main.h AI knows Party mons 2022-08-23 11:58:17 +02:00
battle_ai_switch_items.h Battle Item Refactor (#2902) 2023-04-14 19:25:50 +01:00
battle_ai_util.h some more stuff 2023-07-18 12:01:25 +02:00
battle_anim.h Merge branch 'RHH/master' into RHH/upcoming 2023-07-25 14:38:53 -04:00
battle_arena.h Add some missing battle arena constants 2022-08-11 12:02:56 -04:00
battle_bg.h Organized conffig files into their own folder and cleaned up 2022-11-14 11:03:49 -03:00
battle_controllers.h Merge remote-tracking branch 'pret/master' into RHH/pr/pretMerge_20220902 2022-09-02 23:24:08 -04:00
battle_debug.h battle_config.h tweaks 2020-12-23 13:16:01 -03:00
battle_dome.h Document Battle Dome scripts and some battle_dome.c 2019-12-20 16:53:33 -05:00
battle_factory_screen.h Factory done 2018-11-11 16:44:27 +01:00
battle_factory.h Add bugfix for Battle Factory trainer IVs 2022-03-30 09:37:03 -04:00
battle_gfx_sfx_util.h Cleaned up remaining Castform hack stuff (#3063) 2023-06-30 09:58:07 +02:00
battle_interface.h Remove unused battle funcs 2023-04-10 14:39:14 +02:00
battle_main.h Merge branch 'RHH/upcoming' into RHH/pr/upcoming/cleanup/customTrainer 2023-08-11 11:41:44 -04:00
battle_message.h Added yet another trainer slide condition 2023-03-02 06:16:44 -03:00
battle_pike.h Document Battle Pie 2018-11-12 14:36:31 +01:00
battle_pyramid_bag.h Start misc battle documentation 2021-10-08 16:39:46 -04:00
battle_pyramid.h Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into HEAD 2022-04-02 18:45:18 -03:00
battle_records.h identify and name battle records things 2018-05-01 15:33:13 +02:00
battle_script_commands.h MOVE_REVIVAL_BLESSING Effect (#2883) 2023-04-12 01:14:25 +01:00
battle_scripts.h Merge branch 'RHH/master' into RHH/upcoming 2023-08-02 01:18:07 -04:00
battle_setup.h Ported TheXaman's latest changes to the Debug Menu (#2815) 2023-07-18 09:17:03 +02:00
battle_tent.h Use macros for summary windows 2019-03-03 16:50:51 -05:00
battle_tower.h Label remaining subs in battle_tower.c 2020-12-24 16:18:47 -05:00
battle_transition_frontier.h Drop battle transition 'phase' terminology 2021-10-25 10:20:48 -04:00
battle_transition.h Continue battle_transition documenting 2021-10-29 11:24:36 -04:00
battle_tv.h decompile and document battle tv 2018-02-27 20:40:09 +01:00
battle_util.h Refactor damage formula to match Gen5+ (#3196) 2023-08-11 16:28:38 -04:00
battle_util2.h Document some single-remaining symbols 2021-09-24 17:14:20 -04:00
battle_z_move.h End of file 2023-02-28 00:09:43 -03:00
battle.h Merge branch 'RHH/master' into RHH/upcoming 2023-08-11 17:50:28 -04:00
berry_blender.h Finish documenting berry blender 2020-08-24 17:06:55 -04:00
berry_crush.h Document Berry Crush 2021-03-18 15:18:23 -04:00
berry_fix_program.h decompile title screen 2018-02-04 16:11:00 +01:00
berry_powder.h Decompile berry_powder.c 2019-03-24 14:50:16 -05:00
berry_tag_screen.h forgot a semicolon LMAO 2018-02-02 16:09:17 +01:00
berry.h Document Berry Crush 2021-03-18 15:18:23 -04:00
bike.h Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into HEAD 2022-04-02 18:45:18 -03:00
braille_puzzles.h Document the regi* code more 2019-02-15 18:24:55 -05:00
cable_club.h Document remaining overworld 2021-04-06 16:55:43 -04:00
clear_save_data_menu.h decompile title screen 2018-02-04 16:11:00 +01:00
clock.h clean up files 2018-02-28 13:07:58 +01:00
coins.h Give/Take to Add/Remove for silent script macros 2020-01-12 23:24:52 -05:00
confetti_util.h Specify confetti util name 2020-06-18 18:14:30 -04:00
config.h Set GEN_LATEST to GEN_9 (#3186) 2023-07-31 15:41:53 +02:00
contest_ai.h Port contest ai from pokeruby 2018-08-15 11:43:57 +02:00
contest_effect.h Gen 4+ moves get contest effects (#319) 2020-04-13 15:05:10 +02:00
contest_link.h Document misc contest 2020-08-16 02:50:35 -04:00
contest_painting.h Document contest painting image processing effects 2019-11-10 16:37:26 -06:00
contest_util.h Misc contest cleanup 2021-04-22 15:51:04 -04:00
contest.h Revert "Removed Unown hack" 2023-01-07 11:39:56 -03:00
coord_event_weather.h decompile_coord_event_weather 2018-01-29 16:46:56 +01:00
credits.h Document some credits 2021-03-29 08:52:40 -04:00
crt0.h Update modern linker script 2021-11-04 17:28:41 -04:00
data.h Merge branch 'RHH/upcoming' into RHH/pr/upcoming/cleanup/customTrainer 2023-08-11 11:41:44 -04:00
daycare.h Document record mixing mail swap 2021-10-24 15:49:19 -04:00
debug.h Ported TheXaman's latest changes to the Debug Menu (#2815) 2023-07-18 09:17:03 +02:00
decompress.h Merge remote-tracking branch 'pret/master' into 'rhh/master' 2023-07-25 19:49:18 +01:00
decoration_inventory.h Document decoration.c 2020-03-06 09:47:20 +00:00
decoration.h Document decoration.c 2020-03-06 09:47:20 +00:00
dewford_trend.h Document Dewford Trend 2021-03-31 16:08:42 -04:00
digit_obj_util.h Document some generic argument names 2022-05-31 14:34:25 -04:00
diploma.h add diploma header and static names fix 2017-10-09 13:55:31 +02:00
dodrio_berry_picking.h Document dodrio berry picking 2021-03-03 14:26:05 -05:00
dynamic_placeholder_text_util.h Clean up files and add entries to charmap 2018-07-24 21:18:23 -07:00
easy_chat.h Merge remote-tracking branch 'pret/master' into RHH/pr/sync/pretsync20230413 2023-04-13 17:05:48 -04:00
egg_hatch.h Clear up misleading egg step name 2020-05-27 16:41:23 -04:00
ereader_helpers.h Clean up some trainer hill 2022-03-31 12:54:07 -04:00
ereader_screen.h Document some mystery gift 2021-10-14 15:10:41 -04:00
event_data.h Merge branch 'master' of https://github.com/pret/pokeemerald into tx_debug_system 2021-11-18 15:13:04 +01:00
event_object_lock.h Fix some object lock names 2021-05-04 01:21:50 -04:00
event_object_movement.h Use constants for overworld object palette slots 2022-09-27 20:16:48 -04:00
event_scripts.h Document battle tower TV show 2022-06-14 09:37:39 -04:00
evolution_graphics.h Document some generic argument names 2022-05-31 14:34:25 -04:00
evolution_scene.h Struct pointers star standarizing 2022-07-29 11:15:33 -04:00
expansion_intro.h [intro] refactor expansion intro 2023-02-09 23:12:29 +01:00
faraway_island.h Struct pointers star standarizing 2022-07-29 11:15:33 -04:00
field_camera.h Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
field_control_avatar.h Treat map data as const 2023-03-08 12:00:30 -05:00
field_door.h Label animated doors 2020-01-26 09:40:35 -06:00
field_effect_helpers.h Struct pointers star standarizing 2022-07-29 11:15:33 -04:00
field_effect.h Added missing labels in headers 2022-09-12 21:14:15 -03:00
field_message_box.h Document cable_club.c 2020-06-06 16:10:03 -04:00
field_player_avatar.h Added missing labels in headers 2022-09-12 21:14:15 -03:00
field_poison.h Document field_poison 2019-10-06 20:04:30 -04:00
field_screen_effect.h Finish updating macro comments 2021-11-18 01:47:58 -05:00
field_special_scene.h Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
field_specials.h Merge master into ObjEvent rename and prune accidental inclusions 2020-01-08 05:43:06 -05:00
field_tasks.h decompile field tasks 2018-05-19 18:02:43 +02:00
field_weather.h Merge branch 'master' into thunder 2022-10-18 04:37:56 +00:00
fieldmap.h Treat map data as const 2023-03-08 12:00:30 -05:00
fldeff_misc.h Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
fldeff.h Implemented Honey's Sweet Scent functionality 2022-10-16 20:20:13 -03:00
fonts.h Convert fonts.s to C 2021-10-31 01:44:18 -04:00
fpmath.h Refactor damage formula to match Gen5+ (#3196) 2023-08-11 16:28:38 -04:00
frontier_pass.h Document and decompile more of frontier pass. 2019-01-26 14:50:24 +01:00
frontier_util.h Merge master into ObjEvent rename 2019-11-25 20:00:04 -05:00
global.berry.h Documenting padding in structs used by Saveblocks 2022-12-17 22:55:43 -03:00
global.fieldmap.h Treat map data as const 2023-03-08 12:00:30 -05:00
global.h Merge branch 'RHH/master' into RHH/upcoming 2023-08-02 01:18:07 -04:00
global.tv.h Documenting padding in structs used by Saveblocks 2022-12-17 22:55:43 -03:00
graphics.h Merge branch 'RHH/master' into RHH/upcoming 2023-08-02 01:18:07 -04:00
gym_leader_rematch.h Start misc battle documentation 2021-10-08 16:39:46 -04:00
hall_of_fame.h Document confetti 2020-06-17 03:39:03 -04:00
heal_location.h port larger heal location changes from poke ruby pr 2018-08-10 10:45:15 -04:00
image_processing_effects.h Match ConvertImageProcessingToGBA 2019-11-12 17:25:02 +01:00
international_string_util.h Standarized use of star in pointer types 2022-07-29 10:17:58 -04:00
intro_credits_graphics.h Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
intro.h [intro] refactor expansion intro 2023-02-09 23:12:29 +01:00
item_icon.h Strangest match 2021-02-28 10:06:07 -06:00
item_menu_icons.h Document item menu 2021-08-10 22:13:02 -04:00
item_menu.h Detect potential misalignment in modern 2023-07-24 19:42:56 +01:00
item_use.h Battle Item Refactor (#2902) 2023-04-14 19:25:50 +01:00
item.h Removed the sTMHMMoves array and made TMs/HMs read moves from their secondaryId item field (#3243) 2023-08-21 12:49:17 +01:00
landmark.h Split/extract/port landmark 2017-12-26 21:20:29 -06:00
libgcnmultiboot.h Typo Fix 2020-07-17 15:49:46 -04:00
librfu.h Detect potential misalignment in modern 2023-07-24 19:42:56 +01:00
lilycove_lady.h Document Contest Lady TV Show 2021-04-02 01:49:38 -04:00
link_rfu.h Merge remote-tracking branch 'pret/master' into RHH/sync/pret_20230214 2023-02-15 14:11:03 -03:00
link.h Detect potential misalignment in modern 2023-07-24 19:42:56 +01:00
list_menu.h Add list menu cursor constants 2022-11-09 15:16:46 -05:00
load_save.h [doc] fix misnamed dma <--> aslr 2022-09-07 14:37:03 +02:00
lottery_corner.h make lots of define files 2017-09-07 19:45:32 +02:00
m4a.h Up to sub_81446DC 2018-12-31 19:39:41 -06:00
mail.h Revert "Removed Unown hack" 2023-01-07 11:39:56 -03:00
main_menu.h removed unnecessary script, cheat start now with national dex, reverted accidental type hin removal, changed indentation 2022-09-02 12:10:11 +02:00
main.h Test moves, items, and abilities in battle 2023-02-01 13:53:57 +00:00
map_name_popup.h Decompile map_name_popup 2018-04-09 12:52:28 +05:30
match_call.h Document match_call.c 2021-04-01 03:29:15 -04:00
math_util.h Document math_util.c 2020-05-24 08:28:02 -05:00
mauville_old_man.h Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
menu_helpers.h Document some generic argument names 2022-05-31 14:34:25 -04:00
menu_specialized.h Use window constants for move relearner 2022-09-29 12:10:10 -04:00
menu.h Added missing labels in headers 2022-09-12 21:14:15 -03:00
metatile_behavior.h Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into HEAD 2022-04-02 18:45:18 -03:00
mini_printf.h [debug] add support for mgba printf 2022-09-06 13:40:31 +02:00
minigame_countdown.h Sync minigame_countdown 2020-04-08 17:23:32 -04:00
mirage_tower.h Document mirage_tower.c. (Combine fldeff_groundshake.c and fossil_specials.c) 2018-12-25 11:46:35 -06:00
mon_markings.h Detect potential misalignment in modern 2023-07-24 19:42:56 +01:00
money.h Changed 999999 in MaxMoney to MAX_MONEY constant (#3015) 2023-05-20 08:25:59 -04:00
move_relearner.h Rename move tutor to move relearner 2019-03-04 20:56:39 -05:00
multiboot_pokemon_colosseum.h Almost finish decompiling intro 2018-02-15 16:54:34 -06:00
multiboot.h Start decomp 2017-09-18 09:23:06 -04:00
mystery_event_menu.h decompile mystery event menu 2018-01-30 23:23:35 +01:00
mystery_event_msg.h Correct usage of MysteryEvent to MysteryGift 2021-10-17 03:00:48 -04:00
mystery_event_script.h Finish updating macro comments 2021-11-18 01:47:58 -05:00
mystery_gift_client.h Correct usage of MysteryEvent to MysteryGift 2021-10-17 03:00:48 -04:00
mystery_gift_link.h Correct usage of MysteryEvent to MysteryGift 2021-10-17 03:00:48 -04:00
mystery_gift_menu.h Use window constants in mystery_gift_menu 2022-09-29 15:48:19 -04:00
mystery_gift_server.h Correct usage of MysteryEvent to MysteryGift 2021-10-17 03:00:48 -04:00
mystery_gift_view.h Correct usage of MysteryEvent to MysteryGift 2021-10-17 03:00:48 -04:00
mystery_gift.h Correct usage of MysteryEvent to MysteryGift 2021-10-17 03:00:48 -04:00
naming_screen.h Start documenting naming screen 2020-08-07 02:00:41 -04:00
new_game.h Found a debug system for pokemon contests 2019-04-02 21:51:21 -04:00
option_menu.h decompile option menu 2018-01-16 18:59:06 +01:00
overworld.h Fixed outstanding UB with -fanalyzer on modern 2023-07-21 15:51:03 -04:00
palette_util.h Document files with a few remaining symbols 2021-11-02 18:06:06 -04:00
palette.h Detect potential misalignment in modern 2023-07-24 19:42:56 +01:00
party_menu.h Removed the sTMHMMoves array and made TMs/HMs read moves from their secondaryId item field (#3243) 2023-08-21 12:49:17 +01:00
pc_screen_effect.h Decompile a bit of pokemon storarage system 2018-08-12 16:40:31 +02:00
play_time.h begin working on pokeemerald 2017-08-31 16:48:24 +02:00
player_pc.h Document player pc 2021-08-02 13:58:40 -04:00
pokeball.h Merge remote-tracking branch 'pret/master' into 'rhh/master' 2023-07-25 19:49:18 +01:00
pokeblock.h Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into HEAD 2022-04-02 18:45:18 -03:00
pokedex_area_region_map.h Document some single-remaining symbols 2021-09-24 17:14:20 -04:00
pokedex_area_screen.h Standarized use of star in pointer types 2022-07-29 10:17:58 -04:00
pokedex_cry_screen.h Struct pointers star standarizing 2022-07-29 11:15:33 -04:00
pokedex.h Organized conffig files into their own folder and cleaned up 2022-11-14 11:03:49 -03:00
pokemon_animation.h Merge branch 'battle_engine' of github.com:rh-hideout/pokeemerald-expansion into master_sync 2021-06-07 18:05:52 -07:00
pokemon_debug.h added option to view changes for front/back sprite picCoords and elevation live 2021-12-13 22:31:37 +01:00
pokemon_icon.h Mon graphics are now loaded depending on their availability 2023-07-07 14:36:30 -04:00
pokemon_jump.h Document pokemon jump 2021-02-26 17:26:39 -05:00
pokemon_size_record.h port pokemon size record 2017-09-08 22:23:14 +02:00
pokemon_storage_system.h Merge branch 'tx_debug_system' of https://github.com/TheXaman/pokeemerald into tx_debug_system_rhh 2022-08-29 19:13:11 +02:00
pokemon_summary_screen.h Merge remote-tracking branch 'pret/master' into RHH/pr/pretmerge_20220925 2022-10-01 17:32:32 -03:00
pokemon.h Removed the sTMHMMoves array and made TMs/HMs read moves from their secondaryId item field (#3243) 2023-08-21 12:49:17 +01:00
pokenav.h Cleaned trailing whitespace 2022-09-11 14:14:49 -04:00
random.h Merge branch 'RHH/master' into RHH/upcoming 2023-07-25 14:38:53 -04:00
rayquaza_scene.h Start documenting rayquaza_scene 2020-08-25 17:49:42 -04:00
record_mixing.h Document record mixing mail swap 2021-10-24 15:49:19 -04:00
recorded_battle.h fix gChosenMovePos not being assigned correctly for battle items 2023-04-26 01:02:47 +02:00
region_map.h Use window constants in region_map 2022-09-29 13:11:38 -04:00
reload_save.h Continue misc link documentation, rename reset_save_heap 2021-10-05 23:37:54 -04:00
reset_rtc_screen.h Fixed struct names 2021-12-28 14:48:57 -03:00
reshow_battle_screen.h Document battle_controller_player.c 2021-01-22 20:03:27 -05:00
roamer.h decompile roamer 2017-09-28 20:52:36 +02:00
rotating_gate.h Move HEAP_SIZE to malloc and use void instead of empty argument list 2018-10-14 20:00:14 +02:00
rotating_tile_puzzle.h Document rotating_tile_puzzle 2019-10-16 04:09:30 -04:00
roulette.h More roulette doc 2020-08-04 14:25:13 -04:00
rtc.h Decompile match_call.c 2019-01-02 19:46:15 -06:00
safari_zone.h start working on battle setup 2017-11-28 23:02:09 +01:00
save_location.h Label GCN link flags field 2020-04-13 08:42:31 -04:00
save.h Sector security -> signature 2022-08-05 10:42:31 -04:00
scanline_effect.h Detect potential misalignment in modern 2023-07-24 19:42:56 +01:00
script_menu.h Standarized use of star in pointer types 2022-07-29 10:17:58 -04:00
script_movement.h Standardize Event Object to Object Event 2019-11-20 22:55:44 -05:00
script_pokemon_util.h Merge branch 'master' of github.com:pret/pokeemerald into battle_engine_sync 2021-04-02 13:16:40 -07:00
script.h Moving documentation comments per request 2022-08-15 16:37:38 -04:00
secret_base.h Renaming Script Contexts 2022-08-15 15:18:12 -04:00
shop.h Clean up shop.c 2022-09-22 15:08:17 -04:00
siirtc.h Bugfixes from #591 2019-03-03 09:31:08 -06:00
slot_machine.h Rename tag offset functions 2020-05-24 08:24:20 -05:00
sound.h Review changes 2022-07-29 15:38:23 -04:00
start_menu.h Standarized use of star in pointer types 2022-07-29 10:17:58 -04:00
starter_choose.h Colorize and combine birch_bag/birch_grass 2023-01-12 15:22:23 -05:00
strings.h Allow for healing with items 2023-04-22 19:18:10 +02:00
task.h Use TASK_NONE constant 2021-02-24 11:03:25 -05:00
test_runner.h Failed tests are now listed in the total (#3073) 2023-07-14 10:17:54 +01:00
text_window.h Document files with a few remaining symbols 2021-11-02 18:06:06 -04:00
tileset_anims.h Convert tilesets.s to C 2022-09-27 17:23:26 -04:00
tilesets.h Convert tilesets.s to C 2022-09-27 17:23:26 -04:00
time_events.h decompile time events 2018-01-29 15:55:34 +01:00
title_screen.h Document intro, start intro_credits/credits 2021-03-28 23:13:56 -04:00
trade.h Updated term to modernFatefulEncounter 2023-02-11 22:36:42 -03:00
trader.h Document decoration.c 2020-03-06 09:47:20 +00:00
trainer_card.h Fix names and constant usage for union room classes 2022-08-23 12:44:07 -04:00
trainer_hill.h Added a constant for NPC trainer name length (#1712) 2022-07-25 22:59:13 -04:00
trainer_pokemon_sprites.h Merge branch 'battle_engine' of github.com:rh-hideout/pokeemerald-expansion into master_sync 2021-12-17 21:23:54 -08:00
trainer_see.h Rename 'hidden' Trainers/obj events to 'buried' 2021-02-14 19:25:23 +00:00
trig.h finish egg hatch, clean up headers 2017-09-19 14:27:46 +02:00
tv.h Label slot machine ids, fix GetPriceReduction 2021-11-16 15:43:52 -05:00
union_room_battle.h Document union_room.c 2020-05-31 13:11:18 -04:00
union_room_chat.h Easy Chat always shows words in uppercase 2023-06-06 10:55:42 -04:00
union_room_player_avatar.h Update argument names in link headers, link_rfu doc cleanup 2021-10-07 16:05:12 -04:00
union_room.h Cleaned trailing whitespace 2022-09-11 14:14:49 -04:00
util.h Standarized use of star in pointer types 2022-07-29 10:17:58 -04:00
walda_phrase.h Document walda_phrase 2021-09-26 17:01:39 -04:00
wallclock.h Begin porting/decompiling field_specials 2018-08-08 01:37:12 -07:00
wild_encounter.h Ported TheXaman's latest changes to the Debug Menu (#2815) 2023-07-18 09:17:03 +02:00
wonder_news.h Document wonder news 2022-11-22 02:17:03 -05:00