named wram variables

This commit is contained in:
YamaArashi 2015-07-14 23:16:06 -07:00
parent 07dd705637
commit 994c2cbf28
21 changed files with 246 additions and 204 deletions

View file

@ -1,6 +1,6 @@
UsedCut: ; ef54 (3:6f54)
xor a
ld [wcd6a], a
ld [wActionResultOrTookBattleTurn], a ; initialise to failure value
ld a, [W_CURMAPTILESET]
and a ; OVERWORLD
jr z, .asm_ef6b
@ -28,7 +28,7 @@ UsedCut: ; ef54 (3:6f54)
.asm_ef82
ld [wCutTile], a
ld a, $1
ld [wcd6a], a
ld [wActionResultOrTookBattleTurn], a ; used cut
ld a, [wWhichPokemon]
ld hl, wPartyMonNicks
call GetPartyMonName

View file

@ -57,9 +57,9 @@ DisplayPokemartDialogue_: ; 6c20 (1:6c20)
call DisplayTextBoxID ; draw money text box
ld hl,wNumBagItems
ld a,l
ld [wList],a
ld [wListPointer],a
ld a,h
ld [wList + 1],a
ld [wListPointer + 1],a
xor a
ld [wPrintItemPrices],a
ld [wCurrentMenuItem],a
@ -136,11 +136,11 @@ DisplayPokemartDialogue_: ; 6c20 (1:6c20)
ld a,MONEY_BOX
ld [wTextBoxID],a
call DisplayTextBoxID
ld hl,wStringBuffer2 + 11
ld hl,wItemList
ld a,l
ld [wList],a
ld [wListPointer],a
ld a,h
ld [wList + 1],a
ld [wListPointer + 1],a
xor a
ld [wCurrentMenuItem],a
inc a