pokeemerald/include
DavidJCobb 9dc48899d3 BUFFER_A/B -> BATTLELINKMSGTYPE; link send/recv. task data names
Replaced the BUFFER_A and BUFFER_B constants with the BATTLELINKMSGTYPE enum, which also identifies the "controller becoming idle" message type.

Named the task data for the link send task and the link receive task. Added macros to functions related to those tasks, for legibility.
2025-04-26 00:13:42 -04:00
..
constants Merge pull request #2014 from Bassoonian/battleterrain 2025-04-13 19:32:06 -04:00
gba Get rid of common syms (#2040) 2024-10-14 23:52:11 -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 Document bard music (#2053) 2025-01-17 17:54:38 +00:00
battle_ai_script_commands.h label and document battle windows 2018-06-17 16:48:58 +02:00
battle_ai_switch_items.h Fix AI Guard Spec use, and Specs->Spec 2021-04-03 15:18:17 -04:00
battle_anim.h Rename battle terrain to environment 2024-07-13 12:02:18 +02:00
battle_arena.h Add some missing battle arena constants 2022-08-11 12:02:56 -04:00
battle_bg.h Document some battle_bg-related things 2019-11-07 18:24:04 -06:00
battle_controllers.h BUFFER_A/B -> BATTLELINKMSGTYPE; link send/recv. task data names 2025-04-26 00:13:42 -04: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 Document some generic argument names 2022-05-31 14:34:25 -04:00
battle_interface.h Additional battle anim sync 2022-08-19 11:51:13 -04:00
battle_main.h Clean up defines lacking spaces 2024-08-15 19:34:56 +02:00
battle_message.h Automatically update nickname buffer sizes 2023-08-08 16:28:09 -04: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 Rename GetBattlePyramindTrainerEncounterMusicId to fix typo 2022-02-22 19:13:17 +00:00
battle_records.h identify and name battle records things 2018-05-01 15:33:13 +02:00
battle_script_commands.h Change language stuff based on the french decomp 2022-08-04 11:53:16 +02:00
battle_scripts.h Document remainder of battle_controllers.c 2021-01-22 02:48:22 -05:00
battle_setup.h Rename battle terrain to environment 2024-07-13 12:02:18 +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 Clean up defines lacking spaces 2024-08-15 19:34:56 +02:00
battle_util2.h Document some single-remaining symbols 2021-09-24 17:14:20 -04:00
battle.h Merge pull request #2014 from Bassoonian/battleterrain 2025-04-13 19:32:06 -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
bg.h remove gflib 2024-09-18 10:37:34 -04:00
bike.h Misc cleanup 2022-01-04 10:09:42 -05:00
blit.h remove gflib 2024-09-18 10:37:34 -04: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 [debug] add support for mgba printf 2022-09-06 13:40:31 +02:00
contest_ai.h Port contest ai from pokeruby 2018-08-15 11:43:57 +02:00
contest_effect.h Decompile move tutor stuff 2019-03-08 01:56:38 -05: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 Clean up pokemon/ball/dex mentions in comments 2023-12-12 19:02:36 +01:00
coord_event_weather.h decompile_coord_event_weather 2018-01-29 16:46:56 +01:00
credits.h Remove ewram in headers 2023-08-10 20:11:07 -04:00
crt0.h Update modern linker script 2021-11-04 17:28:41 -04:00
data.h Clean up defines lacking spaces 2024-08-15 19:34:56 +02:00
daycare.h Document record mixing mail swap 2021-10-24 15:49:19 -04:00
decompress.h Detect potential misalignment in modern 2023-07-24 19:42:56 +01:00
decoration_inventory.h Document decoration.c 2020-03-06 09:47:20 +00:00
decoration.h Remove ewram in headers 2023-08-10 20:11:07 -04: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
dma3.h remove gflib 2024-09-18 10:37:34 -04: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 Document the trendy saying word group 2023-03-13 15:58:40 -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 General mystery gift documentation, finish mystery gift client/server/scripts 2021-10-16 23:35:17 -04:00
event_object_lock.h Fix some object lock names 2021-05-04 01:21:50 -04:00
event_object_movement.h Document camera sprite functions 2023-11-22 13:52:56 -05: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
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 Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
fonts.h Convert fonts.s to C 2021-10-31 01:44:18 -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 make linkDirection more robust to member reordering 2025-04-09 13:40:39 +02:00
global.h Fix offset for towerInterview in BattleFrontier 2025-03-15 17:45:42 -04:00
global.tv.h Fix Bravo Trainer Tower member names 2023-08-08 14:38:00 -04:00
gpu_regs.h remove gflib 2024-09-18 10:37:34 -04:00
graphics.h Merge pull request #2014 from Bassoonian/battleterrain 2025-04-13 19:32:06 -04:00
gym_leader_rematch.h Fix trainer match call flags 2024-08-15 23:00:20 +02: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 Remove duplicated CB2_InitCopyrightScreenAfterBootup 2022-07-29 10:52:36 +02:00
io_reg.h remove gflib 2024-09-18 10:37:34 -04: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 Sync map header property names with pokefirered 2020-04-28 19:59:08 -05:00
item.h Reference TMs and HMs by move instead of number (#1732) 2023-08-09 10:51:01 -04: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 branch 'master' of https://github.com/pret/pokeemerald into sync-trade 2023-01-23 14:45:51 -05: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 Clean up defines lacking spaces 2024-08-15 19:34:56 +02:00
main_menu.h Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
main.h Label remaining symbols in graphics.c 2021-10-27 13:47:18 -04:00
malloc.h remove gflib 2024-09-18 10:37:34 -04: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 Clean up defines lacking spaces 2024-08-15 19:34:56 +02:00
menu.h Added missing labels in headers 2022-09-12 21:14:15 -03:00
metatile_behavior.h Fix decorations metatile attribute names 2022-01-19 10:56:54 -05: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 Standarized use of star in pointer types 2022-07-29 10:17:58 -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 Continue documenting generic arguments 2022-06-03 15:38: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 Standarized use of star in pointer types 2022-07-29 10:17:58 -04: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 Fix priortiy typos 2023-07-19 17:33:28 +02:00
pokeblock.h Move pokemon and easy chat constants to global, misc clean-up 2021-12-28 18:07:41 -05: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 Document pokedex.c 2020-03-09 16:24:01 -04:00
pokemon_animation.h Document pokemon animation types 2021-04-10 00:50:28 -04:00
pokemon_icon.h Convert GF ROM header to C 2021-11-01 01:42:02 -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 Document some generic argument names 2022-05-31 14:34:25 -04:00
pokemon_summary_screen.h Clean up pokemon/ball/dex mentions in comments 2023-12-12 19:02:36 +01:00
pokemon.h Changed type1 and type2 to be consistent (#2021) 2024-08-07 06:44:03 +01:00
pokenav.h Add PokéNav too 2023-12-12 23:20:22 +01:00
random.h Clean up defines lacking spaces 2024-08-15 19:34:56 +02: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 Clean up recorded_battle, add MOVE_IS_PERMANENT 2021-10-12 01:14:17 -04: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 decompile title screen 2018-02-04 16:11:00 +01: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 Fix conflicting types for rotating gate functions (#2087) 2025-01-17 18:19:21 -05: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 Fix some missing constant use in Apprentice 2023-08-10 00:38:23 -04:00
script_movement.h Standardize Event Object to Object Event 2019-11-20 22:55:44 -05:00
script_pokemon_util.h Add missing include guard suffixes 2021-04-02 12:54:40 -04:00
script.h Moving documentation comments per request 2022-08-15 16:37:38 -04:00
secret_base.h remove ScriptContext_Enable from secret_base.h 2024-09-14 19:13:02 +02:00
shop.h Remove ewram in headers 2023-08-10 20:11:07 -04:00
siirtc.h Renamed time amounts 2023-09-20 19:04:50 -03: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
sprite.h Extern gSprites and gOamMatrices with known array size (#2090) 2025-01-17 18:18:17 -05: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
string_util.h remove gflib 2024-09-18 10:37:34 -04:00
strings.h Add PokéNav too 2023-12-12 23:20:22 +01:00
task.h Use TASK_NONE constant 2021-02-24 11:03:25 -05:00
text_window.h Document files with a few remaining symbols 2021-11-02 18:06:06 -04:00
text.h remove gflib 2024-09-18 10:37:34 -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 Clean up trainer_pokemon_sprites 2021-10-18 01:56:24 -04: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 Document union_room_chat.c 2020-06-02 18:35:00 -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 Clean up pokedex_area_screen 2021-12-31 00:16:56 -05:00
window.h remove gflib 2024-09-18 10:37:34 -04:00
wonder_news.h Document wonder news 2022-11-22 02:17:03 -05:00