serial/trade/misc

This commit is contained in:
YamaArashi 2015-02-07 02:43:08 -08:00
parent 9de54645c8
commit 3fdb8a0d89
74 changed files with 1934 additions and 1648 deletions

View file

@ -20,7 +20,7 @@ CeladonGameCornerScript_48bcf: ; 48bcf (12:4bcf)
srl a
srl a
srl a
ld [wcd05], a
ld [wUnknownSlotVar], a
ret
CeladonGameCornerScript_48bec: ; 48bec (12:4bec)

View file

@ -1,5 +1,5 @@
CeladonPokecenterScript: ; 488b8 (12:48b8)
call Func_22fa
call Serial_TryEstablishingExternallyClockedConnection
jp EnableAutoTextBoxDrawing
CeladonPokecenterTextPointers: ; 488be (12:48be)

View file

@ -13,5 +13,5 @@ CeruleanHouse1Text2: ; 1d702 (7:5702)
db $08 ; asm
ld a, $6
ld [wWhichTrade], a
predef Predef54
predef DoInGameTradeDialogue
jp TextScriptEnd

View file

@ -1,5 +1,5 @@
CeruleanPokecenterScript: ; 5c645 (17:4645)
call Func_22fa
call Serial_TryEstablishingExternallyClockedConnection
jp EnableAutoTextBoxDrawing
CeruleanPokecenterTextPointers: ; 5c64b (17:464b)

View file

@ -1,5 +1,5 @@
CinnabarPokecenterScript: ; 75e2c (1d:5e2c)
call Func_22fa
call Serial_TryEstablishingExternallyClockedConnection
jp EnableAutoTextBoxDrawing
CinnabarPokecenterTextPointers: ; 75e32 (1d:5e32)

View file

@ -129,7 +129,7 @@ DayCareMScript_562e1: ; 562e1 (15:62e1)
ld hl, DayCareMText_56428
call PrintText
ld a, $13
ld [wd125], a
ld [wTextBoxID], a
call DisplayTextBoxID
call YesNoChoice
ld hl, DayCareMText_56437
@ -159,7 +159,7 @@ DayCareMScript_562e1: ; 562e1 (15:62e1)
ld a, (SFX_02_5a - SFX_Headers_02) / 3
call PlaySoundWaitForCurrent
ld a, $13
ld [wd125], a
ld [wTextBoxID], a
call DisplayTextBoxID
ld hl, DayCareMText_5644f
call PrintText

View file

@ -1,5 +1,5 @@
FuchsiaPokecenterScript: ; 75063 (1d:5063)
call Func_22fa
call Serial_TryEstablishingExternallyClockedConnection
jp EnableAutoTextBoxDrawing
FuchsiaPokecenterTextPointers: ; 75069 (1d:5069)

View file

@ -1,5 +1,5 @@
IndigoPlateauLobbyScript: ; 19c5b (6:5c5b)
call Func_22fa
call Serial_TryEstablishingExternallyClockedConnection
call EnableAutoTextBoxDrawing
ld hl, wd126
bit 6, [hl]

View file

@ -21,5 +21,5 @@ Lab2Text3: ; 75c37 (1d:5c37)
ld a, $8
ld [wWhichTrade], a
asm_78552: ; 75c3d (1d:5c3d)
predef Predef54
predef DoInGameTradeDialogue
jp TextScriptEnd

View file

@ -108,7 +108,7 @@ Lab4Text2: ; 75dda (1d:5dda)
db $08 ; asm
ld a, $3
ld [wWhichTrade], a
predef Predef54
predef DoInGameTradeDialogue
jp TextScriptEnd
LoadFossilItemAndMonNameBank1D: ; 75de8 (1d:5de8)

View file

@ -1,5 +1,5 @@
LavenderPokecenterScript: ; 5c8da (17:48da)
call Func_22fa
call Serial_TryEstablishingExternallyClockedConnection
jp EnableAutoTextBoxDrawing
LavenderPokecenterTextPointers: ; 5c8e0 (17:48e0)

View file

@ -1,5 +1,5 @@
MtMoonPokecenterScript: ; 492cf (12:52cf)
call Func_22fa
call Serial_TryEstablishingExternallyClockedConnection
jp EnableAutoTextBoxDrawing
MtMoonPokecenterTextPointers: ; 492d5 (12:52d5)
@ -29,7 +29,7 @@ MtMoonPokecenterText4: ; 492ec (12:52ec)
ld hl, MtMoonPokecenterText_4935c
call PrintText
ld a, $13
ld [wd125], a
ld [wTextBoxID], a
call DisplayTextBoxID
call YesNoChoice
ld a, [wCurrentMenuItem]
@ -57,7 +57,7 @@ MtMoonPokecenterText4: ; 492ec (12:52ec)
ld c, $3
predef SubBCDPredef
ld a, $13
ld [wd125], a
ld [wTextBoxID], a
call DisplayTextBoxID
ld hl, wd7c6
set 7, [hl]

