From 10f9559eab8c93b94abb8ae8d1083704ad4e169a Mon Sep 17 00:00:00 2001 From: dannye <33dannye@gmail.com> Date: Wed, 20 May 2020 19:40:33 -0500 Subject: Sync with pokered --- scripts/tradecenter.asm | 38 -------------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 scripts/tradecenter.asm (limited to 'scripts/tradecenter.asm') 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 "@" -- cgit v1.3.1-sl0p