mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 08:05: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
|
|
@ -31,7 +31,7 @@ SSAnne2Script0:
|
|||
ld a, MUSIC_MEET_RIVAL
|
||||
call PlayMusic
|
||||
ld a, [wCoordIndex]
|
||||
ld [$ffdb], a
|
||||
ld [hSavedCoordIndex], a
|
||||
ld a, HS_SS_ANNE_2F_RIVAL
|
||||
ld [wMissableObjectIndex], a
|
||||
predef ShowObject
|
||||
|
|
@ -43,7 +43,7 @@ SSAnne2Script0:
|
|||
ld [hJoyHeld], a
|
||||
ld a, $f0
|
||||
ld [wJoyIgnore], a
|
||||
ld a, [$ffdb]
|
||||
ld a, [hSavedCoordIndex]
|
||||
cp $2
|
||||
jr nz, .asm_61400
|
||||
ld de, MovementData_6140c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue