2017-12-25 00:35:35 +00:00
|
|
|
_ReturnToBattle_UseBall: ; 2715c
|
|
|
|
call ClearBGPalettes
|
|
|
|
call ClearTileMap
|
|
|
|
ld a, [BattleType]
|
|
|
|
cp BATTLETYPE_TUTORIAL
|
|
|
|
jr z, .gettutorialbackpic
|
2018-01-02 17:49:25 +00:00
|
|
|
farcall Predef_GetBattleMonBackpic
|
2017-12-25 00:35:35 +00:00
|
|
|
jr .continue
|
|
|
|
|
|
|
|
.gettutorialbackpic
|
|
|
|
farcall GetTrainerBackpic
|
|
|
|
.continue
|
2018-01-02 17:49:25 +00:00
|
|
|
farcall Predef_GetEnemyMonFrontpic
|
2017-12-25 00:35:35 +00:00
|
|
|
farcall _LoadBattleFontsHPBar
|
|
|
|
call GetMemSGBLayout
|
|
|
|
call CloseWindow
|
|
|
|
call LoadStandardMenuDataHeader
|
|
|
|
call WaitBGMap
|
|
|
|
jp SetPalettes
|