diff options
author | Daniel Harding <33dannye@gmail.com> | 2019-01-13 22:38:16 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-13 22:38:16 -0600 |
commit | 725b86ebbec23bd1f53fd60bf0201c904fee951d (patch) | |
tree | a37f4d33c5b77635c7ff72b91a73fcd90c4af915 /scripts/celadonmartelevator.asm | |
parent | 108245cb21abb3abac051b7db84ed6c694192a61 (diff) | |
parent | c7796024590fec48ac79756793c1a6e3b54daf8f (diff) |
Merge pull request #196 from Rangi42/polishedmaps
Rename map files, labels, and constants to be consistent and work with Polished Map
Diffstat (limited to 'scripts/celadonmartelevator.asm')
-rwxr-xr-x | scripts/celadonmartelevator.asm | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/scripts/celadonmartelevator.asm b/scripts/celadonmartelevator.asm deleted file mode 100755 index 60e5210c..00000000 --- a/scripts/celadonmartelevator.asm +++ /dev/null @@ -1,73 +0,0 @@ -CeladonMartElevatorScript: - ld hl, wCurrentMapScriptFlags - bit 5, [hl] - res 5, [hl] - push hl - call nz, CeladonMartElevatorScript_4861c - pop hl - bit 7, [hl] - res 7, [hl] - call nz, CeladonMartElevatorScript_48654 - xor a - ld [wAutoTextBoxDrawingControl], a - inc a - ld [wDoNotWaitForButtonPressAfterDisplayingText], a - ret - -CeladonMartElevatorScript_4861c: - ld hl, wWarpEntries - ld a, [wWarpedFromWhichWarp] - ld b, a - ld a, [wWarpedFromWhichMap] - ld c, a - call CeladonMartElevatorScript_4862a - -CeladonMartElevatorScript_4862a: - inc hl - inc hl - ld a, b - ld [hli], a - ld a, c - ld [hli], a - ret - -CeladonMartElevatorScript_48631: - ld hl, CeladonMartElevatorFloors - call LoadItemList - ld hl, CeladonMartElevatorWarpMaps - ld de, wElevatorWarpMaps - ld bc, CeladonMartElevatorWarpMapsEnd - CeladonMartElevatorWarpMaps - jp CopyData - -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 - -CeladonMartElevatorWarpMaps: -; 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 -CeladonMartElevatorWarpMapsEnd: - -CeladonMartElevatorScript_48654: - jpba ShakeElevator - -CeladonMartElevatorTextPointers: - dw CeladonMartElevatorText1 - -CeladonMartElevatorText1: - TX_ASM - call CeladonMartElevatorScript_48631 - ld hl, CeladonMartElevatorWarpMaps - predef DisplayElevatorFloorMenu - jp TextScriptEnd |