diff options
author | Daniel Harding <33dannye@gmail.com> | 2018-02-27 11:09:09 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-27 11:09:09 -0600 |
commit | 96b32412d82bdee2756b1a300b05d2647da9ad1f (patch) | |
tree | 677858a17041e829c8a442be2b16b43e20d2a341 /src/constants/misc_constants.asm | |
parent | 24f40989d472407dc51653f2a671348126c6e816 (diff) | |
parent | 43d4b8644de2ffb3b1fc13638081cd228c4b2c74 (diff) |
Merge pull request #35 from xCrystal/master
Lots of bank0 and some bank1 disasm, labeling and corrections ; Many constants related to duels, cards, and WRAM structs ; Replace hardcoded WRAM addresses with generic labels ; Style clean up ; Format SGB packets ; Reorganize some gfx files
Diffstat (limited to 'src/constants/misc_constants.asm')
-rw-r--r-- | src/constants/misc_constants.asm | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/src/constants/misc_constants.asm b/src/constants/misc_constants.asm index 422fda4..a6511df 100644 --- a/src/constants/misc_constants.asm +++ b/src/constants/misc_constants.asm @@ -1,12 +1,4 @@ -; screen size -SCREEN_WIDTH EQU 20 ; tiles -SCREEN_HEIGHT EQU 18 ; tiles - -; background map size -BG_MAP_WIDTH EQU 32 ; tiles -BG_MAP_HEIGHT EQU 32 ; tiles - -; console types (for wConsole) +; console types (wConsole) CONSOLE_DMG EQU $00 CONSOLE_SGB EQU $01 CONSOLE_CGB EQU $02 @@ -32,3 +24,14 @@ D_DOWN EQU 1 << D_DOWN_F ; $80 BUTTONS EQU A_BUTTON | B_BUTTON | SELECT | START ; $0f D_PAD EQU D_RIGHT | D_LEFT | D_UP | D_DOWN ; $f0 + +; Game event constants (wGameEvent) + const_def + const GAME_EVENT_OVERWORLD ; $0 + const GAME_EVENT_DUEL ; $1 + const GAME_EVENT_BATTLE_CENTER ; $2 + const GAME_EVENT_GIFT_CENTER ; $3 + const GAME_EVENT_CREDITS ; $4 + const GAME_EVENT_CONTINUE_DUEL ; $5 + const GAME_EVENT_CHALLENGE_MACHINE ; $6 +NUM_GAME_EVENTS EQU const_value |