-
Notifications
You must be signed in to change notification settings - Fork 963
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Identify various flag labels and bit constants
- Loading branch information
Showing
143 changed files
with
1,071 additions
and
1,081 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
; wMiscFlags | ||
const_def | ||
const BIT_SEEN_BY_TRAINER ; 0 | ||
const BIT_BOULDER_DUST ; 1 | ||
const BIT_TURNING ; 2 | ||
const BIT_USING_GENERIC_PC ; 3 | ||
const BIT_NO_SPRITE_UPDATES ; 4 | ||
const BIT_NO_MENU_BUTTON_SOUND ; 5 | ||
const BIT_TRIED_PUSH_BOULDER ; 6 | ||
const BIT_PUSHED_BOULDER ; 7 | ||
|
||
; wOptions | ||
DEF TEXT_DELAY_MASK EQU %111 | ||
const_def 6 | ||
const BIT_BATTLE_SHIFT ; 6 | ||
const BIT_BATTLE_ANIMATION ; 7 | ||
|
||
DEF TEXT_DELAY_FAST EQU %001 ; 1 | ||
DEF TEXT_DELAY_MEDIUM EQU %011 ; 3 | ||
DEF TEXT_DELAY_SLOW EQU %101 ; 5 | ||
|
||
; wLetterPrintingDelayFlags | ||
const_def | ||
const BIT_FAST_TEXT_DELAY ; 0 | ||
const BIT_TEXT_DELAY ; 1 | ||
|
||
; wObtainedBadges, wBeatGymFlags | ||
const_def | ||
const BIT_BOULDERBADGE ; 0 | ||
const BIT_CASCADEBADGE ; 1 | ||
const BIT_THUNDERBADGE ; 2 | ||
const BIT_RAINBOWBADGE ; 3 | ||
const BIT_SOULBADGE ; 4 | ||
const BIT_MARSHBADGE ; 5 | ||
const BIT_VOLCANOBADGE ; 6 | ||
const BIT_EARTHBADGE ; 7 | ||
DEF NUM_BADGES EQU const_value | ||
|
||
; wStatusFlags1 | ||
const_def | ||
const BIT_STRENGTH_ACTIVE ; 0 | ||
const BIT_SURF_ALLOWED ; 1 | ||
const_skip ; 2 ; unused | ||
const BIT_GOT_OLD_ROD ; 3 | ||
const BIT_GOT_GOOD_ROD ; 4 | ||
const BIT_GOT_SUPER_ROD ; 5 | ||
const BIT_GAVE_SAFFRON_GUARDS_DRINK ; 6 | ||
const BIT_UNUSED_CARD_KEY ; 7 | ||
|
||
; wStatusFlags2 | ||
const_def | ||
const BIT_WILD_ENCOUNTER_COOLDOWN ; 0 | ||
const BIT_NO_AUDIO_FADE_OUT ; 1 | ||
|
||
; wStatusFlags3 | ||
const_def | ||
const BIT_INIT_TRADE_CENTER_FACING ; 0 | ||
const_skip 2 ; 1-2 ; unused | ||
const BIT_WARP_FROM_CUR_SCRIPT ; 3 | ||
const BIT_ON_DUNGEON_WARP ; 4 | ||
const BIT_NO_NPC_FACE_PLAYER ; 5 | ||
const BIT_TALKED_TO_TRAINER ; 6 | ||
const BIT_PRINT_END_BATTLE_TEXT ; 7 | ||
|
||
; wStatusFlags4 | ||
const_def | ||
const BIT_GOT_LAPRAS ; 0 | ||
const BIT_UNKNOWN_4_1 ; 1 | ||
const BIT_USED_POKECENTER ; 2 | ||
const BIT_GOT_STARTER ; 3 | ||
const BIT_NO_BATTLES ; 4 | ||
const BIT_BATTLE_OVER_OR_BLACKOUT ; 5 | ||
const BIT_LINK_CONNECTED ; 6 | ||
const BIT_INIT_SCRIPTED_MOVEMENT ; 7 | ||
|
||
; wStatusFlags5 | ||
const_def | ||
const BIT_SCRIPTED_NPC_MOVEMENT ; 0 | ||
const BIT_UNKNOWN_5_1 ; 1 | ||
const BIT_UNKNOWN_5_2 ; 2 | ||
const_skip ; 3 ; unused | ||
const BIT_UNKNOWN_5_4 ; 4 | ||
const BIT_DISABLE_JOYPAD ; 5 | ||
const BIT_NO_TEXT_DELAY ; 6 | ||
const BIT_SCRIPTED_MOVEMENT_STATE ; 7 | ||
|
||
; wStatusFlags6 | ||
const_def | ||
const BIT_GAME_TIMER_COUNTING ; 0 | ||
const BIT_DEBUG_MODE ; 1 | ||
const BIT_FLY_OR_DUNGEON_WARP ; 2 | ||
const BIT_FLY_WARP ; 3 | ||
const BIT_DUNGEON_WARP ; 4 | ||
const BIT_ALWAYS_ON_BIKE ; 5 | ||
const BIT_ESCAPE_WARP ; 6 | ||
|
||
; wStatusFlags7 | ||
const_def | ||
const BIT_TEST_BATTLE ; 0 | ||
const BIT_NO_MAP_MUSIC ; 1 | ||
const BIT_FORCED_WARP ; 2 | ||
const BIT_TRAINER_BATTLE ; 3 | ||
const BIT_USE_CUR_MAP_SCRIPT ; 4 | ||
const_skip 2 ; 5-6 ; unused | ||
const BIT_USED_FLY ; 7 | ||
|
||
; wElite4Flags | ||
const_def | ||
const BIT_UNUSED_BEAT_ELITE_4 ; 0 | ||
const BIT_STARTED_ELITE_4 ; 1 | ||
|
||
; wMovementFlags | ||
const_def | ||
const BIT_STANDING_ON_DOOR ; 0 | ||
const BIT_EXITING_DOOR ; 1 | ||
const BIT_STANDING_ON_WARP ; 2 | ||
const_skip 3 ; 3-5 ; unused | ||
const BIT_LEDGE_OR_FISHING ; 6 | ||
const BIT_SPINNING ; 7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.