View file

@ -70,7 +70,7 @@ Museum1FText1: ; 5c135 (17:4135)
jp asm_d1145
.asm_3ded4
ld a, $13
ld [wd125], a
ld [wTextBoxID], a
call DisplayTextBoxID
xor a
ld [hJoyHeld], a
@ -105,7 +105,7 @@ Museum1FText1: ; 5c135 (17:4135)
ld c, $3
predef SubBCDPredef
ld a, $13
ld [wd125], a
ld [wTextBoxID], a
call DisplayTextBoxID
ld a, (SFX_02_5a - SFX_Headers_02) / 3
call PlaySoundWaitForCurrent

View file

@ -1,5 +1,5 @@
PewterPokecenterScript: ; 5c587 (17:4587)
call Func_22fa
call Serial_TryEstablishingExternallyClockedConnection
jp EnableAutoTextBoxDrawing
PewterPokecenterTextPointers: ; 5c58d (17:458d)

View file

@ -1,5 +1,5 @@
RockTunnelPokecenterScript: ; 493ba (12:53ba)
call Func_22fa
call Serial_TryEstablishingExternallyClockedConnection
jp EnableAutoTextBoxDrawing
RockTunnelPokecenterTextPointers: ; 493c0 (12:53c0)

View file

@ -11,7 +11,7 @@ Route11GateUpstairsText1: ; 4945f (12:545f)
db $08 ; asm
xor a
ld [wWhichTrade], a
predef Predef54
predef DoInGameTradeDialogue
asm_49469: ; 49469 (12:5469)
jp TextScriptEnd

View file

@ -10,7 +10,7 @@ Route18GateUpstairsText1: ; 4997e (12:597e)
db $08 ; asm
ld a, $5
ld [wWhichTrade], a
predef Predef54
predef DoInGameTradeDialogue
jp TextScriptEnd
Route18GateUpstairsText2: ; 4998c (12:598c)

View file

@ -13,5 +13,5 @@ Route2HouseText2: ; 1def9 (7:5ef9)
db $08 ; asm
ld a, $1
ld [wWhichTrade], a
predef Predef54
predef DoInGameTradeDialogue
jp TextScriptEnd

View file

@ -2,7 +2,7 @@
ld hl,.ForJust500Text
call PrintText
ld a,$13
ld [wd125],a
ld [wTextBoxID],a
call DisplayTextBoxID
call YesNoChoice
ld a,[wCurrentMenuItem]
@ -49,7 +49,7 @@
call $3736
call $373e
ld a,$13
ld [wd125],a
ld [wTextBoxID],a
call DisplayTextBoxID
ld hl,.MakePaymentText
call PrintText

View file

@ -148,7 +148,7 @@ SafariZoneEntranceTextPointers: ; 752b9 (1d:52b9)
TX_FAR SafariZoneEntranceText_9e6e4 ; 0x9e6e4
db $8
ld a, $13
ld [wd125],a
ld [wTextBoxID],a
call DisplayTextBoxID
call YesNoChoice
ld a,[wCurrentMenuItem]
@ -178,7 +178,7 @@ SafariZoneEntranceTextPointers: ; 752b9 (1d:52b9)
ld c,3
predef SubBCDPredef
ld a,$13
ld [wd125],a
ld [wTextBoxID],a
call DisplayTextBoxID
ld hl,.MakePaymentText
call PrintText

View file

@ -1,5 +1,5 @@
SaffronPokecenterScript: ; 5d535 (17:5535)
call Func_22fa
call Serial_TryEstablishingExternallyClockedConnection
jp EnableAutoTextBoxDrawing
SaffronPokecenterTextPointers: ; 5d53b (17:553b)

View file

@ -13,6 +13,6 @@ UndergroundPathEntranceRoute5Text1: ; 5d6b2 (17:56b2)
db $08 ; asm
ld a, $9
ld [wWhichTrade], a
predef Predef54
predef DoInGameTradeDialogue
ld hl, UndergroundPathEntranceRoute5_5d6af
ret

View file

@ -8,5 +8,5 @@ VermilionHouse3Text1: ; 19c17 (6:5c17)
db $08 ; asm
ld a, $4
ld [wWhichTrade], a
predef Predef54
predef DoInGameTradeDialogue
jp TextScriptEnd

View file

@ -1,5 +1,5 @@
VermilionPokecenterScript: ; 5c98f (17:498f)
call Func_22fa
call Serial_TryEstablishingExternallyClockedConnection
jp EnableAutoTextBoxDrawing
VermilionPokecenterTextPointers: ; 5c995 (17:4995)

View file

@ -1,5 +1,5 @@
ViridianPokeCenterScript: ; 4425d (11:425d)
call Func_22fa
call Serial_TryEstablishingExternallyClockedConnection
jp EnableAutoTextBoxDrawing
ViridianPokecenterTextPointers: ; 44263 (11:4263)