shithub: pokecrystal

Download patch

ref: 183845bd73178b5d70b4186177545ef67d31016c
parent: 860296f468a0a941421d5cf8ca6a66217dc01e28
author: yenatch <yenatch@gmail.com>
date: Wed Aug 19 17:21:38 EDT 2015

Add labels for link battle scores.

--- a/battle/core.asm
+++ b/battle/core.asm
@@ -8820,7 +8820,7 @@
 
 
 Function3f836: ; 3f836
-	ld a, $1
+	ld a, BANK(sLinkBattleStats)
 	call GetSRAMBank
 	call Function3f85f
 	call CloseSRAM
@@ -8925,7 +8925,7 @@
 	call PlaceString
 
 	hlcoord 6, 4
-	ld de, $b260
+	ld de, sLinkBattleWins
 	call .asm_3f92b
 	jr c, .asm_3f92a
 
@@ -8933,7 +8933,7 @@
 	call PrintNum
 
 	hlcoord 11, 4
-	ld de, $b262
+	ld de, sLinkBattleLosses
 	call .asm_3f92b
 
 	ld bc, $0204
@@ -8940,7 +8940,7 @@
 	call PrintNum
 
 	hlcoord 16, 4
-	ld de, $b264
+	ld de, sLinkBattleDraws
 	call .asm_3f92b
 
 	ld bc, $0204