mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-16 18:30:50 +12:00
Define constants for in-game trades
This commit is contained in:
parent
b9a113a9f4
commit
8c83ebe966
|
@ -12,6 +12,19 @@ SLOTSFISH EQU $0E0C
|
||||||
SLOTSBIRD EQU $1210
|
SLOTSBIRD EQU $1210
|
||||||
SLOTSMOUSE EQU $1614
|
SLOTSMOUSE EQU $1614
|
||||||
|
|
||||||
|
; in game trades
|
||||||
|
const_def
|
||||||
|
const TRADE_FOR_TERRY
|
||||||
|
const TRADE_FOR_MARCEL
|
||||||
|
const TRADE_FOR_CHIKUCHIKU
|
||||||
|
const TRADE_FOR_SAILOR
|
||||||
|
const TRADE_FOR_DUX
|
||||||
|
const TRADE_FOR_MARC
|
||||||
|
const TRADE_FOR_LOLA
|
||||||
|
const TRADE_FOR_DORIS
|
||||||
|
const TRADE_FOR_CRINKLES
|
||||||
|
const TRADE_FOR_SPOT
|
||||||
|
|
||||||
; in game trade dialog sets
|
; in game trade dialog sets
|
||||||
const_def
|
const_def
|
||||||
const TRADE_DIALOGSET_CASUAL
|
const TRADE_DIALOGSET_CASUAL
|
||||||
|
|
|
@ -11,7 +11,7 @@ CeruleanHouse1Text1:
|
||||||
|
|
||||||
CeruleanHouse1Text2:
|
CeruleanHouse1Text2:
|
||||||
text_asm
|
text_asm
|
||||||
ld a, $6
|
ld a, TRADE_FOR_LOLA
|
||||||
ld [wWhichTrade], a
|
ld [wWhichTrade], a
|
||||||
predef DoInGameTradeDialogue
|
predef DoInGameTradeDialogue
|
||||||
jp TextScriptEnd
|
jp TextScriptEnd
|
||||||
|
|
|
@ -100,7 +100,7 @@ Lab4Text_75dd5:
|
||||||
|
|
||||||
Lab4Text2:
|
Lab4Text2:
|
||||||
text_asm
|
text_asm
|
||||||
ld a, $3
|
ld a, TRADE_FOR_SAILOR
|
||||||
ld [wWhichTrade], a
|
ld [wWhichTrade], a
|
||||||
predef DoInGameTradeDialogue
|
predef DoInGameTradeDialogue
|
||||||
jp TextScriptEnd
|
jp TextScriptEnd
|
||||||
|
|
|
@ -12,13 +12,13 @@ Lab2Text1:
|
||||||
|
|
||||||
Lab2Text2:
|
Lab2Text2:
|
||||||
text_asm
|
text_asm
|
||||||
ld a, $7
|
ld a, TRADE_FOR_DORIS
|
||||||
ld [wWhichTrade], a
|
ld [wWhichTrade], a
|
||||||
jr Lab2DoTrade
|
jr Lab2DoTrade
|
||||||
|
|
||||||
Lab2Text3:
|
Lab2Text3:
|
||||||
text_asm
|
text_asm
|
||||||
ld a, $8
|
ld a, TRADE_FOR_CRINKLES
|
||||||
ld [wWhichTrade], a
|
ld [wWhichTrade], a
|
||||||
Lab2DoTrade:
|
Lab2DoTrade:
|
||||||
predef DoInGameTradeDialogue
|
predef DoInGameTradeDialogue
|
||||||
|
|
|
@ -9,7 +9,7 @@ Route11Gate2F_TextPointers:
|
||||||
|
|
||||||
Route11GateUpstairsText1:
|
Route11GateUpstairsText1:
|
||||||
text_asm
|
text_asm
|
||||||
xor a
|
xor a ; TRADE_FOR_TERRY
|
||||||
ld [wWhichTrade], a
|
ld [wWhichTrade], a
|
||||||
predef DoInGameTradeDialogue
|
predef DoInGameTradeDialogue
|
||||||
Route11GateUpstairsScriptEnd:
|
Route11GateUpstairsScriptEnd:
|
||||||
|
|
|
@ -8,7 +8,7 @@ Route18Gate2F_TextPointers:
|
||||||
|
|
||||||
Route18GateUpstairsText1:
|
Route18GateUpstairsText1:
|
||||||
text_asm
|
text_asm
|
||||||
ld a, $5
|
ld a, TRADE_FOR_MARC
|
||||||
ld [wWhichTrade], a
|
ld [wWhichTrade], a
|
||||||
predef DoInGameTradeDialogue
|
predef DoInGameTradeDialogue
|
||||||
jp TextScriptEnd
|
jp TextScriptEnd
|
||||||
|
|
|
@ -11,7 +11,7 @@ Route2HouseText1:
|
||||||
|
|
||||||
Route2HouseText2:
|
Route2HouseText2:
|
||||||
text_asm
|
text_asm
|
||||||
ld a, $1
|
ld a, TRADE_FOR_MARCEL
|
||||||
ld [wWhichTrade], a
|
ld [wWhichTrade], a
|
||||||
predef DoInGameTradeDialogue
|
predef DoInGameTradeDialogue
|
||||||
jp TextScriptEnd
|
jp TextScriptEnd
|
||||||
|
|
|
@ -11,7 +11,7 @@ UndergroundPathRoute5_TextPointers:
|
||||||
|
|
||||||
UndergroundPathEntranceRoute5Text1:
|
UndergroundPathEntranceRoute5Text1:
|
||||||
text_asm
|
text_asm
|
||||||
ld a, $9
|
ld a, TRADE_FOR_SPOT
|
||||||
ld [wWhichTrade], a
|
ld [wWhichTrade], a
|
||||||
predef DoInGameTradeDialogue
|
predef DoInGameTradeDialogue
|
||||||
ld hl, UndergroundPathEntranceRoute5_TextScriptEndingText
|
ld hl, UndergroundPathEntranceRoute5_TextScriptEndingText
|
||||||
|
|
|
@ -6,7 +6,7 @@ VermilionTradeHouse_TextPointers:
|
||||||
|
|
||||||
VermilionHouse3Text1:
|
VermilionHouse3Text1:
|
||||||
text_asm
|
text_asm
|
||||||
ld a, $4
|
ld a, TRADE_FOR_DUX
|
||||||
ld [wWhichTrade], a
|
ld [wWhichTrade], a
|
||||||
predef DoInGameTradeDialogue
|
predef DoInGameTradeDialogue
|
||||||
jp TextScriptEnd
|
jp TextScriptEnd
|
||||||
|
|
Loading…
Reference in a new issue