FISHGROUP_DATA_LENGTH

This commit is contained in:
Rangi 2018-06-24 11:46:55 -04:00
parent 5cbff21a0d
commit 5a58f90ec6
2 changed files with 2 additions and 1 deletions

View File

@ -158,6 +158,7 @@ NUM_WATERMON EQU 3 ; data/wild/*_water.asm table size
GRASS_WILDDATA_LENGTH EQU (NUM_GRASSMON * 2 + 1) * 3 + 2 GRASS_WILDDATA_LENGTH EQU (NUM_GRASSMON * 2 + 1) * 3 + 2
WATER_WILDDATA_LENGTH EQU (NUM_WATERMON * 2 + 1) * 1 + 2 WATER_WILDDATA_LENGTH EQU (NUM_WATERMON * 2 + 1) * 1 + 2
FISHGROUP_DATA_LENGTH EQU 1 + 2 * 3
NUM_ROAMMON_MAPS EQU 16 ; RoamMaps table size (see data/wild/roammon_maps.asm) NUM_ROAMMON_MAPS EQU 16 ; RoamMaps table size (see data/wild/roammon_maps.asm)

View File

@ -11,7 +11,7 @@ Fish: ; 92402
call GetFishGroupIndex call GetFishGroupIndex
ld hl, FishGroups ld hl, FishGroups
rept 7 rept FISHGROUP_DATA_LENGTH
add hl, de add hl, de
endr endr
call .Fish call .Fish