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