ref: 02d001a1f48136158383d3f006305de4bc9a1a49
parent: a99a205b28b65a36a382142668850c972c001a4e
author: Bryan Bishop <[email protected]>
date: Mon Nov 11 20:05:21 EST 2013
label CheckInMobileLinkBattle
--- a/main.asm
+++ b/main.asm
@@ -42614,7 +42614,7 @@
call Function3c27c
call UpdateBattleMonInParty
callba AIChooseMove
- call Function3d2f1
+ call CheckInMobileLinkBattle
jr nz, .asm_3c174
callba Function100da5
callba Function100641
@@ -44851,7 +44851,7 @@
callab Function39939
ld hl, BattleText_0x809da
call StdBattleTextBox
- call Function3d2f1
+ call CheckInMobileLinkBattle
jr z, .asm_3cff5
ld a, [InLinkBattle]
and a
@@ -45354,7 +45354,7 @@
ret
; 3d2f1
-Function3d2f1: ; 3d2f1
+CheckInMobileLinkBattle: ; 3d2f1
ld a, [InLinkBattle]
cp $4
ret
@@ -45380,7 +45380,7 @@
; 3d329
Function3d329: ; 3d329
- call Function3d2f1
+ call CheckInMobileLinkBattle
jr z, .asm_3d335
callba PartyMenuSelect
ret
@@ -45524,7 +45524,7 @@
.asm_3d40a
ld hl, LostAgainstText
- call Function3d2f1
+ call CheckInMobileLinkBattle
jr z, .asm_3d417
.asm_3d412
@@ -47525,7 +47525,7 @@
; 3e19b
Function3e19b: ; 3e19b
- call Function3d2f1
+ call CheckInMobileLinkBattle
jr z, .asm_3e1a8
callba LoadBattleMenuDataHeader
and a
@@ -47699,7 +47699,7 @@
; 3e2f5
Function3e2f5: ; 3e2f5
- call Function3d2f1
+ call CheckInMobileLinkBattle
jr z, .asm_3e301
callba Function24e99
ret
@@ -47924,7 +47924,7 @@
; 3e4bc
Function3e4bc: ; 3e4bc
- call Function3d2f1
+ call CheckInMobileLinkBattle
jr nz, .asm_3e4c8
callba Function100b9f
ret