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 hl, wTrainerName ld de, wcd6d .CopyCharacter ld a, [hli] ld [de], a inc de cp "@" jr nz, .CopyCharacter ret ; INCLUDE "data/trainers/name_pointers.asm" ; https://github.com/pret/pokered/wiki/Remove-Redundant-TrainerNamePointers ; name_pointers is redundant when hacking the international releases ~ PvK