summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorluckytyphlosion <alan.rj.huang@gmail.com>2015-05-06 12:18:56 -0400
committerluckytyphlosion <alan.rj.huang@gmail.com>2015-05-06 12:18:56 -0400
commit148741e5ebf184ecc29fbe85a07f88930004ba7e (patch)
tree1c25b522a53e7c3113d48b50506e0975afe81aba
parentd237612bb485e1942eee6868b4911f85aeefe049 (diff)
Update pewtercity.asm
-rwxr-xr-xscripts/pewtercity.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/pewtercity.asm b/scripts/pewtercity.asm
index 55369df9..bd6872a1 100755
--- a/scripts/pewtercity.asm
+++ b/scripts/pewtercity.asm
@@ -208,12 +208,12 @@ PewterCityText3: ; 193b1 (6:53b1)
ld hl, PewterCityText_193fb
call PrintText
xor a
- ldh [$b3], a
- ldh [$b4], a
+ ld [hJoyPressed], a
+ ld [hJoyHeld], a
ld [wNPCMovementScriptFunctionNum], a
ld a, $2
ld [wNPCMovementScriptPointerTableNum], a
- ldh a, [$b8]
+ ld a, [H_LOADEDROMBANK]
ld [wNPCMovementScriptBank], a
ld a, $3
ld [wSpriteIndex], a
@@ -273,11 +273,11 @@ PewterCityText5: ; 19436 (6:5436)
ld hl, PewterCityText_1945d
call PrintText
xor a
- ldh [$b4], a
+ ld [hJoyHeld], a
ld [wNPCMovementScriptFunctionNum], a
ld a, $3
ld [wNPCMovementScriptPointerTableNum], a
- ldh a, [$b8]
+ ld a, [H_LOADEDROMBANK]
ld [wNPCMovementScriptBank], a
ld a, $5
ld [wSpriteIndex], a