Verify the trade dialog pointer table length

This commit is contained in:
Rangi42
2025-03-15 00:49:14 -04:00
parent 1cc2216ef9
commit 94c36a4351
2 changed files with 4 additions and 0 deletions

View File

@@ -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