Move code out of data/
This commit is contained in:
@@ -35,7 +35,7 @@ PrintMonTypes: ; 5090d
|
||||
ld [hl], a
|
||||
inc bc
|
||||
add hl, bc
|
||||
ld bc, 5
|
||||
ld bc, NAME_LENGTH_JAPANESE - 1
|
||||
jp ByteFill
|
||||
; 5093a
|
||||
|
||||
@@ -91,9 +91,32 @@ GetTypeName: ; 50964
|
||||
ld h, [hl]
|
||||
ld l, a
|
||||
ld de, StringBuffer1
|
||||
ld bc, 13
|
||||
ld bc, MOVE_NAME_LENGTH
|
||||
jp CopyBytes
|
||||
; 5097b
|
||||
|
||||
|
||||
INCLUDE "data/types/names.asm"
|
||||
|
||||
|
||||
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
|
||||
|
||||
INCLUDE "data/unused/gen_1_trainer_names.asm"
|
||||
|
Reference in New Issue
Block a user