summaryrefslogtreecommitdiff
path: root/mobile/mobile_41.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2018-01-11 23:04:50 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2018-01-11 23:04:50 -0500
commit2085ebcc617fdd78cc8194dc4a9a34e9fb8e8b51 (patch)
treedaa434e7f47d2da05a9073cf7822c5a69e4d28e4 /mobile/mobile_41.asm
parent163f3e0c3f56831b5255b31045798ac950098faa (diff)
maskbits for NUM_FRAMES
Diffstat (limited to 'mobile/mobile_41.asm')
-rwxr-xr-xmobile/mobile_41.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/mobile/mobile_41.asm b/mobile/mobile_41.asm
index 236502217..a23787d8b 100755
--- a/mobile/mobile_41.asm
+++ b/mobile/mobile_41.asm
@@ -1033,17 +1033,17 @@ Function106464:: ; 106464
Function10649b: ; 10649b
ld a, [TextBoxFrame]
- and $7
- ld bc, 3 tiles
+ maskbits NUM_FRAMES +- 1
+ ld bc, 6 * LEN_1BPP_TILE
ld hl, Frames
call AddNTimes
ld d, h
ld e, l
- ld hl, vTiles2 tile $79
- ld c, 6
+ ld hl, vTiles2 tile "┌" ; $79
+ ld c, 6 ; "┌" to "┘"
ld b, BANK(Frames)
call Function1064c3
- ld hl, vTiles2 tile $7f
+ ld hl, vTiles2 tile " " ; $7f
ld de, TextBoxSpaceGFX
ld c, 1
ld b, BANK(TextBoxSpaceGFX)