diff options
author | Daniel Harding <33dannye@gmail.com> | 2020-05-20 20:17:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-20 20:17:30 -0500 |
commit | 500d99c258145d233af8d14cdb5c6e0200dfc1d8 (patch) | |
tree | 7dbe7b152dde8a6e9b56664b5b8cdfc0d6be1253 /scripts/tradecenter.asm | |
parent | b8954732a3eaa3a784a6e3eaaa68977a9ccd9816 (diff) | |
parent | 33456b8fb28ef547a54d04d22baa2313b72fdb1d (diff) |
Merge pull request #50 from dannye/master
merge pokered
Diffstat (limited to 'scripts/tradecenter.asm')
-rw-r--r-- | scripts/tradecenter.asm | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/scripts/tradecenter.asm b/scripts/tradecenter.asm deleted file mode 100644 index a200e719..00000000 --- a/scripts/tradecenter.asm +++ /dev/null @@ -1,38 +0,0 @@ -TradeCenterScript: - call EnableAutoTextBoxDrawing - ld a, [$ffaa] - cp $2 - ld a, SPRITE_FACING_LEFT - jr z, .next - ld a, SPRITE_FACING_RIGHT -.next - ld [hSpriteFacingDirection], a - ld a, $1 - ld [H_SPRITEINDEX], a - call SetSpriteFacingDirection - ld hl, wd72d - bit 0, [hl] - set 0, [hl] - ret nz - ld hl, wSpriteStateData2 + $14 - ld a, $8 - ld [hli], a - ld a, $a - ld [hl], a - ld a, SPRITE_FACING_LEFT - ld [wSpriteStateData1 + $19], a - ld a, [$ffaa] - cp $2 - ret z - ld a, $7 - ld [wSpriteStateData2 + $15], a - ld a, SPRITE_FACING_RIGHT - ld [wSpriteStateData1 + $19], a - ret - -TradeCenterTextPointers: - dw TradeCenterText1 - -TradeCenterText1: - TX_FAR _TradeCenterText1 - db "@" |