shithub: pokecrystal

Download patch

ref: 2d2a7dec7d8bea0c456e4598f73c24e4b5635c24
parent: 58b45443e8fa22d027d14e6c991da9ee4c30d3f3
author: mid-kid <[email protected]>
date: Mon Aug 3 18:56:11 EDT 2020

Label some mobile battle screen functions

--- a/engine/battle/core.asm
+++ b/engine/battle/core.asm
@@ -4920,7 +4920,7 @@
 	ret
 
 .mobile
-	farcall Function100b12
+	farcall Mobile_LoadBattleMenu
 	ld a, [wcd2b]
 	and a
 	ret z
@@ -5311,7 +5311,7 @@
 MoveSelectionScreen:
 	call IsMobileBattle
 	jr nz, .not_mobile
-	farcall MobileMoveSelectionScreen
+	farcall Mobile_MoveSelectionScreen
 	ret
 
 .not_mobile
--- a/mobile/mobile_40.asm
+++ b/mobile/mobile_40.asm
@@ -1689,7 +1689,7 @@
 
 popc
 
-Function100b12:
+Mobile_LoadBattleMenu:
 	call Function100dd8
 	ret c
 	ld hl, BattleMenuHeader
@@ -1747,7 +1747,7 @@
 	set 7, [hl]
 	ret
 
-MobileMoveSelectionScreen:
+Mobile_MoveSelectionScreen:
 	xor a
 	ld [wMoveSwapBuffer], a
 	farcall CheckPlayerHasUsableMoves