mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-20 22:28:41 +13:00
prevent static wild mon NPCs from refusing to hide after battle
This commit is contained in:
parent
dd71684561
commit
7d13d34093
2 changed files with 14 additions and 11 deletions
|
|
@ -6981,6 +6981,9 @@ PlayMoveAnimation:
|
|||
predef_jump MoveAnimation
|
||||
|
||||
InitBattle::
|
||||
xor a
|
||||
ld [wWasTrainerBattle], a ;Remember to clear wWasTrainerBattle from any previous battles,
|
||||
;because this new battle could be a static wild encounter.
|
||||
ld a, [wCurOpponent]
|
||||
and a
|
||||
jr z, DetermineWildOpponent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue