From 6a08b8fdec5351506ba0e87989ac2207209fe175 Mon Sep 17 00:00:00 2001 From: Pawkkie Date: Sat, 22 Mar 2025 17:33:43 -0400 Subject: [PATCH] add gastly type assumption --- test/battle/ai/ai_choice.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/battle/ai/ai_choice.c b/test/battle/ai/ai_choice.c index 842ed2de86..590ad2c27f 100644 --- a/test/battle/ai/ai_choice.c +++ b/test/battle/ai/ai_choice.c @@ -199,6 +199,7 @@ AI_SINGLE_BATTLE_TEST("Choiced Pokémon won't use status move if they are trappe AI_SINGLE_BATTLE_TEST("Choiced Pokémon will switch if locked into a move the player is immune to") { GIVEN { + ASSUME(gSpeciesInfo[SPECIES_GASTLY].types[0] == TYPE_GHOST); ASSUME(GetMoveType(MOVE_SURF) == TYPE_WATER); ASSUME(GetMoveType(MOVE_BODY_SLAM) == TYPE_NORMAL); AI_FLAGS(AI_FLAG_CHECK_BAD_MOVE | AI_FLAG_CHECK_VIABILITY | AI_FLAG_TRY_TO_FAINT);