mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
Document WaitPressAorB_BlinkCursor a bit
This is one weird function I'll never understand the purpose of. It could use a better name, but I have no clue what.
This commit is contained in:
parent
d00167d6b8
commit
176257ea6f
@ -338,6 +338,12 @@ JoyTextDelay::
|
||||
ret
|
||||
|
||||
WaitPressAorB_BlinkCursor::
|
||||
; Show a blinking cursor in the lower right-hand
|
||||
; corner of a textbox and wait until A or B is
|
||||
; pressed.
|
||||
;
|
||||
; NOTE: The cursor has to be shown before calling
|
||||
; this function or no cursor will be shown at all.
|
||||
ldh a, [hMapObjectIndexBuffer]
|
||||
push af
|
||||
ldh a, [hObjectStructIndexBuffer]
|
||||
@ -373,6 +379,9 @@ SimpleWaitPressAorB::
|
||||
ret
|
||||
|
||||
PromptButton::
|
||||
; Show a blinking cursor in the lower right-hand
|
||||
; corner of a textbox and wait until A or B is
|
||||
; pressed, afterwards, play a sound.
|
||||
ld a, [wLinkMode]
|
||||
and a
|
||||
jr nz, .link
|
||||
|
Loading…
Reference in New Issue
Block a user