diff options
| author | YamaArashi <shadow962@live.com> | 2016-06-11 17:48:24 -0700 |
|---|---|---|
| committer | YamaArashi <shadow962@live.com> | 2016-06-11 17:50:20 -0700 |
| commit | 7e112672b436afee27f1a5a0d6e7a5964e7829b2 (patch) | |
| tree | 9176ffc5b6384a48eb32ea8f33ac97d1d67f6865 /engine/overworld/oam.asm | |
| parent | Merge branch 'master' of github.com:pret/pokeyellow (diff) | |
| download | pokeyellow-7e112672b436afee27f1a5a0d6e7a5964e7829b2.tar.gz pokeyellow-7e112672b436afee27f1a5a0d6e7a5964e7829b2.tar.xz pokeyellow-7e112672b436afee27f1a5a0d6e7a5964e7829b2.zip | |
remove address comments
Diffstat (limited to 'engine/overworld/oam.asm')
| -rw-r--r-- | engine/overworld/oam.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/overworld/oam.asm b/engine/overworld/oam.asm index ede025cd..5b9831b0 100644 --- a/engine/overworld/oam.asm +++ b/engine/overworld/oam.asm @@ -1,4 +1,4 @@ -PrepareOAMData: ; 499b (1:499b) +PrepareOAMData: ; Determine OAM data for currently visible ; sprites and write it to wOAMBuffer. ; Yellow code has been changed to use registers more efficiently @@ -164,7 +164,7 @@ PrepareOAMData: ; 499b (1:499b) jr nz, .clearLoop ret -GetSpriteScreenXY: ; 4a5f (1:4a5f) +GetSpriteScreenXY: inc e inc e ld a, [de] ; c1x4 @@ -186,7 +186,7 @@ GetSpriteScreenXY: ; 4a5f (1:4a5f) ld [de], a ; c1xb (x) ret -Func_4a7b: ; 4a7b (1:4a7b) +Func_4a7b: push bc ld a, [wd5cd] ; temp copy of c1x2 swap a ; high nybble determines sprite used (0 is always player sprite, next are some npcs) @@ -212,7 +212,7 @@ Func_4a7b: ; 4a7b (1:4a7b) INCLUDE "engine/oam_dma.asm" -_IsTilePassable:: ; 4aaa (1:4aaa) +_IsTilePassable:: ld hl,wTilesetCollisionPtr ; pointer to list of passable tiles ld a,[hli] ld h,[hl] @@ -229,4 +229,4 @@ _IsTilePassable:: ; 4aaa (1:4aaa) scf ret -INCLUDE "data/collision.asm" ; probably
\ No newline at end of file +INCLUDE "data/collision.asm" ; probably |
