Use a dedicated label for base stats.

The existing {Bulbasaur,Ivysaur,...}BaseStats labels are for convenience.
This commit is contained in:
yenatch 2014-05-23 15:20:53 -07:00
parent 0dea0cc3fb
commit 61dbfa440b
2 changed files with 4 additions and 3 deletions

View file

@ -156,7 +156,7 @@ Func_3ad71: ; 3ad71 (e:6d71)
call Predef ; indirect jump to IndexToPokedex (41010 (10:5010))
ld a, [$d11e]
dec a
ld hl, BulbasaurBaseStats ; $43de
ld hl, BaseStats
ld bc, $1c
call AddNTimes
ld de, W_MONHEADER

View file

@ -3028,7 +3028,7 @@ Func_152e:: ; 152e (0:152e)
GetMonHeader:: ; 1537 (0:1537)
ld a,[H_LOADEDROMBANK]
push af
ld a,BANK(BulbasaurBaseStats)
ld a,BANK(BaseStats)
ld [H_LOADEDROMBANK],a
ld [$2000],a
push bc
@ -3056,7 +3056,7 @@ GetMonHeader:: ; 1537 (0:1537)
ld a,[$d11e]
dec a
ld bc,28
ld hl,BulbasaurBaseStats
ld hl,BaseStats
call AddNTimes
ld de,W_MONHEADER
ld bc,28
@ -17121,6 +17121,7 @@ SECTION "bankE",ROMX,BANK[$E]
INCLUDE "data/moves.asm"
BaseStats:
INCLUDE "data/base_stats.asm"
INCLUDE "data/cries.asm"