mirror of
https://github.com/pret/pokegold-spaceworld.git
synced 2026-04-26 08:13:44 -05:00
34 lines
984 B
NASM
34 lines
984 B
NASM
; TrainerClassAttributes struct members (see data/trainers/attributes.asm)
|
|
const_def
|
|
const TRNATTR_SPRITEPOINTER1 ; 0
|
|
const TRNATTR_SPRITEPOINTER2 ; 1
|
|
const TRNATTR_BASEMONEY ; 2
|
|
const TRNATTR_AI_MOVE_WEIGHTS ; 3
|
|
const TRNATTR_AI2 ; 4
|
|
const TRNATTR_AI3 ; 5
|
|
const TRNATTR_UNKNOWN ; 6
|
|
DEF NUM_TRAINER_ATTRIBUTES EQU const_value
|
|
|
|
; TRNATTR_AI_MOVE_WEIGHTS bit flags (wEnemyTrainerAIFlags)
|
|
; AIScoringPointers indexes (see engine/battle/ai/move.asm)
|
|
const_def
|
|
const NO_AI
|
|
DEF 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
|
|
DEF VALID_TRAINER_AI EQU const_value
|
|
DEF MAX_TRAINER_AI EQU 24
|
|
|
|
; TrainerTypes indexes (see engine/battle/read_trainer_party.asm)
|
|
const_def
|
|
const TRAINERTYPE_NORMAL
|
|
const TRAINERTYPE_MOVES
|
|
const TRAINERTYPE_ITEM
|
|
const TRAINERTYPE_ITEM_MOVES
|