diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2018-01-19 14:49:43 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2018-01-19 14:49:43 -0500 |
commit | 0c6338836d714f464bfcaa0c8c5b8c76e6f4958d (patch) | |
tree | 99c26ca80f95266c633427e30ba7e856ec500c92 /mobile | |
parent | 52993d20efd5315c9d3e2e684a84456783717fc8 (diff) |
Resolve #471 (although link code still needs more cleanup, like its WRAM labels)
Diffstat (limited to 'mobile')
-rw-r--r-- | mobile/mobile_40.asm | 4 | ||||
-rwxr-xr-x | mobile/mobile_5b.asm | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/mobile/mobile_40.asm b/mobile/mobile_40.asm index 0b6ff3ac2..6fa20d80f 100644 --- a/mobile/mobile_40.asm +++ b/mobile/mobile_40.asm @@ -4056,7 +4056,7 @@ _StartMobileBattle: ; 1019ab jr z, .got_link_player_number ld a, 1 .got_link_player_number - ld [hLinkPlayerNumber], a + ld [hSerialConnectionStatus], a ret ; 101a21 @@ -4076,7 +4076,7 @@ StartMobileBattle: ; 101a21 xor a ld [wDisableTextAcceleration], a ld a, $ff - ld [hLinkPlayerNumber], a + ld [hSerialConnectionStatus], a pop af ld [Options], a ret diff --git a/mobile/mobile_5b.asm b/mobile/mobile_5b.asm index a1e8dac8a..bb005b564 100755 --- a/mobile/mobile_5b.asm +++ b/mobile/mobile_5b.asm @@ -4,7 +4,7 @@ Unreferenced_Function16c000: ; 16c000 and a ret z ; Only do this once per boot cycle - ld a, [hFFEA] + ld a, [hSystemBooted] and a ret z ; Set some flag, preserving the old state @@ -19,9 +19,9 @@ Unreferenced_Function16c000: ; 16c000 call .RunJumptable farcall DisableMobile ; Prevent this routine from running again - ; until the next time the syatem is turned on + ; until the next time the system is turned on xor a - ld [hFFEA], a + ld [hSystemBooted], a ; Restore the flag state pop af ld [wcfbe], a |