summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEldred Habert <eldredhabert0@gmail.com>2019-11-06 23:25:31 +0100
committermid-kid <esteve.varela@gmail.com>2019-11-06 22:25:31 +0000
commit2c6690d10deb309102e7b69f77f973d12e4afb50 (patch)
tree8f627a8b0ea75ca537f4a0255536928df74315e7
parent9ebe549347aa16ae3f10d3261242bb1e7bbb6ca6 (diff)
Update bug fix for AI CheckTypeMatchup assumption (#656)
The bug fix caused all player moves to have Normal-type effectiveness
-rw-r--r--docs/bugs_and_glitches.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/bugs_and_glitches.md b/docs/bugs_and_glitches.md
index b14c71f35..f4f6a6159 100644
--- a/docs/bugs_and_glitches.md
+++ b/docs/bugs_and_glitches.md
@@ -670,8 +670,10 @@ This bug existed for all battles in Gold and Silver, and was only fixed for sing
ld hl, wEnemyMonType1
ldh a, [hBattleTurn]
and a
- jr z, CheckTypeMatchup
+- jr z, CheckTypeMatchup
++ jr z, .get_type
ld hl, wBattleMonType1
++.get_type
+ ld a, BATTLE_VARS_MOVE_TYPE
+ call GetBattleVar ; preserves hl, de, and bc
CheckTypeMatchup: