pokecrystal-board/engine/battle/returntobattle_useball.asm

20 lines
408 B
NASM
Raw Permalink Normal View History

2018-06-24 07:09:41 -07:00
_ReturnToBattle_UseBall:
call ClearBGPalettes
call ClearTilemap
2018-01-23 14:39:09 -08:00
ld a, [wBattleType]
cp BATTLETYPE_TUTORIAL
jr z, .gettutorialbackpic
farcall GetBattleMonBackpic
jr .continue
.gettutorialbackpic
farcall GetTrainerBackpic
.continue
farcall GetEnemyMonFrontpic
farcall _LoadBattleFontsHPBar
call GetMemCGBLayout
call CloseWindow
call LoadStandardMenuHeader
call WaitBGMap
2024-02-10 15:16:00 -08:00
jp SetDefaultBGPAndOBP