pokeemerald/include
Ct11217 a4b53126f6 Added AI_FLAG_ACE_POKEMON
When this flag is set, the trainer will have an "Ace" pokemon that will
always be sent out last.
If this flag is set, the last Pokemon in the party will be considered the
"Ace" Pokemon.

This is similar to the gym leader functionality found in Sword & Shield.
2022-08-17 18:23:12 -06:00
..
constants Added AI_FLAG_ACE_POKEMON 2022-08-17 18:23:12 -06:00
gba Continue documenting generic arguments 2022-06-03 15:38:03 -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 Document Apprentice 2019-11-20 17:36:52 -05:00
bard_music.h Label bard music pitch table 2021-01-28 16:36:56 -05:00
battle_ai_main.h move ai score calc to STATE_TURN_START_RECORD so AI can consider move selection for item use 2022-06-05 11:09:04 -04:00
battle_ai_switch_items.h revert ai item usage code 2021-11-28 13:12:56 -05:00
battle_ai_util.h merge w be 2022-07-17 12:40:43 -04:00
battle_anim.h Merge branch 'battle_engine' into BE_pretmerge 2022-07-20 08:50:30 -04:00
battle_arena.h Add usage of battle strings table offset constant 2022-03-10 10:44:04 -05:00
battle_bg.h permanent terrain move bgs 2020-11-17 19:45:27 -07:00
battle_controllers.h Merge branch 'battle_engine' into BE_pretmerge 2022-07-20 08:50:30 -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 Merge tag 'pretmaster' into BE_pretmerge2 2022-07-15 12:58:46 -04:00
battle_interface.h Merge branch 'battle_engine' into BE_pretmerge 2022-07-20 08:50:30 -04:00
battle_main.h Merge tag 'pretmaster' into BE_pretmerge2 2022-07-15 12:58:46 -04:00
battle_message.h Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into BE/z-moves 2022-03-22 12:56:23 -05: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 merge w be 2022-06-05 08:22:24 -04:00
battle_scripts.h merge w be 2022-07-17 12:40:43 -04:00
battle_setup.h Merge tag 'pretmaster' into BE_pretmerge2 2022-07-15 12:58:46 -04: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 Added corner case logic for AI Switching. 2022-08-11 22:48:36 -06:00
battle_util2.h Document some single-remaining symbols 2021-09-24 17:14:20 -04:00
battle_z_move.h Fixed calls to IsZMove 2022-07-21 15:32:14 -04:00
battle.h Update include/battle.h 2022-07-19 19:03:05 -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 Misc cleanup 2022-01-04 10:09:42 -05: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 BUGFIX implies UBFIX 2020-12-13 16:16:48 -05: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 Merge branch 'master' of https://github.com/GriffinRichards/pokeemerald into doc-arg 2022-06-03 15:43:21 -04: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 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into BE/z-moves 2021-12-16 21:44:01 -06:00
daycare.h Document record mixing mail swap 2021-10-24 15:49:19 -04:00
decompress.h Continue documenting generic arguments 2022-06-03 15:38:03 -04: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 Move pokemon and easy chat constants to global, misc clean-up 2021-12-28 18:07:41 -05: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 Z coord / height -> elevation 2022-01-21 12:48:19 -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 evo scene file is done 2017-10-29 16:15:23 +01:00
faraway_island.h Document faraway island 2020-07-19 14:12:38 -04:00
field_camera.h Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
field_control_avatar.h Remove dead sub references 2021-11-17 15:47:47 -05:00
field_door.h Label animated doors 2020-01-26 09:40:35 -06:00
field_effect_helpers.h Document disguise field effects 2021-04-06 14:51:39 -04:00
field_effect.h Continue documenting overworld/field effects 2020-06-29 01:26:29 -04:00
field_message_box.h Document cable_club.c 2020-06-06 16:10:03 -04:00
field_player_avatar.h Continue documenting generic arguments 2022-06-03 15:38:03 -04: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 More updating event macro comments 2021-11-16 17:46:34 -05:00
fieldmap.h Z coord / height -> elevation 2022-01-21 12:48:19 -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 Fix up berry sparkle 2021-01-26 05:40:34 -05:00
global.fieldmap.h Merge pull request #1616 from GriffinRichards/missing-req 2022-02-02 22:09:36 -05:00
global.h Merge tag 'pretmaster' into BE_pretmerge2 2022-07-15 12:58:46 -04:00
global.tv.h Some TV clean-up 2021-11-16 16:22:17 -05:00
graphics.h add potlergeist animation 2022-05-23 08:53:08 -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 Document files with a few remaining symbols 2021-11-02 18:06:06 -04:00
intro_credits_graphics.h Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
intro.h Document the intro movie state machine 2019-02-09 21:07:07 -05: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 Document item menu 2021-08-10 22:13:02 -04:00
item_use.h Use more specific enum names for throwable Balls 2021-12-05 23:17:44 +00:00
item.h Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into flingBE 2022-03-26 08:43:55 -03: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 Removed trailing spaces in the most relevant files 2021-08-24 19:59:32 -03:00
lilycove_lady.h Document Contest Lady TV Show 2021-04-02 01:49:38 -04:00
link_rfu.h Fix misleading RecordMixTrainerNames name 2021-10-11 10:39:37 -04:00
link.h Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
list_menu.h Document some generic argument names 2022-05-31 14:34:25 -04:00
load_save.h Merge branch 'master' into fix_saveblock_reorder 2021-11-13 23:19:57 -05: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 Add PARTY_NOTHING_CHOSEN 2021-11-15 10:57:06 -05: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
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 Document some generic argument names 2022-05-31 14:34:25 -04:00
menu.h Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
metatile_behavior.h Fix decorations metatile attribute names 2022-01-19 10:56:54 -05: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 Rename mon markings struct 2021-02-28 17:11:46 -06:00
money.h Port/decomp scrcmd 2017-10-12 02:06:19 -05: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 Correct usage of MysteryEvent to MysteryGift 2021-10-17 03:00:48 -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 Label unknown palette functions 2021-11-08 16:08:36 -05:00
party_menu.h Add misc party constant usage 2020-04-09 15:18:53 -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 Continue documenting generic arguments 2022-06-03 15:38:03 -04: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 Decompile pokedex_area_screen.c (#412) 2018-11-30 10:41:03 -06:00
pokedex_cry_screen.h Document pokedex cry screen 2020-03-10 14:02:03 -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 Doc storage - choose box menu, move wallpaper gfx 2021-04-15 18:46:20 -04:00
pokemon.h Merge branch 'battle_engine' into BE_pretmerge 2022-07-20 08:50:30 -04:00
pokenav.h Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
random.h Use macro for randomization with ISO value 2020-02-25 12:54:08 -06: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 Correct CreateRegionMapPlayerIcon's argument names 2022-06-03 15:04:52 +01:00
reload_save.h Continue misc link documentation, rename reset_save_heap 2021-10-05 23:37:54 -04:00
reset_rtc_screen.h Merge branch 'master' of github.com:pret/pokeemerald into battle_engine_sync 2021-03-22 23:08:19 -07: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 Move pokemon and easy chat constants to global, misc clean-up 2021-12-28 18:07:41 -05:00
scanline_effect.h Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
script_menu.h Continue updating event macro comments 2021-11-16 13:10:23 -05: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 Clean up script.c 2021-02-24 11:03:17 -05:00
secret_base.h Some script clean up, document secret base secrets show 2020-01-12 19:39:30 -06:00
shop.h shop: document some constants s.t. object events don't break 2020-06-03 19:55:15 -05: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 Disambiguate cry functions 2021-11-07 14:26:09 -05:00
start_menu.h Document cable_club.c 2020-06-06 16:10:03 -04:00
starter_choose.h Document starter_choose.c 2020-07-06 17:26:25 -04:00
strings.h Merge pull request #1550 from GriffinRichards/doc-pokenav 2021-11-17 14:47:34 -05: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
tileset_anims.h Fully document tileset animations 2019-02-08 15:07:42 -06:00
tilesets.h undo revert 2017-10-23 14:40:22 +02: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 Continue documenting generic arguments 2022-06-03 15:38:03 -04:00
trader.h Document decoration.c 2020-03-06 09:47:20 +00:00
trainer_card.h Document some generic argument names 2022-05-31 14:34:25 -04:00
trainer_hill.h Move trainer hill map data to bin files 2022-03-31 14:08:31 -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 Document some mystery gift 2021-10-14 15:10:41 -04:00
util.h Reformat mevent server and client scripts 2019-04-03 17:04:42 -05: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 Merge branch 'master' of github.com:pret/pokeemerald into battle_engine_sync 2022-02-28 22:13:14 -08:00
wonder_news.h Correct usage of MysteryEvent to MysteryGift 2021-10-17 03:00:48 -04:00