mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Merge pull request #489 from i0brendan0/i0brendan0-patch-5
Add Fix for Lock-On Bug
This commit is contained in:
commit
60ffde3752
@ -329,8 +329,14 @@ CheckHiddenOpponent:
|
|||||||
ret
|
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
|
## Beat Up can desynchronize link battles
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user