Verify the trade dialog pointer table length
This commit is contained in:
@@ -405,6 +405,7 @@ PrintTradeText:
|
||||
|
||||
TradeTexts:
|
||||
; entries correspond to TRADE_DIALOG_* × TRADE_DIALOGSET_* constants
|
||||
table_width 2
|
||||
; TRADE_DIALOG_INTRO
|
||||
dw NPCTradeIntroText1
|
||||
dw NPCTradeIntroText2
|
||||
@@ -430,6 +431,7 @@ TradeTexts:
|
||||
dw NPCTradeAfterText2
|
||||
dw NPCTradeAfterText4
|
||||
dw NPCTradeAfterText3
|
||||
assert_table_length NUM_TRADE_DIALOGS * NUM_TRADE_DIALOGSETS
|
||||
|
||||
NPCTradeCableText:
|
||||
text_far _NPCTradeCableText
|
||||
|
Reference in New Issue
Block a user