mirror of
https://github.com/thornAvery/jep-hack.git
synced 2026-02-21 23:12:16 +13:00
First Commit
Upload literally everything from the pokecrystal16 expand-move-ID branch
This commit is contained in:
commit
2f8a41f833
4618 changed files with 480386 additions and 0 deletions
30
mobile/print_opp_message.asm
Normal file
30
mobile/print_opp_message.asm
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
Mobile_PrintOpponentBattleMessage:
|
||||
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, BANK(w5_MobileOpponentBattleMessages)
|
||||
call FarCopyWRAM
|
||||
|
||||
ldh a, [rSVBK]
|
||||
push af
|
||||
ld a, $1
|
||||
ldh [rSVBK], a
|
||||
|
||||
ld bc, wMobileOpponentBattleMessage
|
||||
decoord 1, 14
|
||||
farcall PrintEZChatBattleMessage
|
||||
|
||||
pop af
|
||||
ldh [rSVBK], a
|
||||
|
||||
ld c, 180
|
||||
call DelayFrames
|
||||
ret
|
||||
Loading…
Add table
Add a link
Reference in a new issue