summaryrefslogtreecommitdiff
path: root/engine/overworld/hidden_objects.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-06-11 17:51:03 -0700
committerGitHub <noreply@github.com>2016-06-11 17:51:03 -0700
commit54143d33fc1211fb0c949ba62633d1c8d94f2717 (patch)
tree9176ffc5b6384a48eb32ea8f33ac97d1d67f6865 /engine/overworld/hidden_objects.asm
parentdb0ac16b6b4f257de338d1aaac561e681ca8723a (diff)
parent7e112672b436afee27f1a5a0d6e7a5964e7829b2 (diff)
Merge pull request #13 from YamaArashi/master
remove address comments
Diffstat (limited to 'engine/overworld/hidden_objects.asm')
-rwxr-xr-xengine/overworld/hidden_objects.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/overworld/hidden_objects.asm b/engine/overworld/hidden_objects.asm
index 6e515b5a..9a81dcfc 100755
--- a/engine/overworld/hidden_objects.asm
+++ b/engine/overworld/hidden_objects.asm
@@ -1,5 +1,5 @@
; if a hidden object was found, stores $00 in [hDidntFindAnyHiddenObject], else stores $ff
-CheckForHiddenObject: ; f25f8 (3c:65f8)
+CheckForHiddenObject:
ld hl, hItemAlreadyFound
xor a
ld [hli], a
@@ -60,7 +60,7 @@ CheckForHiddenObject: ; f25f8 (3c:65f8)
; checks if the coordinates in front of the player's sprite match Y in b and X in c
; [hCoordsInFrontOfPlayerMatch] = $00 if they match, $ff if they don't match
-CheckIfCoordsInFrontOfPlayerMatch: ; 46a01 (11:6a01)
+CheckIfCoordsInFrontOfPlayerMatch:
ld a, [wPlayerFacingDirection] ; player's sprite facing direction
cp SPRITE_FACING_UP
jr z, .facingUp