summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2018-07-26 16:20:52 -0400
committerGitHub <noreply@github.com>2018-07-26 16:20:52 -0400
commit60ffde3752d079d557dab9a8acecb0bc9e5d46aa (patch)
tree5c292bbea695b52001a6dfda9595cd810e8fa28a
parentdc1d0217a19302b462dd62c0d1ccb423245586bf (diff)
parent8755a88458b912975c537e489e182ca956dcac9b (diff)
Merge pull request #489 from i0brendan0/i0brendan0-patch-5
Add Fix for Lock-On Bug
-rw-r--r--docs/bugs_and_glitches.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/bugs_and_glitches.md b/docs/bugs_and_glitches.md
index 52c0ac665..3a6e5508c 100644
--- a/docs/bugs_and_glitches.md
+++ b/docs/bugs_and_glitches.md
@@ -329,8 +329,14 @@ CheckHiddenOpponent:
ret
```
-*To do:* Fix this bug.
+Fix:
+
+```asm
+CheckHiddenOpponent: ; 37daa
+ ret
+```
+The code in `CheckHiddenOpponent` is completely redundant as `CheckHit` already does what this code is doing. Another option is to remove `CheckHiddenOpponent` completely, the calls to `CheckHiddenOpponent`, and the jump afterwards.
## Beat Up can desynchronize link battles