2017-12-25 00:35:35 +00:00
|
|
|
_ReturnToBattle_UseBall: ; 2715c
|
|
|
|
call ClearBGPalettes
|
|
|
|
call ClearTileMap
|
|
|
|
ld a, [BattleType]
|
|
|
|
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
|