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
|
|
@ -96,7 +96,7 @@ CinnabarGymScript2:
|
|||
cp $ff
|
||||
jp z, CinnabarGymScript_75792
|
||||
ld a, [wTrainerHeaderFlagBit]
|
||||
ld [$ffdb], a
|
||||
ld [hGymGateIndex], a
|
||||
AdjustEventBit EVENT_BEAT_CINNABAR_GYM_TRAINER_0, 2
|
||||
ld c, a
|
||||
ld b, FLAG_TEST
|
||||
|
|
@ -111,7 +111,7 @@ CinnabarGymScript2:
|
|||
call WaitForSoundToFinish
|
||||
.asm_7581b
|
||||
ld a, [wTrainerHeaderFlagBit]
|
||||
ld [$ffdb], a
|
||||
ld [hGymGateIndex], a
|
||||
AdjustEventBit EVENT_BEAT_CINNABAR_GYM_TRAINER_0, 2
|
||||
ld c, a
|
||||
ld b, FLAG_SET
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue