item name length constant

This commit is contained in:
YamaArashi 2015-08-14 04:11:53 -07:00
parent b6ac1018c2
commit 696cffd3ae
5 changed files with 5 additions and 4 deletions

View File

@ -15,6 +15,7 @@ HOF_TEAM EQU PARTY_LENGTH * HOF_MON
HOF_TEAM_CAPACITY EQU 50
NAME_LENGTH EQU 11
ITEM_NAME_LENGTH EQU 13
A_BUTTON EQU %00000001
B_BUTTON EQU %00000010

View File

@ -28,7 +28,7 @@ Route11GateUpstairsText2: ; 4946c (12:546c)
ld h, d
ld l, e
ld de, wOaksAideRewardItemName
ld bc, $000d
ld bc, ITEM_NAME_LENGTH
call CopyData
predef OaksAideScript
ld a, [hOaksAideResult]

View File

@ -17,7 +17,7 @@ Route15GateUpstairsText1: ; 49651 (12:5651)
call GetItemName
ld hl, wcd6d
ld de, wOaksAideRewardItemName
ld bc, $000d
ld bc, ITEM_NAME_LENGTH
call CopyData
predef OaksAideScript
ld a, [hOaksAideResult]

View File

@ -17,7 +17,7 @@ Route2GateText1: ; 5d5db (17:55db)
call GetItemName
ld hl, wcd6d
ld de, wOaksAideRewardItemName
ld bc, $000d
ld bc, ITEM_NAME_LENGTH
call CopyData
predef OaksAideScript
ld a, [hOaksAideResult]

View File

@ -289,7 +289,7 @@ wOverworldMap:: ; c6e8
wRedrawRowOrColumnSrcTiles:: ; cbfc
; the tiles of the row or column to be redrawn by RedrawRowOrColumn
ds 20 * 2
ds SCREEN_WIDTH * 2
; coordinates of the position of the cursor for the top menu item (id 0)
wTopMenuItemY:: ; cc24