From 0fd4090dbd67c77be249b9673421e1e31a71cb85 Mon Sep 17 00:00:00 2001 From: Fredrik Ljungdahl Date: Tue, 26 May 2020 03:19:52 +0200 Subject: [PATCH] Add label for wd431 and remove misleading comment (it's not strictly mobile) --- mobile/mobile_40.asm | 6 +++--- wram.asm | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mobile/mobile_40.asm b/mobile/mobile_40.asm index 6becee7c0..b20c3de32 100644 --- a/mobile/mobile_40.asm +++ b/mobile/mobile_40.asm @@ -1529,7 +1529,7 @@ Function1009f3: _LinkBattleSendReceiveAction: call .StageForSend - ld [wd431], a + ld [wLinkBattleSentAction], a farcall PlaceWaitingText ld a, [wLinkMode] cp LINK_MOBILE @@ -1573,7 +1573,7 @@ _LinkBattleSendReceiveAction: ret .LinkBattle_SendReceiveAction: - ld a, [wd431] + ld a, [wLinkBattleSentAction] ld [wPlayerLinkAction], a ld a, $ff ld [wOtherPlayerLinkAction], a @@ -1642,7 +1642,7 @@ _LinkBattleSendReceiveAction: Function100acf: ld de, Unknown_100b0a ld hl, wccb5 - ld a, [wd431] + ld a, [wLinkBattleSentAction] ld [hli], a ld c, $01 .asm_100adb diff --git a/wram.asm b/wram.asm index 0c41bf617..6ba4d7d31 100644 --- a/wram.asm +++ b/wram.asm @@ -2365,7 +2365,7 @@ ENDU ; d430 wd430:: ; mobile wBattleAction:: db ; d430 -wd431:: db ; mobile +wLinkBattleSentAction:: db ; d431 wMapStatus:: db ; d432 wMapEventStatus:: db ; d433