mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
Replace item constants
This commit is contained in:
parent
d6de00bbbb
commit
15f56e7ab2
10
main.asm
10
main.asm
|
@ -37707,7 +37707,7 @@ CinnabarIslandScriptPointers: ; 1ca34 (7:4a34)
|
||||||
dw CinnabarIslandScript1
|
dw CinnabarIslandScript1
|
||||||
|
|
||||||
CinnabarIslandScript0: ; 1ca38 (7:4a38)
|
CinnabarIslandScript0: ; 1ca38 (7:4a38)
|
||||||
ld b, $2b
|
ld b, SECRET_KEY
|
||||||
call IsItemInBag
|
call IsItemInBag
|
||||||
ret nz
|
ret nz
|
||||||
ld a, [$d361]
|
ld a, [$d361]
|
||||||
|
@ -76192,7 +76192,7 @@ Route16GateScript3: ; 49741 (12:5741)
|
||||||
ret
|
ret
|
||||||
|
|
||||||
Func_49755: ; 49755 (12:5755)
|
Func_49755: ; 49755 (12:5755)
|
||||||
ld b, $6
|
ld b, BICYCLE
|
||||||
jp IsItemInBag
|
jp IsItemInBag
|
||||||
|
|
||||||
Route16GateTextPointers: ; 4975a (12:575a)
|
Route16GateTextPointers: ; 4975a (12:575a)
|
||||||
|
@ -81493,7 +81493,7 @@ Func_52673: ; 52673 (14:6673)
|
||||||
cp $5e
|
cp $5e
|
||||||
ret nz
|
ret nz
|
||||||
.asm_5269c
|
.asm_5269c
|
||||||
ld b, $30
|
ld b, CARD_KEY
|
||||||
call IsItemInBag
|
call IsItemInBag
|
||||||
jr z, .asm_526dc
|
jr z, .asm_526dc
|
||||||
call Func_526fd
|
call Func_526fd
|
||||||
|
@ -89029,10 +89029,10 @@ Func_59b73: ; 59b73 (16:5b73)
|
||||||
ld a, [$d771]
|
ld a, [$d771]
|
||||||
bit 1, a
|
bit 1, a
|
||||||
ret nz
|
ret nz
|
||||||
ld b, $6
|
ld b, BICYCLE
|
||||||
call IsItemInBag
|
call IsItemInBag
|
||||||
ret nz
|
ret nz
|
||||||
ld b, $2d
|
ld b, BIKE_VOUCHER
|
||||||
jp IsItemInBag
|
jp IsItemInBag
|
||||||
|
|
||||||
FanClubTextPointers: ; 59b84 (16:5b84)
|
FanClubTextPointers: ; 59b84 (16:5b84)
|
||||||
|
|
Loading…
Reference in a new issue