2017-12-16 17:49:43 +00:00
|
|
|
Mobile_PrintOpponentBattleMessage: ; 4ea0a
|
|
|
|
ld a, c
|
|
|
|
push af
|
|
|
|
call SpeechTextBox
|
|
|
|
call MobileTextBorder
|
|
|
|
pop af
|
|
|
|
dec a
|
|
|
|
ld bc, $c
|
|
|
|
ld hl, w5_MobileOpponentBattleMessages
|
|
|
|
call AddNTimes
|
|
|
|
ld de, wMobileOpponentBattleMessage
|
|
|
|
ld bc, $c
|
2018-01-02 21:46:40 +00:00
|
|
|
ld a, BANK(w5_MobileOpponentBattleMessages)
|
2017-12-16 17:49:43 +00:00
|
|
|
call FarCopyWRAM
|
|
|
|
|
|
|
|
ld a, [rSVBK]
|
|
|
|
push af
|
|
|
|
ld a, $1
|
|
|
|
ld [rSVBK], a
|
|
|
|
|
|
|
|
ld bc, wMobileOpponentBattleMessage
|
|
|
|
decoord 1, 14
|
2017-12-24 17:47:30 +00:00
|
|
|
farcall PrintEZChatBattleMessage
|
2017-12-16 17:49:43 +00:00
|
|
|
|
|
|
|
pop af
|
|
|
|
ld [rSVBK], a
|
|
|
|
|
|
|
|
ld c, 180
|
|
|
|
call DelayFrames
|
|
|
|
ret
|