mirror of
https://github.com/pret/pokeyellow.git
synced 2025-02-24 12:21:35 +00: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
|
||||
|
||||
NAME_LENGTH EQU 11
|
||||
ITEM_NAME_LENGTH EQU 13
|
||||
|
||||
A_BUTTON EQU %00000001
|
||||
B_BUTTON EQU %00000010
|
||||
|
@ -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]
|
||||
|
@ -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]
|
||||
|
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user