Standardize capitalization of ".Jumptable"

This commit is contained in:
Rangi
2021-06-19 19:52:05 -04:00
parent 7a03fecc38
commit f59f1bdb88
9 changed files with 23 additions and 18 deletions

View File

@@ -1518,7 +1518,7 @@ GetBuenasPassword:
and $f
ld c, a
push hl
ld hl, .StringFunctionJumpTable
ld hl, .StringFunctionJumptable
ld e, b
add hl, de
add hl, de
@@ -1531,12 +1531,14 @@ GetBuenasPassword:
ld c, [hl]
ret
.StringFunctionJumpTable:
.StringFunctionJumptable:
; entries correspond to BUENA_* constants
table_width 2, GetBuenasPassword.StringFunctionJumptable
dw .Mon ; BUENA_MON
dw .Item ; BUENA_ITEM
dw .Move ; BUENA_MOVE
dw .RawString ; BUENA_STRING
assert_table_length NUM_BUENA_FUNCTIONS
.Mon:
call .GetTheIndex