From bbe87563028781312f447f1d4693cec1358dfc82 Mon Sep 17 00:00:00 2001 From: yenatch Date: Tue, 3 Sep 2013 17:31:57 -0400 Subject: [PATCH] recomment trainer dvs --- main.asm | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/main.asm b/main.asm index bed43e8da..8bfd02bbd 100644 --- a/main.asm +++ b/main.asm @@ -33796,29 +33796,29 @@ Function2709e: ; 2709e GetTrainerDVs: ; 270c4 -; get dvs based on trainer class -; output: bc +; Return the DVs of OtherTrainerClass in bc + push hl -; dec trainer class so there's no filler entry for $00 ld a, [OtherTrainerClass] dec a ld c, a - ld b, $0 -; seek table + ld b, 0 + ld hl, TrainerClassDVs add hl, bc add hl, bc -; get dvs + ld a, [hli] ld b, a ld c, [hl] -; we're done + pop hl ret ; 270d6 -TrainerClassDVs ; 270d6 -; AtkDef, SpdSpc +TrainerClassDVs: ; 270d6 + ; Atk Spd + ; Def Spc db $9A, $77 ; falkner db $88, $88 ; bugsy db $98, $88 ; whitney