bb190d33dd
* Fix stat drop in doubles for single target moves * Update test/battle/move_effect/pay_day.c Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com> * Update test/battle/move_effect/pay_day.c Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com> * Update test/battle/move_effect/sp_atk_two_down.c Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com> * Update test/battle/move_effect/sp_atk_two_down.c Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com> --------- Co-authored-by: Eduardo Quezada D'Ottone <eduardo602002@gmail.com>
37 lines
979 B
C
37 lines
979 B
C
#include "global.h"
|
|
#include "test/battle.h"
|
|
|
|
ASSUMPTIONS
|
|
{
|
|
ASSUME(MoveHasMoveEffect(MOVE_PAY_DAY, MOVE_EFFECT_PAYDAY));
|
|
}
|
|
|
|
SINGLE_BATTLE_TEST("Pay Day Scatters coins around after it hits - singles")
|
|
{
|
|
GIVEN {
|
|
PLAYER(SPECIES_WOBBUFFET)
|
|
OPPONENT(SPECIES_WOBBUFFET);
|
|
} WHEN {
|
|
TURN { MOVE(player, MOVE_PAY_DAY); }
|
|
} SCENE {
|
|
ANIMATION(ANIM_TYPE_MOVE, MOVE_PAY_DAY, player);
|
|
HP_BAR(opponent);
|
|
MESSAGE("Coins scattered everywhere!");
|
|
}
|
|
}
|
|
|
|
DOUBLE_BATTLE_TEST("Pay Day Scatters coins around after it hits - doubles")
|
|
{
|
|
GIVEN {
|
|
PLAYER(SPECIES_WOBBUFFET)
|
|
PLAYER(SPECIES_WOBBUFFET);
|
|
OPPONENT(SPECIES_WOBBUFFET);
|
|
OPPONENT(SPECIES_WOBBUFFET);
|
|
} WHEN {
|
|
TURN { MOVE(playerLeft, MOVE_PAY_DAY, target: opponentLeft); }
|
|
} SCENE {
|
|
ANIMATION(ANIM_TYPE_MOVE, MOVE_PAY_DAY, playerLeft);
|
|
HP_BAR(opponentLeft);
|
|
MESSAGE("Coins scattered everywhere!");
|
|
}
|
|
}
|