summaryrefslogtreecommitdiff
path: root/src/wram.asm
diff options
context:
space:
mode:
authorxCrystal <rgr.crystal@gmail.com>2018-07-04 01:43:30 +0200
committerxCrystal <rgr.crystal@gmail.com>2018-07-04 01:43:30 +0200
commit2a0598cc290620da9742baebc84115b370ece83a (patch)
treea4fdb937c1c058f13917e09c32945ca453765a6a /src/wram.asm
parent5dd6746bd4e54b3e5e64394bdcef08035a5c204f (diff)
disassemble some menu/list related functions
Diffstat (limited to 'src/wram.asm')
-rw-r--r--src/wram.asm9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/wram.asm b/src/wram.asm
index 212d85e..9289a0f 100644
--- a/src/wram.asm
+++ b/src/wram.asm
@@ -955,7 +955,7 @@ wUppercaseVWFLetters:: ; cd0d
ds $1
-; Handles timing of (horizontal or vertical) arrow blinking while waiting for user input.
+; handles timing of (horizontal or vertical) arrow blinking while waiting for user input.
wCursorBlinkCounter:: ; cd0f
ds $1
@@ -980,6 +980,7 @@ wCursorTileNumber:: ; cd15
wTileBehindCursor:: ; cd16
ds $1
+; if non-$0000, the function loaded here is called once per frame by HandleMenuInput
wMenuFunctionPointer:: ; cd17
ds $2
@@ -995,12 +996,16 @@ wNumListItems:: ; cd1b
wListItemNameMaxLength:: ; cd1c
ds $1
+; if non-$0000, the function loaded here is called once per frame by CardListMenuFunction,
+; which is the function loaded to wMenuFunctionPointer for card lists
wListFunctionPointer:: ; cd1d
ds $2
ds $78
-wcd97:: ; cd97
+; in a card list, the Y position where the <sel_item>/<num_items> indicator is placed
+; if wCardListIndicatorYPosition == $ff, no indicator is displayed
+wCardListIndicatorYPosition:: ; cd97
ds $1
; x coord of the leftmost item in a horizontal menu