summaryrefslogtreecommitdiff
path: root/src/engine/bank08.asm
diff options
context:
space:
mode:
authorDaniel Harding <33dannye@gmail.com>2020-12-29 10:56:20 -0600
committerGitHub <noreply@github.com>2020-12-29 10:56:20 -0600
commit39a348c7844186be17b59dfcfae6b043ec2eb489 (patch)
tree39952a38b4eff7f5cd2fdc5f9ec0e50f104b948b /src/engine/bank08.asm
parent9fab715759ddf919b0c4bb9a01095c4c225fcac0 (diff)
parentd88dec249853d441b5469a3825aedf378538e0d5 (diff)
Merge pull request #85 from ElectroDeoxys/master
Document bugs and glitches
Diffstat (limited to 'src/engine/bank08.asm')
-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