From f728e7e90ebd50521dbc32f7f2b2be5858d91477 Mon Sep 17 00:00:00 2001 From: AnonymousRandomPerson Date: Fri, 4 Feb 2022 23:13:01 -0500 Subject: Decomped DecideAttack() --- include/constants/move.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/constants/move.h') diff --git a/include/constants/move.h b/include/constants/move.h index 4e3396b..8148ab5 100644 --- a/include/constants/move.h +++ b/include/constants/move.h @@ -44,7 +44,7 @@ struct PokemonMove u8 moveFlags; bool8 sealed; u16 moveID; - u8 pp; + u8 PP; u8 powerBoost; // How much the move is boosted by Ginsengs. }; -- cgit v1.2.3 From 3bbb6035e746cdb83b128b1d6153436756cb3be0 Mon Sep 17 00:00:00 2001 From: AnonymousRandomPerson Date: Sun, 13 Feb 2022 22:30:25 -0500 Subject: Decomped GetMoveTargetingFlagsForPokemon() --- include/constants/move.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/constants/move.h') diff --git a/include/constants/move.h b/include/constants/move.h index 8148ab5..15ae1b9 100644 --- a/include/constants/move.h +++ b/include/constants/move.h @@ -52,17 +52,19 @@ enum TargetingFlag { TARGETING_FLAG_TARGET_OTHER = 0x0, TARGETING_FLAG_HEAL_TEAM = 0x1, - TARGETING_FLAG_SWAP_POSITIONS = 0x2, + TARGETING_FLAG_LONG_RANGE = 0x2, + TARGETING_FLAG_BOOST_SELF = 0x3, + TARGETING_FLAG_MULTI_TURN = 0x4, TARGETING_FLAG_ATTACK_ALL = 0x5, TARGETING_FLAG_BOOST_TEAM = 0x6, - TARGETING_FLAG_DONT_USE = 0xF, + TARGETING_FLAG_ITEM = 0xF, TARGETING_FLAG_TARGET_FRONTAL_CONE = 0x10, TARGETING_FLAG_TARGET_AROUND = 0x20, TARGETING_FLAG_TARGET_ROOM = 0x30, TARGETING_FLAG_TARGET_2_TILES_AHEAD = 0x40, TARGETING_FLAG_TARGET_LINE = 0x50, TARGETING_FLAG_TARGET_FLOOR = 0x60, - TARGETING_FLAG_SELF_HEAL = 0x70, + TARGETING_FLAG_TARGET_SELF = 0x70, TARGETING_FLAG_CUT_CORNERS = 0x80, TARGETING_FLAG_SET_TRAP = 0x100, TARGETING_FLAG_HEAL_HP = 0x200, -- cgit v1.2.3