summaryrefslogtreecommitdiff
path: root/scripts/oakslab.asm
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 /scripts/oakslab.asm
parent7f6d0d49b61a77cfba76057d99881634b882486b (diff)
yet more naming
Diffstat (limited to 'scripts/oakslab.asm')
-rwxr-xr-xscripts/oakslab.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/oakslab.asm b/scripts/oakslab.asm
index 329d3c25..93f87657 100755
--- a/scripts/oakslab.asm
+++ b/scripts/oakslab.asm
@@ -522,11 +522,11 @@ OaksLabScript15: ; 1ceb0 (7:4eb0)
ld [wMissableObjectIndex], a
predef ShowObject
ld a, [wNPCMovementDirections2Index]
- ld [wd157], a
- ld b, $0
+ ld [wSavedNPCMovementDirections2Index], a
+ ld b, 0
ld c, a
ld hl, wNPCMovementDirections2
- ld a, $40
+ ld a, NPC_MOVEMENT_UP
call FillMemory
ld [hl], $ff
ld a, $1
@@ -604,11 +604,11 @@ OaksLabScript16: ; 1cf12 (7:4f12)
ld a, HS_OLD_MAN
ld [wMissableObjectIndex], a
predef ShowObject
- ld a, [wd157]
- ld b, $0
+ ld a, [wSavedNPCMovementDirections2Index]
+ ld b, 0
ld c, a
ld hl, wNPCMovementDirections2
- xor a
+ xor a ; NPC_MOVEMENT_DOWN
call FillMemory
ld [hl], $ff
ld a, $ff