ref: 2b54583c8be4aa28f4c6a70c65baeb2e3c84fdfc
dir: /engine/battle/save_trainer_name.asm/
SaveTrainerName:: ld hl, TrainerNamePointers ld a, [wTrainerClass] 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, wcd6d .CopyCharacter ld a, [hli] ld [de], a inc de cp "@" jr nz, .CopyCharacter ret INCLUDE "data/trainers/name_pointers.asm"