summaryrefslogtreecommitdiff
path: root/scripts/saffrongym.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/saffrongym.asm')
-rwxr-xr-xscripts/saffrongym.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/saffrongym.asm b/scripts/saffrongym.asm
index 567f79d8..cae60f45 100755
--- a/scripts/saffrongym.asm
+++ b/scripts/saffrongym.asm
@@ -36,7 +36,7 @@ SaffronGymScriptPointers: ; 5d053 (17:5053)
dw SaffronGymScript3
SaffronGymScript3: ; 5d05b (17:505b)
- ld a, [W_ISINBATTLE]
+ ld a, [wIsInBattle]
cp $ff
jp z, SaffronGymText_5d048
ld a, $f0
@@ -177,7 +177,7 @@ SaffronGymText1: ; 5d118 (17:5118)
call EngageMapTrainer
call InitBattleEnemyParameters
ld a, $6
- ld [W_GYMLEADERNO], a
+ ld [wGymLeaderNo], a
ld a, $3
ld [W_SAFFRONGYMCURSCRIPT], a
.asm_5d15f