aboutsummaryrefslogtreecommitdiffstats
path: root/engine/overworld/oam.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-06-12 00:54:14 -0700
committerGitHub <noreply@github.com>2016-06-12 00:54:14 -0700
commit2b2c6fefd311101c87845c8c498746dc74bd725f (patch)
tree3f917e1bf896e380cfea6d2d876ff68a4db87a57 /engine/overworld/oam.asm
parentRemove the last address comments (diff)
parentmore syncing with pokeyellow (diff)
downloadpokeyellow-2b2c6fefd311101c87845c8c498746dc74bd725f.tar.gz
pokeyellow-2b2c6fefd311101c87845c8c498746dc74bd725f.tar.xz
pokeyellow-2b2c6fefd311101c87845c8c498746dc74bd725f.zip
Merge pull request #134 from YamaArashi/master
sync engine code with pokeyellow
Diffstat (limited to 'engine/overworld/oam.asm')
-rw-r--r--engine/overworld/oam.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/overworld/oam.asm b/engine/overworld/oam.asm
index 94082beb..2c2a3dff 100644
--- a/engine/overworld/oam.asm
+++ b/engine/overworld/oam.asm
@@ -6,7 +6,7 @@ PrepareOAMData:
dec a
jr z, .updateEnabled
- cp 0 - 1
+ cp -1
ret nz
ld [wUpdateSpritesEnabled], a
jp HideSprites