Consistent constants for radio data table sizes (could still be better)

This commit is contained in:
Rangi
2020-08-13 13:47:50 -04:00
parent f65448a4c0
commit 7729dcd204
6 changed files with 24 additions and 18 deletions

View File

@@ -262,9 +262,7 @@ Buena_PrizeMenu:
dba .prizeitem
dba .prizepoints
NUM_BUENA_PRIZES EQU 9 ; ((BuenaPrizeItems.End - BuenaPrizeItems) / 2)
.indices
.indices:
db NUM_BUENA_PRIZES
x = 1
rept NUM_BUENA_PRIZES
@@ -273,7 +271,7 @@ x = x + 1
endr
db -1
.prizeitem
.prizeitem:
ld a, [wMenuSelection]
call Buena_getprize
ld a, [hl]
@@ -284,7 +282,7 @@ endr
call PlaceString
ret
.prizepoints
.prizepoints:
ld a, [wMenuSelection]
call Buena_getprize
inc hl