summaryrefslogtreecommitdiff
path: root/constants
diff options
context:
space:
mode:
authorlibjet <libj3t@gmail.com>2020-02-18 18:34:17 +0000
committerlibjet <libj3t@gmail.com>2020-02-18 18:34:17 +0000
commit6cbd16985aaa5408f855454c55a073d753b38d8c (patch)
tree6ee722544f89bc12d5b8b6376c4aa6a0f5283327 /constants
parent76b10c0a49ee07470a326804588217b1c7b9b59b (diff)
Update math.asm and add print_text.asm
Diffstat (limited to 'constants')
-rw-r--r--constants/wram_constants.asm32
1 files changed, 20 insertions, 12 deletions
diff --git a/constants/wram_constants.asm b/constants/wram_constants.asm
index 77fd516b..6b739c6c 100644
--- a/constants/wram_constants.asm
+++ b/constants/wram_constants.asm
@@ -14,18 +14,26 @@ AUTO_INPUT EQU $ff
const TEMPMON ; 3
const WILDMON ; 4
-; wOptions: ; cfcc
-FAST_TEXT EQU 0
-MED_TEXT EQU 1
-SLOW_TEXT EQU 2
-NO_TEXT_SCROLL EQU 4
-; bits
-STEREO EQU 5
-BATTLE_SHIFT EQU 6
-BATTLE_SCENE EQU 7
-
-; Options2:
-MENU_ACCOUNT EQU 0
+; wOptions:: ; cfcc
+TEXT_DELAY_MASK EQU %111
+ const_def 4
+ const NO_TEXT_SCROLL ; 4
+ const STEREO ; 5
+ const BATTLE_SHIFT ; 6
+ const BATTLE_SCENE ; 7
+
+TEXT_DELAY_FAST EQU %001 ; 1
+TEXT_DELAY_MED EQU %011 ; 3
+TEXT_DELAY_SLOW EQU %101 ; 5
+
+; wOptions2::
+ const_def
+ const MENU_ACCOUNT ; 0
+
+; wTextboxFlags::
+ const_def
+ const FAST_TEXT_DELAY_F ; 0
+ const NO_TEXT_DELAY_F ; 1
; GBPrinter:
PRINT_LIGHTEST EQU $00