diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-21 12:11:35 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-21 12:11:35 -0500 |
commit | ff4d25eee37c0947736258a5f9dea89072b3d7e3 (patch) | |
tree | 55d9741d7937f69085edbd03f58a6f7830cc7b71 /engine/overworld.asm | |
parent | d6dccb7df57b4afa86483ed8c68dca605125fbdb (diff) |
Include bugfix in comments
Diffstat (limited to 'engine/overworld.asm')
-rwxr-xr-x | engine/overworld.asm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engine/overworld.asm b/engine/overworld.asm index 90291b616..a085d1d5a 100755 --- a/engine/overworld.asm +++ b/engine/overworld.asm @@ -389,8 +389,8 @@ AddSpriteGFX: ; 142e5 LoadSpriteGFX: ; 14306 -; Bug: b is not preserved, so -; it's useless as a next count. +; Bug: b is not preserved, so it's useless as a next count. +; Uncomment the lines below to fix. ld hl, UsedSprites ld b, SPRITE_GFX_LIST_CAPACITY @@ -409,7 +409,9 @@ LoadSpriteGFX: ; 14306 ret .LoadSprite: + ; push bc call GetSprite + ; pop bc ld a, l ret ; 1431e |