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