pokecrystal-board/mobile/print_opp_message.asm

31 lines
488 B
NASM
Raw Normal View History

2018-06-24 07:09:41 -07:00
Mobile_PrintOpponentBattleMessage:
2017-12-16 09:49:43 -08:00
ld a, c
push af
2019-04-08 05:15:10 -07:00
call SpeechTextbox
2017-12-16 09:49:43 -08:00
call MobileTextBorder
pop af
dec a
ld bc, $c
ld hl, w5_MobileOpponentBattleMessages
call AddNTimes
ld de, wMobileOpponentBattleMessage
ld bc, $c
ld a, BANK(w5_MobileOpponentBattleMessages)
2017-12-16 09:49:43 -08:00
call FarCopyWRAM
ldh a, [rSVBK]
2017-12-16 09:49:43 -08:00
push af
ld a, $1
ldh [rSVBK], a
2017-12-16 09:49:43 -08:00
ld bc, wMobileOpponentBattleMessage
decoord 1, 14
2017-12-24 09:47:30 -08:00
farcall PrintEZChatBattleMessage
2017-12-16 09:49:43 -08:00
pop af
ldh [rSVBK], a
2017-12-16 09:49:43 -08:00
ld c, 180
call DelayFrames
ret