summaryrefslogtreecommitdiff
path: root/engine/link/link.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-11-03 19:53:07 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2020-11-03 19:53:07 -0500
commitc88c4a834094e91f1505eab0e22294963e1dd987 (patch)
treeddfc0116b06e1327cf206abf5ed16e79e159fdb4 /engine/link/link.asm
parent826e070f0443b50ff31a49b4faf7c66577f1e26e (diff)
Identify more uses of wBuffer1-6
Diffstat (limited to 'engine/link/link.asm')
-rw-r--r--engine/link/link.asm5
1 files changed, 3 insertions, 2 deletions
diff --git a/engine/link/link.asm b/engine/link/link.asm
index 3694bfb2a..d9fb40d01 100644
--- a/engine/link/link.asm
+++ b/engine/link/link.asm
@@ -449,6 +449,7 @@ Gen2ToGen2LinkComms:
ld [wOtherTrainerClass], a
call ClearScreen
farcall Link_WaitBGMap
+
ld hl, wOptions
ld a, [hl]
push af
@@ -460,8 +461,6 @@ Gen2ToGen2LinkComms:
ld bc, NAME_LENGTH
call CopyBytes
call ReturnToMapFromSubmenu
-
- ; LET'S DO THIS
ld a, [wDisableTextAcceleration]
push af
ld a, 1
@@ -478,6 +477,7 @@ Gen2ToGen2LinkComms:
pop af
ldh [rIF], a
+ ; LET'S DO THIS
predef StartBattle
ldh a, [rIF]
@@ -492,6 +492,7 @@ Gen2ToGen2LinkComms:
ld [wDisableTextAcceleration], a
pop af
ld [wOptions], a
+
farcall LoadPokemonData
jp ExitLinkCommunications