From 3fdb8a0d8995746d5605136ece384516338489b0 Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sat, 7 Feb 2015 02:43:08 -0800 Subject: serial/trade/misc --- engine/battle/1c.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engine/battle/1c.asm') diff --git a/engine/battle/1c.asm b/engine/battle/1c.asm index bceeac2b..b905777b 100755 --- a/engine/battle/1c.asm +++ b/engine/battle/1c.asm @@ -127,8 +127,8 @@ BattleTransition: ; 7096d (1c:496d) call Delay3 call LoadBattleTransitionTile ld bc, $0 - ld a, [W_ISLINKBATTLE] - cp $4 + ld a, [wLinkState] + cp LINK_STATE_BATTLING jr z, .linkBattle call GetBattleTransitionID_WildOrTrainer call GetBattleTransitionID_CompareLevels -- cgit v1.3.1-sl0p