mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-11-13 16:54:47 +13:00
item name length constant
This commit is contained in:
parent
b6ac1018c2
commit
696cffd3ae
|
|
@ -15,6 +15,7 @@ HOF_TEAM EQU PARTY_LENGTH * HOF_MON
|
||||||
HOF_TEAM_CAPACITY EQU 50
|
HOF_TEAM_CAPACITY EQU 50
|
||||||
|
|
||||||
NAME_LENGTH EQU 11
|
NAME_LENGTH EQU 11
|
||||||
|
ITEM_NAME_LENGTH EQU 13
|
||||||
|
|
||||||
A_BUTTON EQU %00000001
|
A_BUTTON EQU %00000001
|
||||||
B_BUTTON EQU %00000010
|
B_BUTTON EQU %00000010
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ Route11GateUpstairsText2: ; 4946c (12:546c)
|
||||||
ld h, d
|
ld h, d
|
||||||
ld l, e
|
ld l, e
|
||||||
ld de, wOaksAideRewardItemName
|
ld de, wOaksAideRewardItemName
|
||||||
ld bc, $000d
|
ld bc, ITEM_NAME_LENGTH
|
||||||
call CopyData
|
call CopyData
|
||||||
predef OaksAideScript
|
predef OaksAideScript
|
||||||
ld a, [hOaksAideResult]
|
ld a, [hOaksAideResult]
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ Route15GateUpstairsText1: ; 49651 (12:5651)
|
||||||
call GetItemName
|
call GetItemName
|
||||||
ld hl, wcd6d
|
ld hl, wcd6d
|
||||||
ld de, wOaksAideRewardItemName
|
ld de, wOaksAideRewardItemName
|
||||||
ld bc, $000d
|
ld bc, ITEM_NAME_LENGTH
|
||||||
call CopyData
|
call CopyData
|
||||||
predef OaksAideScript
|
predef OaksAideScript
|
||||||
ld a, [hOaksAideResult]
|
ld a, [hOaksAideResult]
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ Route2GateText1: ; 5d5db (17:55db)
|
||||||
call GetItemName
|
call GetItemName
|
||||||
ld hl, wcd6d
|
ld hl, wcd6d
|
||||||
ld de, wOaksAideRewardItemName
|
ld de, wOaksAideRewardItemName
|
||||||
ld bc, $000d
|
ld bc, ITEM_NAME_LENGTH
|
||||||
call CopyData
|
call CopyData
|
||||||
predef OaksAideScript
|
predef OaksAideScript
|
||||||
ld a, [hOaksAideResult]
|
ld a, [hOaksAideResult]
|
||||||
|
|
|
||||||
2
wram.asm
2
wram.asm
|
|
@ -289,7 +289,7 @@ wOverworldMap:: ; c6e8
|
||||||
|
|
||||||
wRedrawRowOrColumnSrcTiles:: ; cbfc
|
wRedrawRowOrColumnSrcTiles:: ; cbfc
|
||||||
; the tiles of the row or column to be redrawn by RedrawRowOrColumn
|
; 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)
|
; coordinates of the position of the cursor for the top menu item (id 0)
|
||||||
wTopMenuItemY:: ; cc24
|
wTopMenuItemY:: ; cc24
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue