Gorilla Tactics and Test typos fix (#8653)
This commit is contained in:
parent
ac221a3aa8
commit
7bd25fae84
@ -12733,7 +12733,7 @@ static void Cmd_tryswapitems(void)
|
|||||||
|
|
||||||
if (GetBattlerAbility(gBattlerTarget) != ABILITY_GORILLA_TACTICS)
|
if (GetBattlerAbility(gBattlerTarget) != ABILITY_GORILLA_TACTICS)
|
||||||
gBattleStruct->choicedMove[gBattlerTarget] = MOVE_NONE;
|
gBattleStruct->choicedMove[gBattlerTarget] = MOVE_NONE;
|
||||||
if (GetBattlerAbility(gBattlerTarget) != ABILITY_GORILLA_TACTICS)
|
if (GetBattlerAbility(gBattlerAttacker) != ABILITY_GORILLA_TACTICS)
|
||||||
gBattleStruct->choicedMove[gBattlerAttacker] = MOVE_NONE;
|
gBattleStruct->choicedMove[gBattlerAttacker] = MOVE_NONE;
|
||||||
|
|
||||||
gBattlescriptCurrInstr = cmd->nextInstr;
|
gBattlescriptCurrInstr = cmd->nextInstr;
|
||||||
|
|||||||
@ -163,7 +163,7 @@ SINGLE_BATTLE_TEST("Liquid Ooze causes Dream Eater users to lose HP instead of h
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Liquid Ooze does not cause Dream Eater users to lose HP instead of heal (Gen 3-4")
|
SINGLE_BATTLE_TEST("Liquid Ooze does not cause Dream Eater users to lose HP instead of heal (Gen 3-4)")
|
||||||
{
|
{
|
||||||
s16 damage;
|
s16 damage;
|
||||||
GIVEN {
|
GIVEN {
|
||||||
|
|||||||
@ -151,7 +151,7 @@ SINGLE_BATTLE_TEST("White Herb wont have time to activate if it is knocked off o
|
|||||||
}
|
}
|
||||||
NONE_OF {
|
NONE_OF {
|
||||||
ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, player);
|
ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, player);
|
||||||
MESSAGE("Wobbuffet returned its stats to normal using its White Herb!");
|
MESSAGE("Slugma returned its stats to normal using its White Herb!");
|
||||||
}
|
}
|
||||||
} THEN {
|
} THEN {
|
||||||
EXPECT(player->statStages[STAT_DEF] = DEFAULT_STAT_STAGE - 1);
|
EXPECT(player->statStages[STAT_DEF] = DEFAULT_STAT_STAGE - 1);
|
||||||
@ -176,7 +176,7 @@ SINGLE_BATTLE_TEST("White Herb wont have time to activate if Magician steals it"
|
|||||||
MESSAGE("The opposing Fennekin stole Slugma's White Herb!");
|
MESSAGE("The opposing Fennekin stole Slugma's White Herb!");
|
||||||
NONE_OF {
|
NONE_OF {
|
||||||
ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, player);
|
ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, player);
|
||||||
MESSAGE("Wobbuffet returned its stats to normal using its White Herb!");
|
MESSAGE("Slugma returned its stats to normal using its White Herb!");
|
||||||
}
|
}
|
||||||
} THEN {
|
} THEN {
|
||||||
EXPECT(player->statStages[STAT_DEF] = DEFAULT_STAT_STAGE - 1);
|
EXPECT(player->statStages[STAT_DEF] = DEFAULT_STAT_STAGE - 1);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user