summaryrefslogtreecommitdiff
path: root/engine/trade.asm
diff options
context:
space:
mode:
authordannye <corrnondacqb@yahoo.com>2015-08-05 16:20:29 -0500
committerdannye <corrnondacqb@yahoo.com>2015-08-05 16:25:58 -0500
commitf8a9c37a0019eb085c22c6e3ae53b16ff0cd4f6a (patch)
tree53ef4ec4b7ab591f1ba98322405c6b1e645a21e2 /engine/trade.asm
parent891627d4ba193dd839e03e9e30f1e492e57eac9f (diff)
Use more lb
and other clean up
Diffstat (limited to 'engine/trade.asm')
-rwxr-xr-xengine/trade.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/trade.asm b/engine/trade.asm
index 74fd3434..1a0e5f61 100755
--- a/engine/trade.asm
+++ b/engine/trade.asm
@@ -371,7 +371,7 @@ Trade_ShowEnemyMon: ; 41336 (10:5336)
call PlayCry
call Trade_Delay100
coord hl, 4, 10
- ld bc, $80c
+ lb bc, 8, 12
call ClearScreenArea
jp PrintTradeTakeCareText
@@ -647,14 +647,14 @@ Trade_AnimMonMoveVertical: ; 41525 (10:5525)
and a
jr z, .movingLeft
; moving right
- ld bc, $400 ; move right
+ lb bc, 4, 0 ; move right
call .doAnim
- ld bc, $a ; move down
+ lb bc, 0, 10 ; move down
jr .doAnim
.movingLeft
- ld bc, $f6 ; move up
+ lb bc, 0, -10 ; move up
call .doAnim
- ld bc, $fc00 ; move left
+ lb bc, -4, 0 ; move left
.doAnim
ld a, b
ld [W_BASECOORDX], a