aboutsummaryrefslogtreecommitdiffstats
path: root/data/events
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2021-03-25 17:39:44 -0500
committerdannye <33dannye@gmail.com>2021-03-25 17:39:44 -0500
commiteb47bda8ee5c1f002236200df36012de9e243a97 (patch)
treefc69fc5435582efebd36fc54414673dd8ac7f646 /data/events
parentMerge remote-tracking branch 'remotes/pokered/master' (diff)
parentVerify data table and name list sizes with assertion macros (diff)
downloadpokeyellow-eb47bda8ee5c1f002236200df36012de9e243a97.tar.gz
pokeyellow-eb47bda8ee5c1f002236200df36012de9e243a97.tar.xz
pokeyellow-eb47bda8ee5c1f002236200df36012de9e243a97.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'data/events')
-rw-r--r--data/events/trades.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/events/trades.asm b/data/events/trades.asm
index 44f7ec21..d7afa5ff 100644
--- a/data/events/trades.asm
+++ b/data/events/trades.asm
@@ -1,5 +1,6 @@
TradeMons:
; entries correspond to TRADE_FOR_* constants
+ table_width 3 + NAME_LENGTH, TradeMons
; give mon, get mon, dialog id, nickname
db LICKITUNG, DUGTRIO, TRADE_DIALOGSET_CASUAL, "GURIO@@@@@@"
db CLEFAIRY, MR_MIME, TRADE_DIALOGSET_CASUAL, "MILES@@@@@@"
@@ -11,3 +12,4 @@ TradeMons:
db GOLDUCK, RHYDON, TRADE_DIALOGSET_POLITE, "BUFFY@@@@@@"
db GROWLITHE, DEWGONG, TRADE_DIALOGSET_HAPPY, "CEZANNE@@@@"
db CUBONE, MACHOKE, TRADE_DIALOGSET_HAPPY, "RICKY@@@@@@"
+ assert_table_length NUM_NPC_TRADES