shithub: pokecrystal

Download patch

ref: 64e4300f4decc52681fbb4346f99ac648e4c11c7
parent: f6cfccd1ff34d5f82f289060d3fa79ec9f8933c6
author: Fredrik Ljungdahl <fredde1994@gmail.com>
date: Fri Oct 28 22:03:10 EDT 2016

Fix inverted labels for HandleStatBoostingHeldItems

--- a/battle/core.asm
+++ b/battle/core.asm
@@ -4676,21 +4676,21 @@
 	ld a, [hLinkPlayerNumber]
 	cp $1
 	jr z, .player_1
-	call .DoEnemy
-	jp .DoPlayer
-
-.player_1
 	call .DoPlayer
 	jp .DoEnemy
+
+.player_1
+	call .DoEnemy
+	jp .DoPlayer
 ; 3dea9
 
-.DoEnemy: ; 3dea9
+.DoPlayer: ; 3dea9
 	call GetPartymonItem
 	ld a, $0
 	jp .HandleItem
 ; 3deb1
 
-.DoPlayer: ; 3deb1
+.DoEnemy: ; 3deb1
 	call GetOTPartymonItem
 	ld a, $1
 .HandleItem: ; 3deb6