diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-02 23:30:21 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-02 23:30:21 -0400 |
commit | f275790aec4a796ed969b099364abfdf25385967 (patch) | |
tree | c56edfd01a61e9aa0e3c3ee8a046e66b5a1984e4 /engine/predefs7.asm | |
parent | 5559d51c863b6fb529ea0494d857950a36fe85b7 (diff) |
Add subdirectories to engine/ similar to pokecrystal
Diffstat (limited to 'engine/predefs7.asm')
-rwxr-xr-x | engine/predefs7.asm | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/engine/predefs7.asm b/engine/predefs7.asm deleted file mode 100755 index 752bdd1a..00000000 --- a/engine/predefs7.asm +++ /dev/null @@ -1,48 +0,0 @@ -DisplayElevatorFloorMenu: - ld hl, WhichFloorText - call PrintText - ld hl, wItemList - ld a, l - ld [wListPointer], a - ld a, h - ld [wListPointer + 1], a - ld a, [wListScrollOffset] - push af - xor a - ld [wCurrentMenuItem], a - ld [wListScrollOffset], a - ld [wPrintItemPrices], a - ld a, SPECIALLISTMENU - ld [wListMenuID], a - call DisplayListMenuID - pop bc - ld a, b - ld [wListScrollOffset], a - ret c - ld hl, wCurrentMapScriptFlags - set 7, [hl] - ld hl, wElevatorWarpMaps - ld a, [wWhichPokemon] - add a - ld d, 0 - ld e, a - add hl, de - ld a, [hli] - ld b, a - ld a, [hl] - ld c, a - ld hl, wWarpEntries - call .UpdateWarp - -.UpdateWarp - inc hl - inc hl - ld a, b - ld [hli], a ; destination warp ID - ld a, c - ld [hli], a ; destination map ID - ret - -WhichFloorText: - TX_FAR _WhichFloorText - db "@" |