pokeemerald/include
BuffelSaft ea6ce80ad4 Fix protect-like moves
Make Protect-like moves (King's Shield etc.) activate only if the attacker would've touched the target.
This does not handle Sucker Punch, because that's not working correctly with Protect currently and will need to be addressed separately.
2021-09-01 19:57:03 +12:00
..
constants Merge branch 'master' of github.com:pret/pokeemerald into battle_engine_sync 2021-08-16 15:43:27 -07:00
gba Update IsPokemonCryPlaying 2021-05-13 11:23:11 -05:00
agb_flash.h Clean up the last extern functions 2019-03-02 03:18:08 -05:00
AgbRfu_LinkManager.h Undo PokeCodec's PRs 2020-09-13 06:30:55 -03: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 fix up some negative checks, organize some effects in AI_CheckBadMove 2021-01-04 15:30:02 -07:00
battle_ai_switch_items.h merge with be 2021-05-23 12:22:52 -06:00
battle_ai_util.h AI_IsTerrainAffected checks 2021-07-10 16:41:41 -06:00
battle_anim.h Merge branch 'master' of github.com:pret/pokeemerald into battle_engine_sync 2021-08-11 16:33:10 -07:00
battle_arena.h Document battle arena 2019-02-08 09:41:36 -06:00
battle_bg.h permanent terrain move bgs 2020-11-17 19:45:27 -07:00
battle_controllers.h Allow larger exp gains 2021-06-03 23:17:44 +02: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 Document battle factory functions 2019-02-07 12:58:09 -06:00
battle_gfx_sfx_util.h Merge branch 'master' of github.com:pret/pokeemerald into battle_engine_sync 2021-04-02 13:16:40 -07:00
battle_interface.h fix hp boxes not dissapearing 2021-02-02 23:30:08 -07:00
battle_main.h Merge branch 'master' of github.com:pret/pokeemerald into battle_engine_sync 2021-03-22 23:08:19 -07:00
battle_message.h Merge branch 'master' of github.com:pret/pokeemerald into battle_engine_sync 2021-04-27 18:36:37 -07:00
battle_pike.h Document Battle Pie 2018-11-12 14:36:31 +01:00
battle_pyramid_bag.h Document item menu 2021-08-10 22:13:02 -04:00
battle_pyramid.h Merge master into ObjEvent rename 2019-12-15 02:00:00 -05:00
battle_records.h identify and name battle records things 2018-05-01 15:33:13 +02:00
battle_script_commands.h merge with be 2021-03-28 17:29:22 -06:00
battle_scripts.h Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into inner_focus 2021-06-07 19:22:20 -03:00
battle_setup.h Merge branch 'master' of github.com:pret/pokeemerald into battle_engine_sync 2021-03-22 23:08:19 -07: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 Document unk_transition 2020-07-02 15:45:37 -04:00
battle_transition.h Merge branch 'master' into doc-overworld 2020-07-18 20:24:09 -04:00
battle_tv.h decompile and document battle tv 2018-02-27 20:40:09 +01:00
battle_util2.h Document party_menu second pass 2019-10-31 03:25:56 -04:00
battle_util.h Merge pull request #1540 from DizzyEggg/rage_powder 2021-07-24 07:15:58 -06:00
battle.h Fix protect-like moves 2021-09-01 19:57:03 +12: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 Document object lock and some trainer approach 2021-01-26 04:42:18 -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 Misc contest cleanup 2021-04-22 15:51:04 -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 HandleLinkConnection 2017-11-13 01:01:27 -05:00
data.h Document battler sprite affine anims, default pokeball throw 2021-04-25 02:18:34 -04:00
daycare.h Document TV 2021-04-26 12:35:35 -04:00
decompress.h 3.5 asm left 2018-12-17 23:00:08 +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 Sync digit_obj_util 2020-04-08 16:27:11 -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 Document easy chat 2021-02-24 11:03:45 -05:00
egg_hatch.h Clear up misleading egg step name 2020-05-27 16:41:23 -04:00
ereader_helpers.h Restore EReaderTrainerHillSet dummy 2021-05-04 15:43:24 -04:00
ereader_screen.h Document mystery_gift 2019-03-31 18:59:52 -04:00
event_data.h Allow flag/var counts to be updated alongside values 2020-06-24 17:00:19 -04:00
event_object_lock.h Fix some object lock names 2021-05-04 01:21:50 -04:00
event_object_movement.h event_object_movement cleanup 2021-04-06 17:55:29 -04:00
event_scripts.h Document item menu 2021-08-10 22:13:02 -04:00
evolution_graphics.h Document evolution scene 2021-02-03 17:55:37 -05: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 Minor misc field doc 2021-04-06 17:17:41 -04:00
field_control_avatar.h Document some overworld and field effects 2020-06-23 15:48:53 -04: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 Document some event object movement 2021-04-06 14:34:36 -04:00
field_poison.h Document field_poison 2019-10-06 20:04:30 -04:00
field_screen_effect.h Label some ReturnToField funcs 2021-01-01 17:11:06 -05:00
field_special_scene.h Document some warp/field screen effect 2019-12-17 05:23:07 -05: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 Document some weather, field effects 2021-04-04 17:52:07 -04:00
fieldmap.h Document fieldmap 2021-04-06 16:05:43 -04:00
fldeff_misc.h Document more misc field effects 2020-06-29 16:32:46 -04:00
fldeff.h Clean up field effect doc 2020-07-02 05:05:13 -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 Change map header flags to use a bitfield 2021-06-13 17:02:06 -05:00
global.h Include expansion_branches.h in global.h 2021-07-04 12:39:30 -05:00
global.tv.h Document TV 2021-04-26 12:35:35 -04:00
graphics.h Merge branch 'master' of github.com:pret/pokeemerald into battle_engine_sync 2021-08-16 15:43:27 -07:00
gym_leader_rematch.h Clean up match call doc 2019-12-08 15:49:36 -05: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 Misc contest cleanup 2021-04-22 15:51:04 -04:00
intro_credits_graphics.h Finish documenting credits 2021-03-29 19:58:29 -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 Sync map header property names with pokefirered 2020-04-28 19:59:08 -05:00
item.h non-partner good move checks 2020-12-19 21:58:23 -07: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 Remove explicit padding 2020-09-06 13:06:09 -04:00
lilycove_lady.h Document Contest Lady TV Show 2021-04-02 01:49:38 -04:00
link_rfu.h Document dodrio berry picking 2021-03-03 14:26:05 -05:00
link.h Sync ereader_helpers with pokefirered 2021-04-24 18:03:06 -04:00
list_menu.h change printItemFunc to use u32 instead of s32 2021-06-18 00:15:45 -04:00
load_save.h Standardize Event Object to Object Event 2019-11-20 22:55:44 -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 merge mail with master, fix conflicts 2017-12-17 20:22:56 +01:00
main_menu.h Document main_menu 2018-09-14 12:15:46 -05:00
main.h Update newly named fields 2021-03-15 15:22:41 -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 Document TV 2021-04-26 12:35:35 -04:00
menu_helpers.h Merge branch 'master' into doc-itemmenu2 2021-08-11 19:01:47 -04:00
menu_specialized.h Document player pc 2021-08-02 13:58:40 -04:00
menu.h Document Battle Pyramid Bag 2021-04-23 15:07:36 -04:00
metatile_behavior.h Add missing include guard suffixes 2021-04-02 12:54:40 -04:00
mevent2.h Document cable_club.c 2020-06-06 16:10:03 -04:00
mevent_801BAAC.h Some symbol documentation 2019-04-03 17:04:42 -05:00
mevent_client.h Minor fixes 2019-04-03 17:04:42 -05:00
mevent_news.h Document mystery_gift 2019-03-31 18:59:52 -04:00
mevent_server_helpers.h mevent_server_ish 2019-04-03 17:04:42 -05:00
mevent_server.h Some symbol documentation 2019-04-03 17:04:42 -05:00
mevent.h Document easy chat 2021-02-24 11:03:45 -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 start decompiling mystery event script 2018-01-21 12:36:11 +01:00
mystery_event_script.h document record mixing 2018-05-26 00:25:36 +02:00
mystery_gift.h Document union_room.c 2020-05-31 13:11:18 -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 Document remaining overworld 2021-04-06 16:55:43 -04:00
palette_util.h Rename roulette_util to palette_util 2020-08-04 19:24:36 -04:00
palette.h Add palette selection constants 2021-02-24 11:03:51 -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 Document battle_controller_player.c 2021-01-22 20:03:27 -05:00
pokeblock.h Document pokeblock feed scene 2021-04-12 18:44:37 -04:00
pokedex_area_region_map.h Document some pokenav and region map 2020-02-05 21:04:43 -05: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 Document mail 2021-02-24 11:03:39 -05: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 Doc storage - misc cleanup, some item/cursor 2021-04-17 13:33:29 -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 'master' of github.com:pret/pokeemerald into battle_engine_sync 2021-06-07 12:00:23 -07:00
pokenav.h re-match sub_81C79BC (from #1177) 2020-10-23 22:07:30 -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 Clean up mistakes and bad formatting 2019-02-18 01:03:44 -05:00
recorded_battle.h More documentation in battle_main 2021-03-12 16:55:58 -05:00
region_map.h Label remaining region_map symbols 2021-07-02 00:52:36 -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
reset_save_heap.h through sub_800B1A0 2017-11-12 23:58:05 -05: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 Clean up save_failed_screen 2021-02-24 14:53:32 -05:00
scanline_effect.h Decompile most of battle_anim_effects_3.c 2018-12-18 19:15:59 -06:00
script_menu.h Remainder of script_menu documentation 2019-09-19 18:31:09 -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 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 Document dodrio berry picking 2021-03-03 14:26:05 -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 Document item menu 2021-08-10 22:13:02 -04:00
task.h Use TASK_NONE constant 2021-02-24 11:03:25 -05:00
text_window.h Start documenting naming screen 2020-08-07 02:00:41 -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 Port librfu from firered 2020-02-16 13:49:36 -05:00
trader.h Document decoration.c 2020-03-06 09:47:20 +00:00
trainer_card.h Document Trainer Card 2020-02-08 14:31:17 -06:00
trainer_hill.h Misc labels in battle facilities 2021-03-22 15:30:19 -05:00
trainer_pokemon_sprites.h Document Trainer Card 2020-02-08 14:31:17 -06: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 Document TV 2021-04-26 12:35:35 -04: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 Second pass on documenting union room 2020-06-10 17:30:59 -04:00
union_room.h Second pass on documenting union room 2020-06-10 17:30:59 -04:00
util.h Reformat mevent server and client scripts 2019-04-03 17:04:42 -05:00
walda_phrase.h move from raq scene to walda phrase 2017-10-20 20:46:26 +02:00
wallclock.h Begin porting/decompiling field_specials 2018-08-08 01:37:12 -07:00
wild_encounter.h Configurable double wild battle chance, surfing double battles and flag for forcing them. 2020-10-17 14:25:43 -03:00