mirror of
https://github.com/pret/pokeyellow.git
synced 2026-10-02 14:19:10 -05:00
Replace hidden object file include in bank 3c
This commit is contained in:
@@ -277,10 +277,8 @@ BeachHouse_h: ; f220e (3c:620e)
|
||||
dr $f220e, $f24ae
|
||||
Func_f24ae: ; f24ae (3c:64ae)
|
||||
dr $f24ae, $f25f8
|
||||
CheckForHiddenObject:: ; f25f8 (3c:65f8)
|
||||
dr $f25f8, $f268d
|
||||
|
||||
INCLUDE "data/hidden_objects.asm"
|
||||
INCLUDE "engine/overworld/hidden_objects.asm"
|
||||
|
||||
Func_f2cd0:
|
||||
ld d, 0
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user