diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-12-23 16:54:26 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-12-23 16:54:26 -0500 |
commit | ed133f5c9afac83b9f9ca4f6951c5bdbe4c95fc5 (patch) | |
tree | 5731b13e7f583e7be713b20cd1b08ec4d72ef237 /home/map_objects.asm | |
parent | 524f57703fb362dd9a131edb1eb5aebad5ffe633 (diff) |
Remove "Buffer" suffix from two HRAM labels
Diffstat (limited to 'home/map_objects.asm')
-rw-r--r-- | home/map_objects.asm | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/home/map_objects.asm b/home/map_objects.asm index 64374c97..9e80e8cb 100644 --- a/home/map_objects.asm +++ b/home/map_objects.asm @@ -20,7 +20,7 @@ GetSpriteVTile:: ld hl, wUsedSprites + 2 ld c, SPRITE_GFX_LIST_CAPACITY - 1 ld b, a - ldh a, [hMapObjectIndexBuffer] + ldh a, [hMapObjectIndex] cp 0 jr z, .nope ld a, b @@ -210,14 +210,14 @@ GetMapObject:: CheckObjectVisibility:: ; Sets carry if the object is not visible on the screen. - ldh [hMapObjectIndexBuffer], a + ldh [hMapObjectIndex], a call GetMapObject ld hl, MAPOBJECT_OBJECT_STRUCT_ID add hl, bc ld a, [hl] cp -1 jr z, .not_visible - ldh [hObjectStructIndexBuffer], a + ldh [hObjectStructIndex], a call GetObjectStruct and a ret @@ -301,21 +301,21 @@ CheckObjectTime:: ret CopyMapObjectStruct:: ; unreferenced - ldh [hMapObjectIndexBuffer], a + ldh [hMapObjectIndex], a call GetMapObject call CopyObjectStruct ret UnmaskCopyMapObjectStruct:: - ldh [hMapObjectIndexBuffer], a + ldh [hMapObjectIndex], a call UnmaskObject - ldh a, [hMapObjectIndexBuffer] + ldh a, [hMapObjectIndex] call GetMapObject farcall CopyObjectStruct ret ApplyDeletionToMapObject:: - ldh [hMapObjectIndexBuffer], a + ldh [hMapObjectIndex], a call GetMapObject ld hl, MAPOBJECT_OBJECT_STRUCT_ID add hl, bc |