mirror of https://github.com/pret/pokecrystal.git
20 lines
412 B
NASM
20 lines
412 B
NASM
_ReturnToBattle_UseBall: ; 2715c
|
|
call ClearBGPalettes
|
|
call ClearTileMap
|
|
ld a, [wBattleType]
|
|
cp BATTLETYPE_TUTORIAL
|
|
jr z, .gettutorialbackpic
|
|
farcall GetBattleMonBackpic
|
|
jr .continue
|
|
|
|
.gettutorialbackpic
|
|
farcall GetTrainerBackpic
|
|
.continue
|
|
farcall GetEnemyMonFrontpic
|
|
farcall _LoadBattleFontsHPBar
|
|
call GetMemSGBLayout
|
|
call CloseWindow
|
|
call LoadStandardMenuDataHeader
|
|
call WaitBGMap
|
|
jp SetPalettes
|