Sync more with pokeyellow

This commit is contained in:
Rangi 2020-11-06 10:33:58 -05:00
parent d3f1352875
commit 13d4d533f7
19 changed files with 35 additions and 41 deletions

View file

@ -18,23 +18,21 @@ LanceShowOrHideEntranceBlocks:
; open entrance
ld a, $31
ld b, $32
jp LanceSetEntranceBlocks
jp .setEntranceBlocks
.closeEntrance
ld a, $72
ld b, $73
LanceSetEntranceBlocks:
.setEntranceBlocks
; Replaces the tile blocks so the player can't leave.
push bc
ld [wNewTileBlockID], a
lb bc, 6, 2
call LanceSetEntranceBlock
call .SetEntranceBlock
pop bc
ld a, b
ld [wNewTileBlockID], a
lb bc, 6, 3
LanceSetEntranceBlock:
.SetEntranceBlock:
predef_jump ReplaceTileBlock
ResetLanceScript: