2018-06-24 07:09:41 -07:00
|
|
|
_ReturnToBattle_UseBall:
|
2017-12-24 16:35:35 -08:00
|
|
|
call ClearBGPalettes
|
2020-02-13 09:30:13 -08:00
|
|
|
call ClearTilemap
|
2018-01-23 14:39:09 -08:00
|
|
|
ld a, [wBattleType]
|
2017-12-24 16:35:35 -08:00
|
|
|
cp BATTLETYPE_TUTORIAL
|
|
|
|
jr z, .gettutorialbackpic
|
|
|
|
farcall GetBattleMonBackpic
|
|
|
|
jr .continue
|
|
|
|
|
|
|
|
.gettutorialbackpic
|
|
|
|
farcall GetTrainerBackpic
|
|
|
|
.continue
|
|
|
|
farcall GetEnemyMonFrontpic
|
|
|
|
farcall _LoadBattleFontsHPBar
|
2023-07-26 08:01:20 -07:00
|
|
|
call GetMemCGBLayout
|
2017-12-24 16:35:35 -08:00
|
|
|
call CloseWindow
|
2018-01-23 13:08:43 -08:00
|
|
|
call LoadStandardMenuHeader
|
2017-12-24 16:35:35 -08:00
|
|
|
call WaitBGMap
|
|
|
|
jp SetPalettes
|