mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-01-23 09:16:20 -08:00
DetermineMobileBattleResult -> DisplayLinkBattleResult
Changed this function's name, because it confusingly only calls DetermineLinkBattleResult when linked through mobile. It does absolutely nothing with determining the battle result in a regular link battle, and is only responsible for displaying the battle result and counting stats.
This commit is contained in:
parent
671341a0fb
commit
35a8e9da5d
@ -8640,7 +8640,7 @@ ExitBattle: ; 3f69e
|
|||||||
call ShowLinkBattleParticipantsAfterEnd
|
call ShowLinkBattleParticipantsAfterEnd
|
||||||
ld c, 150
|
ld c, 150
|
||||||
call DelayFrames
|
call DelayFrames
|
||||||
call DetermineMobileBattleResult
|
call DisplayLinkBattleResult
|
||||||
ret
|
ret
|
||||||
|
|
||||||
.not_linked
|
.not_linked
|
||||||
@ -8737,7 +8737,7 @@ ShowLinkBattleParticipantsAfterEnd: ; 3f759
|
|||||||
ret
|
ret
|
||||||
; 3f77c
|
; 3f77c
|
||||||
|
|
||||||
DetermineMobileBattleResult: ; 3f77c
|
DisplayLinkBattleResult: ; 3f77c
|
||||||
callba CheckMobileBattleError
|
callba CheckMobileBattleError
|
||||||
jp c, .Mobile_InvalidBattle
|
jp c, .Mobile_InvalidBattle
|
||||||
call IsMobileBattle2
|
call IsMobileBattle2
|
||||||
|
@ -4084,7 +4084,7 @@ StartMobileBattle: ; 101a21
|
|||||||
Function101a4f: ; 101a4f
|
Function101a4f: ; 101a4f
|
||||||
ld a, 1
|
ld a, 1
|
||||||
ld [wDisableTextAcceleration], a
|
ld [wDisableTextAcceleration], a
|
||||||
callba DetermineMobileBattleResult
|
callba DisplayLinkBattleResult
|
||||||
xor a
|
xor a
|
||||||
ld [wDisableTextAcceleration], a
|
ld [wDisableTextAcceleration], a
|
||||||
callba CleanUpBattleRAM
|
callba CleanUpBattleRAM
|
||||||
|
Loading…
x
Reference in New Issue
Block a user