mirror of
https://github.com/thornAvery/kep-hack.git
synced 2025-09-17 02:40:50 +12:00
CeladonMartElevator INCINBs.
This commit is contained in:
parent
4f03df7c46
commit
4d256df1d3
23
main.asm
23
main.asm
|
@ -78392,18 +78392,27 @@ CeladonMartElevatorScript_4862a: ; 4862a (12:462a)
|
|||
ret
|
||||
|
||||
CeladonMartElevatorScript_48631: ; 48631 (12:4631)
|
||||
ld hl, Unknown_48643 ; $4643
|
||||
ld hl, CeladonMartElavatorFloors ; $4643
|
||||
call LoadItemList
|
||||
ld hl, Unknown_4864a ; $464a
|
||||
ld hl, CeldaonMartElevatorWarpMaps ; $464a
|
||||
ld de, $cc5b
|
||||
ld bc, $000a
|
||||
jp CopyData
|
||||
|
||||
Unknown_48643: ; 48643 (12:4643)
|
||||
INCBIN "baserom.gbc",$48643,$4864a - $48643
|
||||
CeladonMartElavatorFloors: ; 48643 (12:4643)
|
||||
db $05 ; num elements in list
|
||||
db $56, $57, $58, $59, $5A ; "1F", "2F", "3F", "4F, "5F"
|
||||
db $FF ; terminator
|
||||
|
||||
Unknown_4864a: ; 4864a (12:464a)
|
||||
INCBIN "baserom.gbc",$4864a,$48654 - $4864a
|
||||
CeldaonMartElevatorWarpMaps: ; 4864a (12:464a)
|
||||
; first byte is warp number
|
||||
; second byte is map number
|
||||
; These specify where the player goes after getting out of the elevator.
|
||||
db $05, CELADON_MART_1
|
||||
db $02, CELADON_MART_2
|
||||
db $02, CELADON_MART_3
|
||||
db $02, CELADON_MART_4
|
||||
db $02, CELADON_MART_5
|
||||
|
||||
Func_48654: ; 48654 (12:4654)
|
||||
ld b, BANK(Func_7bf15)
|
||||
|
@ -78416,7 +78425,7 @@ CeladonMartElevatorTextPointers: ; 4865c (12:465c)
|
|||
CeladonMartElevatorText1: ; 4865e (12:465e)
|
||||
db $08 ; asm
|
||||
call CeladonMartElevatorScript_48631
|
||||
ld hl, Unknown_4864a ; $464a
|
||||
ld hl, CeldaonMartElevatorWarpMaps ; $464a
|
||||
ld a, $61
|
||||
call Predef
|
||||
jp TextScriptEnd
|
||||
|
|
Loading…
Reference in a new issue