mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 16:15:23 +13:00
Sync more with pokeyellow
This commit is contained in:
parent
d3f1352875
commit
13d4d533f7
19 changed files with 35 additions and 41 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue