You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
buttonsound
This commit is contained in:
@@ -392,7 +392,7 @@ SimpleWaitPressAorB:: ; aa5
|
||||
ret
|
||||
; aaf
|
||||
|
||||
KeepTextOpen:: ; aaf
|
||||
ButtonSound:: ; aaf
|
||||
ld a, [wLinkMode]
|
||||
and a
|
||||
jr nz, .link
|
||||
|
@@ -538,7 +538,7 @@ Paragraph:: ; 12f2
|
||||
|
||||
.linkbattle
|
||||
call Function13b6
|
||||
call KeepTextOpen
|
||||
call ButtonSound
|
||||
hlcoord TEXTBOX_INNERX, TEXTBOX_INNERY
|
||||
lb bc, TEXTBOX_INNERH - 1, TEXTBOX_INNERW
|
||||
call ClearBox
|
||||
@@ -561,7 +561,7 @@ Char4B:: ; 131f
|
||||
call Function13b6
|
||||
|
||||
push de
|
||||
call KeepTextOpen
|
||||
call ButtonSound
|
||||
pop de
|
||||
|
||||
ld a, [wLinkMode]
|
||||
@@ -611,7 +611,7 @@ PromptText:: ; 135a
|
||||
|
||||
.ok
|
||||
call Function13b6
|
||||
call KeepTextOpen
|
||||
call ButtonSound
|
||||
ld a, [wLinkMode]
|
||||
cp LINK_COLOSSEUM
|
||||
jr z, DoneText
|
||||
@@ -934,7 +934,7 @@ Text_WAIT_BUTTON:: ; 149f
|
||||
push hl
|
||||
call LoadBlinkingCursor
|
||||
push bc
|
||||
call KeepTextOpen
|
||||
call ButtonSound
|
||||
pop bc
|
||||
call UnloadBlinkingCursor
|
||||
pop hl
|
||||
@@ -1101,7 +1101,7 @@ Text_0D:: ; 1562
|
||||
; display arrow
|
||||
push hl
|
||||
push bc
|
||||
call KeepTextOpen
|
||||
call ButtonSound
|
||||
pop bc
|
||||
pop hl
|
||||
ret
|
||||
|
Reference in New Issue
Block a user