mirror of
https://github.com/pret/pokered.git
synced 2026-09-12 19:55:15 -05:00
Identify wSpriteStateData1 and wSpriteStateData2 offsets, like pokeyellow
This commit is contained in:
@@ -14,20 +14,20 @@ TradeCenter_Script:
|
||||
bit 0, [hl]
|
||||
set 0, [hl]
|
||||
ret nz
|
||||
ld hl, wSpriteStateData2 + $14
|
||||
ld hl, wSprite01StateData2MapY
|
||||
ld a, $8
|
||||
ld [hli], a
|
||||
ld a, $a
|
||||
ld [hl], a
|
||||
ld a, SPRITE_FACING_LEFT
|
||||
ld [wSpriteStateData1 + $19], a
|
||||
ld [wSprite01StateData1FacingDirection], a
|
||||
ld a, [hSerialConnectionStatus]
|
||||
cp USING_INTERNAL_CLOCK
|
||||
ret z
|
||||
ld a, $7
|
||||
ld [wSpriteStateData2 + $15], a
|
||||
ld [wSprite01StateData2MapX], a
|
||||
ld a, SPRITE_FACING_RIGHT
|
||||
ld [wSpriteStateData1 + $19], a
|
||||
ld [wSprite01StateData1FacingDirection], a
|
||||
ret
|
||||
|
||||
TradeCenter_TextPointers:
|
||||
|
||||
Reference in New Issue
Block a user