mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
use more HRAM constants
This commit is contained in:
parent
4d61c35172
commit
77c3e22a4e
4 changed files with 11 additions and 11 deletions
|
|
@ -1,7 +1,7 @@
|
|||
TradeCenterScript:
|
||||
call EnableAutoTextBoxDrawing
|
||||
ld a, [$ffaa]
|
||||
cp $2
|
||||
ld a, [hSerialConnectionStatus]
|
||||
cp USING_INTERNAL_CLOCK
|
||||
ld a, SPRITE_FACING_LEFT
|
||||
jr z, .next
|
||||
ld a, SPRITE_FACING_RIGHT
|
||||
|
|
@ -21,8 +21,8 @@ TradeCenterScript:
|
|||
ld [hl], a
|
||||
ld a, SPRITE_FACING_LEFT
|
||||
ld [wSpriteStateData1 + $19], a
|
||||
ld a, [$ffaa]
|
||||
cp $2
|
||||
ld a, [hSerialConnectionStatus]
|
||||
cp USING_INTERNAL_CLOCK
|
||||
ret z
|
||||
ld a, $7
|
||||
ld [wSpriteStateData2 + $15], a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue