shithub: pokecrystal

Download patch

ref: 0fd4090dbd67c77be249b9673421e1e31a71cb85
parent: fe42ef8a88cce02fdee08b46d01dff8ba4b4b1f1
author: Fredrik Ljungdahl <[email protected]>
date: Mon May 25 23:19:52 EDT 2020

Add label for wd431 and remove misleading comment (it's not strictly mobile)

--- a/mobile/mobile_40.asm
+++ b/mobile/mobile_40.asm
@@ -1529,7 +1529,7 @@
 
 _LinkBattleSendReceiveAction:
 	call .StageForSend
-	ld [wd431], a
+	ld [wLinkBattleSentAction], a
 	farcall PlaceWaitingText
 	ld a, [wLinkMode]
 	cp LINK_MOBILE
@@ -1573,7 +1573,7 @@
 	ret
 
 .LinkBattle_SendReceiveAction:
-	ld a, [wd431]
+	ld a, [wLinkBattleSentAction]
 	ld [wPlayerLinkAction], a
 	ld a, $ff
 	ld [wOtherPlayerLinkAction], a
@@ -1642,7 +1642,7 @@
 Function100acf:
 	ld de, Unknown_100b0a
 	ld hl, wccb5
-	ld a, [wd431]
+	ld a, [wLinkBattleSentAction]
 	ld [hli], a
 	ld c, $01
 .asm_100adb
--- a/wram.asm
+++ b/wram.asm
@@ -2365,7 +2365,7 @@
 wd430:: ; mobile
 wBattleAction:: db ; d430
 
-wd431:: db ; mobile
+wLinkBattleSentAction:: db ; d431
 wMapStatus:: db ; d432
 wMapEventStatus:: db ; d433