summaryrefslogtreecommitdiff
path: root/scripts/route5gate.asm
diff options
context:
space:
mode:
authorU-Daniel-PC\Daniel <corrnondacqb@yahoo.com>2014-09-19 23:19:05 -0400
committerU-Daniel-PC\Daniel <corrnondacqb@yahoo.com>2014-09-19 23:19:05 -0400
commitdac95cb42bb8bc953c7a1e1d345a549846d51abf (patch)
treeb996727e4f739da761fc1fa2418c65415ebf93d8 /scripts/route5gate.asm
parent57113a7651ba8a7f88e119ca3de7acb45a77db69 (diff)
parent1185d69819af3493fe8ace9f576fee4b420db55e (diff)
Merge branch 'master' of https://github.com/iimarckus/pokered
Diffstat (limited to 'scripts/route5gate.asm')
-rwxr-xr-xscripts/route5gate.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/route5gate.asm b/scripts/route5gate.asm
index d7abeff5..0e8d0d1c 100755
--- a/scripts/route5gate.asm
+++ b/scripts/route5gate.asm
@@ -27,11 +27,11 @@ Route5GateScript0: ; 1df50 (7:5f50)
xor a
ld [hJoyHeld], a
callba RemoveGuardDrink
- ld a, [$ff00+$db]
+ ld a, [$ffdb]
and a
jr nz, .asm_1df82 ; 0x1df70 $10
ld a, $2
- ld [$ff00+$8c], a
+ ld [$ff8c], a
call DisplayTextID
call Route5GateScript_1df43
ld a, $1
@@ -39,7 +39,7 @@ Route5GateScript0: ; 1df50 (7:5f50)
ret
.asm_1df82
ld a, $3
- ld [$ff00+$8c], a
+ ld [$ff8c], a
call DisplayTextID
ld hl, wd728
set 6, [hl]
@@ -74,7 +74,7 @@ Route5GateText1: ; 1dfaa (7:5faa)
bit 6, a
jr nz, .asm_88856 ; 0x1dfb0 $2c
callba RemoveGuardDrink
- ld a, [$ff00+$db]
+ ld a, [$ffdb]
and a
jr nz, .asm_768a2 ; 0x1dfbd $11
ld hl, Route5GateText2