pokeemerald/include/constants
Eduardo Quezada D'Ottone 1fa9a05470
Convert move flags and bans into GCC bitfields (#2952)
* Slicing moves to new bitfield

* Wind moves to new bitfield

* Two-strike moves to new bitfield

* Forgot to add flagTwoStrikes to battle_moves.h

* Removed "flag" from field names

* FLAG_HIT_IN_SUBSTITUTE and FLAG_THAW_USER

* Airborne moves

* FLAG_POWDER, FLAG_TARGET_ABILITY_IGNORED and FLAG_DANCE

* FLAG_BALLISTIC and FLAG_PROTECTION_MOVE

* Fixed missing uses of MOVE_UNAVAILABLE in battle_ai_util.c

* FLAG_SOUND

* FLAG_DMG_UNDERGROUND and FLAG_DMG_UNDERWATER

* FLAG_DMG_MINIMIZE

* Cleanup

* FLAG_STAT_STAGES_IGNORED

* Updated Pollen Puff's ballistic flag

* FLAG_STRONG_JAW_BOOST and FLAG_MEGA_LAUNCHER_BOOST

* thaw

* FLAG_THREE_STRIKES

* FLAG_IRON_FIST_BOOST

* FLAG_RECKLESS_BOOST

* FLAG_HIGH_CRIT

* Removed empty flags

* Moves that fail when called by Me First + added missing Shell Trap

* Moves that fail when Gravity is active

* Better names for banned fields

* Moves that fail when called by Instruct

* Cleanup

* Contact Moves + Fixed Wandering Spirit skipping contact checks

* Inverted FLAG_PROTECT_AFFECTED so that there's a flag for moves that SKIP protect.

* Simplified B_MOVE_FLAGS configs

* FORBIDDEN_METRONOME

* Renamed hitsPastSubstitute to ignoresSubstitute

* FORBIDDEN_PARENTAL_BOND

* Struggle uncallable by Metronome

* FORBIDDEN_MIMIC

* FLAG_KINGS_ROCK_AFFECTED

* Made a single config for move flags

* Macro for checking move flags

* FLAG_MAGIC_COAT_AFFECTED

* Fixed HasMagicCoatAffectedMove

* FLAG_SNATCH_AFFECTED

* Removed unused EFFECT_FLINCH_MINIMIZE_HIT

* Fixed Stench/King's Rock interaction

* Removed sMovesNotAffectedByStench in favor of checking move effects

* Removed EFFECT_TWISTER, which was a repeat of EFFECT_FLINCH_HIT

* Changed Gen2 configs to less than Gen 3

* FORBIDDEN_SLEEP_TALK

* Cleanup

* Inverted FLAG_MIRROR_MOVE_AFFECTED

* FLAG_SHEER_FORCE_BOOST

* Ordered

* FORBIDDEN_ASSIST and FORBIDDEN_COPYCAT

* Removed TestMoveFlags and TestMoveFlagsInMoveset + flags field

* Fixed Triple Arrows test
2023-07-03 10:01:59 +02:00
..
abilities.h Added the basic data for the Gen. 9 Abilities 2022-12-02 23:01:22 -03:00
apprentice.h
battle_ai.h add snow weather 2023-05-02 16:25:26 +02:00
battle_anim_scripts.h Add many gen 8 move animations (#2861) 2023-06-21 13:19:54 -04:00
battle_anim.h Cleaned up remaining Castform hack stuff (#3063) 2023-06-30 09:58:07 +02:00
battle_arena.h Fix typo 2022-08-11 12:09:38 -04:00
battle_dome.h
battle_factory.h
battle_frontier_mons.h
battle_frontier_trainers.h
battle_frontier.h Merge remote-tracking branch 'RHH/battle_engine' into RHH_masterMerge 2022-07-22 22:57:02 -04:00
battle_move_effects.h Convert move flags and bans into GCC bitfields (#2952) 2023-07-03 10:01:59 +02:00
battle_palace.h
battle_pike.h Add some battle frontier constant usage 2022-06-09 12:57:28 -04:00
battle_pyramid.h Misc field_specials cleanup 2023-02-01 11:48:55 -05:00
battle_script_commands.h merge w upcoming 2023-05-15 13:13:28 -04:00
battle_setup.h
battle_string_ids.h Merge branch 'upcoming' into RHH/content/gen9SnowWeather 2023-05-07 17:27:58 +02:00
battle_tent_mons.h
battle_tent_trainers.h
battle_tent.h Add some battle frontier constant usage 2022-06-09 12:57:28 -04:00
battle_tower.h
battle.h Cleaned up remaining Castform hack stuff (#3063) 2023-06-30 09:58:07 +02:00
berry.h
cable_club.h
coins.h
contest.h Gen 8 combo moves 2021-11-01 21:59:34 -03:00
daycare.h Remove unused INHERITED_IV_COUNT define 2023-01-31 09:44:47 +01:00
decorations.h
easy_chat.h Document the trendy saying word group 2023-03-13 15:58:40 -04:00
event_bg.h
event_object_movement.h Clean up lock/unlock anim movement 2022-08-12 21:18:10 -04:00
event_objects.h Sync clone object macro 2023-02-08 13:11:10 -05:00
field_effects.h Continue battle_transition documenting 2021-10-29 11:24:36 -04:00
field_poison.h
field_specials.h Misc field_specials cleanup 2023-02-01 11:48:55 -05:00
field_tasks.h
field_weather.h
flags.h Merge pull request #1871 from GriffinRichards/doc-trendy-sayings 2023-03-24 08:05:51 -04:00
form_change_types.h reworked weather form reversion + added more tests 2023-05-16 16:24:25 -07:00
frontier_util.h
game_stat.h Fix Best Streak stat name 2023-01-20 11:25:04 -05:00
global.h Merge branch 'master' of https://github.com/pret/pokeemerald into rhhpretmerge 2023-05-12 13:48:52 +02:00
heal_locations.h Add the HEAL_LOCATION_NONE constant 2022-06-03 14:59:01 +01:00
hold_effects.h Add Berserk Gene Item (#2893) 2023-04-25 15:03:57 -04:00
item_effects.h Fix Ice Heal message 2023-04-25 19:38:47 +02:00
item.h Added shiny rerolls to Lures + reverted repel var name 2022-09-12 10:21:57 -03:00
items.h Add Berserk Gene Item (#2893) 2023-04-25 15:03:57 -04:00
layouts.h
lilycove_lady.h Merge branch 'master' into trailingSpaces 2021-09-23 21:39:21 -04:00
map_groups.h Erase ghost data in include/constants/map_groups.h 2022-09-09 00:40:30 +07:00
map_scripts.h Small correction to map script comments 2021-10-13 23:24:10 -04:00
map_types.h
maps.h Correct comment in maps.h 2023-01-18 11:54:06 -05:00
mauville_old_man.h
metatile_behaviors.h Clarify MB_SEMI_DEEP_WATER name 2023-01-17 21:32:55 -05:00
metatile_labels.h Sort metatile labels alphabetically 2023-02-14 14:36:27 -05:00
moves.h Added Psyblade and Hydro Steam 2023-03-17 09:25:39 -03:00
mystery_gift.h Document wonder news 2022-11-22 02:17:03 -05:00
opponents.h
party_menu.h Add Frostbite status 2023-04-22 18:23:08 +02:00
pokedex.h Organized conffig files into their own folder and cleaned up 2022-11-14 11:03:49 -03: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.h Convert move flags and bans into GCC bitfields (#2952) 2023-07-03 10:01:59 +02:00
region_map_sections.h Synced Route 4 and 10's MapSec labels 2022-08-16 18:23:37 -04:00
rgb.h add silk trap anim 2023-01-28 09:03:18 -05:00
roulette.h
script_menu.h
secret_bases.h
slot_machine.h Label slot machine ids, fix GetPriceReduction 2021-11-16 15:43:52 -05:00
songs.h Merge remote-tracking branch 'pret/master' into RHH/pr/sync/pret_20230319 2023-03-19 20:28:56 -03:00
sound.h Fix CRY_MODE_ECHO 2021-11-10 11:59:15 -05:00
species.h enamorus_t cry, basculegionf sprite, new typhlosion back sprite 2023-02-23 15:20:12 +01:00
trade.h Merge remote-tracking branch 'pret/master' into RHH/sync/pret_20230214 2023-02-15 14:11:03 -03:00
trainer_hill.h Added a constant for NPC trainer name length (#1712) 2022-07-25 22:59:13 -04:00
trainer_types.h
trainers.h [trainer_parties] implement fully customizable npc trainer parties 2023-03-25 20:00:04 +01:00
tv.h Redefine TV_SHOWS_COUNT 2023-04-27 13:59:09 -04:00
union_room.h Fix names and constant usage for union room classes 2022-08-23 12:44:07 -04:00
vars.h Document wonder news 2022-11-22 02:17:03 -05:00
weather.h
wild_encounter.h Merge branch 'battle_engine' of https://github.com/rh-hideout/pokeemerald-expansion into HEAD 2022-04-02 18:45:18 -03:00
z_move_effects.h move gSwapDamagecategory to battle struct, use GetSplitBasedOnStats for photon geyser check 2022-07-19 18:24:53 -04:00