summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/engine/bank08.asm8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/engine/bank08.asm b/src/engine/bank08.asm
index d674a9c..cfcc178 100644
--- a/src/engine/bank08.asm
+++ b/src/engine/bank08.asm
@@ -6798,6 +6798,14 @@ HandleAIShift: ; 22476 (8:6476)
push bc
call GetCardIDFromDeckIndex
call GetCardType
+ ; in case this is a Mysterious Fossil or Clefairy Doll card,
+ ; AI might read the type of the card incorrectly here.
+ ; uncomment the following lines to account for this
+ ; cp TYPE_TRAINER
+ ; jr nz, .not_trainer
+ ; pop bc
+ ; jr .loop_play_area
+; .not_trainer
call TranslateColorToWR
pop bc
and b