mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
25 lines
667 B
C
25 lines
667 B
C
#include "global.h"
|
|
#include "test_battle.h"
|
|
|
|
#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
|
|
{
|
|
GIVEN {
|
|
PLAYER(SPECIES_ABOMASNOW) { Ability(ABILITY_SNOW_WARNING); }
|
|
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
|
|
}
|
|
}
|