diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-05 17:29:11 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-05 17:51:29 -0400 |
commit | 2b2ed54bbf017943ba2343cd6c1dbe88b8f34a4e (patch) | |
tree | a418c4ef57d272e7e2a70337ac8c2a8194545541 /scripts/TradeCenter.asm | |
parent | 7ab43f4d17aa63d4ef1050d80560379f19200088 (diff) |
Identify wSpriteStateData1 and wSpriteStateData2 offsets, like pokeyellow
Diffstat (limited to 'scripts/TradeCenter.asm')
-rwxr-xr-x | scripts/TradeCenter.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/TradeCenter.asm b/scripts/TradeCenter.asm index 3a1a10f3..e7fa8ac8 100755 --- a/scripts/TradeCenter.asm +++ b/scripts/TradeCenter.asm @@ -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: |