diff options
author | YamaArashi <shadow962@live.com> | 2015-07-15 13:58:21 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2015-07-15 13:58:21 -0700 |
commit | ac78dda7d8a4a6cf9af95f601bdac9fc348c65a6 (patch) | |
tree | 8e4e90bedb2bfcd6453794afbf48974f6be0157c /engine/overworld/oam.asm | |
parent | 7b676f5851a2b6fe0001f259afde6e9918b93683 (diff) |
more movement stuff
Diffstat (limited to 'engine/overworld/oam.asm')
-rw-r--r-- | engine/overworld/oam.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/overworld/oam.asm b/engine/overworld/oam.asm index 0bd16e1a..41360965 100644 --- a/engine/overworld/oam.asm +++ b/engine/overworld/oam.asm @@ -16,10 +16,10 @@ PrepareOAMData: ld [hOAMBufferOffset], a .spriteLoop - ld [hSpriteDataOffset2], a + ld [hSpriteOffset2], a ld d, wSpriteStateData1 / $100 - ld a, [hSpriteDataOffset2] + ld a, [hSpriteOffset2] ld e, a ld a, [de] ; c1x0 and a @@ -139,7 +139,7 @@ PrepareOAMData: ld [hOAMBufferOffset], a .nextSprite - ld a, [hSpriteDataOffset2] + ld a, [hSpriteOffset2] add $10 cp $100 % $100 jp nz, .spriteLoop |