Skip to content

Commit

Permalink
Hopefully prevent looking the wrong way on trainers
Browse files Browse the repository at this point in the history
  • Loading branch information
JustRegularLuna committed Jan 3, 2016
1 parent abdd86c commit 7650368
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions home.asm
Expand Up @@ -2359,8 +2359,11 @@ DisplayEnemyTrainerTextAndStartBattle:: ; 324c (0:324c)
ld a, [wd730]
and $1
ret nz ; return if the enemy trainer hasn't finished walking to the player's sprite
ld a, $FF
ld [wJoyIgnore], a
callba FaceEnemyTrainer
xor a
ld [wJoyIgnore], a
ld a, [wSpriteIndex]
ld [hSpriteIndexOrTextID], a
call DisplayTextID
Expand Down

0 comments on commit 7650368

Please sign in to comment.