2021-03-16 14:53:42 -07:00
|
|
|
; npctrade struct members (see data/events/npc_trades.asm)
|
2021-03-03 19:22:41 -08:00
|
|
|
rsreset
|
2022-06-06 14:25:42 -07:00
|
|
|
DEF NPCTRADE_DIALOG rb
|
|
|
|
DEF NPCTRADE_GIVEMON rb
|
|
|
|
DEF NPCTRADE_GETMON rb
|
|
|
|
DEF NPCTRADE_NICKNAME rb MON_NAME_LENGTH
|
|
|
|
DEF NPCTRADE_DVS rw
|
|
|
|
DEF NPCTRADE_ITEM rb
|
|
|
|
DEF NPCTRADE_OT_ID rw
|
|
|
|
DEF NPCTRADE_OT_NAME rb NAME_LENGTH
|
|
|
|
DEF NPCTRADE_GENDER rb
|
|
|
|
rb_skip
|
|
|
|
DEF NPCTRADE_STRUCT_LENGTH EQU _RS
|
2018-01-31 18:16:57 -08:00
|
|
|
|
|
|
|
; NPCTrades indexes (see data/events/npc_trades.asm)
|
|
|
|
const_def
|
|
|
|
const NPC_TRADE_MIKE ; 0
|
|
|
|
const NPC_TRADE_KYLE ; 1
|
|
|
|
const NPC_TRADE_TIM ; 2
|
|
|
|
const NPC_TRADE_EMY ; 3
|
|
|
|
const NPC_TRADE_CHRIS ; 4
|
|
|
|
const NPC_TRADE_KIM ; 5
|
|
|
|
const NPC_TRADE_FOREST ; 6
|
2022-06-06 14:25:42 -07:00
|
|
|
DEF NUM_NPC_TRADES EQU const_value
|
2018-01-31 18:16:57 -08:00
|
|
|
|
|
|
|
; trade gender limits
|
|
|
|
const_def
|
|
|
|
const TRADE_GENDER_EITHER
|
|
|
|
const TRADE_GENDER_MALE
|
|
|
|
const TRADE_GENDER_FEMALE
|
|
|
|
|
|
|
|
; TradeTexts indexes (see engine/events/npc_trade.asm)
|
|
|
|
|
|
|
|
; trade dialogs
|
|
|
|
const_def
|
|
|
|
const TRADE_DIALOG_INTRO
|
|
|
|
const TRADE_DIALOG_CANCEL
|
|
|
|
const TRADE_DIALOG_WRONG
|
|
|
|
const TRADE_DIALOG_COMPLETE
|
|
|
|
const TRADE_DIALOG_AFTER
|
|
|
|
|
|
|
|
; trade dialog sets
|
|
|
|
const_def
|
|
|
|
const TRADE_DIALOGSET_COLLECTOR
|
|
|
|
const TRADE_DIALOGSET_HAPPY
|
|
|
|
const TRADE_DIALOGSET_NEWBIE
|
|
|
|
const TRADE_DIALOGSET_GIRL
|