mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 16:15:23 +13:00
Replace raw hex values with HRAM constants
To do: turn constants into labels and use ldh
This commit is contained in:
parent
35deb77113
commit
6ef36800b0
65 changed files with 311 additions and 248 deletions
|
|
@ -27,7 +27,7 @@ Route5GateScript0:
|
|||
xor a
|
||||
ld [hJoyHeld], a
|
||||
callba RemoveGuardDrink
|
||||
ld a, [$ffdb]
|
||||
ld a, [hItemToRemoveID]
|
||||
and a
|
||||
jr nz, .asm_1df82
|
||||
ld a, $2
|
||||
|
|
@ -74,7 +74,7 @@ Route5GateText1:
|
|||
bit 6, a
|
||||
jr nz, .asm_88856
|
||||
callba RemoveGuardDrink
|
||||
ld a, [$ffdb]
|
||||
ld a, [hItemToRemoveID]
|
||||
and a
|
||||
jr nz, .asm_768a2
|
||||
ld hl, Route5GateText2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue