diff options
| author | yenatch <yenatch@gmail.com> | 2013-09-03 17:31:57 -0400 |
|---|---|---|
| committer | yenatch <yenatch@gmail.com> | 2013-09-03 17:31:57 -0400 |
| commit | bbe87563028781312f447f1d4693cec1358dfc82 (patch) | |
| tree | 3f7c3df1e664a921b1ea3fab918bdf168236938a | |
| parent | 0ed9164ccce234075637daa0f4c960786df8fbf8 (diff) | |
recomment trainer dvs
| -rw-r--r-- | main.asm | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -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 |
