From d40f695685a4959d4a675fde979673ded88dfd5b Mon Sep 17 00:00:00 2001 From: ElectroDeoxys Date: Mon, 21 Dec 2020 00:15:23 +0000 Subject: Update DetermineAIScoreOfMoveEnergyRequirement bug description --- src/engine/bank05.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/engine/bank05.asm b/src/engine/bank05.asm index 2b59c96..0de163d 100644 --- a/src/engine/bank05.asm +++ b/src/engine/bank05.asm @@ -4437,8 +4437,8 @@ DetermineAIScoreOfMoveEnergyRequirement: ; 16695 (5:6695) ; this is an identical check as above to test whether this card is active. ; in case it is active, the score gets added 10 more points, ; in addition to the 20 points already added above. -; what was probably intended was to add 20 points in case this card -; is active and only 10 in case it is benched. +; what was probably intended was to add 20 points +; plus 10 in case it is the Arena card. ldh a, [hTempPlayAreaLocation_ff9d] or a jr nz, .check_evolution -- cgit v1.2.3 From 58e2c945e98b30836f2eb29f1bd53cfdf01d66a6 Mon Sep 17 00:00:00 2001 From: ElectroDeoxys Date: Mon, 21 Dec 2020 10:01:30 +0000 Subject: Document AI Shift bug --- src/engine/bank08.asm | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') 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 -- cgit v1.2.3