mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 08:05:23 +13:00
Revise some map scripts, mostly for getting items
This commit is contained in:
parent
58f1089370
commit
594c58a289
61 changed files with 371 additions and 348 deletions
|
|
@ -15,16 +15,16 @@ TradeCenter_Script:
|
|||
set 0, [hl]
|
||||
ret nz
|
||||
ld hl, wSprite01StateData2MapY
|
||||
ld a, $8
|
||||
ld a, 8 ; y
|
||||
ld [hli], a
|
||||
ld a, $a
|
||||
ld a, 10 ; x
|
||||
ld [hl], a
|
||||
ld a, SPRITE_FACING_LEFT
|
||||
ld [wSprite01StateData1FacingDirection], a
|
||||
ldh a, [hSerialConnectionStatus]
|
||||
cp USING_INTERNAL_CLOCK
|
||||
ret z
|
||||
ld a, $7
|
||||
ld a, 7 ; x
|
||||
ld [wSprite01StateData2MapX], a
|
||||
ld a, SPRITE_FACING_RIGHT
|
||||
ld [wSprite01StateData1FacingDirection], a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue