ref: a70624adfb0b960bd02e88c379179fb09e776339
parent: 874bc5ebd54071222da80bd2f992cdac0c21f451
author: Rangi <[email protected]>
date: Fri Jul 13 13:18:19 EDT 2018
Correct wTradeFlags length
--- a/constants/npc_trade_constants.asm
+++ b/constants/npc_trade_constants.asm
@@ -19,6 +19,7 @@
const NPC_TRADE_CHRIS ; 4
const NPC_TRADE_KIM ; 5
const NPC_TRADE_FOREST ; 6
+NUM_NPC_TRADES EQU const_value
; trade gender limits
const_def
--- a/wram.asm
+++ b/wram.asm
@@ -2507,7 +2507,7 @@
wPlayerState:: db ; d95d
wHallOfFameCount:: dw
-wTradeFlags:: flag_array PARTY_LENGTH ; d960
+wTradeFlags:: flag_array NUM_NPC_TRADES ; d960
ds 1
wMooMooBerries:: db ; d962
wUndergroundSwitchPositions:: db ; d963