mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Merge branch 'master' of https://github.com/pret/pokered
This commit is contained in:
commit
31b118ab42
310 changed files with 1009 additions and 2705 deletions
|
|
@ -1,19 +1,19 @@
|
|||
CeladonMart1Script: ; 60f86 (18:4f86)
|
||||
CeladonMart1Script:
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
CeladonMart1TextPointers: ; 60f89 (18:4f89)
|
||||
CeladonMart1TextPointers:
|
||||
dw CeladonMart1Text1
|
||||
dw CeladonMart1Text2
|
||||
dw CeladonMart1Text3
|
||||
|
||||
CeladonMart1Text1: ; 60f8f (18:4f8f)
|
||||
CeladonMart1Text1:
|
||||
TX_FAR _CeladonMart1Text1
|
||||
db "@"
|
||||
|
||||
CeladonMart1Text2: ; 60f94 (18:4f94)
|
||||
CeladonMart1Text2:
|
||||
TX_FAR _CeladonMart1Text2
|
||||
db "@"
|
||||
|
||||
CeladonMart1Text3: ; 60f99 (18:4f99)
|
||||
CeladonMart1Text3:
|
||||
TX_FAR _CeladonMart1Text3
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -1,21 +1,21 @@
|
|||
CeladonMart2Script: ; 560f5 (15:60f5)
|
||||
CeladonMart2Script:
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
CeladonMart2TextPointers: ; 560f8 (15:60f8)
|
||||
dw CeladonMart2Text1
|
||||
dw CeladonMart2Text2
|
||||
CeladonMart2TextPointers:
|
||||
dw CeladonMart2Clerk1Text
|
||||
dw CeladonMart2Clerk2Text
|
||||
dw CeladonMart2Text3
|
||||
dw CeladonMart2Text4
|
||||
dw CeladonMart2Text5
|
||||
|
||||
CeladonMart2Text3: ; 56102 (15:6102)
|
||||
CeladonMart2Text3:
|
||||
TX_FAR _CeladonMart2Text3
|
||||
db "@"
|
||||
|
||||
CeladonMart2Text4: ; 56107 (15:6107)
|
||||
CeladonMart2Text4:
|
||||
TX_FAR _CeladonMart2Text4
|
||||
db "@"
|
||||
|
||||
CeladonMart2Text5: ; 5610c (15:610c)
|
||||
CeladonMart2Text5:
|
||||
TX_FAR _CeladonMart2Text5
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
CeladonMart3Script: ; 48225 (12:4225)
|
||||
CeladonMart3Script:
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
CeladonMart3TextPointers: ; 48228 (12:4228)
|
||||
CeladonMart3TextPointers:
|
||||
dw CeladonMart3Text1
|
||||
dw CeladonMart3Text2
|
||||
dw CeladonMart3Text3
|
||||
|
|
@ -20,7 +20,7 @@ CeladonMart3TextPointers: ; 48228 (12:4228)
|
|||
dw CeladonMart3Text16
|
||||
dw CeladonMart3Text17
|
||||
|
||||
CeladonMart3Text1: ; 4824a (12:424a)
|
||||
CeladonMart3Text1:
|
||||
TX_ASM
|
||||
CheckEvent EVENT_GOT_TM18
|
||||
jr nz, .asm_a5463
|
||||
|
|
@ -41,67 +41,67 @@ CeladonMart3Text1: ; 4824a (12:424a)
|
|||
call PrintText
|
||||
jp TextScriptEnd
|
||||
|
||||
TM18PreReceiveText: ; 48278 (12:4278)
|
||||
TM18PreReceiveText:
|
||||
TX_FAR _TM18PreReceiveText
|
||||
db "@"
|
||||
|
||||
ReceivedTM18Text: ; 4827d (12:427d)
|
||||
ReceivedTM18Text:
|
||||
TX_FAR _ReceivedTM18Text
|
||||
db $0B, "@"
|
||||
|
||||
TM18ExplanationText: ; 48283 (12:4283)
|
||||
TM18ExplanationText:
|
||||
TX_FAR _TM18ExplanationText
|
||||
db "@"
|
||||
|
||||
TM18NoRoomText: ; 48288 (12:4288)
|
||||
TM18NoRoomText:
|
||||
TX_FAR _TM18NoRoomText
|
||||
db "@"
|
||||
|
||||
CeladonMart3Text2: ; 4828d (12:428d)
|
||||
CeladonMart3Text2:
|
||||
TX_FAR _CeladonMart3Text2
|
||||
db "@"
|
||||
|
||||
CeladonMart3Text3: ; 48292 (12:4292)
|
||||
CeladonMart3Text3:
|
||||
TX_FAR _CeladonMart3Text3
|
||||
db "@"
|
||||
|
||||
CeladonMart3Text4: ; 48297 (12:4297)
|
||||
CeladonMart3Text4:
|
||||
TX_FAR _CeladonMart3Text4
|
||||
db "@"
|
||||
|
||||
CeladonMart3Text5: ; 4829c (12:429c)
|
||||
CeladonMart3Text5:
|
||||
TX_FAR _CeladonMart3Text5
|
||||
db "@"
|
||||
|
||||
CeladonMart3Text12
|
||||
CeladonMart3Text10: ; 482a1 (12:42a1)
|
||||
CeladonMart3Text8: ; 482a1 (12:42a1)
|
||||
CeladonMart3Text6: ; 482a1 (12:42a1)
|
||||
CeladonMart3Text10:
|
||||
CeladonMart3Text8:
|
||||
CeladonMart3Text6:
|
||||
TX_FAR _CeladonMart3Text6
|
||||
db "@"
|
||||
|
||||
CeladonMart3Text7: ; 482a6 (12:42a6)
|
||||
CeladonMart3Text7:
|
||||
TX_FAR _CeladonMart3Text7
|
||||
db "@"
|
||||
|
||||
CeladonMart3Text9: ; 482ab (12:42ab)
|
||||
CeladonMart3Text9:
|
||||
TX_FAR _CeladonMart3Text9
|
||||
db "@"
|
||||
|
||||
CeladonMart3Text11: ; 482b0 (12:42b0)
|
||||
CeladonMart3Text11:
|
||||
TX_FAR _CeladonMart3Text11
|
||||
db "@"
|
||||
|
||||
CeladonMart3Text13: ; 482b5 (12:42b5)
|
||||
CeladonMart3Text13:
|
||||
TX_FAR _CeladonMart3Text13
|
||||
db "@"
|
||||
|
||||
CeladonMart3Text14: ; 482ba (12:42ba)
|
||||
CeladonMart3Text14:
|
||||
TX_FAR _CeladonMart3Text14
|
||||
db "@"
|
||||
|
||||
CeladonMart3Text17: ; 482bf (12:42bf)
|
||||
CeladonMart3Text16: ; 482bf (12:42bf)
|
||||
CeladonMart3Text15: ; 482bf (12:42bf)
|
||||
CeladonMart3Text17:
|
||||
CeladonMart3Text16:
|
||||
CeladonMart3Text15:
|
||||
TX_FAR _CeladonMart3Text15
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -1,20 +1,20 @@
|
|||
CeladonMart4Script: ; 48356 (12:4356)
|
||||
CeladonMart4Script:
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
CeladonMart4TextPointers: ; 48359 (12:4359)
|
||||
dw CeladonMart4Text1
|
||||
CeladonMart4TextPointers:
|
||||
dw CeladonMart4ClerkText
|
||||
dw CeladonMart4Text2
|
||||
dw CeladonMart4Text3
|
||||
dw CeladonMart4Text4
|
||||
|
||||
CeladonMart4Text2: ; 48361 (12:4361)
|
||||
CeladonMart4Text2:
|
||||
TX_FAR _CeladonMart4Text2
|
||||
db "@"
|
||||
|
||||
CeladonMart4Text3: ; 48366 (12:4366)
|
||||
CeladonMart4Text3:
|
||||
TX_FAR _CeladonMart4Text3
|
||||
db "@"
|
||||
|
||||
CeladonMart4Text4: ; 4836b (12:436b)
|
||||
CeladonMart4Text4:
|
||||
TX_FAR _CeladonMart4Text4
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -1,21 +1,21 @@
|
|||
CeladonMart5Script: ; 49069 (12:5069)
|
||||
CeladonMart5Script:
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
CeladonMart5TextPointers: ; 4906c (12:506c)
|
||||
CeladonMart5TextPointers:
|
||||
dw CeladonMart5Text1
|
||||
dw CeladonMart5Text2
|
||||
dw CeladonMart5Text3
|
||||
dw CeladonMart5Text4
|
||||
dw CeladonMart5Clerk1Text
|
||||
dw CeladonMart5Clerk2Text
|
||||
dw CeladonMart5Text5
|
||||
|
||||
CeladonMart5Text1: ; 49076 (12:5076)
|
||||
CeladonMart5Text1:
|
||||
TX_FAR _CeladonMart5Text1
|
||||
db "@"
|
||||
|
||||
CeladonMart5Text2: ; 4907b (12:507b)
|
||||
CeladonMart5Text2:
|
||||
TX_FAR _CeladonMart5Text2
|
||||
db "@"
|
||||
|
||||
CeladonMart5Text5: ; 49080 (12:5080)
|
||||
CeladonMart5Text5:
|
||||
TX_FAR _CeladonMart5Text5
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
CeladonMartElevatorScript: ; 48600 (12:4600)
|
||||
CeladonMartElevatorScript:
|
||||
ld hl, wCurrentMapScriptFlags
|
||||
bit 5, [hl]
|
||||
res 5, [hl]
|
||||
|
|
@ -14,7 +14,7 @@ CeladonMartElevatorScript: ; 48600 (12:4600)
|
|||
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
|
||||
ret
|
||||
|
||||
CeladonMartElevatorScript_4861c: ; 4861c (12:461c)
|
||||
CeladonMartElevatorScript_4861c:
|
||||
ld hl, wWarpEntries
|
||||
ld a, [wWarpedFromWhichWarp]
|
||||
ld b, a
|
||||
|
|
@ -22,7 +22,7 @@ CeladonMartElevatorScript_4861c: ; 4861c (12:461c)
|
|||
ld c, a
|
||||
call CeladonMartElevatorScript_4862a
|
||||
|
||||
CeladonMartElevatorScript_4862a: ; 4862a (12:462a)
|
||||
CeladonMartElevatorScript_4862a:
|
||||
inc hl
|
||||
inc hl
|
||||
ld a, b
|
||||
|
|
@ -31,24 +31,24 @@ CeladonMartElevatorScript_4862a: ; 4862a (12:462a)
|
|||
ld [hli], a
|
||||
ret
|
||||
|
||||
CeladonMartElevatorScript_48631: ; 48631 (12:4631)
|
||||
ld hl, CeladonMartElavatorFloors
|
||||
CeladonMartElevatorScript_48631:
|
||||
ld hl, CeladonMartElevatorFloors
|
||||
call LoadItemList
|
||||
ld hl, CeldaonMartElevatorWarpMaps
|
||||
ld hl, CeladonMartElevatorWarpMaps
|
||||
ld de, wElevatorWarpMaps
|
||||
ld bc, CeldaonMartElevatorWarpMapsEnd - CeldaonMartElevatorWarpMaps
|
||||
ld bc, CeladonMartElevatorWarpMapsEnd - CeladonMartElevatorWarpMaps
|
||||
jp CopyData
|
||||
|
||||
CeladonMartElavatorFloors: ; 48643 (12:4643)
|
||||
db $05 ; num elements in list
|
||||
CeladonMartElevatorFloors:
|
||||
db 5 ; number of elements in list
|
||||
db FLOOR_1F
|
||||
db FLOOR_2F
|
||||
db FLOOR_3F
|
||||
db FLOOR_4F
|
||||
db FLOOR_5F
|
||||
db $FF ; terminator
|
||||
db $FF
|
||||
|
||||
CeldaonMartElevatorWarpMaps: ; 4864a (12:464a)
|
||||
CeladonMartElevatorWarpMaps:
|
||||
; first byte is warp number
|
||||
; second byte is map number
|
||||
; These specify where the player goes after getting out of the elevator.
|
||||
|
|
@ -57,17 +57,17 @@ CeldaonMartElevatorWarpMaps: ; 4864a (12:464a)
|
|||
db $02, CELADON_MART_3
|
||||
db $02, CELADON_MART_4
|
||||
db $02, CELADON_MART_5
|
||||
CeldaonMartElevatorWarpMapsEnd:
|
||||
CeladonMartElevatorWarpMapsEnd:
|
||||
|
||||
CeladonMartElevatorScript_48654: ; 48654 (12:4654)
|
||||
CeladonMartElevatorScript_48654:
|
||||
jpba ShakeElevator
|
||||
|
||||
CeladonMartElevatorTextPointers: ; 4865c (12:465c)
|
||||
CeladonMartElevatorTextPointers:
|
||||
dw CeladonMartElevatorText1
|
||||
|
||||
CeladonMartElevatorText1: ; 4865e (12:465e)
|
||||
CeladonMartElevatorText1:
|
||||
TX_ASM
|
||||
call CeladonMartElevatorScript_48631
|
||||
ld hl, CeldaonMartElevatorWarpMaps
|
||||
ld hl, CeladonMartElevatorWarpMaps
|
||||
predef DisplayElevatorFloorMenu
|
||||
jp TextScriptEnd
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
CeladonMartRoofScript: ; 483d5 (12:43d5)
|
||||
CeladonMartRoofScript:
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
CeladonMartRoofScript_GetDrinksInBag: ; 483d8 (12:43d8)
|
||||
CeladonMartRoofScript_GetDrinksInBag:
|
||||
; construct a list of all drinks in the player's bag
|
||||
xor a
|
||||
ld [wFilteredBagItemsCount], a
|
||||
|
|
@ -34,13 +34,13 @@ CeladonMartRoofScript_GetDrinksInBag: ; 483d8 (12:43d8)
|
|||
ld [de], a
|
||||
ret
|
||||
|
||||
CeladonMartRoofDrinkList: ; 48408 (12:4408)
|
||||
CeladonMartRoofDrinkList:
|
||||
db FRESH_WATER
|
||||
db SODA_POP
|
||||
db LEMONADE
|
||||
db $00
|
||||
|
||||
CeladonMartRoofScript_GiveDrinkToGirl: ; 4840c (12:440c)
|
||||
CeladonMartRoofScript_GiveDrinkToGirl:
|
||||
ld hl, wd730
|
||||
set 6, [hl]
|
||||
ld hl, CeladonMartRoofText_484ee
|
||||
|
|
@ -130,60 +130,60 @@ CeladonMartRoofScript_GiveDrinkToGirl: ; 4840c (12:440c)
|
|||
ld hl, CeladonMartRoofText_4852c
|
||||
jp PrintText
|
||||
|
||||
RemoveItemByIDBank12: ; 484e6 (12:44e6)
|
||||
RemoveItemByIDBank12:
|
||||
jpba RemoveItemByID
|
||||
|
||||
CeladonMartRoofText_484ee: ; 484ee (12:44ee)
|
||||
CeladonMartRoofText_484ee:
|
||||
TX_FAR _CeladonMartRoofText_484ee
|
||||
db "@"
|
||||
|
||||
CeladonMartRoofText_484f3: ; 484f3 (12:44f3)
|
||||
CeladonMartRoofText_484f3:
|
||||
TX_FAR _CeladonMartRoofText_484f3
|
||||
db $0d
|
||||
db "@"
|
||||
|
||||
CeladonMartRoofText_484f9: ; 484f9 (12:44f9)
|
||||
CeladonMartRoofText_484f9:
|
||||
TX_FAR _CeladonMartRoofText_484f9
|
||||
db $0b
|
||||
TX_FAR _CeladonMartRoofText_484fe
|
||||
db $0d
|
||||
db "@"
|
||||
|
||||
CeladonMartRoofText_48504: ; 48504 (12:4504)
|
||||
CeladonMartRoofText_48504:
|
||||
TX_FAR _CeladonMartRoofText_48504
|
||||
db $0d
|
||||
db "@"
|
||||
|
||||
CeladonMartRoofText_4850a: ; 4850a (12:450a)
|
||||
CeladonMartRoofText_4850a:
|
||||
TX_FAR _CeladonMartRoofText_4850a
|
||||
db $0b
|
||||
TX_FAR _CeladonMartRoofText_4850f
|
||||
db $0d
|
||||
db "@"
|
||||
|
||||
CeladonMartRoofText_48515: ; 48515 (12:4515)
|
||||
CeladonMartRoofText_48515:
|
||||
TX_FAR _CeladonMartRoofText_48515
|
||||
db $0d
|
||||
db "@"
|
||||
|
||||
ReceivedTM49Text: ; 4851b (12:451b)
|
||||
ReceivedTM49Text:
|
||||
TX_FAR _ReceivedTM49Text
|
||||
db $0b
|
||||
TX_FAR _CeladonMartRoofText_48520
|
||||
db $0d
|
||||
db "@"
|
||||
|
||||
CeladonMartRoofText_48526: ; 48526 (12:4526)
|
||||
CeladonMartRoofText_48526:
|
||||
TX_FAR _CeladonMartRoofText_48526
|
||||
db $0d
|
||||
db "@"
|
||||
|
||||
CeladonMartRoofText_4852c: ; 4852c (12:452c)
|
||||
CeladonMartRoofText_4852c:
|
||||
TX_FAR _CeladonMartRoofText_4852c
|
||||
db $0d
|
||||
db "@"
|
||||
|
||||
CeladonMartRoofScript_PrintDrinksInBag: ; 48532 (12:4532)
|
||||
CeladonMartRoofScript_PrintDrinksInBag:
|
||||
ld hl, wFilteredBagItems
|
||||
xor a
|
||||
ld [hItemCounter], a
|
||||
|
|
@ -205,7 +205,7 @@ CeladonMartRoofScript_PrintDrinksInBag: ; 48532 (12:4532)
|
|||
pop hl
|
||||
jr .loop
|
||||
|
||||
CeladonMartRoofTextPointers: ; 4855b (12:455b)
|
||||
CeladonMartRoofTextPointers:
|
||||
dw CeladonMartRoofText1
|
||||
dw CeladonMartRoofText2
|
||||
dw CeladonMartRoofText5
|
||||
|
|
@ -213,11 +213,11 @@ CeladonMartRoofTextPointers: ; 4855b (12:455b)
|
|||
dw CeladonMartRoofText5
|
||||
dw CeladonMartRoofText6
|
||||
|
||||
CeladonMartRoofText1: ; 48567 (12:4567)
|
||||
CeladonMartRoofText1:
|
||||
TX_FAR _CeladonMartRoofText1
|
||||
db "@"
|
||||
|
||||
CeladonMartRoofText2: ; 4856c (12:456c)
|
||||
CeladonMartRoofText2:
|
||||
TX_ASM
|
||||
call CeladonMartRoofScript_GetDrinksInBag
|
||||
ld a, [wFilteredBagItemsCount]
|
||||
|
|
@ -239,17 +239,17 @@ CeladonMartRoofText2: ; 4856c (12:456c)
|
|||
.done
|
||||
jp TextScriptEnd
|
||||
|
||||
CeladonMartRoofText3: ; 48598 (12:4598)
|
||||
CeladonMartRoofText3:
|
||||
TX_FAR _CeladonMartRoofText_48598
|
||||
db "@"
|
||||
|
||||
CeladonMartRoofText4: ; 4859d (12:459d)
|
||||
CeladonMartRoofText4:
|
||||
TX_FAR _CeladonMartRoofText4
|
||||
db "@"
|
||||
|
||||
CeladonMartRoofText5: ; 485a2 (12:45a2)
|
||||
CeladonMartRoofText5:
|
||||
db $f5
|
||||
|
||||
CeladonMartRoofText6: ; 485a3 (12:45a3)
|
||||
CeladonMartRoofText6:
|
||||
TX_FAR _CeladonMartRoofText6
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -1,23 +1,23 @@
|
|||
CeladonPokecenterScript: ; 488b8 (12:48b8)
|
||||
CeladonPokecenterScript:
|
||||
call Serial_TryEstablishingExternallyClockedConnection
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
CeladonPokecenterTextPointers: ; 488be (12:48be)
|
||||
dw CeladonPokecenterText1
|
||||
CeladonPokecenterTextPointers:
|
||||
dw CeladonHealNurseText
|
||||
dw CeladonPokecenterText2
|
||||
dw CeladonPokecenterText3
|
||||
dw CeladonPokecenterText4
|
||||
dw CeladonTradeNurseText
|
||||
|
||||
CeladonPokecenterText4: ; 488c6 (12:48c6)
|
||||
CeladonTradeNurseText:
|
||||
db $f6
|
||||
|
||||
CeladonPokecenterText1: ; 488c7 (12:48c7)
|
||||
CeladonHealNurseText:
|
||||
db $ff
|
||||
|
||||
CeladonPokecenterText2: ; 488c8 (12:48c8)
|
||||
CeladonPokecenterText2:
|
||||
TX_FAR _CeladonPokecenterText2
|
||||
db "@"
|
||||
|
||||
CeladonPokecenterText3: ; 488cd (12:48cd)
|
||||
CeladonPokecenterText3:
|
||||
TX_FAR _CeladonPokecenterText3
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
CeruleanMartScript: ; 5c895 (17:4895)
|
||||
CeruleanMartScript:
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
CeruleanMartTextPointers: ; 5c898 (17:4898)
|
||||
dw CeruleanMartText1
|
||||
CeruleanMartTextPointers:
|
||||
dw CeruleanCashierText
|
||||
dw CeruleanMartText2
|
||||
dw CeruleanMartText3
|
||||
|
||||
CeruleanMartText2: ; 5c89e (17:489e)
|
||||
CeruleanMartText2:
|
||||
TX_FAR _CeruleanMartText2
|
||||
db "@"
|
||||
|
||||
CeruleanMartText3: ; 5c8a3 (17:48a3)
|
||||
CeruleanMartText3:
|
||||
TX_FAR _CeruleanMartText3
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -1,23 +1,23 @@
|
|||
CeruleanPokecenterScript: ; 5c645 (17:4645)
|
||||
CeruleanPokecenterScript:
|
||||
call Serial_TryEstablishingExternallyClockedConnection
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
CeruleanPokecenterTextPointers: ; 5c64b (17:464b)
|
||||
dw CeruleanPokecenterText1
|
||||
CeruleanPokecenterTextPointers:
|
||||
dw CeruleanHealNurseText
|
||||
dw CeruleanPokecenterText2
|
||||
dw CeruleanPokecenterText3
|
||||
dw CeruleanPokecenterText4
|
||||
dw CeruleanTradeNurseText
|
||||
|
||||
CeruleanPokecenterText4: ; 5c653 (17:4653)
|
||||
CeruleanTradeNurseText:
|
||||
db $f6
|
||||
|
||||
CeruleanPokecenterText1: ; 5c654 (17:4654)
|
||||
CeruleanHealNurseText:
|
||||
db $ff
|
||||
|
||||
CeruleanPokecenterText2: ; 5c655 (17:4655)
|
||||
TX_FAR _CeruleanPokecenterText1
|
||||
CeruleanPokecenterText2:
|
||||
TX_FAR _CeruleanPokecenterText2
|
||||
db "@"
|
||||
|
||||
CeruleanPokecenterText3: ; 5c65a (17:465a)
|
||||
CeruleanPokecenterText3:
|
||||
TX_FAR _CeruleanPokecenterText3
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
CinnabarMartScript: ; 75e7e (1d:5e7e)
|
||||
CinnabarMartScript:
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
CinnabarMartTextPointers: ; 75e81 (1d:5e81)
|
||||
dw CinnabarMartText1
|
||||
CinnabarMartTextPointers:
|
||||
dw CinnabarCashierText
|
||||
dw CinnabarMartText2
|
||||
dw CinnabarMartText3
|
||||
|
||||
CinnabarMartText2: ; 75e87 (1d:5e87)
|
||||
CinnabarMartText2:
|
||||
TX_FAR _CinnabarMartText2
|
||||
db "@"
|
||||
|
||||
CinnabarMartText3: ; 75e8c (1d:5e8c)
|
||||
CinnabarMartText3:
|
||||
TX_FAR _CinnabarMartText3
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -1,23 +1,23 @@
|
|||
CinnabarPokecenterScript: ; 75e2c (1d:5e2c)
|
||||
CinnabarPokecenterScript:
|
||||
call Serial_TryEstablishingExternallyClockedConnection
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
CinnabarPokecenterTextPointers: ; 75e32 (1d:5e32)
|
||||
dw CinnabarPokecenterText1
|
||||
CinnabarPokecenterTextPointers:
|
||||
dw CinnabarHealNurseText
|
||||
dw CinnabarPokecenterText2
|
||||
dw CinnabarPokecenterText3
|
||||
dw CinnabarPokecenterText4
|
||||
dw CinnabarTradeNurseText
|
||||
|
||||
CinnabarPokecenterText1: ; 75e3a (1d:5e3a)
|
||||
CinnabarHealNurseText:
|
||||
db $ff
|
||||
|
||||
CinnabarPokecenterText2: ; 75e3b (1d:5e3b)
|
||||
TX_FAR _CinnabarPokecenterText1
|
||||
CinnabarPokecenterText2:
|
||||
TX_FAR _CinnabarPokecenterText2
|
||||
db "@"
|
||||
|
||||
CinnabarPokecenterText3: ; 75e40 (1d:5e40)
|
||||
CinnabarPokecenterText3:
|
||||
TX_FAR _CinnabarPokecenterText3
|
||||
db "@"
|
||||
|
||||
CinnabarPokecenterText4: ; 75e45 (1d:5e45)
|
||||
CinnabarTradeNurseText:
|
||||
db $f6
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
FuchsiaMartScript: ; 1dd88 (7:5d88)
|
||||
FuchsiaMartScript:
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
FuchsiaMartTextPointers: ; 1dd8b (7:5d8b)
|
||||
dw FuchsiaMartText1
|
||||
FuchsiaMartTextPointers:
|
||||
dw FuchsiaCashierText
|
||||
dw FuchsiaMartText2
|
||||
dw FuchsiaMartText3
|
||||
|
||||
FuchsiaMartText2: ; 1dd91 (7:5d91)
|
||||
FuchsiaMartText2:
|
||||
TX_FAR _FuchsiaMartText2
|
||||
db "@"
|
||||
|
||||
FuchsiaMartText3: ; 1dd96 (7:5d96)
|
||||
FuchsiaMartText3:
|
||||
TX_FAR _FuchsiaMartText3
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -1,23 +1,23 @@
|
|||
FuchsiaPokecenterScript: ; 75063 (1d:5063)
|
||||
FuchsiaPokecenterScript:
|
||||
call Serial_TryEstablishingExternallyClockedConnection
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
FuchsiaPokecenterTextPointers: ; 75069 (1d:5069)
|
||||
dw FuchsiaPokecenterText1
|
||||
FuchsiaPokecenterTextPointers:
|
||||
dw FuchsiaHealNurseText
|
||||
dw FuchsiaPokecenterText2
|
||||
dw FuchsiaPokecenterText3
|
||||
dw FuchsiaPokecenterText4
|
||||
dw FuchsiaTradeNurseText
|
||||
|
||||
FuchsiaPokecenterText1: ; 75071 (1d:5071)
|
||||
FuchsiaHealNurseText:
|
||||
db $ff
|
||||
|
||||
FuchsiaPokecenterText2: ; 75072 (1d:5072)
|
||||
FuchsiaPokecenterText2:
|
||||
TX_FAR _FuchsiaPokecenterText1
|
||||
db "@"
|
||||
|
||||
FuchsiaPokecenterText3: ; 75077 (1d:5077)
|
||||
FuchsiaPokecenterText3:
|
||||
TX_FAR _FuchsiaPokecenterText3
|
||||
db "@"
|
||||
|
||||
FuchsiaPokecenterText4: ; 7507c (1d:507c)
|
||||
FuchsiaTradeNurseText:
|
||||
db $f6
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
IndigoPlateauLobbyScript: ; 19c5b (6:5c5b)
|
||||
IndigoPlateauLobbyScript:
|
||||
call Serial_TryEstablishingExternallyClockedConnection
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld hl, wCurrentMapScriptFlags
|
||||
|
|
@ -14,23 +14,23 @@ IndigoPlateauLobbyScript: ; 19c5b (6:5c5b)
|
|||
ResetEventRange ELITE4_EVENTS_START, EVENT_LANCES_ROOM_LOCK_DOOR
|
||||
ret
|
||||
|
||||
IndigoPlateauLobbyTextPointers: ; 19c7f (6:5c7f)
|
||||
dw IndigoPlateauLobbyText1
|
||||
IndigoPlateauLobbyTextPointers:
|
||||
dw IndigoHealNurseText
|
||||
dw IndigoPlateauLobbyText2
|
||||
dw IndigoPlateauLobbyText3
|
||||
dw IndigoPlateauLobbyText4
|
||||
dw IndigoPlateauLobbyText5
|
||||
dw IndigoCashierText
|
||||
dw IndigoTradeNurseText
|
||||
|
||||
IndigoPlateauLobbyText1: ; 19c89 (6:5c89)
|
||||
IndigoHealNurseText:
|
||||
db $ff
|
||||
|
||||
IndigoPlateauLobbyText2: ; 19c8a (6:5c8a)
|
||||
TX_FAR _IndigoPlateauLobbyText1
|
||||
IndigoPlateauLobbyText2:
|
||||
TX_FAR _IndigoPlateauLobbyText2
|
||||
db "@"
|
||||
|
||||
IndigoPlateauLobbyText3: ; 19c8f (6:5c8f)
|
||||
IndigoPlateauLobbyText3:
|
||||
TX_FAR _IndigoPlateauLobbyText3
|
||||
db "@"
|
||||
|
||||
IndigoPlateauLobbyText5: ; 19c94 (6:5c94)
|
||||
IndigoTradeNurseText:
|
||||
db $f6
|
||||
|
|
|
|||
|
|
@ -1,32 +1,32 @@
|
|||
LavenderMartScript: ; 5c92c (17:492c)
|
||||
LavenderMartScript:
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
LavenderMartTextPointers: ; 5c92f (17:492f)
|
||||
dw LavenderMartText1
|
||||
LavenderMartTextPointers:
|
||||
dw LavenderCashierText
|
||||
dw LavenderMartText2
|
||||
dw LavenderMartText3
|
||||
|
||||
LavenderMartText2: ; 5c935 (17:4935)
|
||||
LavenderMartText2:
|
||||
TX_FAR _LavenderMartText2
|
||||
db "@"
|
||||
|
||||
LavenderMartText3: ; 5c93a (17:493a)
|
||||
LavenderMartText3:
|
||||
TX_ASM
|
||||
CheckEvent EVENT_RESCUED_MR_FUJI
|
||||
jr nz, .asm_c88d4
|
||||
ld hl, LavenderMart_5c953
|
||||
jr nz, .Nugget
|
||||
ld hl, .ReviveText
|
||||
call PrintText
|
||||
jr .asm_6d225
|
||||
.asm_c88d4
|
||||
ld hl, LavenderMart_5c958
|
||||
jr .done
|
||||
.Nugget
|
||||
ld hl, .NuggetText
|
||||
call PrintText
|
||||
.asm_6d225
|
||||
.done
|
||||
jp TextScriptEnd
|
||||
|
||||
LavenderMart_5c953: ; 5c953 (17:4953)
|
||||
TX_FAR _LavenderMart_5c953
|
||||
.ReviveText
|
||||
TX_FAR _LavenderMartReviveText
|
||||
db "@"
|
||||
|
||||
LavenderMart_5c958: ; 5c958 (17:4958)
|
||||
TX_FAR _LavenderMart_5c958
|
||||
.NuggetText
|
||||
TX_FAR _LavenderMartNuggetText
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -1,23 +1,23 @@
|
|||
LavenderPokecenterScript: ; 5c8da (17:48da)
|
||||
LavenderPokecenterScript:
|
||||
call Serial_TryEstablishingExternallyClockedConnection
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
LavenderPokecenterTextPointers: ; 5c8e0 (17:48e0)
|
||||
dw LavenderPokecenterText1
|
||||
LavenderPokecenterTextPointers:
|
||||
dw LavenderHealNurseText
|
||||
dw LavenderPokecenterText2
|
||||
dw LavenderPokecenterText3
|
||||
dw LavenderPokecenterText4
|
||||
dw LavenderTradeNurseText
|
||||
|
||||
LavenderPokecenterText4: ; 5c8e8 (17:48e8)
|
||||
LavenderTradeNurseText:
|
||||
db $f6
|
||||
|
||||
LavenderPokecenterText1: ; 5c8e9 (17:48e9)
|
||||
LavenderHealNurseText:
|
||||
db $ff
|
||||
|
||||
LavenderPokecenterText2: ; 5c8ea (17:48ea)
|
||||
TX_FAR _LavenderPokecenterText1
|
||||
LavenderPokecenterText2:
|
||||
TX_FAR _LavenderPokecenterText2
|
||||
db "@"
|
||||
|
||||
LavenderPokecenterText3: ; 5c8ef (17:48ef)
|
||||
LavenderPokecenterText3:
|
||||
TX_FAR _LavenderPokecenterText3
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -1,31 +1,31 @@
|
|||
MtMoonPokecenterScript: ; 492cf (12:52cf)
|
||||
MtMoonPokecenterScript:
|
||||
call Serial_TryEstablishingExternallyClockedConnection
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
MtMoonPokecenterTextPointers: ; 492d5 (12:52d5)
|
||||
dw MtMoonPokecenterText1
|
||||
MtMoonPokecenterTextPointers:
|
||||
dw MtMoonHealNurseText
|
||||
dw MtMoonPokecenterText2
|
||||
dw MtMoonPokecenterText3
|
||||
dw MtMoonPokecenterText4
|
||||
dw MagikarpSalesmanText
|
||||
dw MtMoonPokecenterText5
|
||||
dw MtMoonPokecenterText6
|
||||
dw MtMoonTradeNurseText
|
||||
|
||||
MtMoonPokecenterText1: ; 492e1 (12:52e1)
|
||||
MtMoonHealNurseText:
|
||||
db $ff
|
||||
|
||||
MtMoonPokecenterText2: ; 492e2 (12:52e2)
|
||||
MtMoonPokecenterText2:
|
||||
TX_FAR _MtMoonPokecenterText1
|
||||
db "@"
|
||||
|
||||
MtMoonPokecenterText3: ; 492e7 (12:52e7)
|
||||
MtMoonPokecenterText3:
|
||||
TX_FAR _MtMoonPokecenterText3
|
||||
db "@"
|
||||
|
||||
MtMoonPokecenterText4: ; 492ec (12:52ec)
|
||||
MagikarpSalesmanText:
|
||||
TX_ASM
|
||||
CheckEvent EVENT_BOUGHT_MAGIKARP, 1
|
||||
jp c, .alreadyBoughtMagikarp
|
||||
ld hl, MtMoonPokecenterText_4935c
|
||||
ld hl, .Text1
|
||||
call PrintText
|
||||
ld a, MONEY_BOX
|
||||
ld [wTextBoxID], a
|
||||
|
|
@ -40,7 +40,7 @@ MtMoonPokecenterText4: ; 492ec (12:52ec)
|
|||
ld [hMoney + 1], a
|
||||
call HasEnoughMoney
|
||||
jr nc, .enoughMoney
|
||||
ld hl, MtMoonPokecenterText_49366
|
||||
ld hl, .NoMoneyText
|
||||
jr .printText
|
||||
.enoughMoney
|
||||
lb bc, MAGIKARP, 5
|
||||
|
|
@ -61,34 +61,34 @@ MtMoonPokecenterText4: ; 492ec (12:52ec)
|
|||
SetEvent EVENT_BOUGHT_MAGIKARP
|
||||
jr .done
|
||||
.choseNo
|
||||
ld hl, MtMoonPokecenterText_49361
|
||||
ld hl, .RefuseText
|
||||
jr .printText
|
||||
.alreadyBoughtMagikarp
|
||||
ld hl, MtMoonPokecenterText_4936b
|
||||
ld hl, .Text2
|
||||
.printText
|
||||
call PrintText
|
||||
.done
|
||||
jp TextScriptEnd
|
||||
|
||||
MtMoonPokecenterText_4935c: ; 4935c (12:535c)
|
||||
TX_FAR _MtMoonPokecenterText_4935c
|
||||
.Text1
|
||||
TX_FAR _MagikarpSalesmanText1
|
||||
db "@"
|
||||
|
||||
MtMoonPokecenterText_49361: ; 49361 (12:5361)
|
||||
TX_FAR _MtMoonPokecenterText_49361
|
||||
.RefuseText
|
||||
TX_FAR _MagikarpSalesmanNoText
|
||||
db "@"
|
||||
|
||||
MtMoonPokecenterText_49366: ; 49366 (12:5366)
|
||||
TX_FAR _MtMoonPokecenterText_49366
|
||||
.NoMoneyText
|
||||
TX_FAR _MagikarpSalesmanNoMoneyText
|
||||
db "@"
|
||||
|
||||
MtMoonPokecenterText_4936b: ; 4936b (12:536b)
|
||||
TX_FAR _MtMoonPokecenterText_4936b
|
||||
.Text2
|
||||
TX_FAR _MagikarpSalesmanText2
|
||||
db "@"
|
||||
|
||||
MtMoonPokecenterText5: ; 49370 (12:5370)
|
||||
MtMoonPokecenterText5:
|
||||
TX_FAR _MtMoonPokecenterText5
|
||||
db "@"
|
||||
|
||||
MtMoonPokecenterText6: ; 49375 (12:5375)
|
||||
MtMoonTradeNurseText:
|
||||
db $f6
|
||||
|
|
|
|||
|
|
@ -1,30 +1,28 @@
|
|||
PewterMartScript: ; 74cad (1d:4cad)
|
||||
PewterMartScript:
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld a, $1
|
||||
ld [wAutoTextBoxDrawingControl], a
|
||||
ret
|
||||
|
||||
PewterMartTextPointers: ; 74cb6 (1d:4cb6)
|
||||
dw PewterMartText1
|
||||
PewterMartTextPointers:
|
||||
dw PewterCashierText
|
||||
dw PewterMartText2
|
||||
dw PewterMartText3
|
||||
|
||||
PewterMartText2: ; 74cbc (1d:4cbc)
|
||||
PewterMartText2:
|
||||
TX_ASM
|
||||
ld hl, PewterMartText_74cc6
|
||||
ld hl, .Text
|
||||
call PrintText
|
||||
jp TextScriptEnd
|
||||
|
||||
PewterMartText_74cc6: ; 74cc6 (1d:4cc6)
|
||||
TX_FAR _PewterMartText_74cc6
|
||||
.Text
|
||||
TX_FAR _PewterMartText2
|
||||
db "@"
|
||||
|
||||
PewterMartText3: ; 74ccb (1d:4ccb)
|
||||
PewterMartText3:
|
||||
TX_ASM
|
||||
ld hl, PewterMartText_74cd5
|
||||
ld hl, .Text
|
||||
call PrintText
|
||||
jp TextScriptEnd
|
||||
|
||||
PewterMartText_74cd5: ; 74cd5 (1d:4cd5)
|
||||
TX_FAR _PewterMartText_74cd5
|
||||
.Text
|
||||
TX_FAR _PewterMartText3
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -1,25 +1,25 @@
|
|||
PewterPokecenterScript: ; 5c587 (17:4587)
|
||||
PewterPokecenterScript:
|
||||
call Serial_TryEstablishingExternallyClockedConnection
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
PewterPokecenterTextPointers: ; 5c58d (17:458d)
|
||||
dw PewterPokecenterText1
|
||||
PewterPokecenterTextPointers:
|
||||
dw PewterHealNurseText
|
||||
dw PewterPokecenterText2
|
||||
dw PewterPokecenterText3
|
||||
dw PewterPokecenterText4
|
||||
dw PewterJigglypuffText
|
||||
dw PewterTradeNurseText
|
||||
|
||||
PewterPokecenterText1: ; 5c595 (17:4595)
|
||||
PewterHealNurseText:
|
||||
db $ff
|
||||
|
||||
PewterPokecenterText2: ; 5c596 (17:4596)
|
||||
TX_FAR _PewterPokecenterText1
|
||||
PewterPokecenterText2:
|
||||
TX_FAR _PewterPokecenterText2
|
||||
db "@"
|
||||
|
||||
PewterPokecenterText3: ; 5c59b (17:459b)
|
||||
PewterJigglypuffText:
|
||||
TX_ASM
|
||||
ld a, $1
|
||||
ld [wDoNotWaitForButtonPressAfterDisplayingText], a
|
||||
ld hl, PewterPokecenterText5
|
||||
ld hl, .Text
|
||||
call PrintText
|
||||
ld a, $ff
|
||||
call PlaySound
|
||||
|
|
@ -70,16 +70,16 @@ PewterPokecenterText3: ; 5c59b (17:459b)
|
|||
call PlayDefaultMusic
|
||||
jp TextScriptEnd
|
||||
|
||||
PewterPokecenterText5: ; 5c603 (17:4603)
|
||||
TX_FAR _PewterPokecenterText5
|
||||
.Text
|
||||
TX_FAR _PewterJigglypuffText
|
||||
db "@"
|
||||
|
||||
JigglypuffFacingDirections: ; 5c608 (17:4608)
|
||||
JigglypuffFacingDirections:
|
||||
db $30 | SPRITE_FACING_DOWN
|
||||
db $30 | SPRITE_FACING_LEFT
|
||||
db $30 | SPRITE_FACING_UP
|
||||
db $30 | SPRITE_FACING_RIGHT
|
||||
JigglypuffFacingDirectionsEnd:
|
||||
|
||||
PewterPokecenterText4: ; 5c60c (17:460c)
|
||||
PewterTradeNurseText:
|
||||
db $f6
|
||||
|
|
|
|||
|
|
@ -1,110 +1,110 @@
|
|||
PowerPlantScript: ; 1e2c6 (7:62c6)
|
||||
PowerPlantScript:
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld hl, PowerPlantTrainerHeaders
|
||||
ld de, PowerPlantScriptPointers
|
||||
ld de, .ScriptPointers
|
||||
ld a, [wPowerPlantCurScript]
|
||||
call ExecuteCurMapScriptInTable
|
||||
ld [wPowerPlantCurScript], a
|
||||
ret
|
||||
|
||||
PowerPlantScriptPointers: ; 1e2d9 (7:62d9)
|
||||
.ScriptPointers
|
||||
dw CheckFightingMapTrainers
|
||||
dw DisplayEnemyTrainerTextAndStartBattle
|
||||
dw EndTrainerBattle
|
||||
|
||||
PowerPlantTextPointers: ; 1e2df (7:62df)
|
||||
dw PowerPlantText1
|
||||
dw PowerPlantText2
|
||||
dw PowerPlantText3
|
||||
dw PowerPlantText4
|
||||
dw PowerPlantText5
|
||||
dw PowerPlantText6
|
||||
dw PowerPlantText7
|
||||
dw PowerPlantText8
|
||||
dw PowerPlantText9
|
||||
PowerPlantTextPointers:
|
||||
dw Voltorb0Text
|
||||
dw Voltorb1Text
|
||||
dw Voltorb2Text
|
||||
dw Voltorb3Text
|
||||
dw Voltorb4Text
|
||||
dw Voltorb5Text
|
||||
dw Voltorb6Text
|
||||
dw Voltorb7Text
|
||||
dw ZapdosText
|
||||
dw PickUpItemText
|
||||
dw PickUpItemText
|
||||
dw PickUpItemText
|
||||
dw PickUpItemText
|
||||
dw PickUpItemText
|
||||
|
||||
PowerPlantTrainerHeaders: ; 1e2fb (7:62fb)
|
||||
PowerPlantTrainerHeader0: ; 1e2fb (7:62fb)
|
||||
dbEventFlagBit EVENT_BEAT_POWER_PLANT_TRAINER_0
|
||||
PowerPlantTrainerHeaders:
|
||||
Voltorb0TrainerHeader:
|
||||
dbEventFlagBit EVENT_BEAT_POWER_PLANT_VOLTORB_0
|
||||
db 0 ; view range
|
||||
dwEventFlagAddress EVENT_BEAT_POWER_PLANT_TRAINER_0
|
||||
dwEventFlagAddress EVENT_BEAT_POWER_PLANT_VOLTORB_0
|
||||
dw VoltorbBattleText ; TextBeforeBattle
|
||||
dw VoltorbBattleText ; TextAfterBattle
|
||||
dw VoltorbBattleText ; TextEndBattle
|
||||
dw VoltorbBattleText ; TextEndBattle
|
||||
|
||||
PowerPlantTrainerHeader1: ; 1e307 (7:6307)
|
||||
dbEventFlagBit EVENT_BEAT_POWER_PLANT_TRAINER_1
|
||||
Voltorb1TrainerHeader:
|
||||
dbEventFlagBit EVENT_BEAT_POWER_PLANT_VOLTORB_1
|
||||
db 0 ; view range
|
||||
dwEventFlagAddress EVENT_BEAT_POWER_PLANT_TRAINER_1
|
||||
dwEventFlagAddress EVENT_BEAT_POWER_PLANT_VOLTORB_1
|
||||
dw VoltorbBattleText ; TextBeforeBattle
|
||||
dw VoltorbBattleText ; TextAfterBattle
|
||||
dw VoltorbBattleText ; TextEndBattle
|
||||
dw VoltorbBattleText ; TextEndBattle
|
||||
|
||||
PowerPlantTrainerHeader2: ; 1e313 (7:6313)
|
||||
dbEventFlagBit EVENT_BEAT_POWER_PLANT_TRAINER_2
|
||||
Voltorb2TrainerHeader:
|
||||
dbEventFlagBit EVENT_BEAT_POWER_PLANT_VOLTORB_2
|
||||
db 0 ; view range
|
||||
dwEventFlagAddress EVENT_BEAT_POWER_PLANT_TRAINER_2
|
||||
dwEventFlagAddress EVENT_BEAT_POWER_PLANT_VOLTORB_2
|
||||
dw VoltorbBattleText ; TextBeforeBattle
|
||||
dw VoltorbBattleText ; TextAfterBattle
|
||||
dw VoltorbBattleText ; TextEndBattle
|
||||
dw VoltorbBattleText ; TextEndBattle
|
||||
|
||||
PowerPlantTrainerHeader3: ; 1e31f (7:631f)
|
||||
dbEventFlagBit EVENT_BEAT_POWER_PLANT_TRAINER_3
|
||||
Voltorb3TrainerHeader:
|
||||
dbEventFlagBit EVENT_BEAT_POWER_PLANT_VOLTORB_3
|
||||
db 0 ; view range
|
||||
dwEventFlagAddress EVENT_BEAT_POWER_PLANT_TRAINER_3
|
||||
dwEventFlagAddress EVENT_BEAT_POWER_PLANT_VOLTORB_3
|
||||
dw VoltorbBattleText ; TextBeforeBattle
|
||||
dw VoltorbBattleText ; TextAfterBattle
|
||||
dw VoltorbBattleText ; TextEndBattle
|
||||
dw VoltorbBattleText ; TextEndBattle
|
||||
|
||||
PowerPlantTrainerHeader4: ; 1e32b (7:632b)
|
||||
dbEventFlagBit EVENT_BEAT_POWER_PLANT_TRAINER_4
|
||||
Voltorb4TrainerHeader:
|
||||
dbEventFlagBit EVENT_BEAT_POWER_PLANT_VOLTORB_4
|
||||
db 0 ; view range
|
||||
dwEventFlagAddress EVENT_BEAT_POWER_PLANT_TRAINER_4
|
||||
dwEventFlagAddress EVENT_BEAT_POWER_PLANT_VOLTORB_4
|
||||
dw VoltorbBattleText ; TextBeforeBattle
|
||||
dw VoltorbBattleText ; TextAfterBattle
|
||||
dw VoltorbBattleText ; TextEndBattle
|
||||
dw VoltorbBattleText ; TextEndBattle
|
||||
|
||||
PowerPlantTrainerHeader5: ; 1e337 (7:6337)
|
||||
dbEventFlagBit EVENT_BEAT_POWER_PLANT_TRAINER_5
|
||||
Voltorb5TrainerHeader:
|
||||
dbEventFlagBit EVENT_BEAT_POWER_PLANT_VOLTORB_5
|
||||
db 0 ; view range
|
||||
dwEventFlagAddress EVENT_BEAT_POWER_PLANT_TRAINER_5
|
||||
dwEventFlagAddress EVENT_BEAT_POWER_PLANT_VOLTORB_5
|
||||
dw VoltorbBattleText ; TextBeforeBattle
|
||||
dw VoltorbBattleText ; TextAfterBattle
|
||||
dw VoltorbBattleText ; TextEndBattle
|
||||
dw VoltorbBattleText ; TextEndBattle
|
||||
|
||||
PowerPlantTrainerHeader6: ; 1e343 (7:6343)
|
||||
dbEventFlagBit EVENT_BEAT_POWER_PLANT_TRAINER_6
|
||||
Voltorb6TrainerHeader:
|
||||
dbEventFlagBit EVENT_BEAT_POWER_PLANT_VOLTORB_6
|
||||
db 0 ; view range
|
||||
dwEventFlagAddress EVENT_BEAT_POWER_PLANT_TRAINER_6
|
||||
dwEventFlagAddress EVENT_BEAT_POWER_PLANT_VOLTORB_6
|
||||
dw VoltorbBattleText ; TextBeforeBattle
|
||||
dw VoltorbBattleText ; TextAfterBattle
|
||||
dw VoltorbBattleText ; TextEndBattle
|
||||
dw VoltorbBattleText ; TextEndBattle
|
||||
|
||||
PowerPlantTrainerHeader7: ; 1e34f (7:634f)
|
||||
dbEventFlagBit EVENT_BEAT_POWER_PLANT_TRAINER_7, 1
|
||||
Voltorb7TrainerHeader:
|
||||
dbEventFlagBit EVENT_BEAT_POWER_PLANT_VOLTORB_7, 1
|
||||
db 0 ; view range
|
||||
dwEventFlagAddress EVENT_BEAT_POWER_PLANT_TRAINER_7, 1
|
||||
dwEventFlagAddress EVENT_BEAT_POWER_PLANT_VOLTORB_7, 1
|
||||
dw VoltorbBattleText ; TextBeforeBattle
|
||||
dw VoltorbBattleText ; TextAfterBattle
|
||||
dw VoltorbBattleText ; TextEndBattle
|
||||
dw VoltorbBattleText ; TextEndBattle
|
||||
|
||||
PowerPlantTrainerHeader8: ; 1e35b (7:635b)
|
||||
dbEventFlagBit EVENT_BEAT_POWER_PLANT_TRAINER_8, 1
|
||||
ZapdosTrainerHeader:
|
||||
dbEventFlagBit EVENT_BEAT_ZAPDOS, 1
|
||||
db 0 ; view range
|
||||
dwEventFlagAddress EVENT_BEAT_POWER_PLANT_TRAINER_8, 1
|
||||
dwEventFlagAddress EVENT_BEAT_ZAPDOS, 1
|
||||
dw ZapdosBattleText ; TextBeforeBattle
|
||||
dw ZapdosBattleText ; TextAfterBattle
|
||||
dw ZapdosBattleText ; TextEndBattle
|
||||
|
|
@ -112,62 +112,62 @@ PowerPlantTrainerHeader8: ; 1e35b (7:635b)
|
|||
|
||||
db $ff
|
||||
|
||||
InitVoltorbBattle: ; 1e368 (7:6368)
|
||||
InitVoltorbBattle:
|
||||
call TalkToTrainer
|
||||
ld a, [wCurMapScript]
|
||||
ld [wPowerPlantCurScript], a
|
||||
jp TextScriptEnd
|
||||
|
||||
PowerPlantText1: ; 1e374 (7:6374)
|
||||
Voltorb0Text:
|
||||
TX_ASM
|
||||
ld hl, PowerPlantTrainerHeader0
|
||||
ld hl, Voltorb0TrainerHeader
|
||||
jr InitVoltorbBattle
|
||||
|
||||
PowerPlantText2: ; 1e37a (7:637a)
|
||||
Voltorb1Text:
|
||||
TX_ASM
|
||||
ld hl, PowerPlantTrainerHeader1
|
||||
ld hl, Voltorb1TrainerHeader
|
||||
jr InitVoltorbBattle
|
||||
|
||||
PowerPlantText3: ; 1e380 (7:6380)
|
||||
Voltorb2Text:
|
||||
TX_ASM
|
||||
ld hl, PowerPlantTrainerHeader2
|
||||
ld hl, Voltorb2TrainerHeader
|
||||
jr InitVoltorbBattle
|
||||
|
||||
PowerPlantText4: ; 1e386 (7:6386)
|
||||
Voltorb3Text:
|
||||
TX_ASM
|
||||
ld hl, PowerPlantTrainerHeader3
|
||||
ld hl, Voltorb3TrainerHeader
|
||||
jr InitVoltorbBattle
|
||||
|
||||
PowerPlantText5: ; 1e38c (7:638c)
|
||||
Voltorb4Text:
|
||||
TX_ASM
|
||||
ld hl, PowerPlantTrainerHeader4
|
||||
ld hl, Voltorb4TrainerHeader
|
||||
jr InitVoltorbBattle
|
||||
|
||||
PowerPlantText6: ; 1e392 (7:6392)
|
||||
Voltorb5Text:
|
||||
TX_ASM
|
||||
ld hl, PowerPlantTrainerHeader5
|
||||
ld hl, Voltorb5TrainerHeader
|
||||
jr InitVoltorbBattle
|
||||
|
||||
PowerPlantText7: ; 1e398 (7:6398)
|
||||
Voltorb6Text:
|
||||
TX_ASM
|
||||
ld hl, PowerPlantTrainerHeader6
|
||||
ld hl, Voltorb6TrainerHeader
|
||||
jr InitVoltorbBattle
|
||||
|
||||
PowerPlantText8: ; 1e39e (7:639e)
|
||||
Voltorb7Text:
|
||||
TX_ASM
|
||||
ld hl, PowerPlantTrainerHeader7
|
||||
ld hl, Voltorb7TrainerHeader
|
||||
jr InitVoltorbBattle
|
||||
|
||||
PowerPlantText9: ; 1e3a4 (7:63a4)
|
||||
ZapdosText:
|
||||
TX_ASM
|
||||
ld hl, PowerPlantTrainerHeader8
|
||||
ld hl, ZapdosTrainerHeader
|
||||
jr InitVoltorbBattle
|
||||
|
||||
VoltorbBattleText: ; 1e3aa (7:63aa)
|
||||
VoltorbBattleText:
|
||||
TX_FAR _VoltorbBattleText
|
||||
db "@"
|
||||
|
||||
ZapdosBattleText: ; 1e3af (7:63af)
|
||||
ZapdosBattleText:
|
||||
TX_FAR _ZapdosBattleText
|
||||
TX_ASM
|
||||
ld a, ZAPDOS
|
||||
|
|
|
|||
|
|
@ -1,23 +1,23 @@
|
|||
RockTunnelPokecenterScript: ; 493ba (12:53ba)
|
||||
RockTunnelPokecenterScript:
|
||||
call Serial_TryEstablishingExternallyClockedConnection
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
RockTunnelPokecenterTextPointers: ; 493c0 (12:53c0)
|
||||
dw RockTunnelPokecenterText1
|
||||
RockTunnelPokecenterTextPointers:
|
||||
dw RockTunnelHealNurseText
|
||||
dw RockTunnelPokecenterText2
|
||||
dw RockTunnelPokecenterText3
|
||||
dw RockTunnelPokecenterText4
|
||||
dw RockTunnelTradeNurseText
|
||||
|
||||
RockTunnelPokecenterText1: ; 493c8 (12:53c8)
|
||||
RockTunnelHealNurseText:
|
||||
db $ff
|
||||
|
||||
RockTunnelPokecenterText2: ; 493c9 (12:53c9)
|
||||
TX_FAR _RockTunnelPokecenterText1
|
||||
RockTunnelPokecenterText2:
|
||||
TX_FAR _RockTunnelPokecenterText2
|
||||
db "@"
|
||||
|
||||
RockTunnelPokecenterText3: ; 493ce (12:53ce)
|
||||
RockTunnelPokecenterText3:
|
||||
TX_FAR _RockTunnelPokecenterText3
|
||||
db "@"
|
||||
|
||||
RockTunnelPokecenterText4: ; 493d3 (12:53d3)
|
||||
RockTunnelTradeNurseText:
|
||||
db $f6
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
SaffronMartScript: ; 5d409 (17:5409)
|
||||
SaffronMartScript:
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
SaffronMartTextPointers: ; 5d40c (17:540c)
|
||||
dw SaffronMartText1
|
||||
SaffronMartTextPointers:
|
||||
dw SaffronCashierText
|
||||
dw SaffronMartText2
|
||||
dw SaffronMartText3
|
||||
|
||||
SaffronMartText2: ; 5d412 (17:5412)
|
||||
SaffronMartText2:
|
||||
TX_FAR _SaffronMartText2
|
||||
db "@"
|
||||
|
||||
SaffronMartText3: ; 5d417 (17:5417)
|
||||
SaffronMartText3:
|
||||
TX_FAR _SaffronMartText3
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -1,23 +1,23 @@
|
|||
SaffronPokecenterScript: ; 5d535 (17:5535)
|
||||
SaffronPokecenterScript:
|
||||
call Serial_TryEstablishingExternallyClockedConnection
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
SaffronPokecenterTextPointers: ; 5d53b (17:553b)
|
||||
dw SaffronPokecenterText1
|
||||
SaffronPokecenterTextPointers:
|
||||
dw SaffronHealNurseText
|
||||
dw SaffronPokecenterText2
|
||||
dw SaffronPokecenterText3
|
||||
dw SaffronPokecenterText4
|
||||
dw SaffronTradeNurseText
|
||||
|
||||
SaffronPokecenterText1: ; 5d543 (17:5543)
|
||||
SaffronHealNurseText:
|
||||
db $ff
|
||||
|
||||
SaffronPokecenterText2: ; 5d544 (17:5544)
|
||||
TX_FAR _SaffronPokecenterText1
|
||||
SaffronPokecenterText2:
|
||||
TX_FAR _SaffronPokecenterText2
|
||||
db "@"
|
||||
|
||||
SaffronPokecenterText3: ; 5d549 (17:5549)
|
||||
SaffronPokecenterText3:
|
||||
TX_FAR _SaffronPokecenterText3
|
||||
db "@"
|
||||
|
||||
SaffronPokecenterText4: ; 5d54e (17:554e)
|
||||
SaffronTradeNurseText:
|
||||
db $f6
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
SeafoamIslands1Script: ; 447e9 (11:47e9)
|
||||
SeafoamIslands1Script:
|
||||
call EnableAutoTextBoxDrawing
|
||||
SetEvent EVENT_IN_SEAFOAM_ISLANDS
|
||||
ld hl, wFlags_0xcd60
|
||||
|
|
@ -37,11 +37,11 @@ SeafoamIslands1Script: ; 447e9 (11:47e9)
|
|||
ld hl, Seafoam1HolesCoords
|
||||
jp IsPlayerOnDungeonWarp
|
||||
|
||||
Seafoam1HolesCoords: ; 44846 (11:4846)
|
||||
Seafoam1HolesCoords:
|
||||
db $06,$11
|
||||
db $06,$18
|
||||
db $ff
|
||||
|
||||
SeafoamIslands1TextPointers: ; 4484b (11:484b)
|
||||
SeafoamIslands1TextPointers:
|
||||
dw BoulderText
|
||||
dw BoulderText
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
SeafoamIslands2Script: ; 46315 (11:6315)
|
||||
SeafoamIslands2Script:
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld hl, wFlags_0xcd60
|
||||
bit 7, [hl]
|
||||
|
|
@ -36,11 +36,11 @@ SeafoamIslands2Script: ; 46315 (11:6315)
|
|||
ld hl, Seafoam2HolesCoords
|
||||
jp IsPlayerOnDungeonWarp
|
||||
|
||||
Seafoam2HolesCoords: ; 4636d (11:636d)
|
||||
Seafoam2HolesCoords:
|
||||
db $06,$12
|
||||
db $06,$17
|
||||
db $ff
|
||||
|
||||
SeafoamIslands2TextPointers: ; 46372 (11:6372)
|
||||
SeafoamIslands2TextPointers:
|
||||
dw BoulderText
|
||||
dw BoulderText
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
SeafoamIslands3Script: ; 46451 (11:6451)
|
||||
SeafoamIslands3Script:
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld hl, wFlags_0xcd60
|
||||
bit 7, [hl]
|
||||
|
|
@ -36,11 +36,11 @@ SeafoamIslands3Script: ; 46451 (11:6451)
|
|||
ld hl, Seafoam3HolesCoords
|
||||
jp IsPlayerOnDungeonWarp
|
||||
|
||||
Seafoam3HolesCoords: ; 464a9 (11:64a9)
|
||||
Seafoam3HolesCoords:
|
||||
db $06,$13
|
||||
db $06,$16
|
||||
db $ff
|
||||
|
||||
SeafoamIslands3TextPointers: ; 464ae (11:64ae)
|
||||
SeafoamIslands3TextPointers:
|
||||
dw BoulderText
|
||||
dw BoulderText
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
SeafoamIslands4Script: ; 4658d (11:658d)
|
||||
SeafoamIslands4Script:
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld hl, wFlags_0xcd60
|
||||
bit 7, [hl]
|
||||
|
|
@ -44,18 +44,18 @@ SeafoamIslands4Script: ; 4658d (11:658d)
|
|||
ld a, [wSeafoamIslands4CurScript]
|
||||
jp CallFunctionInTable
|
||||
|
||||
Seafoam4HolesCoords: ; 465f6 (11:65f6)
|
||||
Seafoam4HolesCoords:
|
||||
db $10,$03
|
||||
db $10,$06
|
||||
db $ff
|
||||
|
||||
SeafoamIslands4ScriptPointers: ; 465fb (11:65fb)
|
||||
SeafoamIslands4ScriptPointers:
|
||||
dw SeafoamIslands4Script0
|
||||
dw SeafoamIslands4Script1
|
||||
dw SeafoamIslands4Script2
|
||||
dw SeafoamIslands4Script3
|
||||
|
||||
SeafoamIslands4Script0: ; 46603 (11:6603)
|
||||
SeafoamIslands4Script0:
|
||||
CheckBothEventsSet EVENT_SEAFOAM3_BOULDER1_DOWN_HOLE, EVENT_SEAFOAM3_BOULDER2_DOWN_HOLE
|
||||
ret z
|
||||
ld a, [wYCoord]
|
||||
|
|
@ -76,13 +76,13 @@ SeafoamIslands4Script0: ; 46603 (11:6603)
|
|||
ld [wSeafoamIslands4CurScript], a
|
||||
ret
|
||||
|
||||
RLEMovement46632: ; 46632 (11:6632)
|
||||
RLEMovement46632:
|
||||
db D_DOWN,6
|
||||
db D_RIGHT,5
|
||||
db D_DOWN,3
|
||||
db $ff
|
||||
|
||||
SeafoamIslands4Script1: ; 46639 (11:6639)
|
||||
SeafoamIslands4Script1:
|
||||
ld a, [wSimulatedJoypadStatesIndex]
|
||||
and a
|
||||
ret nz
|
||||
|
|
@ -90,7 +90,7 @@ SeafoamIslands4Script1: ; 46639 (11:6639)
|
|||
ld [wSeafoamIslands4CurScript], a
|
||||
ret
|
||||
|
||||
SeafoamIslands4Script2: ; 46644 (11:6644)
|
||||
SeafoamIslands4Script2:
|
||||
CheckBothEventsSet EVENT_SEAFOAM3_BOULDER1_DOWN_HOLE, EVENT_SEAFOAM3_BOULDER2_DOWN_HOLE
|
||||
ret z
|
||||
ld a, [wXCoord]
|
||||
|
|
@ -119,20 +119,20 @@ SeafoamIslands4Script2: ; 46644 (11:6644)
|
|||
ld [wSeafoamIslands4CurScript], a
|
||||
ret
|
||||
|
||||
RLEData_4667f: ; 4667f (11:667f)
|
||||
RLEData_4667f:
|
||||
db D_DOWN,$06
|
||||
db D_RIGHT,$02
|
||||
db D_DOWN,$04
|
||||
db D_LEFT,$01
|
||||
db $FF
|
||||
|
||||
RLEData_46688: ; 46688 (11:6688)
|
||||
RLEData_46688:
|
||||
db D_DOWN,$06
|
||||
db D_RIGHT,$02
|
||||
db D_DOWN,$04
|
||||
db $FF
|
||||
|
||||
SeafoamIslands4Script3: ; 4668f (11:668f)
|
||||
SeafoamIslands4Script3:
|
||||
ld a, [wSimulatedJoypadStatesIndex]
|
||||
and a
|
||||
ret nz
|
||||
|
|
@ -140,7 +140,7 @@ SeafoamIslands4Script3: ; 4668f (11:668f)
|
|||
ld [wSeafoamIslands4CurScript], a
|
||||
ret
|
||||
|
||||
SeafoamIslands4TextPointers: ; 4669a (11:669a)
|
||||
SeafoamIslands4TextPointers:
|
||||
dw BoulderText
|
||||
dw BoulderText
|
||||
dw BoulderText
|
||||
|
|
|
|||
|
|
@ -1,23 +1,23 @@
|
|||
SeafoamIslands5Script: ; 46799 (11:6799)
|
||||
SeafoamIslands5Script:
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld a, [wSeafoamIslands5CurScript]
|
||||
ld hl, SeafoamIslands5ScriptPointers
|
||||
jp CallFunctionInTable
|
||||
|
||||
SeafoamIslands5Script_467a5: ; 467a5 (11:67a5)
|
||||
SeafoamIslands5Script_467a5:
|
||||
xor a
|
||||
ld [wSeafoamIslands5CurScript], a
|
||||
ld [wJoyIgnore], a
|
||||
ret
|
||||
|
||||
SeafoamIslands5ScriptPointers: ; 467ad (11:67ad)
|
||||
SeafoamIslands5ScriptPointers:
|
||||
dw SeafoamIslands5Script0
|
||||
dw SeafoamIslands5Script1
|
||||
dw SeafoamIslands5Script2
|
||||
dw SeafoamIslands5Script3
|
||||
dw SeafoamIslands5Script4
|
||||
|
||||
SeafoamIslands5Script4: ; 467b7 (11:67b7)
|
||||
SeafoamIslands5Script4:
|
||||
ld a, [wIsInBattle]
|
||||
cp $ff
|
||||
jr z, SeafoamIslands5Script_467a5
|
||||
|
|
@ -26,10 +26,10 @@ SeafoamIslands5Script4: ; 467b7 (11:67b7)
|
|||
ld [wSeafoamIslands5CurScript], a
|
||||
ret
|
||||
|
||||
SeafoamIslands5Script0: ; 467c7 (11:67c7)
|
||||
SeafoamIslands5Script0:
|
||||
CheckBothEventsSet EVENT_SEAFOAM3_BOULDER1_DOWN_HOLE, EVENT_SEAFOAM3_BOULDER2_DOWN_HOLE
|
||||
ret z
|
||||
ld hl, CoordsData_467fe
|
||||
ld hl, .Coords
|
||||
call ArePlayerCoordsInArray
|
||||
ret nc
|
||||
ld a, [wCoordIndex]
|
||||
|
|
@ -52,14 +52,14 @@ SeafoamIslands5Script0: ; 467c7 (11:67c7)
|
|||
ld [wSeafoamIslands5CurScript], a
|
||||
ret
|
||||
|
||||
CoordsData_467fe: ; 467fe (11:67fe)
|
||||
.Coords
|
||||
db $11,$14
|
||||
db $11,$15
|
||||
db $10,$14
|
||||
db $10,$15
|
||||
db $FF
|
||||
|
||||
SeafoamIslands5Script1: ; 46807 (11:6807)
|
||||
SeafoamIslands5Script1:
|
||||
ld a, [wSimulatedJoypadStatesIndex]
|
||||
and a
|
||||
ret nz
|
||||
|
|
@ -69,11 +69,11 @@ SeafoamIslands5Script1: ; 46807 (11:6807)
|
|||
ld [wSeafoamIslands5CurScript], a
|
||||
ret
|
||||
|
||||
SeafoamIslands5Script2: ; 46816 (11:6816)
|
||||
SeafoamIslands5Script2:
|
||||
CheckBothEventsSet EVENT_SEAFOAM4_BOULDER1_DOWN_HOLE, EVENT_SEAFOAM4_BOULDER2_DOWN_HOLE
|
||||
ld a, $0
|
||||
jr z, .asm_46849
|
||||
ld hl, CoordsData_4684d
|
||||
ld hl, .Coords
|
||||
call ArePlayerCoordsInArray
|
||||
ld a, $0
|
||||
jr nc, .asm_46849
|
||||
|
|
@ -95,24 +95,24 @@ SeafoamIslands5Script2: ; 46816 (11:6816)
|
|||
ld [wSeafoamIslands5CurScript], a
|
||||
ret
|
||||
|
||||
CoordsData_4684d: ; 4684d (11:684d)
|
||||
.Coords
|
||||
db $0E,$04
|
||||
db $0E,$05
|
||||
db $FF
|
||||
|
||||
RLEMovementData_46852: ; 46852 (11:6852)
|
||||
RLEMovementData_46852:
|
||||
db D_UP,$03
|
||||
db D_RIGHT,$02
|
||||
db D_UP,$01
|
||||
db $FF
|
||||
|
||||
RLEMovementData_46859: ; 46859 (11:6859)
|
||||
RLEMovementData_46859:
|
||||
db D_UP,$03
|
||||
db D_RIGHT,$03
|
||||
db D_UP,$01
|
||||
db $FF
|
||||
|
||||
SeafoamIslands5Script3: ; 46860 (11:6860)
|
||||
SeafoamIslands5Script3:
|
||||
ld a, [wSimulatedJoypadStatesIndex]
|
||||
ld b, a
|
||||
cp $1
|
||||
|
|
@ -124,51 +124,50 @@ SeafoamIslands5Script3: ; 46860 (11:6860)
|
|||
ld [wSeafoamIslands5CurScript], a
|
||||
ret
|
||||
|
||||
SeaFoamIslands5Script_46872: ; 46872 (11:6872)
|
||||
SeaFoamIslands5Script_46872:
|
||||
xor a
|
||||
ld [wWalkBikeSurfState], a
|
||||
ld [wWalkBikeSurfStateCopy], a
|
||||
jp ForceBikeOrSurf
|
||||
|
||||
SeafoamIslands5TextPointers: ; 4687c (11:687c)
|
||||
SeafoamIslands5TextPointers:
|
||||
dw BoulderText
|
||||
dw BoulderText
|
||||
dw SeafoamIslands5Text3
|
||||
dw ArticunoText
|
||||
dw SeafoamIslands5Text4
|
||||
dw SeafoamIslands5Text5
|
||||
|
||||
SeafoamIslands5TrainerHeaders: ; 46886 (11:6886)
|
||||
SeafoamIslands5TrainerHeader0: ; 46886 (11:6886)
|
||||
dbEventFlagBit EVENT_BEAT_SEAFOAM_ISLANDS_5_TRAINER_0
|
||||
ArticunoTrainerHeader:
|
||||
dbEventFlagBit EVENT_BEAT_ARTICUNO
|
||||
db ($0 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_SEAFOAM_ISLANDS_5_TRAINER_0
|
||||
dw SeafoamIslands5BattleText2 ; TextBeforeBattle
|
||||
dw SeafoamIslands5BattleText2 ; TextAfterBattle
|
||||
dw SeafoamIslands5BattleText2 ; TextEndBattle
|
||||
dw SeafoamIslands5BattleText2 ; TextEndBattle
|
||||
dwEventFlagAddress EVENT_BEAT_ARTICUNO
|
||||
dw ArticunoBattleText ; TextBeforeBattle
|
||||
dw ArticunoBattleText ; TextAfterBattle
|
||||
dw ArticunoBattleText ; TextEndBattle
|
||||
dw ArticunoBattleText ; TextEndBattle
|
||||
|
||||
db $ff
|
||||
|
||||
SeafoamIslands5Text3: ; 46893 (11:6893)
|
||||
ArticunoText:
|
||||
TX_ASM
|
||||
ld hl, SeafoamIslands5TrainerHeader0
|
||||
ld hl, ArticunoTrainerHeader
|
||||
call TalkToTrainer
|
||||
ld a, $4
|
||||
ld [wSeafoamIslands5CurScript], a
|
||||
jp TextScriptEnd
|
||||
|
||||
SeafoamIslands5BattleText2: ; 468a2 (11:68a2)
|
||||
TX_FAR _SeafoamIslands5BattleText2
|
||||
ArticunoBattleText:
|
||||
TX_FAR _ArticunoBattleText
|
||||
TX_ASM
|
||||
ld a, ARTICUNO
|
||||
call PlayCry
|
||||
call WaitForSoundToFinish
|
||||
jp TextScriptEnd
|
||||
|
||||
SeafoamIslands5Text4: ; 468b2 (11:68b2)
|
||||
SeafoamIslands5Text4:
|
||||
TX_FAR _SeafoamIslands5Text4
|
||||
db "@"
|
||||
|
||||
SeafoamIslands5Text5: ; 468b7 (11:68b7)
|
||||
SeafoamIslands5Text5:
|
||||
TX_FAR _SeafoamIslands5Text5
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
UnknownDungeon1Script: ; 74d0c (1d:4d0c)
|
||||
UnknownDungeon1Script:
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
UnknownDungeon1TextPointers: ; 74d0f (1d:4d0f)
|
||||
UnknownDungeon1TextPointers:
|
||||
dw PickUpItemText
|
||||
dw PickUpItemText
|
||||
dw PickUpItemText
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
UnknownDungeon2Script: ; 45e0b (11:5e0b)
|
||||
UnknownDungeon2Script:
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
UnknownDungeon2TextPointers: ; 45e0e (11:5e0e)
|
||||
UnknownDungeon2TextPointers:
|
||||
dw PickUpItemText
|
||||
dw PickUpItemText
|
||||
dw PickUpItemText
|
||||
|
|
|
|||
|
|
@ -1,42 +1,42 @@
|
|||
UnknownDungeon3Script: ; 45ef0 (11:5ef0)
|
||||
UnknownDungeon3Script:
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld hl, UnknownDungeon3TrainerHeaders
|
||||
ld de, UnknownDungeon3ScriptPointers
|
||||
ld de, .ScriptPointers
|
||||
ld a, [wUnknownDungeon3CurScript]
|
||||
call ExecuteCurMapScriptInTable
|
||||
ld [wUnknownDungeon3CurScript], a
|
||||
ret
|
||||
|
||||
UnknownDungeon3ScriptPointers: ; 45f03 (11:5f03)
|
||||
.ScriptPointers
|
||||
dw CheckFightingMapTrainers
|
||||
dw DisplayEnemyTrainerTextAndStartBattle
|
||||
dw EndTrainerBattle
|
||||
|
||||
UnknownDungeon3TextPointers: ; 45f09 (11:5f09)
|
||||
dw UnknownDungeon3Text1
|
||||
UnknownDungeon3TextPointers:
|
||||
dw MewtwoText
|
||||
dw PickUpItemText
|
||||
dw PickUpItemText
|
||||
|
||||
UnknownDungeon3TrainerHeaders: ; 45f0f (11:5f0f)
|
||||
UnknownDungeon3TrainerHeader0: ; 45f0f (11:5f0f)
|
||||
dbEventFlagBit EVENT_BEAT_UNKNOWN_DUNGEON_3_TRAINER_0
|
||||
UnknownDungeon3TrainerHeaders:
|
||||
MewtwoTrainerHeader:
|
||||
dbEventFlagBit EVENT_BEAT_MEWTWO
|
||||
db ($0 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_UNKNOWN_DUNGEON_3_TRAINER_0
|
||||
dw UnknownDungeon3MewtwoText ; TextBeforeBattle
|
||||
dw UnknownDungeon3MewtwoText ; TextAfterBattle
|
||||
dw UnknownDungeon3MewtwoText ; TextEndBattle
|
||||
dw UnknownDungeon3MewtwoText ; TextEndBattle
|
||||
dwEventFlagAddress EVENT_BEAT_MEWTWO
|
||||
dw MewtwoBattleText ; TextBeforeBattle
|
||||
dw MewtwoBattleText ; TextAfterBattle
|
||||
dw MewtwoBattleText ; TextEndBattle
|
||||
dw MewtwoBattleText ; TextEndBattle
|
||||
|
||||
db $ff
|
||||
|
||||
UnknownDungeon3Text1: ; 45f1c (11:5f1c)
|
||||
MewtwoText:
|
||||
TX_ASM
|
||||
ld hl, UnknownDungeon3TrainerHeader0
|
||||
ld hl, MewtwoTrainerHeader
|
||||
call TalkToTrainer
|
||||
jp TextScriptEnd
|
||||
|
||||
UnknownDungeon3MewtwoText: ; 45f26 (11:5f26)
|
||||
TX_FAR _UnknownDungeon3MewtwoText
|
||||
MewtwoBattleText:
|
||||
TX_FAR _MewtwoBattleText
|
||||
TX_ASM
|
||||
ld a, MEWTWO
|
||||
call PlayCry
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
VermilionMartScript: ; 5c9e1 (17:49e1)
|
||||
VermilionMartScript:
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
VermilionMartTextPointers: ; 5c9e4 (17:49e4)
|
||||
dw VermilionMartText1
|
||||
VermilionMartTextPointers:
|
||||
dw VermilionCashierText
|
||||
dw VermilionMartText2
|
||||
dw VermilionMartText3
|
||||
|
||||
VermilionMartText2: ; 5c9ea (17:49ea)
|
||||
VermilionMartText2:
|
||||
TX_FAR _VermilionMartText2
|
||||
db "@"
|
||||
|
||||
VermilionMartText3: ; 5c9ef (17:49ef)
|
||||
VermilionMartText3:
|
||||
TX_FAR _VermilionMartText3
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -1,23 +1,23 @@
|
|||
VermilionPokecenterScript: ; 5c98f (17:498f)
|
||||
VermilionPokecenterScript:
|
||||
call Serial_TryEstablishingExternallyClockedConnection
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
VermilionPokecenterTextPointers: ; 5c995 (17:4995)
|
||||
dw VermilionPokecenterText1
|
||||
VermilionPokecenterTextPointers:
|
||||
dw VermilionHealNurseText
|
||||
dw VermilionPokecenterText2
|
||||
dw VermilionPokecenterText3
|
||||
dw VermilionPokecenterText4
|
||||
dw VermilionTradeNurseText
|
||||
|
||||
VermilionPokecenterText1: ; 5c99d (17:499d)
|
||||
VermilionHealNurseText:
|
||||
db $ff
|
||||
|
||||
VermilionPokecenterText2: ; 5c99e (17:499e)
|
||||
TX_FAR _VermilionPokecenterText1
|
||||
VermilionPokecenterText2:
|
||||
TX_FAR _VermilionPokecenterText2
|
||||
db "@"
|
||||
|
||||
VermilionPokecenterText3: ; 5c9a3 (17:49a3)
|
||||
VermilionPokecenterText3:
|
||||
TX_FAR _VermilionPokecenterText3
|
||||
db "@"
|
||||
|
||||
VermilionPokecenterText4: ; 5c9a8 (17:49a8)
|
||||
VermilionTradeNurseText:
|
||||
db $f6
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
VictoryRoad1Script: ; 5da0a (17:5a0a)
|
||||
VictoryRoad1Script:
|
||||
ld hl, wCurrentMapScriptFlags
|
||||
bit 5, [hl]
|
||||
res 5, [hl]
|
||||
|
|
@ -18,12 +18,12 @@ VictoryRoad1Script: ; 5da0a (17:5a0a)
|
|||
lb bc, 6, 4
|
||||
predef_jump ReplaceTileBlock
|
||||
|
||||
VictoryRoad1ScriptPointers: ; 5da3a (17:5a3a)
|
||||
VictoryRoad1ScriptPointers:
|
||||
dw VictoryRoad1Script0
|
||||
dw DisplayEnemyTrainerTextAndStartBattle
|
||||
dw EndTrainerBattle
|
||||
|
||||
VictoryRoad1Script0: ; 5da40 (17:5a40)
|
||||
VictoryRoad1Script0:
|
||||
CheckEvent EVENT_VICTORY_ROAD_1_BOULDER_ON_SWITCH
|
||||
jp nz, CheckFightingMapTrainers
|
||||
ld hl, CoordsData_5da5c
|
||||
|
|
@ -34,10 +34,10 @@ VictoryRoad1Script0: ; 5da40 (17:5a40)
|
|||
SetEvent EVENT_VICTORY_ROAD_1_BOULDER_ON_SWITCH
|
||||
ret
|
||||
|
||||
CoordsData_5da5c: ; 5da5c (17:5a5c)
|
||||
CoordsData_5da5c:
|
||||
db $0D,$11,$FF
|
||||
|
||||
VictoryRoad1TextPointers: ; 5da5f (17:5a5f)
|
||||
VictoryRoad1TextPointers:
|
||||
dw VictoryRoad1Text1
|
||||
dw VictoryRoad1Text2
|
||||
dw PickUpItemText
|
||||
|
|
@ -46,8 +46,8 @@ VictoryRoad1TextPointers: ; 5da5f (17:5a5f)
|
|||
dw BoulderText
|
||||
dw BoulderText
|
||||
|
||||
VictoryRoad1TrainerHeaders: ; 5da6d (17:5a6d)
|
||||
VictoryRoad1TrainerHeader0: ; 5da6d (17:5a6d)
|
||||
VictoryRoad1TrainerHeaders:
|
||||
VictoryRoad1TrainerHeader0:
|
||||
dbEventFlagBit EVENT_BEAT_VICTORY_ROAD_1_TRAINER_0
|
||||
db ($2 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_VICTORY_ROAD_1_TRAINER_0
|
||||
|
|
@ -56,7 +56,7 @@ VictoryRoad1TrainerHeader0: ; 5da6d (17:5a6d)
|
|||
dw VictoryRoad1EndBattleText1 ; TextEndBattle
|
||||
dw VictoryRoad1EndBattleText1 ; TextEndBattle
|
||||
|
||||
VictoryRoad1TrainerHeader1: ; 5da79 (17:5a79)
|
||||
VictoryRoad1TrainerHeader1:
|
||||
dbEventFlagBit EVENT_BEAT_VICTORY_ROAD_1_TRAINER_1
|
||||
db ($2 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_VICTORY_ROAD_1_TRAINER_1
|
||||
|
|
@ -67,38 +67,38 @@ VictoryRoad1TrainerHeader1: ; 5da79 (17:5a79)
|
|||
|
||||
db $ff
|
||||
|
||||
VictoryRoad1Text1: ; 5da86 (17:5a86)
|
||||
VictoryRoad1Text1:
|
||||
TX_ASM
|
||||
ld hl, VictoryRoad1TrainerHeader0
|
||||
call TalkToTrainer
|
||||
jp TextScriptEnd
|
||||
|
||||
VictoryRoad1Text2: ; 5da90 (17:5a90)
|
||||
VictoryRoad1Text2:
|
||||
TX_ASM
|
||||
ld hl, VictoryRoad1TrainerHeader1
|
||||
call TalkToTrainer
|
||||
jp TextScriptEnd
|
||||
|
||||
VictoryRoad1BattleText1: ; 5da9a (17:5a9a)
|
||||
VictoryRoad1BattleText1:
|
||||
TX_FAR _VictoryRoad1BattleText1
|
||||
db "@"
|
||||
|
||||
VictoryRoad1EndBattleText1: ; 5da9f (17:5a9f)
|
||||
VictoryRoad1EndBattleText1:
|
||||
TX_FAR _VictoryRoad1EndBattleText1
|
||||
db "@"
|
||||
|
||||
VictoryRoad1AfterBattleText1: ; 5daa4 (17:5aa4)
|
||||
VictoryRoad1AfterBattleText1:
|
||||
TX_FAR _VictoryRoad1AfterBattleText1
|
||||
db "@"
|
||||
|
||||
VictoryRoad1BattleText2: ; 5daa9 (17:5aa9)
|
||||
VictoryRoad1BattleText2:
|
||||
TX_FAR _VictoryRoad1BattleText2
|
||||
db "@"
|
||||
|
||||
VictoryRoad1EndBattleText2: ; 5daae (17:5aae)
|
||||
VictoryRoad1EndBattleText2:
|
||||
TX_FAR _VictoryRoad1EndBattleText2
|
||||
db "@"
|
||||
|
||||
VictoryRoad1AfterBattleText2: ; 5dab3 (17:5ab3)
|
||||
VictoryRoad1AfterBattleText2:
|
||||
TX_FAR _VictoryRoad1AfterBattleText2
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
VictoryRoad2Script: ; 5179d (14:579d)
|
||||
VictoryRoad2Script:
|
||||
ld hl, wCurrentMapScriptFlags
|
||||
bit 6, [hl]
|
||||
res 6, [hl]
|
||||
|
|
@ -15,10 +15,10 @@ VictoryRoad2Script: ; 5179d (14:579d)
|
|||
ld [wVictoryRoad2CurScript], a
|
||||
ret
|
||||
|
||||
VictoryRoad2Script_517c4: ; 517c4 (14:57c4)
|
||||
VictoryRoad2Script_517c4:
|
||||
ResetEvent EVENT_VICTORY_ROAD_1_BOULDER_ON_SWITCH
|
||||
|
||||
VictoryRoad2Script_517c9: ; 517c9 (14:57c9)
|
||||
VictoryRoad2Script_517c9:
|
||||
CheckEvent EVENT_VICTORY_ROAD_2_BOULDER_ON_SWITCH1
|
||||
jr z, .asm_517da
|
||||
push af
|
||||
|
|
@ -32,17 +32,17 @@ VictoryRoad2Script_517c9: ; 517c9 (14:57c9)
|
|||
ld a, $1d
|
||||
lb bc, 7, 11
|
||||
|
||||
VictoryRoad2Script_517e2: ; 517e2 (14:57e2)
|
||||
VictoryRoad2Script_517e2:
|
||||
ld [wNewTileBlockID], a
|
||||
predef ReplaceTileBlock
|
||||
ret
|
||||
|
||||
VictoryRoad2ScriptPointers: ; 517eb (14:57eb)
|
||||
VictoryRoad2ScriptPointers:
|
||||
dw VictoryRoad2Script0
|
||||
dw DisplayEnemyTrainerTextAndStartBattle
|
||||
dw EndTrainerBattle
|
||||
|
||||
VictoryRoad2Script0: ; 517f1 (14:57f1)
|
||||
VictoryRoad2Script0:
|
||||
ld hl, CoordsData_51816
|
||||
call CheckBoulderCoords
|
||||
jp nc, CheckFightingMapTrainers
|
||||
|
|
@ -63,18 +63,18 @@ VictoryRoad2Script0: ; 517f1 (14:57f1)
|
|||
set 5, [hl]
|
||||
ret
|
||||
|
||||
CoordsData_51816: ; 51816 (14:5816)
|
||||
CoordsData_51816:
|
||||
db $10,$01
|
||||
db $10,$09
|
||||
db $FF
|
||||
|
||||
VictoryRoad2TextPointers: ; 5181b (14:581b)
|
||||
VictoryRoad2TextPointers:
|
||||
dw VictoryRoad2Text1
|
||||
dw VictoryRoad2Text2
|
||||
dw VictoryRoad2Text3
|
||||
dw VictoryRoad2Text4
|
||||
dw VictoryRoad2Text5
|
||||
dw VictoryRoad2Text6
|
||||
dw MoltresText
|
||||
dw PickUpItemText
|
||||
dw PickUpItemText
|
||||
dw PickUpItemText
|
||||
|
|
@ -83,8 +83,8 @@ VictoryRoad2TextPointers: ; 5181b (14:581b)
|
|||
dw BoulderText
|
||||
dw BoulderText
|
||||
|
||||
VictoryRoad2TrainerHeaders: ; 51835 (14:5835)
|
||||
VictoryRoad2TrainerHeader0: ; 51835 (14:5835)
|
||||
VictoryRoad2TrainerHeaders:
|
||||
VictoryRoad2TrainerHeader0:
|
||||
dbEventFlagBit EVENT_BEAT_VICTORY_ROAD_2_TRAINER_0
|
||||
db ($4 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_VICTORY_ROAD_2_TRAINER_0
|
||||
|
|
@ -93,7 +93,7 @@ VictoryRoad2TrainerHeader0: ; 51835 (14:5835)
|
|||
dw VictoryRoad2EndBattleText1 ; TextEndBattle
|
||||
dw VictoryRoad2EndBattleText1 ; TextEndBattle
|
||||
|
||||
VictoryRoad2TrainerHeader2: ; 51841 (14:5841)
|
||||
VictoryRoad2TrainerHeader2:
|
||||
dbEventFlagBit EVENT_BEAT_VICTORY_ROAD_2_TRAINER_2
|
||||
db ($3 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_VICTORY_ROAD_2_TRAINER_2
|
||||
|
|
@ -102,7 +102,7 @@ VictoryRoad2TrainerHeader2: ; 51841 (14:5841)
|
|||
dw VictoryRoad2EndBattleText2 ; TextEndBattle
|
||||
dw VictoryRoad2EndBattleText2 ; TextEndBattle
|
||||
|
||||
VictoryRoad2TrainerHeader3: ; 5184d (14:584d)
|
||||
VictoryRoad2TrainerHeader3:
|
||||
dbEventFlagBit EVENT_BEAT_VICTORY_ROAD_2_TRAINER_3
|
||||
db ($3 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_VICTORY_ROAD_2_TRAINER_3
|
||||
|
|
@ -111,7 +111,7 @@ VictoryRoad2TrainerHeader3: ; 5184d (14:584d)
|
|||
dw VictoryRoad2EndBattleText3 ; TextEndBattle
|
||||
dw VictoryRoad2EndBattleText3 ; TextEndBattle
|
||||
|
||||
VictoryRoad2TrainerHeader4: ; 51859 (14:5859)
|
||||
VictoryRoad2TrainerHeader4:
|
||||
dbEventFlagBit EVENT_BEAT_VICTORY_ROAD_2_TRAINER_4
|
||||
db ($1 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_VICTORY_ROAD_2_TRAINER_4
|
||||
|
|
@ -120,7 +120,7 @@ VictoryRoad2TrainerHeader4: ; 51859 (14:5859)
|
|||
dw VictoryRoad2EndBattleText4 ; TextEndBattle
|
||||
dw VictoryRoad2EndBattleText4 ; TextEndBattle
|
||||
|
||||
VictoryRoad2TrainerHeader5: ; 51865 (14:5865)
|
||||
VictoryRoad2TrainerHeader5:
|
||||
dbEventFlagBit EVENT_BEAT_VICTORY_ROAD_2_TRAINER_5
|
||||
db ($3 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_VICTORY_ROAD_2_TRAINER_5
|
||||
|
|
@ -129,117 +129,117 @@ VictoryRoad2TrainerHeader5: ; 51865 (14:5865)
|
|||
dw VictoryRoad2EndBattleText5 ; TextEndBattle
|
||||
dw VictoryRoad2EndBattleText5 ; TextEndBattle
|
||||
|
||||
VictoryRoad2TrainerHeader6: ; 51871 (14:5871)
|
||||
dbEventFlagBit EVENT_BEAT_VICTORY_ROAD_2_TRAINER_6
|
||||
MoltresTrainerHeader:
|
||||
dbEventFlagBit EVENT_BEAT_MOLTRES
|
||||
db ($0 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_VICTORY_ROAD_2_TRAINER_6
|
||||
dw VictoryRoad2BattleText6 ; TextBeforeBattle
|
||||
dw VictoryRoad2BattleText6 ; TextAfterBattle
|
||||
dw VictoryRoad2BattleText6 ; TextEndBattle
|
||||
dw VictoryRoad2BattleText6 ; TextEndBattle
|
||||
dwEventFlagAddress EVENT_BEAT_MOLTRES
|
||||
dw MoltresBattleText ; TextBeforeBattle
|
||||
dw MoltresBattleText ; TextAfterBattle
|
||||
dw MoltresBattleText ; TextEndBattle
|
||||
dw MoltresBattleText ; TextEndBattle
|
||||
|
||||
db $ff
|
||||
|
||||
VictoryRoad2Text1: ; 5187e (14:587e)
|
||||
VictoryRoad2Text1:
|
||||
TX_ASM
|
||||
ld hl, VictoryRoad2TrainerHeader0
|
||||
call TalkToTrainer
|
||||
jp TextScriptEnd
|
||||
|
||||
VictoryRoad2Text2: ; 51888 (14:5888)
|
||||
VictoryRoad2Text2:
|
||||
TX_ASM
|
||||
ld hl, VictoryRoad2TrainerHeader2
|
||||
call TalkToTrainer
|
||||
jp TextScriptEnd
|
||||
|
||||
VictoryRoad2Text3: ; 51892 (14:5892)
|
||||
VictoryRoad2Text3:
|
||||
TX_ASM
|
||||
ld hl, VictoryRoad2TrainerHeader3
|
||||
call TalkToTrainer
|
||||
jp TextScriptEnd
|
||||
|
||||
VictoryRoad2Text4: ; 5189c (14:589c)
|
||||
VictoryRoad2Text4:
|
||||
TX_ASM
|
||||
ld hl, VictoryRoad2TrainerHeader4
|
||||
call TalkToTrainer
|
||||
jp TextScriptEnd
|
||||
|
||||
VictoryRoad2Text5: ; 518a6 (14:58a6)
|
||||
VictoryRoad2Text5:
|
||||
TX_ASM
|
||||
ld hl, VictoryRoad2TrainerHeader5
|
||||
call TalkToTrainer
|
||||
jp TextScriptEnd
|
||||
|
||||
VictoryRoad2Text6: ; 518b0 (14:58b0)
|
||||
MoltresText:
|
||||
TX_ASM
|
||||
ld hl, VictoryRoad2TrainerHeader6
|
||||
ld hl, MoltresTrainerHeader
|
||||
call TalkToTrainer
|
||||
jp TextScriptEnd
|
||||
|
||||
VictoryRoad2BattleText6: ; 518ba (14:58ba)
|
||||
TX_FAR _VictoryRoad2BattleText6
|
||||
MoltresBattleText:
|
||||
TX_FAR _MoltresBattleText
|
||||
TX_ASM
|
||||
ld a, MOLTRES
|
||||
call PlayCry
|
||||
call WaitForSoundToFinish
|
||||
jp TextScriptEnd
|
||||
|
||||
VictoryRoad2BattleText1: ; 518ca (14:58ca)
|
||||
VictoryRoad2BattleText1:
|
||||
TX_FAR _VictoryRoad2BattleText1
|
||||
db "@"
|
||||
|
||||
VictoryRoad2EndBattleText1: ; 518cf (14:58cf)
|
||||
VictoryRoad2EndBattleText1:
|
||||
TX_FAR _VictoryRoad2EndBattleText1
|
||||
db "@"
|
||||
|
||||
VictoryRoad2AfterBattleText1: ; 518d4 (14:58d4)
|
||||
VictoryRoad2AfterBattleText1:
|
||||
TX_FAR _VictoryRoad2AfterBattleText1
|
||||
db "@"
|
||||
|
||||
VictoryRoad2BattleText2: ; 518d9 (14:58d9)
|
||||
VictoryRoad2BattleText2:
|
||||
TX_FAR _VictoryRoad2BattleText2
|
||||
db "@"
|
||||
|
||||
VictoryRoad2EndBattleText2: ; 518de (14:58de)
|
||||
VictoryRoad2EndBattleText2:
|
||||
TX_FAR _VictoryRoad2EndBattleText2
|
||||
db "@"
|
||||
|
||||
VictoryRoad2AfterBattleText2: ; 518e3 (14:58e3)
|
||||
VictoryRoad2AfterBattleText2:
|
||||
TX_FAR _VictoryRoad2AfterBattleText2
|
||||
db "@"
|
||||
|
||||
VictoryRoad2BattleText3: ; 518e8 (14:58e8)
|
||||
VictoryRoad2BattleText3:
|
||||
TX_FAR _VictoryRoad2BattleText3
|
||||
db "@"
|
||||
|
||||
VictoryRoad2EndBattleText3: ; 518ed (14:58ed)
|
||||
VictoryRoad2EndBattleText3:
|
||||
TX_FAR _VictoryRoad2EndBattleText3
|
||||
db "@"
|
||||
|
||||
VictoryRoad2AfterBattleText3: ; 518f2 (14:58f2)
|
||||
VictoryRoad2AfterBattleText3:
|
||||
TX_FAR _VictoryRoad2AfterBattleText3
|
||||
db "@"
|
||||
|
||||
VictoryRoad2BattleText4: ; 518f7 (14:58f7)
|
||||
VictoryRoad2BattleText4:
|
||||
TX_FAR _VictoryRoad2BattleText4
|
||||
db "@"
|
||||
|
||||
VictoryRoad2EndBattleText4: ; 518fc (14:58fc)
|
||||
VictoryRoad2EndBattleText4:
|
||||
TX_FAR _VictoryRoad2EndBattleText4
|
||||
db "@"
|
||||
|
||||
VictoryRoad2AfterBattleText4: ; 51901 (14:5901)
|
||||
VictoryRoad2AfterBattleText4:
|
||||
TX_FAR _VictoryRoad2AfterBattleText4
|
||||
db "@"
|
||||
|
||||
VictoryRoad2BattleText5: ; 51906 (14:5906)
|
||||
VictoryRoad2BattleText5:
|
||||
TX_FAR _VictoryRoad2BattleText5
|
||||
db "@"
|
||||
|
||||
VictoryRoad2EndBattleText5: ; 5190b (14:590b)
|
||||
VictoryRoad2EndBattleText5:
|
||||
TX_FAR _VictoryRoad2EndBattleText5
|
||||
db "@"
|
||||
|
||||
VictoryRoad2AfterBattleText5: ; 51910 (14:5910)
|
||||
VictoryRoad2AfterBattleText5:
|
||||
TX_FAR _VictoryRoad2AfterBattleText5
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
VictoryRoad3Script: ; 44980 (11:4980)
|
||||
VictoryRoad3Script:
|
||||
call VictoryRoad3Script_44996
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld hl, VictoryRoad3TrainerHeaders
|
||||
|
|
@ -8,7 +8,7 @@ VictoryRoad3Script: ; 44980 (11:4980)
|
|||
ld [wVictoryRoad3CurScript], a
|
||||
ret
|
||||
|
||||
VictoryRoad3Script_44996: ; 44996 (11:4996)
|
||||
VictoryRoad3Script_44996:
|
||||
ld hl, wCurrentMapScriptFlags
|
||||
bit 5, [hl]
|
||||
res 5, [hl]
|
||||
|
|
@ -20,12 +20,12 @@ VictoryRoad3Script_44996: ; 44996 (11:4996)
|
|||
lb bc, 5, 3
|
||||
predef_jump ReplaceTileBlock
|
||||
|
||||
VictoryRoad3ScriptPointers: ; 449b1 (11:49b1)
|
||||
VictoryRoad3ScriptPointers:
|
||||
dw VictoryRoad3Script0
|
||||
dw DisplayEnemyTrainerTextAndStartBattle
|
||||
dw EndTrainerBattle
|
||||
|
||||
VictoryRoad3Script0: ; 449b7 (11:49b7)
|
||||
VictoryRoad3Script0:
|
||||
ld hl, wFlags_0xcd60
|
||||
bit 7, [hl]
|
||||
res 7, [hl]
|
||||
|
|
@ -50,7 +50,7 @@ VictoryRoad3Script0: ; 449b7 (11:49b7)
|
|||
ld [wMissableObjectIndex], a
|
||||
predef_jump ShowObject
|
||||
|
||||
.coordsData_449f9: ; 449f9 (11:49f9)
|
||||
.coordsData_449f9:
|
||||
db $05,$03
|
||||
db $0F,$17
|
||||
db $FF
|
||||
|
|
@ -74,7 +74,7 @@ VictoryRoad3Script0: ; 449b7 (11:49b7)
|
|||
jp z, CheckFightingMapTrainers
|
||||
ret
|
||||
|
||||
VictoryRoad3TextPointers: ; 44a24 (11:4a24)
|
||||
VictoryRoad3TextPointers:
|
||||
dw VictoryRoad3Text1
|
||||
dw VictoryRoad3Text2
|
||||
dw VictoryRoad3Text3
|
||||
|
|
@ -86,8 +86,8 @@ VictoryRoad3TextPointers: ; 44a24 (11:4a24)
|
|||
dw BoulderText
|
||||
dw BoulderText
|
||||
|
||||
VictoryRoad3TrainerHeaders: ; 44a38 (11:4a38)
|
||||
VictoryRoad3TrainerHeader0: ; 44a38 (11:4a38)
|
||||
VictoryRoad3TrainerHeaders:
|
||||
VictoryRoad3TrainerHeader0:
|
||||
dbEventFlagBit EVENT_BEAT_VICTORY_ROAD_3_TRAINER_0
|
||||
db ($1 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_VICTORY_ROAD_3_TRAINER_0
|
||||
|
|
@ -96,7 +96,7 @@ VictoryRoad3TrainerHeader0: ; 44a38 (11:4a38)
|
|||
dw VictoryRoad3EndBattleText2 ; TextEndBattle
|
||||
dw VictoryRoad3EndBattleText2 ; TextEndBattle
|
||||
|
||||
VictoryRoad3TrainerHeader2: ; 44a44 (11:4a44)
|
||||
VictoryRoad3TrainerHeader2:
|
||||
dbEventFlagBit EVENT_BEAT_VICTORY_ROAD_3_TRAINER_2
|
||||
db ($4 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_VICTORY_ROAD_3_TRAINER_2
|
||||
|
|
@ -105,7 +105,7 @@ VictoryRoad3TrainerHeader2: ; 44a44 (11:4a44)
|
|||
dw VictoryRoad3EndBattleText3 ; TextEndBattle
|
||||
dw VictoryRoad3EndBattleText3 ; TextEndBattle
|
||||
|
||||
VictoryRoad3TrainerHeader3: ; 44a50 (11:4a50)
|
||||
VictoryRoad3TrainerHeader3:
|
||||
dbEventFlagBit EVENT_BEAT_VICTORY_ROAD_3_TRAINER_3
|
||||
db ($4 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_VICTORY_ROAD_3_TRAINER_3
|
||||
|
|
@ -114,7 +114,7 @@ VictoryRoad3TrainerHeader3: ; 44a50 (11:4a50)
|
|||
dw VictoryRoad3EndBattleText4 ; TextEndBattle
|
||||
dw VictoryRoad3EndBattleText4 ; TextEndBattle
|
||||
|
||||
VictoryRoad3TrainerHeader4: ; 44a5c (11:4a5c)
|
||||
VictoryRoad3TrainerHeader4:
|
||||
dbEventFlagBit EVENT_BEAT_VICTORY_ROAD_3_TRAINER_4
|
||||
db ($4 << 4) ; trainer's view range
|
||||
dwEventFlagAddress EVENT_BEAT_VICTORY_ROAD_3_TRAINER_4
|
||||
|
|
@ -125,74 +125,74 @@ VictoryRoad3TrainerHeader4: ; 44a5c (11:4a5c)
|
|||
|
||||
db $ff
|
||||
|
||||
VictoryRoad3Text1: ; 44a69 (11:4a69)
|
||||
VictoryRoad3Text1:
|
||||
TX_ASM
|
||||
ld hl, VictoryRoad3TrainerHeader0
|
||||
call TalkToTrainer
|
||||
jp TextScriptEnd
|
||||
|
||||
VictoryRoad3Text2: ; 44a73 (11:4a73)
|
||||
VictoryRoad3Text2:
|
||||
TX_ASM
|
||||
ld hl, VictoryRoad3TrainerHeader2
|
||||
call TalkToTrainer
|
||||
jp TextScriptEnd
|
||||
|
||||
VictoryRoad3Text3: ; 44a7d (11:4a7d)
|
||||
VictoryRoad3Text3:
|
||||
TX_ASM
|
||||
ld hl, VictoryRoad3TrainerHeader3
|
||||
call TalkToTrainer
|
||||
jp TextScriptEnd
|
||||
|
||||
VictoryRoad3Text4: ; 44a87 (11:4a87)
|
||||
VictoryRoad3Text4:
|
||||
TX_ASM
|
||||
ld hl, VictoryRoad3TrainerHeader4
|
||||
call TalkToTrainer
|
||||
jp TextScriptEnd
|
||||
|
||||
VictoryRoad3BattleText2: ; 44a91 (11:4a91)
|
||||
VictoryRoad3BattleText2:
|
||||
TX_FAR _VictoryRoad3BattleText2
|
||||
db "@"
|
||||
|
||||
VictoryRoad3EndBattleText2: ; 44a96 (11:4a96)
|
||||
VictoryRoad3EndBattleText2:
|
||||
TX_FAR _VictoryRoad3EndBattleText2
|
||||
db "@"
|
||||
|
||||
VictoryRoad3AfterBattleText2: ; 44a9b (11:4a9b)
|
||||
VictoryRoad3AfterBattleText2:
|
||||
TX_FAR _VictoryRoad3AfterBattleText2
|
||||
db "@"
|
||||
|
||||
VictoryRoad3BattleText3: ; 44aa0 (11:4aa0)
|
||||
VictoryRoad3BattleText3:
|
||||
TX_FAR _VictoryRoad3BattleText3
|
||||
db "@"
|
||||
|
||||
VictoryRoad3EndBattleText3: ; 44aa5 (11:4aa5)
|
||||
VictoryRoad3EndBattleText3:
|
||||
TX_FAR _VictoryRoad3EndBattleText3
|
||||
db "@"
|
||||
|
||||
VictoryRoad3AfterBattleText3: ; 44aaa (11:4aaa)
|
||||
VictoryRoad3AfterBattleText3:
|
||||
TX_FAR _VictoryRoad3AfterBattleText3
|
||||
db "@"
|
||||
|
||||
VictoryRoad3BattleText4: ; 44aaf (11:4aaf)
|
||||
VictoryRoad3BattleText4:
|
||||
TX_FAR _VictoryRoad3BattleText4
|
||||
db "@"
|
||||
|
||||
VictoryRoad3EndBattleText4: ; 44ab4 (11:4ab4)
|
||||
VictoryRoad3EndBattleText4:
|
||||
TX_FAR _VictoryRoad3EndBattleText4
|
||||
db "@"
|
||||
|
||||
VictoryRoad3AfterBattleText4: ; 44ab9 (11:4ab9)
|
||||
VictoryRoad3AfterBattleText4:
|
||||
TX_FAR _VictoryRoad3AfterBattleText4
|
||||
db "@"
|
||||
|
||||
VictoryRoad3BattleText5: ; 44abe (11:4abe)
|
||||
VictoryRoad3BattleText5:
|
||||
TX_FAR _VictoryRoad3BattleText5
|
||||
db "@"
|
||||
|
||||
VictoryRoad3EndBattleText5: ; 44ac3 (11:4ac3)
|
||||
VictoryRoad3EndBattleText5:
|
||||
TX_FAR _VictoryRoad3EndBattleText5
|
||||
db "@"
|
||||
|
||||
VictoryRoad3AfterBattleText5: ; 44ac8 (11:4ac8)
|
||||
VictoryRoad3AfterBattleText5:
|
||||
TX_FAR _VictoryRoad3AfterBattleText5
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
ViridianMartScript: ; 1d46e (7:546e)
|
||||
ViridianMartScript:
|
||||
call ViridianMartScript_1d47d
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld hl, ViridianMartScriptPointers
|
||||
ld a, [wViridianMarketCurScript]
|
||||
jp CallFunctionInTable
|
||||
|
||||
ViridianMartScript_1d47d: ; 1d47d (7:547d)
|
||||
ViridianMartScript_1d47d:
|
||||
CheckEvent EVENT_OAK_GOT_PARCEL
|
||||
jr nz, .asm_1d489
|
||||
ld hl, ViridianMartTextPointers
|
||||
|
|
@ -19,12 +19,12 @@ ViridianMartScript_1d47d: ; 1d47d (7:547d)
|
|||
ld [wMapTextPtr+1], a
|
||||
ret
|
||||
|
||||
ViridianMartScriptPointers: ; 1d495 (7:5495)
|
||||
ViridianMartScriptPointers:
|
||||
dw ViridianMartScript0
|
||||
dw ViridianMartScript1
|
||||
dw ViridianMartScript2
|
||||
|
||||
ViridianMartScript0: ; 1d49b (7:549b)
|
||||
ViridianMartScript0:
|
||||
call UpdateSprites
|
||||
ld a, $4
|
||||
ld [hSpriteIndexOrTextID], a
|
||||
|
|
@ -39,12 +39,12 @@ ViridianMartScript0: ; 1d49b (7:549b)
|
|||
ld [wViridianMarketCurScript], a
|
||||
ret
|
||||
|
||||
RLEMovement1d4bb: ; 1d4bb (7:54bb)
|
||||
RLEMovement1d4bb:
|
||||
db D_LEFT, $01
|
||||
db D_UP, $02
|
||||
db $ff
|
||||
|
||||
ViridianMartScript1: ; 1d4c0 (7:54c0)
|
||||
ViridianMartScript1:
|
||||
ld a, [wSimulatedJoypadStatesIndex]
|
||||
and a
|
||||
ret nz
|
||||
|
|
@ -58,36 +58,36 @@ ViridianMartScript1: ; 1d4c0 (7:54c0)
|
|||
ld a, $2
|
||||
ld [wViridianMarketCurScript], a
|
||||
; fallthrough
|
||||
ViridianMartScript2: ; 1d4df (7:54df)
|
||||
ViridianMartScript2:
|
||||
ret
|
||||
|
||||
ViridianMartTextPointers: ; 1d4e0 (7:54e0)
|
||||
ViridianMartTextPointers:
|
||||
dw ViridianMartText1
|
||||
dw ViridianMartText2
|
||||
dw ViridianMartText3
|
||||
dw ViridianMartText4
|
||||
dw ViridianMartText5
|
||||
dw ViridianMartText6
|
||||
dw ViridianCashierText
|
||||
dw ViridianMartText2
|
||||
dw ViridianMartText3
|
||||
|
||||
ViridianMartText1: ; 1d4f0 (7:54f0)
|
||||
ViridianMartText1:
|
||||
TX_FAR _ViridianMartText1
|
||||
db "@"
|
||||
|
||||
ViridianMartText4: ; 1d4f5 (7:54f5)
|
||||
ViridianMartText4:
|
||||
TX_FAR _ViridianMartText4
|
||||
db "@"
|
||||
|
||||
ViridianMartText5: ; 1d4fa (7:54fa)
|
||||
ViridianMartText5:
|
||||
TX_FAR ViridianMartParcelQuestText
|
||||
db $11
|
||||
db "@"
|
||||
|
||||
ViridianMartText2: ; 1d500 (7:5500)
|
||||
ViridianMartText2:
|
||||
TX_FAR _ViridianMartText2
|
||||
db "@"
|
||||
|
||||
ViridianMartText3: ; 1d505 (7:5505)
|
||||
ViridianMartText3:
|
||||
TX_FAR _ViridianMartText3
|
||||
db "@"
|
||||
|
|
|
|||
|
|
@ -1,23 +1,23 @@
|
|||
ViridianPokeCenterScript: ; 4425d (11:425d)
|
||||
ViridianPokeCenterScript:
|
||||
call Serial_TryEstablishingExternallyClockedConnection
|
||||
jp EnableAutoTextBoxDrawing
|
||||
|
||||
ViridianPokecenterTextPointers: ; 44263 (11:4263)
|
||||
dw ViridianPokeCenterText1
|
||||
ViridianPokecenterTextPointers:
|
||||
dw ViridianHealNurseText
|
||||
dw ViridianPokeCenterText2
|
||||
dw ViridianPokeCenterText3
|
||||
dw ViridianPokeCenterText4
|
||||
dw ViridianTradeNurseText
|
||||
|
||||
ViridianPokeCenterText1: ; 4426b (11:426b)
|
||||
ViridianHealNurseText:
|
||||
db $ff
|
||||
|
||||
ViridianPokeCenterText2: ; 4426c (11:426c)
|
||||
TX_FAR _ViridianPokeCenterText1
|
||||
ViridianPokeCenterText2:
|
||||
TX_FAR _ViridianPokeCenterText2
|
||||
db "@"
|
||||
|
||||
ViridianPokeCenterText3: ; 44271 (11:4271)
|
||||
ViridianPokeCenterText3:
|
||||
TX_FAR _ViridianPokeCenterText3
|
||||
db "@"
|
||||
|
||||
ViridianPokeCenterText4: ; 44276 (11:4276)
|
||||
ViridianTradeNurseText:
|
||||
db $f6
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue