diff options
author | xCrystal <rgr.crystal@gmail.com> | 2018-07-03 13:22:50 +0200 |
---|---|---|
committer | xCrystal <rgr.crystal@gmail.com> | 2018-07-03 13:22:50 +0200 |
commit | 7fe9f49ccabcc33ce6ab988e605352df2e8837ce (patch) | |
tree | 0929158e48ea213ff2b1e85aebc605d03ba88e06 /src/engine/home.asm | |
parent | d201196bea11e71887a826b5b364d2d11f94abc9 (diff) |
Misc bank 1 stuff
Diffstat (limited to 'src/engine/home.asm')
-rw-r--r-- | src/engine/home.asm | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/engine/home.asm b/src/engine/home.asm index 3a03bd8..ab60567 100644 --- a/src/engine/home.asm +++ b/src/engine/home.asm @@ -7477,20 +7477,23 @@ Func_2bdb: ; 2bdb (0:2bdb) ld a, c ret -Func_2c08: ; 2c08 (0:2c08) - ld d, [hl] +; writes n items of text each given in the following format in hl: +; x coord, y coord, text id +; $ff-terminated +PlaceTextItems: ; 2c08 (0:2c08) + ld d, [hl] ; x coord inc hl bit 7, d - ret nz - ld e, [hl] - inc hl + ret nz ; return if no more items of text + ld e, [hl] ; y coord + inc hl ; hl = text id call Func_22ae push hl call Func_2c23 pop hl inc hl inc hl - jr Func_2c08 + jr PlaceTextItems ; do next item Func_2c1b: ; 2c1b (0:2c1b) call Func_22ae |