pokecrystal/engine/battle/returntobattle_useball.asm

20 lines
400 B
NASM
Raw Normal View History

2018-06-24 14:09:41 +00:00
_ReturnToBattle_UseBall:
call ClearBGPalettes
call ClearTilemap
2018-01-23 22:39:09 +00:00
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