mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Add some constants for options (#344)
Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
This commit is contained in:
parent
8349bfd8e6
commit
f68af5c6e9
8 changed files with 21 additions and 13 deletions
|
|
@ -125,9 +125,9 @@ MainMenu:
|
|||
jp SpecialEnterMap
|
||||
|
||||
InitOptions:
|
||||
ld a, 1 ; no delay
|
||||
ld a, TEXT_DELAY_FAST
|
||||
ld [wLetterPrintingDelayFlags], a
|
||||
ld a, 3 ; medium speed
|
||||
ld a, TEXT_DELAY_MEDIUM
|
||||
ld [wOptions], a
|
||||
ret
|
||||
|
||||
|
|
@ -678,11 +678,10 @@ SetCursorPositionsFromOptions:
|
|||
; 00: X coordinate of menu cursor
|
||||
; 01: delay after printing a letter (in frames)
|
||||
TextSpeedOptionData:
|
||||
db 14, 5 ; Slow
|
||||
db 7, 3 ; Medium
|
||||
db 1, 1 ; Fast
|
||||
db 7 ; default X coordinate (Medium)
|
||||
db -1 ; end
|
||||
db 14, TEXT_DELAY_SLOW
|
||||
db 7, TEXT_DELAY_MEDIUM
|
||||
db 1, TEXT_DELAY_FAST
|
||||
db 7, -1 ; end (default X coordinate)
|
||||
|
||||
CheckForPlayerNameInSRAM:
|
||||
; Check if the player name data in SRAM has a string terminator character
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue