pokecrystal-board/engine/routines/unreferenced_getgen1trainerclassname.asm

22 lines
320 B
NASM
Raw Normal View History

2018-01-21 14:45:56 -08:00
Unreferenced_GetGen1TrainerClassName: ; 50a28
ld hl, Gen1TrainerClassNames
ld a, [TrainerClass]
dec a
ld c, a
ld b, 0
add hl, bc
add hl, bc
ld a, [hli]
ld h, [hl]
ld l, a
ld de, StringBuffer1
.copy
ld a, [hli]
ld [de], a
inc de
cp "@"
jr nz, .copy
ret
2018-01-22 14:33:52 -08:00
INCLUDE "data/text/unused_gen1_trainer_names.asm"