mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
20 lines
425 B
NASM
20 lines
425 B
NASM
_ReturnToBattle_UseBall: ; 2715c
|
|
call ClearBGPalettes
|
|
call ClearTileMap
|
|
ld a, [BattleType]
|
|
cp BATTLETYPE_TUTORIAL
|
|
jr z, .gettutorialbackpic
|
|
farcall Predef_GetBattleMonBackpic
|
|
jr .continue
|
|
|
|
.gettutorialbackpic
|
|
farcall GetTrainerBackpic
|
|
.continue
|
|
farcall Predef_GetEnemyMonFrontpic
|
|
farcall _LoadBattleFontsHPBar
|
|
call GetMemSGBLayout
|
|
call CloseWindow
|
|
call LoadStandardMenuDataHeader
|
|
call WaitBGMap
|
|
jp SetPalettes
|