mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
20 lines
400 B
NASM
20 lines
400 B
NASM
_ReturnToBattle_UseBall:
|
|
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 LoadStandardMenuHeader
|
|
call WaitBGMap
|
|
jp SetPalettes
|