2018-02-08 11:17:41 +01:00
|
|
|
#ifndef GUARD_CONSTANTS_BATTLE_SCRIPT_COMMANDS_H
|
|
|
|
#define GUARD_CONSTANTS_BATTLE_SCRIPT_COMMANDS_H
|
|
|
|
|
|
|
|
// Battle Scripting and BattleCommunication addresses
|
|
|
|
#define sPAINSPLIT_HP gBattleScripting
|
|
|
|
#define sBIDE_DMG gBattleScripting + 4
|
|
|
|
#define sMULTIHIT_STRING gBattleScripting + 8
|
2018-08-03 18:01:14 +02:00
|
|
|
#define sEXP_CATCH gBattleScripting + 0xE
|
2018-02-08 11:17:41 +01:00
|
|
|
#define sTWOTURN_STRINGID gBattleScripting + 0xF
|
|
|
|
#define sB_ANIM_ARG1 gBattleScripting + 0x10
|
|
|
|
#define sB_ANIM_ARG2 gBattleScripting + 0x11
|
|
|
|
#define sTRIPLE_KICK_POWER gBattleScripting + 0x12
|
|
|
|
#define sMOVEEND_STATE gBattleScripting + 0x14
|
2020-04-19 15:44:44 +02:00
|
|
|
#define sSAVED_STAT_CHANGER gBattleScripting + 0x15
|
2020-04-25 11:17:59 +02:00
|
|
|
#define sSHIFT_SWITCHED gBattleScripting + 0x16
|
2018-10-21 20:13:12 +02:00
|
|
|
#define sBATTLER gBattleScripting + 0x17
|
2018-02-08 11:17:41 +01:00
|
|
|
#define sB_ANIM_TURN gBattleScripting + 0x18
|
|
|
|
#define sB_ANIM_TARGETS_HIT gBattleScripting + 0x19
|
|
|
|
#define sSTATCHANGER gBattleScripting + 0x1A
|
2018-07-29 15:33:16 +02:00
|
|
|
#define sSTAT_ANIM_PLAYED gBattleScripting + 0x1B
|
2018-02-08 11:17:41 +01:00
|
|
|
#define sGIVEEXP_STATE gBattleScripting + 0x1C
|
|
|
|
#define sBATTLE_STYLE gBattleScripting + 0x1D
|
|
|
|
#define sLVLBOX_STATE gBattleScripting + 0x1E
|
|
|
|
#define sLEARNMOVE_STATE gBattleScripting + 0x1F
|
2019-11-14 00:03:20 +01:00
|
|
|
#define sSAVED_BATTLER gBattleScripting + 0x20
|
2018-02-08 11:17:41 +01:00
|
|
|
#define sRESHOW_MAIN_STATE gBattleScripting + 0x21
|
|
|
|
#define sRESHOW_HELPER_STATE gBattleScripting + 0x22
|
|
|
|
#define sFIELD_23 gBattleScripting + 0x23
|
2018-10-21 20:13:12 +02:00
|
|
|
#define sWINDOWS_TYPE gBattleScripting + 0x24
|
2018-02-08 11:17:41 +01:00
|
|
|
#define sMULTIPLAYER_ID gBattleScripting + 0x25
|
2018-10-21 20:13:12 +02:00
|
|
|
#define sSPECIAL_TRAINER_BATTLE_TYPE gBattleScripting + 0x26
|
2018-11-02 22:55:32 +01:00
|
|
|
#define sMON_CAUGHT gBattleScripting + 0x27
|
2018-09-22 10:45:43 +02:00
|
|
|
#define sSAVED_DMG gBattleScripting + 0x28
|
2018-09-29 16:41:25 +02:00
|
|
|
#define sSAVED_MOVE_EFFECT gBattleScripting + 0x2C
|
2019-02-14 13:17:27 +01:00
|
|
|
#define sMOVE_EFFECT gBattleScripting + 0x2E
|
|
|
|
#define sMULTIHIT_EFFECT gBattleScripting + 0x30
|
2020-06-28 19:45:48 +02:00
|
|
|
#define sILLUSION_NICK_HACK gBattleScripting + 0x32
|
2020-11-19 23:16:27 +01:00
|
|
|
#define sFIXED_ABILITY_POPUP gBattleScripting + 0x33
|
2021-02-02 17:00:07 +01:00
|
|
|
#define sABILITY_OVERWRITE gBattleScripting + 0x34
|
2021-09-02 21:33:42 +02:00
|
|
|
#define sSWITCH_CASE gBattleScripting + 0x36
|
2021-09-27 01:19:32 +02:00
|
|
|
#define sBERRY_OVERRIDE gBattleScripting + 0x37
|
2018-02-08 11:17:41 +01:00
|
|
|
|
|
|
|
#define cMULTISTRING_CHOOSER gBattleCommunication + 5
|
2021-04-02 08:12:46 +02:00
|
|
|
#define cMISS_TYPE gBattleCommunication + 6
|
2018-02-08 11:17:41 +01:00
|
|
|
|
|
|
|
// Battle Script defines for getting the wanted battler
|
|
|
|
#define BS_TARGET 0
|
|
|
|
#define BS_ATTACKER 1
|
|
|
|
#define BS_EFFECT_BATTLER 2
|
|
|
|
#define BS_FAINTED 3
|
2019-09-27 08:46:33 +02:00
|
|
|
#define BS_ATTACKER_WITH_PARTNER 4 // for Cmd_updatestatusicon
|
2021-04-03 18:38:07 +02:00
|
|
|
#define BS_UNK_5 5
|
|
|
|
#define BS_UNK_6 6
|
|
|
|
#define BS_BATTLER_0 7
|
2019-09-15 23:58:12 +02:00
|
|
|
#define BS_ATTACKER_SIDE 8 // for Cmd_jumpifability
|
2019-11-10 12:09:14 +01:00
|
|
|
#define BS_TARGET_SIDE 9 // for Cmd_jumpifability
|
2018-02-08 11:17:41 +01:00
|
|
|
#define BS_SCRIPTING 10
|
|
|
|
#define BS_PLAYER1 11
|
|
|
|
#define BS_OPPONENT1 12
|
|
|
|
#define BS_PLAYER2 13
|
|
|
|
#define BS_OPPONENT2 14
|
2019-02-14 12:15:53 +01:00
|
|
|
#define BS_ABILITY_BATTLER 15
|
2018-02-08 11:17:41 +01:00
|
|
|
|
2019-09-27 08:46:33 +02:00
|
|
|
// Cmd_accuracycheck
|
2018-02-08 11:17:41 +01:00
|
|
|
#define NO_ACC_CALC_CHECK_LOCK_ON 0xFFFF
|
|
|
|
#define ACC_CURR_MOVE 0
|
|
|
|
|
|
|
|
// compare operands
|
2021-04-03 18:38:07 +02:00
|
|
|
#define CMP_EQUAL 0
|
|
|
|
#define CMP_NOT_EQUAL 1
|
|
|
|
#define CMP_GREATER_THAN 2
|
|
|
|
#define CMP_LESS_THAN 3
|
|
|
|
#define CMP_COMMON_BITS 4
|
|
|
|
#define CMP_NO_COMMON_BITS 5
|
2018-02-08 11:17:41 +01:00
|
|
|
|
2019-09-27 08:46:33 +02:00
|
|
|
// Cmd_various
|
2018-02-08 11:17:41 +01:00
|
|
|
#define VARIOUS_CANCEL_MULTI_TURN_MOVES 0
|
|
|
|
#define VARIOUS_SET_MAGIC_COAT_TARGET 1
|
|
|
|
#define VARIOUS_IS_RUNNING_IMPOSSIBLE 2
|
|
|
|
#define VARIOUS_GET_MOVE_TARGET 3
|
2020-07-17 02:12:12 +02:00
|
|
|
#define VARIOUS_GET_BATTLER_FAINTED 4
|
2018-02-08 11:17:41 +01:00
|
|
|
#define VARIOUS_RESET_INTIMIDATE_TRACE_BITS 5
|
|
|
|
#define VARIOUS_UPDATE_CHOICE_MOVE_ON_LVL_UP 6
|
2020-07-17 02:12:12 +02:00
|
|
|
#define VARIOUS_PALACE_FLAVOR_TEXT 8
|
2018-11-11 18:33:16 +01:00
|
|
|
#define VARIOUS_ARENA_JUDGMENT_WINDOW 9
|
|
|
|
#define VARIOUS_ARENA_OPPONENT_MON_LOST 10
|
|
|
|
#define VARIOUS_ARENA_PLAYER_MON_LOST 11
|
|
|
|
#define VARIOUS_ARENA_BOTH_MONS_LOST 12
|
2018-02-08 11:17:41 +01:00
|
|
|
#define VARIOUS_EMIT_YESNOBOX 13
|
2018-11-11 18:33:16 +01:00
|
|
|
#define VARIOUS_ARENA_JUDGMENT_STRING 16
|
|
|
|
#define VARIOUS_ARENA_WAIT_STRING 17
|
2018-02-08 11:17:41 +01:00
|
|
|
#define VARIOUS_WAIT_CRY 18
|
|
|
|
#define VARIOUS_RETURN_OPPONENT_MON1 19
|
|
|
|
#define VARIOUS_RETURN_OPPONENT_MON2 20
|
2018-08-25 21:04:12 +02:00
|
|
|
#define VARIOUS_VOLUME_DOWN 21
|
|
|
|
#define VARIOUS_VOLUME_UP 22
|
2018-11-11 18:33:16 +01:00
|
|
|
#define VARIOUS_SET_ALREADY_STATUS_MOVE_ATTEMPT 23
|
2018-02-08 11:17:41 +01:00
|
|
|
#define VARIOUS_SET_TELEPORT_OUTCOME 25
|
|
|
|
#define VARIOUS_PLAY_TRAINER_DEFEATED_MUSIC 26
|
2018-07-22 18:40:18 +02:00
|
|
|
#define VARIOUS_STAT_TEXT_BUFFER 27
|
|
|
|
#define VARIOUS_SWITCHIN_ABILITIES 28
|
2018-07-24 22:09:55 +02:00
|
|
|
#define VARIOUS_SAVE_TARGET 29
|
|
|
|
#define VARIOUS_RESTORE_TARGET 30
|
2018-07-26 20:36:16 +02:00
|
|
|
#define VARIOUS_INSTANT_HP_DROP 31
|
|
|
|
#define VARIOUS_CLEAR_STATUS 32
|
2018-07-26 22:52:13 +02:00
|
|
|
#define VARIOUS_RESTORE_PP 33
|
|
|
|
#define VARIOUS_TRY_ACTIVATE_MOXIE 34
|
2018-07-26 23:40:55 +02:00
|
|
|
#define VARIOUS_TRY_ACTIVATE_FELL_STINGER 35
|
2018-07-29 12:21:28 +02:00
|
|
|
#define VARIOUS_PLAY_MOVE_ANIMATION 36
|
2018-08-04 20:36:24 +02:00
|
|
|
#define VARIOUS_SET_LUCKY_CHANT 37
|
|
|
|
#define VARIOUS_SUCKER_PUNCH_CHECK 38
|
2018-08-04 22:23:07 +02:00
|
|
|
#define VARIOUS_SET_SIMPLE_BEAM 39
|
|
|
|
#define VARIOUS_TRY_ENTRAINMENT 40
|
|
|
|
#define VARIOUS_SET_LAST_USED_ABILITY 41
|
|
|
|
#define VARIOUS_TRY_HEAL_PULSE 42
|
|
|
|
#define VARIOUS_TRY_QUASH 43
|
2018-08-04 23:34:29 +02:00
|
|
|
#define VARIOUS_INVERT_STAT_STAGES 44
|
2018-08-05 12:43:57 +02:00
|
|
|
#define VARIOUS_SET_TERRAIN 45
|
2018-08-05 16:43:07 +02:00
|
|
|
#define VARIOUS_TRY_ME_FIRST 46
|
2018-08-11 12:16:00 +02:00
|
|
|
#define VARIOUS_JUMP_IF_BATTLE_END 47
|
2018-08-11 13:30:34 +02:00
|
|
|
#define VARIOUS_TRY_ELECTRIFY 48
|
|
|
|
#define VARIOUS_TRY_REFLECT_TYPE 49
|
|
|
|
#define VARIOUS_TRY_SOAK 50
|
2019-02-14 12:15:53 +01:00
|
|
|
#define VARIOUS_HANDLE_MEGA_EVO 51
|
|
|
|
#define VARIOUS_TRY_LAST_RESORT 52
|
|
|
|
#define VARIOUS_ARGUMENT_STATUS_EFFECT 53
|
|
|
|
#define VARIOUS_TRY_HIT_SWITCH_TARGET 54
|
2020-06-27 11:21:13 +02:00
|
|
|
#define VARIOUS_TRY_AUTOTOMIZE 55
|
2019-02-14 12:15:53 +01:00
|
|
|
#define VARIOUS_TRY_COPYCAT 56
|
|
|
|
#define VARIOUS_ABILITY_POPUP 57
|
|
|
|
#define VARIOUS_DEFOG 58
|
|
|
|
#define VARIOUS_JUMP_IF_TARGET_ALLY 59
|
|
|
|
#define VARIOUS_TRY_SYNCHRONOISE 60
|
|
|
|
#define VARIOUS_PSYCHO_SHIFT 61
|
|
|
|
#define VARIOUS_CURE_STATUS 62
|
|
|
|
#define VARIOUS_POWER_TRICK 63
|
|
|
|
#define VARIOUS_AFTER_YOU 64
|
|
|
|
#define VARIOUS_BESTOW 65
|
|
|
|
#define VARIOUS_ARGUMENT_TO_MOVE_EFFECT 66
|
|
|
|
#define VARIOUS_JUMP_IF_NOT_GROUNDED 67
|
|
|
|
#define VARIOUS_HANDLE_TRAINER_SLIDE_MSG 68
|
2018-11-03 01:17:16 +01:00
|
|
|
#define VARIOUS_TRY_TRAINER_SLIDE_MSG_FIRST_OFF 69
|
2019-02-14 12:15:53 +01:00
|
|
|
#define VARIOUS_TRY_TRAINER_SLIDE_MSG_LAST_ON 70
|
|
|
|
#define VARIOUS_SET_AURORA_VEIL 71
|
|
|
|
#define VARIOUS_TRY_THIRD_TYPE 72
|
|
|
|
#define VARIOUS_ACUPRESSURE 73
|
|
|
|
#define VARIOUS_SET_POWDER 74
|
|
|
|
#define VARIOUS_SPECTRAL_THIEF 75
|
2019-02-22 23:48:28 +01:00
|
|
|
#define VARIOUS_GRAVITY_ON_AIRBORNE_MONS 76
|
2019-02-28 15:02:54 +01:00
|
|
|
#define VARIOUS_CHECK_IF_GRASSY_TERRAIN_HEALS 77
|
2019-03-06 12:09:34 +01:00
|
|
|
#define VARIOUS_JUMP_IF_ROAR_FAILS 78
|
2019-04-20 21:11:49 +02:00
|
|
|
#define VARIOUS_TRY_INSTRUCT 79
|
2019-05-20 12:03:00 +02:00
|
|
|
#define VARIOUS_JUMP_IF_NOT_BERRY 80
|
2019-08-05 11:24:49 +02:00
|
|
|
#define VARIOUS_TRACE_ABILITY 81
|
2019-08-08 13:06:55 +02:00
|
|
|
#define VARIOUS_UPDATE_NICK 82
|
|
|
|
#define VARIOUS_TRY_ILLUSION_OFF 83
|
|
|
|
#define VARIOUS_SET_SPRITEIGNORE0HP 84
|
2019-12-31 19:11:53 +01:00
|
|
|
#define VARIOUS_HANDLE_FORM_CHANGE 85
|
2020-04-13 15:00:17 +02:00
|
|
|
#define VARIOUS_GET_STAT_VALUE 86
|
|
|
|
#define VARIOUS_JUMP_IF_FULL_HP 87
|
2020-04-17 21:14:26 +02:00
|
|
|
#define VARIOUS_LOSE_TYPE 88
|
2020-04-18 19:59:09 +02:00
|
|
|
#define VARIOUS_TRY_ACTIVATE_SOULHEART 89
|
2020-04-19 12:07:56 +02:00
|
|
|
#define VARIOUS_TRY_ACTIVATE_RECEIVER 90
|
|
|
|
#define VARIOUS_TRY_ACTIVATE_BEAST_BOOST 91
|
2020-04-19 13:37:56 +02:00
|
|
|
#define VARIOUS_TRY_FRISK 92
|
2020-04-19 21:18:39 +02:00
|
|
|
#define VARIOUS_JUMP_IF_SHIELDS_DOWN_PROTECTED 93
|
2020-04-20 19:41:07 +02:00
|
|
|
#define VARIOUS_TRY_FAIRY_LOCK 94
|
2020-04-20 20:05:04 +02:00
|
|
|
#define VARIOUS_JUMP_IF_NO_ALLY 95
|
2020-05-28 10:38:27 +02:00
|
|
|
#define VARIOUS_POISON_TYPE_IMMUNITY 96
|
2020-04-22 10:44:19 +02:00
|
|
|
#define VARIOUS_JUMP_IF_NO_HOLD_EFFECT 97
|
2020-04-22 14:40:44 +02:00
|
|
|
#define VARIOUS_INFATUATE_WITH_BATTLER 98
|
2020-04-22 15:12:25 +02:00
|
|
|
#define VARIOUS_SET_LAST_USED_ITEM 99
|
2020-05-28 10:38:27 +02:00
|
|
|
#define VARIOUS_PARALYZE_TYPE_IMMUNITY 100
|
2020-06-25 16:15:11 +02:00
|
|
|
#define VARIOUS_JUMP_IF_ABSENT 101
|
2020-11-19 23:16:27 +01:00
|
|
|
#define VARIOUS_DESTROY_ABILITY_POPUP 102
|
2020-12-14 16:50:41 +01:00
|
|
|
#define VARIOUS_TOTEM_BOOST 103
|
2021-01-21 01:36:13 +01:00
|
|
|
#define VARIOUS_TRY_ACTIVATE_GRIM_NEIGH 104
|
2021-08-12 07:26:13 +02:00
|
|
|
#define VARIOUS_MOVEEND_ITEM_EFFECTS 105
|
2021-09-02 21:33:42 +02:00
|
|
|
#define VARIOUS_TERRAIN_SEED 106
|
|
|
|
#define VARIOUS_MAKE_INVISIBLE 107
|
2021-09-14 18:50:36 +02:00
|
|
|
#define VARIOUS_ROOM_SERVICE 108
|
2021-09-17 03:52:29 +02:00
|
|
|
#define VARIOUS_JUMP_IF_TERRAIN_AFFECTED 109
|
2021-09-17 15:10:09 +02:00
|
|
|
#define VARIOUS_EERIE_SPELL_PP_REDUCE 110
|
|
|
|
#define VARIOUS_JUMP_IF_TEAM_HEALTHY 111
|
|
|
|
#define VARIOUS_TRY_HEAL_QUARTER_HP 112
|
|
|
|
#define VARIOUS_REMOVE_TERRAIN 113
|
2021-09-23 20:38:01 +02:00
|
|
|
#define VARIOUS_JUMP_IF_PRANKSTER_BLOCKED 114
|
2021-10-03 11:51:43 +02:00
|
|
|
#define VARIOUS_TRY_TO_CLEAR_PRIMAL_WEATHER 115
|
2021-10-11 01:56:33 +02:00
|
|
|
#define VARIOUS_GET_ROTOTILLER_TARGETS 116
|
|
|
|
#define VARIOUS_JUMP_IF_NOT_ROTOTILLER_AFFECTED 117
|
2021-10-14 05:24:59 +02:00
|
|
|
#define VARIOUS_TRY_ACTIVATE_BATTLE_BOND 118
|
2021-10-15 00:46:50 +02:00
|
|
|
#define VARIOUS_CONSUME_BERRY 119
|
2021-10-19 12:45:25 +02:00
|
|
|
#define VARIOUS_JUMP_IF_CANT_REVERT_TO_PRIMAL 120
|
|
|
|
#define VARIOUS_HANDLE_PRIMAL_REVERSION 121
|
2021-10-23 16:06:34 +02:00
|
|
|
#define VARIOUS_APPLY_PLASMA_FISTS 122
|
2021-10-27 02:21:06 +02:00
|
|
|
#define VARIOUS_JUMP_IF_SPECIES 123
|
2021-10-28 23:03:10 +02:00
|
|
|
#define VARIOUS_UPDATE_ABILITY_POPUP 124
|
2018-02-08 11:17:41 +01:00
|
|
|
|
2020-04-14 09:27:29 +02:00
|
|
|
// Cmd_manipulatedamage
|
2019-09-15 23:58:12 +02:00
|
|
|
#define DMG_CHANGE_SIGN 0
|
|
|
|
#define DMG_RECOIL_FROM_MISS 1
|
|
|
|
#define DMG_DOUBLED 2
|
2019-11-10 12:09:14 +01:00
|
|
|
#define DMG_1_8_TARGET_HP 3
|
|
|
|
#define DMG_FULL_ATTACKER_HP 4
|
|
|
|
#define DMG_CURR_ATTACKER_HP 5
|
2020-04-13 15:00:17 +02:00
|
|
|
#define DMG_BIG_ROOT 6
|
2020-04-14 09:27:29 +02:00
|
|
|
#define DMG_1_2_ATTACKER_HP 7
|
2020-12-07 07:30:31 +01:00
|
|
|
#define DMG_RECOIL_FROM_IMMUNE 8 // Used to calculate recoil for the Gen 4 version of Jump Kick
|
2018-02-08 11:17:41 +01:00
|
|
|
|
2019-09-27 08:46:33 +02:00
|
|
|
// Cmd_jumpifcantswitch
|
2021-04-03 18:38:07 +02:00
|
|
|
#define SWITCH_IGNORE_ESCAPE_PREVENTION (1 << 7)
|
2018-02-08 11:17:41 +01:00
|
|
|
|
2019-09-27 08:46:33 +02:00
|
|
|
// Cmd_statbuffchange
|
2021-04-03 18:38:07 +02:00
|
|
|
#define STAT_BUFF_ALLOW_PTR (1 << 0) // If set, allow use of jumpptr. Set in every use of statbuffchange
|
|
|
|
#define STAT_BUFF_NOT_PROTECT_AFFECTED (1 << 5)
|
2018-02-08 11:17:41 +01:00
|
|
|
|
2019-09-27 08:46:33 +02:00
|
|
|
// stat change flags for Cmd_playstatchangeanimation
|
2021-04-03 18:38:07 +02:00
|
|
|
#define STAT_CHANGE_NEGATIVE (1 << 0)
|
|
|
|
#define STAT_CHANGE_BY_TWO (1 << 1)
|
|
|
|
#define STAT_CHANGE_MULTIPLE_STATS (1 << 2)
|
|
|
|
#define STAT_CHANGE_CANT_PREVENT (1 << 3)
|
2019-03-30 12:37:18 +01:00
|
|
|
|
2019-09-27 08:46:33 +02:00
|
|
|
// stat flags for Cmd_playstatchangeanimation
|
2021-04-03 18:38:07 +02:00
|
|
|
#define BIT_HP (1 << 0)
|
|
|
|
#define BIT_ATK (1 << 1)
|
|
|
|
#define BIT_DEF (1 << 2)
|
|
|
|
#define BIT_SPEED (1 << 3)
|
|
|
|
#define BIT_SPATK (1 << 4)
|
|
|
|
#define BIT_SPDEF (1 << 5)
|
|
|
|
#define BIT_ACC (1 << 6)
|
|
|
|
#define BIT_EVASION (1 << 7)
|
|
|
|
|
|
|
|
#define PARTY_SCREEN_OPTIONAL (1 << 7) // Flag for first argument to openpartyscreen
|
2019-09-27 08:46:33 +02:00
|
|
|
|
|
|
|
// cases for Cmd_moveend
|
2021-04-28 03:36:37 +02:00
|
|
|
#define MOVEEND_PROTECT_LIKE_EFFECT 0
|
|
|
|
#define MOVEEND_RAGE 1
|
|
|
|
#define MOVEEND_DEFROST 2
|
|
|
|
#define MOVEEND_SYNCHRONIZE_TARGET 3
|
|
|
|
#define MOVEEND_ABILITIES 4
|
|
|
|
#define MOVEEND_ABILITIES_ATTACKER 5
|
|
|
|
#define MOVEEND_STATUS_IMMUNITY_ABILITIES 6
|
|
|
|
#define MOVEEND_SYNCHRONIZE_ATTACKER 7
|
|
|
|
#define MOVEEND_CHOICE_MOVE 8
|
|
|
|
#define MOVEEND_CHANGED_ITEMS 9
|
|
|
|
#define MOVEEND_ATTACKER_INVISIBLE 10
|
|
|
|
#define MOVEEND_ATTACKER_VISIBLE 11
|
|
|
|
#define MOVEEND_TARGET_VISIBLE 12
|
|
|
|
#define MOVEEND_ITEM_EFFECTS_TARGET 13
|
|
|
|
#define MOVEEND_MOVE_EFFECTS2 14
|
|
|
|
#define MOVEEND_ITEM_EFFECTS_ALL 15
|
2021-09-14 17:53:35 +02:00
|
|
|
#define MOVEEND_KINGSROCK 16 // These item effects will occur each strike of a multi-hit move
|
2021-04-28 03:36:37 +02:00
|
|
|
#define MOVEEND_SUBSTITUTE 17
|
|
|
|
#define MOVEEND_UPDATE_LAST_MOVES 18
|
|
|
|
#define MOVEEND_MIRROR_MOVE 19
|
2021-09-14 17:53:35 +02:00
|
|
|
#define MOVEEND_NEXT_TARGET 20 // Everything up until here is handled for each strike of a multi-hit move
|
2021-09-02 21:33:42 +02:00
|
|
|
#define MOVEEND_EJECT_BUTTON 21
|
|
|
|
#define MOVEEND_RED_CARD 22
|
|
|
|
#define MOVEEND_EJECT_PACK 23
|
2021-09-14 17:53:35 +02:00
|
|
|
#define MOVEEND_LIFEORB_SHELLBELL 24 // Includes shell bell, throat spray, etc
|
2021-09-02 21:33:42 +02:00
|
|
|
#define MOVEEND_PICKPOCKET 25
|
|
|
|
#define MOVEEND_DANCER 26
|
|
|
|
#define MOVEEND_EMERGENCY_EXIT 27
|
|
|
|
#define MOVEEND_CLEAR_BITS 28
|
|
|
|
#define MOVEEND_COUNT 29
|
2018-07-29 15:33:16 +02:00
|
|
|
|
2021-01-08 03:33:39 +01:00
|
|
|
// switch cases
|
|
|
|
#define B_SWITCH_NORMAL 0
|
|
|
|
#define B_SWITCH_HIT 1 // dragon tail, circle throw
|
|
|
|
#define B_SWITCH_RED_CARD 2
|
2018-07-29 15:33:16 +02:00
|
|
|
|
2018-02-08 11:17:41 +01:00
|
|
|
#endif // GUARD_CONSTANTS_BATTLE_SCRIPT_COMMANDS_H
|