2020-11-17 08:12:21 -08:00
|
|
|
; WritePartyMenuTilemap.Jumptable indexes (see engine/pokemon/party_menu.asm)
|
2018-01-10 23:54:07 -08:00
|
|
|
const_def
|
|
|
|
const PARTYMENUQUALITY_NICKNAMES
|
|
|
|
const PARTYMENUQUALITY_HP_BAR
|
|
|
|
const PARTYMENUQUALITY_HP_DIGITS
|
|
|
|
const PARTYMENUQUALITY_LEVEL
|
|
|
|
const PARTYMENUQUALITY_STATUS
|
|
|
|
const PARTYMENUQUALITY_TMHM_COMPAT
|
|
|
|
const PARTYMENUQUALITY_EVO_STONE_COMPAT
|
|
|
|
const PARTYMENUQUALITY_GENDER
|
|
|
|
|
2022-06-06 14:25:42 -07:00
|
|
|
MACRO partymenuqualities
|
|
|
|
rept _NARG
|
|
|
|
db PARTYMENUQUALITY_\1
|
|
|
|
shift
|
|
|
|
endr
|
2018-01-10 23:54:07 -08:00
|
|
|
db -1 ; end
|
|
|
|
ENDM
|
|
|
|
|
2018-06-24 07:09:41 -07:00
|
|
|
PartyMenuQualityPointers:
|
2018-01-10 23:54:07 -08:00
|
|
|
; entries correspond to PARTYMENUACTION_* constants
|
2021-03-03 19:22:41 -08:00
|
|
|
table_width 2, PartyMenuQualityPointers
|
2018-01-10 23:54:07 -08:00
|
|
|
dw .Default ; PARTYMENUACTION_CHOOSE_POKEMON
|
|
|
|
dw .Default ; PARTYMENUACTION_HEALING_ITEM
|
|
|
|
dw .Default ; PARTYMENUACTION_SWITCH
|
|
|
|
dw .TMHM ; PARTYMENUACTION_TEACH_TMHM
|
|
|
|
dw .Default ; PARTYMENUACTION_MOVE
|
|
|
|
dw .EvoStone ; PARTYMENUACTION_EVO_STONE
|
|
|
|
dw .Gender ; PARTYMENUACTION_GIVE_MON
|
|
|
|
dw .Gender ; PARTYMENUACTION_GIVE_MON_FEMALE
|
|
|
|
dw .Default ; PARTYMENUACTION_GIVE_ITEM
|
2021-03-03 19:22:41 -08:00
|
|
|
assert_table_length NUM_PARTYMENUACTIONS
|
2018-01-10 23:54:07 -08:00
|
|
|
|
|
|
|
.Default: partymenuqualities NICKNAMES, HP_BAR, HP_DIGITS, LEVEL, STATUS
|
|
|
|
.TMHM: partymenuqualities NICKNAMES, TMHM_COMPAT, LEVEL, STATUS
|
|
|
|
.EvoStone: partymenuqualities NICKNAMES, EVO_STONE_COMPAT, LEVEL, STATUS
|
|
|
|
.Gender: partymenuqualities NICKNAMES, GENDER, LEVEL, STATUS
|