2013-09-03 21:32:54 +00:00
|
|
|
GetTrainerDVs: ; 270c4
|
|
|
|
; Return the DVs of OtherTrainerClass in bc
|
|
|
|
|
|
|
|
push hl
|
|
|
|
ld a, [OtherTrainerClass]
|
|
|
|
dec a
|
|
|
|
ld c, a
|
|
|
|
ld b, 0
|
|
|
|
|
|
|
|
ld hl, TrainerClassDVs
|
|
|
|
add hl, bc
|
2016-05-04 15:46:23 +00:00
|
|
|
add hl, bc
|
2013-09-03 21:32:54 +00:00
|
|
|
|
|
|
|
ld a, [hli]
|
|
|
|
ld b, a
|
|
|
|
ld c, [hl]
|
|
|
|
|
|
|
|
pop hl
|
|
|
|
ret
|
|
|
|
; 270d6
|
|
|
|
|
|
|
|
TrainerClassDVs: ; 270d6
|
2017-12-12 03:44:25 +00:00
|
|
|
; entries correspond to trainer classes (see constants/trainer_constants.asm)
|
2013-09-03 21:32:54 +00:00
|
|
|
; Atk Spd
|
|
|
|
; Def Spc
|
|
|
|
db $9A, $77 ; falkner
|
|
|
|
db $88, $88 ; bugsy
|
|
|
|
db $98, $88 ; whitney
|
|
|
|
db $98, $88 ; morty
|
|
|
|
db $98, $88 ; pryce
|
|
|
|
db $98, $88 ; jasmine
|
|
|
|
db $98, $88 ; chuck
|
|
|
|
db $7C, $DD ; clair
|
|
|
|
db $DD, $DD ; rival1
|
|
|
|
db $98, $88 ; pokemon prof
|
|
|
|
db $DC, $DD ; will
|
|
|
|
db $DC, $DD ; cal
|
|
|
|
db $DC, $DD ; bruno
|
|
|
|
db $7F, $DF ; karen
|
|
|
|
db $DC, $DD ; koga
|
|
|
|
db $DC, $DD ; champion
|
|
|
|
db $98, $88 ; brock
|
|
|
|
db $78, $88 ; misty
|
|
|
|
db $98, $88 ; lt surge
|
|
|
|
db $98, $88 ; scientist
|
|
|
|
db $78, $88 ; erika
|
|
|
|
db $98, $88 ; youngster
|
|
|
|
db $98, $88 ; schoolboy
|
|
|
|
db $98, $88 ; bird keeper
|
|
|
|
db $58, $88 ; lass
|
|
|
|
db $98, $88 ; janine
|
|
|
|
db $D8, $C8 ; cooltrainerm
|
|
|
|
db $7C, $C8 ; cooltrainerf
|
|
|
|
db $69, $C8 ; beauty
|
|
|
|
db $98, $88 ; pokemaniac
|
|
|
|
db $D8, $A8 ; gruntm
|
|
|
|
db $98, $88 ; gentleman
|
|
|
|
db $98, $88 ; skier
|
|
|
|
db $68, $88 ; teacher
|
|
|
|
db $7D, $87 ; sabrina
|
|
|
|
db $98, $88 ; bug catcher
|
|
|
|
db $98, $88 ; fisher
|
|
|
|
db $98, $88 ; swimmerm
|
|
|
|
db $78, $88 ; swimmerf
|
|
|
|
db $98, $88 ; sailor
|
|
|
|
db $98, $88 ; super nerd
|
|
|
|
db $98, $88 ; rival2
|
|
|
|
db $98, $88 ; guitarist
|
|
|
|
db $A8, $88 ; hiker
|
|
|
|
db $98, $88 ; biker
|
|
|
|
db $98, $88 ; blaine
|
|
|
|
db $98, $88 ; burglar
|
|
|
|
db $98, $88 ; firebreather
|
|
|
|
db $98, $88 ; juggler
|
|
|
|
db $98, $88 ; blackbelt
|
|
|
|
db $D8, $A8 ; executivem
|
|
|
|
db $98, $88 ; psychic
|
|
|
|
db $6A, $A8 ; picnicker
|
|
|
|
db $98, $88 ; camper
|
|
|
|
db $7E, $A8 ; executivef
|
|
|
|
db $98, $88 ; sage
|
|
|
|
db $78, $88 ; medium
|
|
|
|
db $98, $88 ; boarder
|
|
|
|
db $98, $88 ; pokefanm
|
|
|
|
db $68, $8A ; kimono girl
|
|
|
|
db $68, $A8 ; twins
|
|
|
|
db $6D, $88 ; pokefanf
|
|
|
|
db $FD, $DE ; red
|
|
|
|
db $9D, $DD ; blue
|
|
|
|
db $98, $88 ; officer
|
|
|
|
db $7E, $A8 ; gruntf
|
|
|
|
db $98, $88 ; mysticalman
|
|
|
|
; 2715c
|