Merge pull request #489 from i0brendan0/i0brendan0-patch-5

Add Fix for Lock-On Bug
This commit is contained in:
Rangi
2018-07-26 16:20:52 -04:00
committed by GitHub

View File

@@ -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