mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-26 03:34:15 +01:00
Fixes Beat Up + Chloroblast (#3264)
This commit is contained in:
parent
c55fee147b
commit
64ffc5a85d
@ -14111,12 +14111,13 @@ static void Cmd_trysetfutureattack(void)
|
|||||||
|
|
||||||
static void Cmd_trydobeatup(void)
|
static void Cmd_trydobeatup(void)
|
||||||
{
|
{
|
||||||
CMD_ARGS(const u8 *endInstr, const u8 *failInstr);
|
|
||||||
|
|
||||||
#if B_BEAT_UP >= GEN_5
|
#if B_BEAT_UP >= GEN_5
|
||||||
|
CMD_ARGS();
|
||||||
|
|
||||||
gBattleStruct->beatUpSlot++;
|
gBattleStruct->beatUpSlot++;
|
||||||
gBattlescriptCurrInstr = cmd->nextInstr;
|
gBattlescriptCurrInstr = cmd->nextInstr;
|
||||||
#else
|
#else
|
||||||
|
CMD_ARGS(const u8 *endInstr, const u8 *failInstr);
|
||||||
struct Pokemon *party = GetBattlerParty(gBattlerAttacker);
|
struct Pokemon *party = GetBattlerParty(gBattlerAttacker);
|
||||||
|
|
||||||
if (gBattleMons[gBattlerTarget].hp == 0)
|
if (gBattleMons[gBattlerTarget].hp == 0)
|
||||||
|
@ -12615,7 +12615,7 @@ const struct BattleMove gBattleMoves[MOVES_COUNT_Z] =
|
|||||||
#else
|
#else
|
||||||
.power = 120,
|
.power = 120,
|
||||||
#endif
|
#endif
|
||||||
.effect = EFFECT_RECOIL_50,
|
.effect = EFFECT_STEEL_BEAM,
|
||||||
.type = TYPE_GRASS,
|
.type = TYPE_GRASS,
|
||||||
.accuracy = 95,
|
.accuracy = 95,
|
||||||
.pp = 5,
|
.pp = 5,
|
||||||
|
Loading…
Reference in New Issue
Block a user