mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
Apply suggestions from code review
Co-authored-by: Salem <65783283+CallmeEchoo@users.noreply.github.com>
This commit is contained in:
parent
bdd0195fe0
commit
3652e8261a
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
ASSUMPTIONS
|
ASSUMPTIONS
|
||||||
{
|
{
|
||||||
gItems[ITEM_MIRROR_HERB].holdEffect == HOLD_EFFECT_MIRROR_HERB;
|
ASSUME(gItems[ITEM_MIRROR_HERB].holdEffect == HOLD_EFFECT_MIRROR_HERB);
|
||||||
};
|
};
|
||||||
|
|
||||||
SINGLE_BATTLE_TEST("Mirror Herb copies all of foe's stat changes in a turn", s16 damage)
|
SINGLE_BATTLE_TEST("Mirror Herb copies all of foe's stat changes in a turn", s16 damage)
|
||||||
@ -12,7 +12,6 @@ SINGLE_BATTLE_TEST("Mirror Herb copies all of foe's stat changes in a turn", s16
|
|||||||
PARAMETRIZE{ item = ITEM_NONE; }
|
PARAMETRIZE{ item = ITEM_NONE; }
|
||||||
PARAMETRIZE{ item = ITEM_MIRROR_HERB; }
|
PARAMETRIZE{ item = ITEM_MIRROR_HERB; }
|
||||||
GIVEN {
|
GIVEN {
|
||||||
ASSUME(gItems[ITEM_MIRROR_HERB].holdEffect == HOLD_EFFECT_MIRROR_HERB);
|
|
||||||
PLAYER(SPECIES_WOBBUFFET) { Speed(4); }
|
PLAYER(SPECIES_WOBBUFFET) { Speed(4); }
|
||||||
OPPONENT(SPECIES_WOBBUFFET) { Speed(5); Item(item); }
|
OPPONENT(SPECIES_WOBBUFFET) { Speed(5); Item(item); }
|
||||||
} WHEN {
|
} WHEN {
|
||||||
@ -38,7 +37,6 @@ SINGLE_BATTLE_TEST("Mirror Herb copies all of foe's stat changes in a turn", s16
|
|||||||
SINGLE_BATTLE_TEST("Mirror Herb copies all of of Stuff Cheeks", s16 damage)
|
SINGLE_BATTLE_TEST("Mirror Herb copies all of of Stuff Cheeks", s16 damage)
|
||||||
{
|
{
|
||||||
GIVEN {
|
GIVEN {
|
||||||
ASSUME(gItems[ITEM_MIRROR_HERB].holdEffect == HOLD_EFFECT_MIRROR_HERB);
|
|
||||||
ASSUME(gItems[ITEM_LIECHI_BERRY].holdEffect == HOLD_EFFECT_ATTACK_UP);
|
ASSUME(gItems[ITEM_LIECHI_BERRY].holdEffect == HOLD_EFFECT_ATTACK_UP);
|
||||||
PLAYER(SPECIES_SKWOVET) { Item(ITEM_LIECHI_BERRY); }
|
PLAYER(SPECIES_SKWOVET) { Item(ITEM_LIECHI_BERRY); }
|
||||||
OPPONENT(SPECIES_WOBBUFFET) { Item(ITEM_MIRROR_HERB); }
|
OPPONENT(SPECIES_WOBBUFFET) { Item(ITEM_MIRROR_HERB); }
|
||||||
|
Loading…
Reference in New Issue
Block a user