Improve mobile-related labels (#1061)

This commit is contained in:
SatoMew
2023-07-27 01:59:00 +01:00
committed by GitHub
parent c931b98a81
commit 768b3bdec1
23 changed files with 117 additions and 120 deletions

View File

@@ -63,7 +63,7 @@ NewGame:
ld [wDebugFlags], a
call ResetWRAM
call NewGame_ClearTilemapEtc
call AreYouABoyOrAreYouAGirl
call PlayerProfileSetup
call OakSpeech
call InitializeWorld
@@ -77,15 +77,14 @@ NewGame:
ldh [hMapEntryMethod], a
jp FinishContinueFunction
AreYouABoyOrAreYouAGirl:
farcall Mobile_AlwaysReturnNotCarry ; mobile
PlayerProfileSetup:
farcall CheckMobileAdapterStatus
jr c, .ok
farcall InitGender
ret
.ok
ld c, 0
farcall InitMobileProfile ; mobile
farcall InitMobileProfile
ret
if DEF(_DEBUG)
@@ -220,7 +219,7 @@ endc
farcall DeletePartyMonMail
farcall DeleteMobileEventIndex
farcall ClearGSBallFlag
call ResetGameTime
ret
@@ -400,12 +399,9 @@ PostCreditsSpawn:
ldh [hMapEntryMethod], a
ret
Continue_MobileAdapterMenu:
farcall Mobile_AlwaysReturnNotCarry ; mobile check
Continue_MobileAdapterMenu: ; unused
farcall CheckMobileAdapterStatus
ret nc
; the rest of this stuff is never reached because
; the previous function returns with carry not set
ld hl, wd479
bit 1, [hl]
ret nz