summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2013-12-26 12:41:25 -0600
committerMarcus Huderle <huderlem@gmail.com>2013-12-26 12:41:25 -0600
commit13c5037d29e31003991a4285847849f1a105341c (patch)
treea5eb9d39a0a19953567a85ba73d67a0618ad9ad8 /main.asm
parent4d256df1d3c0e74ddcfdbe4652c91b074ba2f991 (diff)
SilphCoElevator INCBINs.
Diffstat (limited to 'main.asm')
-rwxr-xr-xmain.asm29
1 files changed, 22 insertions, 7 deletions
diff --git a/main.asm b/main.asm
index 9c2ec74e..08ee9b00 100755
--- a/main.asm
+++ b/main.asm
@@ -75320,19 +75320,34 @@ SilphCoElevatorScript_457ea: ; 457ea (11:57ea)
ret
SilphCoElevatorScript_457f1: ; 457f1 (11:57f1)
- ld hl, Unknown_45804 ; $5804
+ ld hl, SilphCoElavatorFloors ; $5804
call LoadItemList
- ld hl, Unknown_45811 ; $5811
+ ld hl, SilphCoElevatorWarpMaps ; $5811
ld de, $cc5b
ld bc, $16
call CopyData
ret
-Unknown_45804: ; 45804 (11:5804)
-INCBIN "baserom.gbc",$45804,$45811 - $45804
+SilphCoElavatorFloors: ; 45804 (11:45804)
+ db $0B ; num elements in list
+ db $56, $57, $58, $59, $5A, $5B, $5C, $5D, $5E, $5F, $60 ; "1F", "2F", "3F", "4F", ... , "11F"
+ db $FF ; terminator
-Unknown_45811: ; 45811 (11:5811)
-INCBIN "baserom.gbc",$45811,$45827 - $45811
+SilphCoElevatorWarpMaps: ; 45811 (11:45811)
+; first byte is warp number
+; second byte is map number
+; These specify where the player goes after getting out of the elevator.
+ db $03, SILPH_CO_1F
+ db $02, SILPH_CO_2F
+ db $02, SILPH_CO_3F
+ db $02, SILPH_CO_4F
+ db $02, SILPH_CO_5F
+ db $02, SILPH_CO_6F
+ db $02, SILPH_CO_7F
+ db $02, SILPH_CO_8F
+ db $02, SILPH_CO_9F
+ db $02, SILPH_CO_10F
+ db $01, SILPH_CO_11F
Func_45827: ; 45827 (11:5827)
call Delay3
@@ -75347,7 +75362,7 @@ SilphCoElevatorTextPointers: ; 45833 (11:5833)
SilphCoElevatorText1: ; 45835 (11:5835)
db $08 ; asm
call SilphCoElevatorScript_457f1
- ld hl, Unknown_45811 ; $5811
+ ld hl, SilphCoElevatorWarpMaps ; $5811
ld a, $61
call Predef
jp TextScriptEnd