diff options
author | ElectroDeoxys <ElectroDeoxys@gmail.com> | 2020-12-21 10:01:30 +0000 |
---|---|---|
committer | ElectroDeoxys <ElectroDeoxys@gmail.com> | 2020-12-21 10:03:34 +0000 |
commit | 58e2c945e98b30836f2eb29f1bd53cfdf01d66a6 (patch) | |
tree | fda37fd93176ff4fc5a7a6b9acbfd65a1436d5a3 /src | |
parent | 4ffd9bef434e7d2b24c60906538f76013882f34e (diff) |
Document AI Shift bug
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/bank08.asm | 8 |
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 |