Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xor a
- ld [wListMenuID], a
- ld a, [wAutoTextBoxDrawingControl]
- bit 0, a
- jr nz, .asm_6f3c
- ld a, [H_DOWNARROWBLINKCNT2]
- and a
- jr nz, .asm_6f33
- ld a, [wd74b]
- bit 5, a
- ld hl, $c3aa
- ld bc, $0e08
- jr nz, .asm_6f39
- ld hl, $c3aa
- ld bc, $0c08
- jr .asm_6f39
- .asm_6f33
- ld hl, $c490
- ld bc, $0412
- .asm_6f39
- call TextBoxBorder
- .asm_6f3c
- ld hl, wFontLoaded
- set 0, [hl]
- ld hl, wFlags_0xcd60
- bit 4, [hl]
- res 4, [hl]
- jr nz, .asm_6f4d
- call UpdateSprites
- .asm_6f4d
- ld hl, $c119
- ld c, $f
- ld de, $0010
- .asm_6f55
- ld a, [hl]
- inc h
- ld [hl], a
- dec h
- add hl, de
- dec c
- jr nz, .asm_6f55
- ld hl, $c102
- ld de, $0010
- ld c, e
- .asm_6f64
- ld a, [hl]
- cp $ff
- jr z, .asm_6f6c
- and $fc
- ld [hl], a
- .asm_6f6c
- add hl, de
- dec c
- jr nz, .asm_6f64
- ld b, $9c
- call CopyScreenTileBufferToVRAM
- xor a
- ld [hWY], a
- call LoadFontTilePatterns
- ld a, $1
- ld [H_AUTOBGTRANSFERENABLED], a
- ret
- ; 0x6f80
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement