mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
31 lines
497 B
NASM
31 lines
497 B
NASM
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
|
|
ld a, $5 ; BANK(w5_MobileOpponentBattleMessages)
|
|
call FarCopyWRAM
|
|
|
|
ld a, [rSVBK]
|
|
push af
|
|
ld a, $1
|
|
ld [rSVBK], a
|
|
|
|
ld bc, wMobileOpponentBattleMessage
|
|
decoord 1, 14
|
|
callba PrintEZChatBattleMessage
|
|
|
|
pop af
|
|
ld [rSVBK], a
|
|
|
|
ld c, 180
|
|
call DelayFrames
|
|
ret
|