diff options
author | mid-kid <esteve.varela@gmail.com> | 2020-02-24 00:58:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-24 00:58:44 +0100 |
commit | 25794633f193e46a7844ea065c5932ec6e11765e (patch) | |
tree | 613d6d83ba275174108f4ff299c215e2a7f4dba9 /mobile | |
parent | 62fccbbd99ce8c4de44fe658f6247468d192e81d (diff) | |
parent | c3f389d6156cb573c6105059beba67ff0a72d30a (diff) |
Merge pull request #688 from Rangi42/master
Edit some comments about bad code
Diffstat (limited to 'mobile')
-rw-r--r-- | mobile/mobile_40.asm | 2 | ||||
-rw-r--r-- | mobile/mobile_menu.asm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mobile/mobile_40.asm b/mobile/mobile_40.asm index cb1aec1cf..902b7e303 100644 --- a/mobile/mobile_40.asm +++ b/mobile/mobile_40.asm @@ -6469,7 +6469,7 @@ Function102e07: jr .okay .link_battle -; this is idiotic +; the next three operations are pointless hlcoord 3, 10 ld b, 1 ld c, 11 diff --git a/mobile/mobile_menu.asm b/mobile/mobile_menu.asm index bf8560309..ec6d2b6aa 100644 --- a/mobile/mobile_menu.asm +++ b/mobile/mobile_menu.asm @@ -146,7 +146,7 @@ MobileMenu_InitMenuBuffers: ld [hli], a ld a, $20 ; w2DMenuCursorOffsets ld [hli], a - ; this is a stupid way to load $c3 + ; could have done "ld a, A_BUTTON | D_UP | D_DOWN | B_BUTTON" instead ld a, A_BUTTON add D_UP add D_DOWN |