diff options
author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2021-03-08 07:01:31 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-08 07:01:31 -0800 |
commit | e791c5392b19f589c51afd98666d19e778278847 (patch) | |
tree | 4392cbecdd5166484f3a8ec8799939434159bae3 /constants/npc_trade_constants.asm | |
parent | fb35fe6aba5e4e4ce7edf5b345fdf2afec4b6b49 (diff) | |
parent | 98da09b3e90b6a132ce6d2431999485593aef0c9 (diff) |
Merge pull request #806 from Rangi42/tables
Verify data table sizes with table_width and assert_table_length macros
Diffstat (limited to 'constants/npc_trade_constants.asm')
-rw-r--r-- | constants/npc_trade_constants.asm | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/constants/npc_trade_constants.asm b/constants/npc_trade_constants.asm index f84db5df4..e0218e1d5 100644 --- a/constants/npc_trade_constants.asm +++ b/constants/npc_trade_constants.asm @@ -1,14 +1,16 @@ ; npctrade struct members (see data/events/npc_trades.asm) -NPCTRADE_DIALOG EQU 0 ; db -NPCTRADE_GIVEMON EQU 1 ; db -NPCTRADE_GETMON EQU 2 ; db -NPCTRADE_NICK EQU 3 ; ds MON_NAME_LENGTH -NPCTRADE_DVS EQU 14 ; dw -NPCTRADE_ITEM EQU 16 ; db -NPCTRADE_OT_ID EQU 17 ; dw -NPCTRADE_OT_NAME EQU 19 ; ds NAME_LENGTH -NPCTRADE_GENDER EQU 30 ; db -NPCTRADE_PADDING EQU 31 ; db +rsreset +NPCTRADE_DIALOG rb +NPCTRADE_GIVEMON rb +NPCTRADE_GETMON rb +NPCTRADE_NICK rb MON_NAME_LENGTH +NPCTRADE_DVS rw +NPCTRADE_ITEM rb +NPCTRADE_OT_ID rw +NPCTRADE_OT_NAME rb NAME_LENGTH +NPCTRADE_GENDER rb +NPCTRADE_PADDING rb +NPCTRADE_STRUCT_LENGTH EQU _RS ; NPCTrades indexes (see data/events/npc_trades.asm) const_def |