aboutsummaryrefslogtreecommitdiffstats
path: root/engine/trade.asm
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-06-11 21:30:05 -0700
committerYamaArashi <shadow962@live.com>2016-06-12 00:52:13 -0700
commitfd2235e678c58cebd6255b5e658e704ee5138591 (patch)
tree6b7a3e2ae3030f4078ac4cbf9b59cd9529055fa2 /engine/trade.asm
parentRemove the last address comments (diff)
downloadpokeyellow-fd2235e678c58cebd6255b5e658e704ee5138591.tar.gz
pokeyellow-fd2235e678c58cebd6255b5e658e704ee5138591.tar.xz
pokeyellow-fd2235e678c58cebd6255b5e658e704ee5138591.zip
sync engine code with pokeyellow
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 78444cf6..c3913a7e 100755
--- a/engine/trade.asm
+++ b/engine/trade.asm
@@ -305,7 +305,7 @@ Trade_AnimateBallEnteringLinkCable:
ld [rOBP0], a
xor a
ld [wLinkCableAnimBulgeToggle], a
- ld bc, $2060
+ lb bc, $20, $60
.moveBallInsideLinkCableLoop
push bc
xor a
@@ -380,7 +380,7 @@ Trade_AnimLeftToRight:
call Trade_InitGameboyTransferGfx
ld a, $1
ld [wTradedMonMovingRight], a
- ld a, $e4
+ ld a, %11100100
ld [rOBP0], a
ld a, $54
ld [wBaseCoordX], a
@@ -466,7 +466,7 @@ Trade_DrawLeftGameboy:
ld a, $5d
ld [hli], a
ld a, $5e
- ld c, $8
+ ld c, 8
.loop
ld [hli], a
dec c
@@ -526,8 +526,8 @@ Trade_DrawRightGameboy:
; draw text box with enemy name above link cable
coord hl, 6, 0
- ld b, $2
- ld c, $7
+ ld b, 2
+ ld c, 7
call TextBoxBorder
coord hl, 7, 2
ld de, wLinkEnemyTrainerName