; trainer class ids ; `trainerclass` indexes are for: ; - TrainerClassAttributes (see trainers/attributes.asm) ; - TrainerClassDVs (see trainers/dvs.asm) ; - TrainerEncounterMusic (see trainers/encounter_music.asm) ; - TrainerGroups (see trainers/trainer_pointers.asm) ; - BTTrainerClassGenders (see misc/battle_tower_47.asm) ; trainer constants are Trainers indexes, for the sub-tables of TrainerGroups (see trainers/trainers.asm) enum_start CHRIS EQU __enum__ trainerclass TRAINER_NONE ; 0 const PHONECONTACT_MOM const PHONECONTACT_BIKESHOP const PHONECONTACT_BILL const PHONECONTACT_ELM const PHONECONTACT_BUENA KRIS EQU __enum__ trainerclass FALKNER ; 1 trainerclass WHITNEY ; 2 trainerclass BUGSY ; 3 trainerclass MORTY ; 4 trainerclass PRYCE ; 5 trainerclass JASMINE ; 6 trainerclass CHUCK ; 7 trainerclass CLAIR ; 8 trainerclass RIVAL1 ; 9 const RIVAL1_1_CHIKORITA const RIVAL1_1_CYNDAQUIL const RIVAL1_1_TOTODILE const RIVAL1_2_CHIKORITA const RIVAL1_2_CYNDAQUIL const RIVAL1_2_TOTODILE const RIVAL1_3_CHIKORITA const RIVAL1_3_CYNDAQUIL const RIVAL1_3_TOTODILE const RIVAL1_4_CHIKORITA const RIVAL1_4_CYNDAQUIL const RIVAL1_4_TOTODILE const RIVAL1_5_CHIKORITA const RIVAL1_5_CYNDAQUIL const RIVAL1_5_TOTODILE trainerclass POKEMON_PROF ; a trainerclass WILL ; b trainerclass CAL ; c const CAL1 const CAL2 const CAL3 trainerclass BRUNO ; d trainerclass KAREN ; e trainerclass KOGA ; f trainerclass CHAMPION ; 10 const LANCE trainerclass BROCK ; 11 trainerclass MISTY ; 12 trainerclass LT_SURGE ; 13 trainerclass SCIENTIST ; 14 const ROSS const MITCH const JED const MARC const RICH trainerclass ERIKA ; 15 trainerclass YOUNGSTER ; 16 const JOEY1 const MIKEY const ALBERT const GORDON const SAMUEL const IAN const JOEY2 const JOEY3 const WARREN const JIMMY const OWEN const JASON const JOEY4 const JOEY5 trainerclass SCHOOLBOY ; 17 const JACK1 const KIPP const ALAN1 const JOHNNY const DANNY const TOMMY const DUDLEY const JOE const BILLY const CHAD1 const NATE const RICKY const JACK2 const JACK3 const ALAN2 const ALAN3 const CHAD2 const CHAD3 const JACK4 const JACK5 const ALAN4 const ALAN5 const CHAD4 const CHAD5 trainerclass BIRD_KEEPER ; 18 const ROD const ABE const BRYAN const THEO const TOBY const DENIS const VANCE1 const HANK const ROY const BORIS const BOB const JOSE1 const PETER const JOSE2 const PERRY const BRET const JOSE3 const VANCE2 const VANCE3 trainerclass LASS ; 19 const CARRIE const BRIDGET const ALICE const KRISE const CONNIE1 const LINDA const LAURA const SHANNON const MICHELLE const DANA1 const ELLEN const CONNIE2 const CONNIE3 const DANA2 const DANA3 const DANA4 const DANA5 trainerclass JANINE ; 1a trainerclass COOLTRAINERM ; 1b const NICK const AARON const PAUL const CODY const MIKE const GAVEN1 const GAVEN2 const RYAN const JAKE const GAVEN3 const BLAKE const BRIAN const ERICK const ANDY const TYLER const SEAN const KEVIN const STEVE const ALLEN const DARIN trainerclass COOLTRAINERF ; 1c const GWEN const LOIS const FRAN const LOLA const KATE const IRENE const KELLY const JOYCE const BETH1 const REENA1 const MEGAN const BETH2 const CAROL const QUINN const EMMA const CYBIL const JENN const BETH3 const REENA2 const REENA3 const CARA trainerclass BEAUTY ; 1d const VICTORIA const SAMANTHA const JULIE const JACLYN const BRENDA const CASSIE const CAROLINE const CARLENE const JESSICA const RACHAEL const ANGELICA const KENDRA const VERONICA const JULIA const THERESA const VALERIE const OLIVIA trainerclass POKEMANIAC ; 1e const LARRY const ANDREW const CALVIN const SHANE const BEN const BRENT1 const RON const ETHAN const BRENT2 const BRENT3 const ISSAC const DONALD const ZACH const BRENT4 const MILLER trainerclass GRUNTM ; 1f const GRUNTM_1 const GRUNTM_2 const GRUNTM_3 const GRUNTM_4 const GRUNTM_5 const GRUNTM_6 const GRUNTM_7 const GRUNTM_8 const GRUNTM_9 const GRUNTM_10 const GRUNTM_11 const GRUNTM_12 const GRUNTM_13 const GRUNTM_14 const GRUNTM_15 const GRUNTM_16 const GRUNTM_17 const GRUNTM_18 const GRUNTM_19 const GRUNTM_20 const GRUNTM_21 const GRUNTM_22 const GRUNTM_23 const GRUNTM_24 const GRUNTM_25 const GRUNTM_26 const GRUNTM_27 const GRUNTM_28 const GRUNTM_29 const GRUNTM_30 const GRUNTM_31 trainerclass GENTLEMAN ; 20 const PRESTON const EDWARD const GREGORY const VIRGIL const ALFRED trainerclass SKIER ; 21 const ROXANNE const CLARISSA trainerclass TEACHER ; 22 const COLETTE const HILLARY const SHIRLEY trainerclass SABRINA ; 23 trainerclass BUG_CATCHER ; 24 const DON const ROB const ED const WADE1 const BUG_CATCHER_BENNY const AL const JOSH const ARNIE1 const KEN const WADE2 const WADE3 const DOUG const ARNIE2 const ARNIE3 const WADE4 const WADE5 const ARNIE4 const ARNIE5 const WAYNE trainerclass FISHER ; 25 const JUSTIN const RALPH1 const ARNOLD const KYLE const HENRY const MARVIN const TULLY1 const ANDRE const RAYMOND const WILTON1 const EDGAR const JONAH const MARTIN const STEPHEN const BARNEY const RALPH2 const RALPH3 const TULLY2 const TULLY3 const WILTON2 const SCOTT const WILTON3 const RALPH4 const RALPH5 const TULLY4 trainerclass SWIMMERM ; 26 const HAROLD const SIMON const RANDALL const CHARLIE const GEORGE const BERKE const KIRK const MATHEW const HAL const PATON const DARYL const WALTER const TONY const JEROME const TUCKER const RICK const CAMERON const SETH const JAMES const LEWIS const PARKER trainerclass SWIMMERF ; 27 const ELAINE const PAULA const KAYLEE const SUSIE const DENISE const KARA const WENDY const LISA const JILL const MARY const KATIE const DAWN const TARA const NICOLE const LORI const JODY const NIKKI const DIANA const BRIANA trainerclass SAILOR ; 28 const EUGENE const HUEY1 const TERRELL const KENT const ERNEST const JEFF const GARRETT const KENNETH const STANLY const HARRY const HUEY2 const HUEY3 const HUEY4 trainerclass SUPER_NERD ; 29 const STAN const ERIC const GREGG const JAY const DAVE const SAM const TOM const PAT const SHAWN const TERU const RUSS const NORTON const HUGH const MARKUS trainerclass RIVAL2 ; 2a const RIVAL2_1_CHIKORITA const RIVAL2_1_CYNDAQUIL const RIVAL2_1_TOTODILE const RIVAL2_2_CHIKORITA const RIVAL2_2_CYNDAQUIL const RIVAL2_2_TOTODILE trainerclass GUITARIST ; 2b const CLYDE const VINCENT trainerclass HIKER ; 2c const ANTHONY1 const RUSSELL const PHILLIP const LEONARD const ANTHONY2 const BENJAMIN const ERIK const MICHAEL const PARRY1 const TIMOTHY const BAILEY const ANTHONY3 const TIM const NOLAND const SIDNEY const KENNY const JIM const DANIEL const PARRY2 const PARRY3 const ANTHONY4 const ANTHONY5 trainerclass BIKER ; 2d const BIKER_BENNY const KAZU const DWAYNE const HARRIS const ZEKE const CHARLES const RILEY const JOEL const GLENN trainerclass BLAINE ; 2e trainerclass BURGLAR ; 2f const DUNCAN const EDDIE const COREY trainerclass FIREBREATHER ; 30 const OTIS const DICK const NED const BURT const BILL const WALT const RAY const LYLE trainerclass JUGGLER ; 31 const IRWIN1 const FRITZ const HORTON const IRWIN2 const IRWIN3 const IRWIN4 trainerclass BLACKBELT_T ; 32 const KENJI1 const YOSHI const KENJI2 const LAO const NOB const KIYO const LUNG const KENJI3 const WAI trainerclass EXECUTIVEM ; 33 const EXECUTIVEM_1 const EXECUTIVEM_2 const EXECUTIVEM_3 const EXECUTIVEM_4 trainerclass PSYCHIC_T ; 34 const NATHAN const FRANKLIN const HERMAN const FIDEL const GREG const NORMAN const MARK const PHIL const RICHARD const GILBERT const JARED const RODNEY trainerclass PICNICKER ; 35 const LIZ1 const GINA1 const BROOKE const KIM const CINDY const HOPE const SHARON const DEBRA const GINA2 const ERIN1 const LIZ2 const LIZ3 const HEIDI const EDNA const GINA3 const TIFFANY1 const TIFFANY2 const ERIN2 const TANYA const TIFFANY3 const ERIN3 const LIZ4 const LIZ5 const GINA4 const GINA5 const TIFFANY4 trainerclass CAMPER ; 36 const ROLAND const TODD1 const IVAN const ELLIOT const BARRY const LLOYD const DEAN const SID const HARVEY const DALE const TED const TODD2 const TODD3 const THOMAS const LEROY const DAVID const JOHN const JERRY const SPENCER const TODD4 const TODD5 const QUENTIN trainerclass EXECUTIVEF ; 37 const EXECUTIVEF_1 const EXECUTIVEF_2 trainerclass SAGE ; 38 const CHOW const NICO const JIN const TROY const JEFFREY const PING const EDMOND const NEAL const LI const GAKU const MASA const KOJI trainerclass MEDIUM ; 39 const MARTHA const GRACE const BETHANY const MARGRET const ETHEL const REBECCA const DORIS trainerclass BOARDER ; 3a const RONALD const BRAD const DOUGLAS trainerclass POKEFANM ; 3b const WILLIAM const DEREK1 const ROBERT const JOSHUA const CARTER const TREVOR const BRANDON const JEREMY const COLIN const DEREK2 const DEREK3 const ALEX const REX const ALLAN trainerclass KIMONO_GIRL ; 3c const NAOKO1 const NAOKO2 const SAYO const ZUKI const KUNI const MIKI trainerclass TWINS ; 3d const AMYANDMAY1 const ANNANDANNE1 const ANNANDANNE2 const AMYANDMAY2 const JOANDZOE1 const JOANDZOE2 const MEGANDPEG1 const MEGANDPEG2 const LEAANDPIA1 const LEAANDPIA2 trainerclass POKEFANF ; 3e const BEVERLY1 const RUTH const BEVERLY2 const BEVERLY3 const GEORGIA const JAIME trainerclass RED ; 3f trainerclass BLUE ; 40 trainerclass OFFICER ; 41 const KEITH const DIRK trainerclass GRUNTF ; 42 const GRUNTF_1 const GRUNTF_2 const GRUNTF_3 const GRUNTF_4 const GRUNTF_5 trainerclass MYSTICALMAN ; 43 const EUSINE NUM_TRAINER_CLASSES EQU __enum__ ; TrainerClassAttributes fields (see trainers/attributes.asm) const_def const TRNATTR_ITEM1 const TRNATTR_ITEM2 const TRNATTR_BASEMONEY const TRNATTR_AI_MOVE_WEIGHTS const TRNATTR_AI2 const TRNATTR_AI_ITEM_SWITCH const TRNATTR_AI4 NUM_TRAINER_ATTRIBUTES EQU const_value ; TRNATTR_AI_MOVE_WEIGHTS bit flags (wEnemyTrainerAIFlags) const_def const NO_AI const_value = 0 shift_const AI_BASIC shift_const AI_SETUP shift_const AI_TYPES shift_const AI_OFFENSIVE shift_const AI_SMART shift_const AI_OPPORTUNIST shift_const AI_AGGRESSIVE shift_const AI_CAUTIOUS shift_const AI_STATUS shift_const AI_RISKY shift_const AI_10 shift_const AI_11 shift_const AI_12 shift_const AI_13 shift_const AI_14 shift_const AI_15 ; TRNATTR_AI_ITEM_SWITCH bit flags CONTEXT_USE_F EQU 6 UNKNOWN_USE_F EQU 5 ALWAYS_USE_F EQU 4 SWITCH_SOMETIMES_F EQU 2 SWITCH_RARELY_F EQU 1 SWITCH_OFTEN_F EQU 0 CONTEXT_USE EQU 1 << CONTEXT_USE_F UNKNOWN_USE EQU 1 << UNKNOWN_USE_F ALWAYS_USE EQU 1 << ALWAYS_USE_F SWITCH_SOMETIMES EQU 1 << SWITCH_SOMETIMES_F SWITCH_RARELY EQU 1 << SWITCH_RARELY_F SWITCH_OFTEN EQU 1 << SWITCH_OFTEN_F ; TrainerTypes indexes (see trainers/read_party.asm) const_def const TRAINERTYPE_NORMAL const TRAINERTYPE_MOVES const TRAINERTYPE_ITEM const TRAINERTYPE_ITEM_MOVES