Misc bank 9 and text command $14 data.

This commit is contained in:
yenatch
2014-02-24 21:51:20 -05:00
parent bf5807c53c
commit f367db0180
2 changed files with 43 additions and 19 deletions

View File

@@ -1158,17 +1158,24 @@ Text_0D:: ; 1562
; 156a
Text_14:: ; 156a
; TX_PREDEF
; Print a string from one of the following:
; 0: StringBuffer3
; 1: StringBuffer4
; 2: StringBuffer5
; 3: StringBuffer2
; 4: StringBuffer1
; 5: EnemyMonNick
; 6: BattleMonNick
; [$14][id]
ld a, [hli]
push hl
ld e, a
ld d, 0
ld hl, $4000
ld hl, Unknown_24000
add hl, de
add hl, de
ld a, $9
ld a, BANK(Unknown_24000)
call GetFarHalfword
ld d, h
ld e, l