diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2018-01-09 17:20:47 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2018-01-09 17:20:47 -0500 |
commit | a8cf8979d9acf66d1bdf4ea115ab6a0faa8f9d34 (patch) | |
tree | 317d59efe06dc7d62bd35827f956a3d9b5aa0fd0 /engine/pokedex.asm | |
parent | ce50d1b2cb4eebf8484cf12e6280c441ec94ae39 (diff) |
Do a little cleanup towards issue #465
Diffstat (limited to 'engine/pokedex.asm')
-rw-r--r-- | engine/pokedex.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/pokedex.asm b/engine/pokedex.asm index 163f1afee..031998b9f 100644 --- a/engine/pokedex.asm +++ b/engine/pokedex.asm @@ -2422,7 +2422,7 @@ Pokedex_LoadCurrentFootprint: ; 41478 (10:5478) Pokedex_LoadAnyFootprint: ; 4147b ld a, [wd265] dec a - and ($ff ^ $07) ; $f8 ; $1f << 3 + and %11111000 srl a srl a srl a @@ -2430,7 +2430,7 @@ Pokedex_LoadAnyFootprint: ; 4147b ld d, a ld a, [wd265] dec a - and 7 + and %111 swap a ; * $10 ld l, a ld h, 0 |