From 39b2a1685c2d365bb8fdb976a91a43804b5f3e40 Mon Sep 17 00:00:00 2001 From: pikalaxalt Date: Tue, 24 May 2016 20:29:57 -0400 Subject: Replace hidden object file include in bank 3c --- engine/overworld/hidden_objects.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engine/overworld') diff --git a/engine/overworld/hidden_objects.asm b/engine/overworld/hidden_objects.asm index 15496b81..cba2a221 100755 --- a/engine/overworld/hidden_objects.asm +++ b/engine/overworld/hidden_objects.asm @@ -1,6 +1,6 @@ -; if a hidden object was found, stores $00 in [$ffee], else stores $ff +; if a hidden object was found, stores $00 in [hDidntFindAnyHiddenObject], else stores $ff CheckForHiddenObject: ; f25f8 (3c:65f8) - ld hl, $ffeb + ld hl, hItemAlreadyFound xor a ld [hli], a ld [hli], a @@ -55,7 +55,7 @@ CheckForHiddenObject: ; f25f8 (3c:65f8) ret .noMatch ld a, $ff - ld [$ffee], a + ld [hDidntFindAnyHiddenObject], a ret ; checks if the coordinates in front of the player's sprite match Y in b and X in c -- cgit v1.2.3