Fix Berserk Gene confusion count in docs/bugs_and_glitches.md

Thanks to Major_Agnostic#4555 and Idain#2857
This commit is contained in:
mid-kid 2021-11-30 18:57:04 +01:00
parent 9042b8f83d
commit c65325491d

View File

@ -323,9 +323,9 @@ This bug existed for all battles in Gold and Silver, and was only fixed for sing
set SUBSTATUS_CONFUSED, [hl]
+ ldh a, [hBattleTurn]
+ and a
+ ld hl, wEnemyConfuseCount
+ jr z, .set_confuse_count
+ ld hl, wPlayerConfuseCount
+ jr z, .set_confuse_count
+ ld hl, wEnemyConfuseCount
+.set_confuse_count
+ call BattleRandom
+ and %11