diff options
author | U-Daniel-PC\Daniel <corrnondacqb@yahoo.com> | 2015-07-03 15:13:35 -0500 |
---|---|---|
committer | U-Daniel-PC\Daniel <corrnondacqb@yahoo.com> | 2015-07-03 15:13:35 -0500 |
commit | 5d9d26bd5c64a5b11021bdd46e2e0786ddef888d (patch) | |
tree | f8ee8f2d9c8042b55edb1a4761833511ab1695b1 /scripts/pewtergym.asm | |
parent | 8431fa7756dace97413f4c35aaa44cd92cf5b6df (diff) |
No more ldh
Diffstat (limited to 'scripts/pewtergym.asm')
-rwxr-xr-x | scripts/pewtergym.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/pewtergym.asm b/scripts/pewtergym.asm index aa7f9153..f4b2ad28 100755 --- a/scripts/pewtergym.asm +++ b/scripts/pewtergym.asm @@ -127,14 +127,14 @@ PewterGymText1: ; 5c44e (17:444e) ld hl, PewterGymText_5c4bc ld de, PewterGymText_5c4bc call SaveEndBattleTextPointers - ldh a, [$8c] + ld a, [H_SPRITEINDEX] ld [wSpriteIndex], a call EngageMapTrainer call InitBattleEnemyParameters ld a, $1 ld [W_GYMLEADERNO], a xor a - ldh [$b4], a + ld [hJoyHeld], a ld a, $3 ld [W_PEWTERGYMCURSCRIPT], a ld [W_CURMAPSCRIPT], a |