pokeemerald/test/ability_snow_warning.c

25 lines
667 B
C
Raw Normal View History

2023-05-02 16:16:58 +02:00
#include "global.h"
#include "test_battle.h"
2023-05-02 21:17:14 +02:00
#if B_SNOW_WARNING < GEN_9
SINGLE_BATTLE_TEST("Snow Warning summons hail")
#elif B_SNOW_WARNING >= GEN_9
SINGLE_BATTLE_TEST("Snow Warning summons snow")
#endif
2023-05-02 16:16:58 +02:00
{
GIVEN {
2023-06-23 11:38:18 +02:00
PLAYER(SPECIES_ABOMASNOW) { Ability(ABILITY_SNOW_WARNING); }
2023-05-02 16:16:58 +02:00
OPPONENT(SPECIES_WOBBUFFET);
} WHEN {
TURN {}
} SCENE {
#if B_SNOW_WARNING < GEN_9
MESSAGE("It started to hail!");
ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HAIL_CONTINUES);
#elif B_SNOW_WARNING >= GEN_9
MESSAGE("It started to snow!");
ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_SNOW_CONTINUES);
#endif
}
}