diff options
author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2020-07-05 19:58:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-05 19:58:21 -0400 |
commit | c57c93d2b2fb06cadafefda37c0974ba1ec9e6c0 (patch) | |
tree | 531d6b30d5a606ae963024825ed6e614843000a6 /scripts/TradeCenter.asm | |
parent | 2718c36065e7eb201a149938bcdd51987c4e56b6 (diff) | |
parent | 5fe8aab3445cb76d8e1c4be954c0392f40798950 (diff) |
Merge pull request #259 from Rangi42/master
Port pokecrystal's formatting of text commands and special characters
Diffstat (limited to 'scripts/TradeCenter.asm')
-rwxr-xr-x | scripts/TradeCenter.asm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/TradeCenter.asm b/scripts/TradeCenter.asm index 3201c8cd..e7fa8ac8 100755 --- a/scripts/TradeCenter.asm +++ b/scripts/TradeCenter.asm @@ -14,25 +14,25 @@ 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: dw TradeCenterText1 TradeCenterText1: - TX_FAR _TradeCenterText1 - db "@" + text_far _TradeCenterText1 + text_end |