summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2015-07-25 19:26:54 -0700
committerYamaArashi <shadow962@live.com>2015-07-25 19:26:54 -0700
commit93255d6d17fbb3702a0f8670d7ecc2ed627af2a7 (patch)
treed14acaf4efeb96e252c0e195a757ea212b8c69a0 /home
parent7f6d0d49b61a77cfba76057d99881634b882486b (diff)
yet more naming
Diffstat (limited to 'home')
-rw-r--r--home/overworld.asm13
-rw-r--r--home/text.asm8
2 files changed, 11 insertions, 10 deletions
diff --git a/home/overworld.asm b/home/overworld.asm
index bd9f4a0a..3675eca8 100644
--- a/home/overworld.asm
+++ b/home/overworld.asm
@@ -106,13 +106,14 @@ OverworldLoopLessDelay::
aCoord 8, 9
ld [wTilePlayerStandingOn],a ; unused?
call DisplayTextID ; display either the start menu or the NPC/sign text
- ld a,[wcc47]
+ ld a,[wEnteringCableClub]
and a
jr z,.checkForOpponent
dec a
- ld a,$00
- ld [wcc47],a
+ ld a,0
+ ld [wEnteringCableClub],a
jr z,.changeMap
+; XXX can this code be reached?
predef LoadSAV
ld a,[W_CURMAP]
ld [wDestinationMap],a
@@ -470,16 +471,16 @@ WarpFound1:: ; 0735 (0:0735)
WarpFound2:: ; 073c (0:073c)
ld a,[wNumberOfWarps]
sub c
- ld [wd73b],a ; save ID of used warp
+ ld [wWarpedFromWhichWarp],a ; save ID of used warp
ld a,[W_CURMAP]
- ld [wd73c],a
+ ld [wWarpedFromWhichMap],a
call CheckIfInOutsideMap
jr nz,.indoorMaps
; this is for handling "outside" maps that can't have the 0xFF destination map
ld a,[W_CURMAP]
ld [wLastMap],a
ld a,[W_CURMAPWIDTH]
- ld [wd366],a
+ ld [wUnusedD366],a ; not read
ld a,[hWarpDestinationMap]
ld [W_CURMAP],a
cp a,ROCK_TUNNEL_1
diff --git a/home/text.asm b/home/text.asm
index d57fc03f..366dfd73 100644
--- a/home/text.asm
+++ b/home/text.asm
@@ -376,9 +376,9 @@ TextCommandProcessor:: ; 1b40 (0:1b40)
xor e
ld [wLetterPrintingDelayFlags],a
ld a,c
- ld [wcc3a],a
+ ld [wUnusedCC3A],a
ld a,b
- ld [wcc3b],a
+ ld [wUnusedCC3B],a
NextTextCommand:: ; 1b55 (0:1b55)
ld a,[hli]
@@ -487,10 +487,10 @@ TextCommand02:: ; 1ba5 (0:1ba5)
TextCommand03:: ; 1bb7 (0:1bb7)
pop hl
ld a,[hli]
- ld [wcc3a],a
+ ld [wUnusedCC3A],a
ld c,a
ld a,[hli]
- ld [wcc3b],a
+ ld [wUnusedCC3B],a
ld b,a
jp NextTextCommand