shithub: pokecrystal

Download patch

ref: edcf08ff361e58b2d03ff80a0b2eb0550ac7c647
parent: fe42ef8a88cce02fdee08b46d01dff8ba4b4b1f1
parent: 0fd4090dbd67c77be249b9673421e1e31a71cb85
author: Rangi <35663410+Rangi42@users.noreply.github.com>
date: Mon May 25 17:29:38 EDT 2020

Merge pull request #725 from FredrIQ/wd431

Add label for wd431

--- 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