mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-22 23:22:26 +13:00
named wram variables
This commit is contained in:
parent
07dd705637
commit
994c2cbf28
21 changed files with 246 additions and 204 deletions
|
|
@ -24,7 +24,7 @@ FormatMovesString: ; 39b87 (e:5b87)
|
|||
jr .copyNameLoop
|
||||
.doneCopyingName
|
||||
ld a, b
|
||||
ld [wcd6c], a
|
||||
ld [wNumMovesMinusOne], a
|
||||
inc b
|
||||
ld a, $4e ; line break
|
||||
ld [de], a
|
||||
|
|
@ -70,7 +70,7 @@ InitList: ; 39bd5 (e:5bd5)
|
|||
.notPlayer
|
||||
cp INIT_MON_LIST
|
||||
jr nz, .notMonster
|
||||
ld hl, wStringBuffer2 + 11
|
||||
ld hl, wItemList
|
||||
ld de, MonsterNames
|
||||
ld a, MONSTER_NAME
|
||||
jr .done
|
||||
|
|
@ -82,15 +82,15 @@ InitList: ; 39bd5 (e:5bd5)
|
|||
ld a, ITEM_NAME
|
||||
jr .done
|
||||
.notBag
|
||||
ld hl, wStringBuffer2 + 11
|
||||
ld hl, wItemList
|
||||
ld de, ItemNames
|
||||
ld a, ITEM_NAME
|
||||
.done
|
||||
ld [wNameListType], a
|
||||
ld a, l
|
||||
ld [wList], a
|
||||
ld [wListPointer], a
|
||||
ld a, h
|
||||
ld [wList + 1], a
|
||||
ld [wListPointer + 1], a
|
||||
ld a, e
|
||||
ld [wcf8d], a
|
||||
ld a, d
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue