Make B_VAR_STARTING_STATUS tests run in CI (#7419)
This commit is contained in:
parent
fa129ba906
commit
7b2fe32050
@ -1132,6 +1132,10 @@
|
|||||||
// Vars
|
// Vars
|
||||||
#undef B_VAR_DIFFICULTY
|
#undef B_VAR_DIFFICULTY
|
||||||
#define B_VAR_DIFFICULTY TESTING_VAR_DIFFICULTY
|
#define B_VAR_DIFFICULTY TESTING_VAR_DIFFICULTY
|
||||||
|
#undef B_VAR_STARTING_STATUS
|
||||||
|
#define B_VAR_STARTING_STATUS TESTING_VAR_STARTING_STATUS
|
||||||
|
#undef B_VAR_STARTING_STATUS_TIMER
|
||||||
|
#define B_VAR_STARTING_STATUS_TIMER TESTING_VAR_STARTING_STATUS_TIMER
|
||||||
|
|
||||||
// Flags
|
// Flags
|
||||||
#undef B_FLAG_SLEEP_CLAUSE
|
#undef B_FLAG_SLEEP_CLAUSE
|
||||||
|
|||||||
@ -325,15 +325,15 @@
|
|||||||
#define VAR_TEMP_TRANSFERRED_SPECIES VAR_TEMP_1
|
#define VAR_TEMP_TRANSFERRED_SPECIES VAR_TEMP_1
|
||||||
|
|
||||||
#if TESTING
|
#if TESTING
|
||||||
#define TESTING_VARS_START 0x9000
|
#define TESTING_VARS_START 0x9000
|
||||||
#define TESTING_VAR_DIFFICULTY (TESTING_VARS_START + 0x0)
|
#define TESTING_VAR_DIFFICULTY (TESTING_VARS_START + 0x0)
|
||||||
#define TESTING_VAR_UNUSED_1 (TESTING_VARS_START + 0x1)
|
#define TESTING_VAR_STARTING_STATUS (TESTING_VARS_START + 0x1)
|
||||||
#define TESTING_VAR_UNUSED_2 (TESTING_VARS_START + 0x2)
|
#define TESTING_VAR_STARTING_STATUS_TIMER (TESTING_VARS_START + 0x2)
|
||||||
#define TESTING_VAR_UNUSED_3 (TESTING_VARS_START + 0x3)
|
#define TESTING_VAR_UNUSED_3 (TESTING_VARS_START + 0x3)
|
||||||
#define TESTING_VAR_UNUSED_4 (TESTING_VARS_START + 0x4)
|
#define TESTING_VAR_UNUSED_4 (TESTING_VARS_START + 0x4)
|
||||||
#define TESTING_VAR_UNUSED_5 (TESTING_VARS_START + 0x5)
|
#define TESTING_VAR_UNUSED_5 (TESTING_VARS_START + 0x5)
|
||||||
#define TESTING_VAR_UNUSED_6 (TESTING_VARS_START + 0x6)
|
#define TESTING_VAR_UNUSED_6 (TESTING_VARS_START + 0x6)
|
||||||
#define TESTING_VAR_UNUSED_7 (TESTING_VARS_START + 0x7)
|
#define TESTING_VAR_UNUSED_7 (TESTING_VARS_START + 0x7)
|
||||||
#endif // TESTING
|
#endif // TESTING
|
||||||
|
|
||||||
#endif // GUARD_CONSTANTS_VARS_H
|
#endif // GUARD_CONSTANTS_VARS_H
|
||||||
|
|||||||
@ -29,19 +29,20 @@ SINGLE_BATTLE_TEST("B_VAR_STARTING_STATUS starts a chosen terrain at the beginni
|
|||||||
TURN { ; }
|
TURN { ; }
|
||||||
TURN { ; }
|
TURN { ; }
|
||||||
} SCENE {
|
} SCENE {
|
||||||
switch (terrain) {
|
switch (terrain)
|
||||||
case STARTING_STATUS_GRASSY_TERRAIN:
|
{
|
||||||
MESSAGE("Grass grew to cover the battlefield!");
|
case STARTING_STATUS_GRASSY_TERRAIN:
|
||||||
break;
|
MESSAGE("The battlefield is covered with grass!");
|
||||||
case STARTING_STATUS_PSYCHIC_TERRAIN:
|
break;
|
||||||
MESSAGE("The battlefield got weird!");
|
case STARTING_STATUS_PSYCHIC_TERRAIN:
|
||||||
break;
|
MESSAGE("The battlefield seems weird!");
|
||||||
case STARTING_STATUS_MISTY_TERRAIN:
|
break;
|
||||||
MESSAGE("Mist swirled around the battlefield!");
|
case STARTING_STATUS_MISTY_TERRAIN:
|
||||||
break;
|
MESSAGE("Mist swirls around the battlefield!");
|
||||||
case STARTING_STATUS_ELECTRIC_TERRAIN:
|
break;
|
||||||
MESSAGE("An electric current is running across the battlefield!");
|
case STARTING_STATUS_ELECTRIC_TERRAIN:
|
||||||
break;
|
MESSAGE("An electric current is running across the battlefield!");
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_RESTORE_BG);
|
ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_RESTORE_BG);
|
||||||
NONE_OF {
|
NONE_OF {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user