summaryrefslogtreecommitdiff
path: root/misc/crystal_misc.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-12-28 18:44:23 -0800
committeryenatch <yenatch@gmail.com>2014-12-28 18:44:23 -0800
commit346844a61328943cd5fffb0a6b7934b97a4fc0cb (patch)
tree80ed02da4f3f11c49a25622e8310c1856c4b0e6a /misc/crystal_misc.asm
parent0c55e33b5ff0a6868eb6d5a7c7dde813b81d1ad8 (diff)
Replace pointless $FF00+$xx with $ffxx.
Diffstat (limited to 'misc/crystal_misc.asm')
-rw-r--r--misc/crystal_misc.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/crystal_misc.asm b/misc/crystal_misc.asm
index 17f32ce4b..12c20e965 100644
--- a/misc/crystal_misc.asm
+++ b/misc/crystal_misc.asm
@@ -151,13 +151,13 @@ Function17a770: ; 17a770 (5e:6770)
ret
Function17a781: ; 17a781 (5e:6781)
- ld a, [$FF00+$aa]
+ ld a, [$ffaa]
push af
ld a, $1
- ld [$FF00+$aa], a
+ ld [$ffaa], a
call Functiona57
pop af
- ld [$FF00+$aa], a
+ ld [$ffaa], a
ret
Function17a78f: ; 17a78f (5e:678f)
@@ -261,7 +261,7 @@ Function17a81a: ; 17a81a (5e:681a)
ret
Function17a83c: ; 17a83c (5e:683c)
- ld a, [$FF00+$a9]
+ ld a, [$ffa9]
and $f0
ld c, a
ld a, [hJoyPressed] ; $ff00+$a7