aboutsummaryrefslogtreecommitdiffstats
path: root/constants/ram_constants.asm
diff options
context:
space:
mode:
authorSylvie <35663410+Rangi42@users.noreply.github.com>2024-09-23 23:51:44 -0400
committerGitHub <noreply@github.com>2024-09-23 23:51:44 -0400
commit8f1dcf07e598c6e3d34b5d255f04faff1667d83b (patch)
treefe962b2c23dd40ad3d69f7145a46a002c3285a76 /constants/ram_constants.asm
parentRemove the Discord webhook and tools/unnamed.py (diff)
downloadpokeyellow-8f1dcf07e598c6e3d34b5d255f04faff1667d83b.tar.gz
pokeyellow-8f1dcf07e598c6e3d34b5d255f04faff1667d83b.tar.xz
pokeyellow-8f1dcf07e598c6e3d34b5d255f04faff1667d83b.zip
Identify more flag bits (#464)
Diffstat (limited to 'constants/ram_constants.asm')
-rw-r--r--constants/ram_constants.asm30
1 files changed, 30 insertions, 0 deletions
diff --git a/constants/ram_constants.asm b/constants/ram_constants.asm
index 42956cc6..8102cc7e 100644
--- a/constants/ram_constants.asm
+++ b/constants/ram_constants.asm
@@ -1,3 +1,8 @@
+; wSlotMachineFlags
+ const_def 6
+ const BIT_SLOTS_CAN_WIN ; 6
+ const BIT_SLOTS_CAN_WIN_WITH_7_OR_BAR ; 7
+
; wMiscFlags
const_def
const BIT_SEEN_BY_TRAINER ; 0
@@ -9,6 +14,15 @@
const BIT_TRIED_PUSH_BOULDER ; 6
const BIT_PUSHED_BOULDER ; 7
+; wAutoTextBoxDrawingControl
+DEF BIT_NO_AUTO_TEXT_BOX EQU 0
+
+; wTextPredefFlag
+DEF BIT_TEXT_PREDEF EQU 0
+
+; wFontLoaded
+DEF BIT_FONT_LOADED EQU 0
+
; wOptions
DEF TEXT_DELAY_MASK EQU %111
const_def 6
@@ -24,6 +38,12 @@ DEF TEXT_DELAY_SLOW EQU %101 ; 5
const BIT_FAST_TEXT_DELAY ; 0
const BIT_TEXT_DELAY ; 1
+; wCurMapTileset
+DEF BIT_NO_PREVIOUS_MAP EQU 7
+
+; wCurrentBoxNum
+DEF BIT_HAS_CHANGED_BOXES EQU 7
+
; wObtainedBadges, wBeatGymFlags
const_def
const BIT_BOULDERBADGE ; 0
@@ -117,3 +137,13 @@ DEF NUM_BADGES EQU const_value
const_skip 3 ; 3-5 ; unused
const BIT_LEDGE_OR_FISHING ; 6
const BIT_SPINNING ; 7
+
+; hFindPathFlags
+ const_def
+ const BIT_PATH_FOUND_Y ; 0
+ const BIT_PATH_FOUND_X ; 1
+
+; hNPCPlayerRelativePosFlags
+ const_def
+ const BIT_PLAYER_LOWER_Y ; 0
+ const BIT_PLAYER_LOWER_X ; 1