summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
authorU-Daniel-PC\Daniel <corrnondacqb@yahoo.com>2015-07-03 15:13:35 -0500
committerU-Daniel-PC\Daniel <corrnondacqb@yahoo.com>2015-07-03 15:13:35 -0500
commit5d9d26bd5c64a5b11021bdd46e2e0786ddef888d (patch)
treef8ee8f2d9c8042b55edb1a4761833511ab1695b1 /home.asm
parent8431fa7756dace97413f4c35aaa44cd92cf5b6df (diff)
No more ldh
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/home.asm b/home.asm
index 3b8dab1b..f8d7752f 100644
--- a/home.asm
+++ b/home.asm
@@ -2354,7 +2354,7 @@ CheckFightingMapTrainers:: ; 3219 (0:3219)
ld a, D_RIGHT | D_LEFT | D_UP | D_DOWN
ld [wJoyIgnore], a
xor a
- ldh [$b4], a
+ ld [hJoyHeld], a
call TrainerWalkUpToPlayer_Bank0
ld hl, W_CURMAPSCRIPT
inc [hl] ; increment map script index (next script function is usually DisplayEnemyTrainerTextAndStartBattle)