diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-05-15 16:59:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-15 18:59:55 -0500 |
commit | f402e46cd3c8b7236673d6edbae77903a7cc0618 (patch) | |
tree | 37a19f3ab35a73c29d4d6da565741beaf7bb547f /src/code_800D090.c | |
parent | f65dee5a143bd543c74c010d7252eb76893ee243 (diff) |
Sese's April/May Dump (#37)
* splitting lots of pokemon square and labeling lots of other things
* actually commit this stuff
* more moving data and things
* more screen work
* split out some pokemon dungeon data
* lots of data work
* push more data work
* split kecleon, decomp another kanghaskhan func, and try to doc UpdateBGControl more
* lots of item work
* label more item things
* subtype -> category and doc types/category
Diffstat (limited to 'src/code_800D090.c')
-rw-r--r-- | src/code_800D090.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/code_800D090.c b/src/code_800D090.c index b263d30..fc93392 100644 --- a/src/code_800D090.c +++ b/src/code_800D090.c @@ -31,7 +31,7 @@ void sub_800D098(void) u32 dispcnt_save; u32 ie_store; - while(REG_VCOUNT <= 159) + while(REG_VCOUNT < 160) ; // Save DISPCNT and set to 0 @@ -40,7 +40,7 @@ void sub_800D098(void) *(u16 *)BG_PLTT = 0xefff; - while(REG_KEYINPUT != 0x3ff) // 0011 1111 1111 (all buttons) + while(REG_KEYINPUT != KEYS_MASK) ; @@ -71,9 +71,9 @@ void sub_800D098(void) REG_IME = 1; - while(REG_VCOUNT <= 159){} + while(REG_VCOUNT < 160){} REG_DISPCNT = dispcnt_save; // restore DISPCNT - while(REG_KEYINPUT != 0x3ff){} // All buttons + while(REG_KEYINPUT != KEYS_MASK){} // All buttons } void sub_800D158(u8 *buffer, const char *text, ...) |